.language-select-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.language-input-wrapper {
    min-height: 64px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    cursor: text;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.language-input-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(209, 63, 141, 0.08), rgba(129, 76, 146, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.language-input-wrapper:focus-within {
    border-color: rgba(209, 63, 141, 0.5);
    box-shadow: 0 15px 35px rgba(209, 63, 141, 0.2);
}

.language-input-wrapper:focus-within::after {
    opacity: 1;
}

.language-input-placeholder {
    color: rgba(50, 62, 80, 0.55);
    font-family: 'Comfortaa', sans-serif;
    letter-spacing: 0.3px;
    font-size: 1rem;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 auto;
}

.language-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #D13F8D, #9B59B6);
    color: white;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: 'Comfortaa', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 18px rgba(209, 63, 141, 0.3);
}

.language-tag-remove {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-tag-remove:hover {
    background: rgba(255, 255, 255, 0.35);
}

.language-search-input {
    flex: 1 1 220px;
    min-width: 180px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #2C3E50;
    font-family: 'Comfortaa', sans-serif;
    letter-spacing: 0.2px;
}

.language-search-input::placeholder {
    color: rgba(50, 62, 80, 0.4);
}

.language-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 14px);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    border: 1px solid rgba(209, 63, 141, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
    max-height: 280px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 15;
    padding: 12px 0;
    backdrop-filter: blur(12px);
}

.language-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-close-dropdown {
    background: rgba(209, 63, 141, 0.1);
    border: none;
    color: #D13F8D;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.language-close-dropdown:hover {
    background: rgba(209, 63, 141, 0.2);
    transform: translateY(-2px);
}

.language-close-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(209, 63, 141, 0.25);
}

.language-option {
    padding: 14px 20px;
    font-size: 1rem;
    color: #2C3E50;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Comfortaa', sans-serif;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-option::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(209, 63, 141, 0.2);
    transition: all 0.3s ease;
}

.language-option:hover {
    background: linear-gradient(135deg, rgba(209, 63, 141, 0.12), rgba(155, 89, 182, 0.12));
    color: #D13F8D;
}

.language-option:hover::before {
    background: #D13F8D;
    transform: scale(1.3);
}

.language-option + .language-option {
    border-top: 1px solid rgba(209, 63, 141, 0.08);
}

.language-dropdown-empty {
    padding: 16px 20px;
    font-size: 0.95rem;
    color: rgba(50, 62, 80, 0.6);
    font-family: 'Comfortaa', sans-serif;
    letter-spacing: 0.2px;
    text-align: center;
}

.language-dropdown::-webkit-scrollbar {
    width: 8px;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(209, 63, 141, 0.45), rgba(155, 89, 182, 0.45));
    border-radius: 4px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: rgba(209, 63, 141, 0.08);
    border-radius: 4px;
}
/* ===============================
   Home Quick Connect Modal
   =============================== */
body.no-scroll {
    overflow: hidden;
}

.connect-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: rgba(22, 6, 33, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.connect-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.connect-modal__panel {
    position: relative;
    width: min(540px, 92vw);
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.95), rgba(248, 243, 252, 0.98));
    border: 1px solid rgba(209, 63, 141, 0.1);
    border-radius: 28px;
    padding: 40px 36px 36px;
    box-shadow: 0 35px 90px rgba(81, 26, 63, 0.28);
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 0.84, 0.44, 1), opacity 0.35s ease;
    opacity: 0;
}

.connect-modal.is-open .connect-modal__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.connect-modal__halo {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(209, 63, 141, 0.16), rgba(209, 63, 141, 0));
    z-index: -1;
    pointer-events: none;
}

.connect-modal__halo--one {
    top: -180px;
    right: -160px;
}

.connect-modal__halo--two {
    bottom: -220px;
    left: -150px;
    background: radial-gradient(circle, rgba(129, 76, 146, 0.18), rgba(129, 76, 146, 0));
}

.connect-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    color: #833a72;
    font-size: 1.1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(209, 63, 141, 0.18);
    transition: all 0.25s ease;
    z-index: 2;
}

.connect-modal__close:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, rgba(209, 63, 141, 0.9), rgba(155, 89, 182, 0.9));
    color: #fff;
}

.connect-modal__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.connect-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(209, 63, 141, 0.12), rgba(129, 76, 146, 0.12));
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.connect-modal__header h2 {
    font-size: 2rem;
    line-height: 1.2;
    color: #2b1132;
    font-weight: 700;
}

.connect-modal__header p {
    margin: 0;
    color: rgba(50, 35, 58, 0.78);
    font-size: 0.98rem;
    line-height: 1.6;
}

.connect-modal__form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.connect-modal__field {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.connect-modal__field label {
    font-weight: 600;
    color: #2f1438;
    font-size: 0.95rem;
}

.connect-modal__field textarea {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(209, 63, 141, 0.18);
    background: rgba(255, 255, 255, 0.88);
    padding: 16px 20px;
    resize: vertical;
    min-height: 120px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
}

.connect-modal__field textarea:focus {
    outline: none;
    border-color: rgba(209, 63, 141, 0.6);
    box-shadow: 0 12px 30px rgba(209, 63, 141, 0.18), inset 0 0 0 1px rgba(209, 63, 141, 0.25);
    background: rgba(255, 255, 255, 0.95);
}

.connect-modal__field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.connect-modal__field-title {
    display: block;
    font-weight: 600;
    color: #2f1438;
    font-size: 0.95rem;
}

.connect-modal__field-sub {
    display: block;
    font-size: 0.8rem;
    color: rgba(50, 35, 58, 0.6);
}

.price-slider__display {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(209, 63, 141, 0.12), rgba(129, 76, 146, 0.12));
    font-size: 1.5rem;
    font-weight: 700;
    color: #2b1132;
    box-shadow: inset 0 0 0 1px rgba(209, 63, 141, 0.08);
}

.price-slider__currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(129, 76, 146, 0.9);
    margin-right: 2px;
}

.price-slider {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.price-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(209, 63, 141, 0.22) 0%, rgba(209, 63, 141, 0.88) var(--slider-progress, 50%), rgba(229, 221, 240, 0.8) var(--slider-progress, 50%), rgba(232, 225, 241, 0.4) 100%);
    outline: none;
    transition: background 0.3s ease;
    position: relative;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D13F8D, #814C92);
    border: 4px solid #fff;
    box-shadow: 0 12px 25px rgba(209, 63, 141, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.price-slider input[type="range"]::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D13F8D, #814C92);
    border: 4px solid #fff;
    box-shadow: 0 12px 25px rgba(209, 63, 141, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.price-slider input[type="range"]::-webkit-slider-thumb:hover,
.price-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.08);
}

.price-slider__scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(47, 20, 56, 0.55);
    font-weight: 500;
    position: relative;
}

.price-slider__scale::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(209, 63, 141, 0.18);
    z-index: -1;
}

.price-slider__scale span {
    position: relative;
    padding-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.price-slider__scale span::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    border-radius: 2px;
    background: rgba(209, 63, 141, 0.35);
    transition: background 0.25s ease, height 0.25s ease;
}

.price-slider__scale span.active {
    color: var(--primary-dark);
    font-weight: 700;
    transform: translateY(-2px);
}

.price-slider__scale span.active::before {
    height: 12px;
    background: linear-gradient(135deg, #D13F8D, #814C92);
}

.price-slider__hint {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(47, 20, 56, 0.6);
    background: rgba(250, 240, 248, 0.7);
    padding: 12px 16px;
    border-radius: 14px;
    border-left: 3px solid rgba(209, 63, 141, 0.45);
    line-height: 1.4;
}

.connect-modal__feedback {
    font-size: 0.85rem;
    font-weight: 500;
    color: #aa1d63;
    background: rgba(209, 63, 141, 0.1);
    border-radius: 14px;
    padding: 12px 16px;
    display: none;
}

.connect-modal__feedback.success {
    color: #1a7f5a;
    background: rgba(26, 127, 90, 0.1);
}

.connect-modal__feedback.show {
    display: block;
}

.connect-modal__submit {
    width: 100%;
    gap: 10px;
    font-size: 1.05rem;
    padding: 16px 28px;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(209, 63, 141, 0.28);
}

.connect-modal__submit .fas {
    font-size: 1.1rem;
}

.connect-modal__submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 520px) {
    .connect-modal__panel {
        padding: 32px 24px;
        border-radius: 22px;
    }

    .connect-modal__header h2 {
        font-size: 1.7rem;
    }

    .connect-modal__field-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-slider__display {
        font-size: 1.35rem;
    }

    .connect-modal__close {
        width: 38px;
        height: 38px;
    }
}
/* Base Styles and Variables */
:root {
    /* Fashion-focused pink to purple palette */
    --primary-color: #D13F8D; /* Bright pink */
    --primary-light: #F175AC; /* Light pink */
    --primary-dark: #B32A71; /* Deep pink */
    --accent-color: #9B59B6; /* Purple */
    --accent-light: #C39BD3; /* Light purple */
    --accent-dark: #7D3C98; /* Deep purple */
    --gradient-start: #D13F8D;
    --gradient-end: #9B59B6;
    
    /* Text colors */
    --text-color: #323232; /* Dark gray for text */
    --text-light: #777777; /* Medium gray for subtext */
    --text-on-dark: #FFFFFF; /* White text on dark backgrounds */
    
    /* Background */
    --background-color: #FFFFFF;
    --background-light: #FCEFF5; /* Very light pink for backgrounds */
    --background-gradient: linear-gradient(135deg, #FCEFF5 0%, #F9ECFF 100%);
    
    /* Gray shades */
    --gray-light: #F8F1F5; /* Light pink-gray */
    --gray-medium: #E9DDE6; /* Medium pink-gray */
    --gray-dark: #BAB0B6; /* Dark pink-gray */
    
    /* Shadows and effects */
    --shadow-color: rgba(209, 63, 141, 0.12);
    --shadow-color-darker: rgba(209, 63, 141, 0.22);
    --card-shadow: 0 8px 25px var(--shadow-color);
    --card-hover-shadow: 0 15px 40px var(--shadow-color-darker);
    --popup-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    
    /* Dimensions and timing */
    --border-radius: 16px;
    --small-radius: 8px;
    --button-radius: 50px;
    --transition-speed: 0.3s;
    --container-width: 1200px;
}

/* Additional CSS variables used by landing.html + React Landing */
:root {
    --gray-100: #f3f4f6;
    --gray-700: #374151;
    --purple-500: #9b59b6;
    --purple-600: #8e44ad;
    --pink-300: #f9a8d4;
    --teal-sage: #6bb3a8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure brand sits at the absolute left edge in the navbar across pages */
.header .container {
    max-width: 100%;
    margin: 0;
    padding-left: 15px;
    padding-right: 24px; /* breathing room on the right */
}
.navbar .logo {
    margin-left: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--button-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
}

.btn:hover::after {
    width: 100%;
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn i {
    margin-right: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(209, 63, 141, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
    box-shadow: 0 4px 15px rgba(209, 63, 141, 0.08);
}

.btn-secondary:hover {
    background-color: var(--gray-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 63, 141, 0.15);
}

.btn-text {
    background-color: transparent;
    color: var(--primary-color);
    padding: 8px 16px;
    box-shadow: none;
    border-radius: var(--small-radius);
}

.btn-text:hover {
    background-color: var(--gray-light);
    transform: none;
    box-shadow: none;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
}

.btn-accent:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.25);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 30px;
    width: 30px;
    margin-right: 8px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links li:first-child {
    margin-left: 0;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 400;
    position: relative;
    text-decoration: none;
    padding: 5px 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
    font-family: "Oswald", Helvetica, sans-serif;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gradient-end));
    transition: width 0.3s cubic-bezier(0.58, 0.3, 0.005, 1);
    border-radius: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 0 !important;
}

.auth-links a {
    display: inline-block;
    padding: 5px 15px !important;
}

.auth-divider {
    color: var(--gray-dark);
    opacity: 0.5;
}

/* Notification Bell */
.notification-bell {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bell:hover {
    background: rgba(209, 63, 141, 0.1);
}

.notification-bell i {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.notification-bell:hover i {
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notification-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border: 1px solid rgba(209, 63, 141, 0.1);
}

.notification-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.notification-header .mark-read {
    font-size: 0.85rem;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
}

.notification-header .mark-read:hover {
    text-decoration: underline;
}

.notification-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: var(--background-light);
}

.notification-item.unread {
    background: #FFF5F9;
    border-left: 3px solid var(--primary-color);
}

.notification-item-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.notification-item-text {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.notification-item-time {
    color: #999;
    font-size: 0.8rem;
}

.notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
}

.notification-empty i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.3;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 200;
}

.bar {
    width: 28px;
    height: 2px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: var(--transition-speed) ease;
    border-radius: 4px;
}

/* Animated hamburger icon */
.header.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.header.open .bar:nth-child(2) {
    opacity: 0;
}

.header.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(209, 63, 141, 0.12), rgba(155, 89, 182, 0.1));
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(209, 63, 141, 0.08), rgba(155, 89, 182, 0.1));
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    margin-bottom: 25px;
    font-size: 3.2rem;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--primary-color), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: var(--text-light);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 18px;
}

.hero-image {
    flex: 1;
    max-width: 550px;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    animation: fadeInRight 0.8s ease-out;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-5deg) translateX(30px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(-5deg) translateX(0);
    }
}

/* Feature Section */
.features {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(209, 63, 141, 0.08) 0%, rgba(209, 63, 141, 0) 70%);
    z-index: -1;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.05) 0%, rgba(155, 89, 182, 0) 70%);
    z-index: -1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 38px 30px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(180deg, var(--gray-light) 0%, rgba(255, 255, 255, 0) 100%);
    transition: height 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--card-hover-shadow);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--gradient-end) 100%);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.feature-card:hover .feature-icon::after {
    width: 65px;
    height: 65px;
    opacity: 0.25;
}

.feature-icon i {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-card h3 {
    margin-bottom: 18px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Style Showcase */
.style-showcase {
    padding: 100px 0;
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.style-showcase::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px; 
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(209, 63, 141, 0.08) 0%, rgba(209, 63, 141, 0) 70%);
    z-index: 0;
}

.style-showcase::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.05) 0%, rgba(155, 89, 182, 0) 70%);
    z-index: 0;
}

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.style-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 320px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    transform: translateY(0);
}

.style-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.style-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.style-overlay h3 {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.style-overlay p {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.style-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--card-hover-shadow);
}

.style-card:hover::after {
    opacity: 1;
}

.style-card:hover img {
    transform: scale(1.12);
}

.style-card:hover .style-overlay {
    transform: translateY(-8px);
}

.style-card:hover .style-overlay p {
    max-height: 80px;
    margin-top: 8px;
    opacity: 1;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA4KSI+PHBhdGggZD0iTTEyODAgMy40QzEwNTAuNTkgMTguMiA5NjYuNTkgOTEuOTQgNzM0LjQyIDY4LjY1YzIxNi40NiA4Ljk3IDI5Ni4wNCAxODYuMyAxMDAgMTUyLjZDNDAwIDEyNy40IDI2Mi40MyAxMjYuMzUgMCAwdjE0MGgxMjgweiIvPjwvZz48L3N2Zz4=');
    background-size: 100% 100%;
    opacity: 0.1;
    z-index: 1;
    top: -1px;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    margin-bottom: 25px;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta p {
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.cta .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
    font-weight: 700;
    transition: all 0.3s;
}

.cta .btn-primary:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--gray-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-logo img {
    height: 30px;
    width: 30px;
    margin-right: 8px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
}

.social-links i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-medium);
    color: var(--text-light);
}

/* Auth Forms */
.auth-section {
    padding: 80px 0;
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(209, 63, 141, 0.08) 0%, rgba(209, 63, 141, 0) 70%);
    z-index: 0;
}

.auth-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.05) 0%, rgba(155, 89, 182, 0) 70%);
    z-index: 0;
}

/* Clean quiz-login hero (Discover Your Style) */
.auth-section--discover {
    background: #ffffff;
    height: calc(100vh - 80px);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.auth-section--discover::before,
.auth-section--discover::after {
    display: none;
}

.auth-section--discover .container {
    max-width: 960px;
}

.discover-wrapper {
    width: 100%;
    text-align: center;
    padding: 20px 24px 24px;
    position: relative;
}

.discover-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 999px;
    background: #f6f1fe;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.discover-icon-plus {
    display: none;
}

.discover-star-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.discover-heading {
    font-family: "Oswald", Helvetica, sans-serif;
    font-weight: 700;
    color: #424242;
    font-size: 72px;
    text-align: center;
    letter-spacing: -0.5px;
    line-height: 72px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.discover-subtitle {
    font-family: "Cabin", Helvetica, sans-serif;
    font-weight: 400;
    color: #747474;
    font-size: 21px;
    text-align: center;
    letter-spacing: 0;
    line-height: 32px;
    max-width: 548px;
    margin: 0 auto 20px;
}

.discover-greeting {
    font-family: "Cabin", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #777777;
    margin-bottom: 32px;
}

.discover-form-shell {
    max-width: 654px;
    margin: 0 auto;
    padding-top: 10px;
}

.discover-label {
    display: block;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.discover-phone-row {
    display: flex;
    gap: 7.167px;
    align-items: center;
}

.discover-phone-row select#country-code {
    height: 34.532px;
    min-width: 100px;
    width: auto;
    border-radius: 13.031px;
    border: 0.652px solid rgba(63, 61, 56, 0.04);
    box-shadow: 0 2.606px 2.606px rgba(229, 218, 246, 0.34);
    padding: 11.076px 8.47px;
    font-size: 10.425px;
    font-family: "Cabin", Helvetica, sans-serif;
    background: #ffffff;
    color: rgba(46, 46, 46, 0.5);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 12 8'%3E%3Cpath fill='%23424242' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.discover-phone-row select#country-code:focus {
    outline: none;
    border-color: rgba(209, 63, 141, 0.3);
    box-shadow: 0 4px 4px rgba(229, 218, 246, 0.34), 0 0 0 2px rgba(209, 63, 141, 0.1);
}

.discover-phone-input {
    display: flex;
    align-items: center;
    border-radius: 13.031px;
    border: 0.652px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2.606px 2.606px #f6f1fe;
    background: #ffffff;
    padding: 10.42px 12px;
    height: 34.532px;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

/* Desktop refinement – country code + phone row (login) */
@media (min-width: 769px) {
    .discover-phone-row {
        display: grid;
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 12px;
        align-items: stretch;
    }

    .discover-phone-row select#country-code {
        width: 100%;
        min-width: 0;
        height: 54px;
        padding: 0 16px;
        font-size: 0.95rem;
        border-radius: 14px;
        display: flex;
        align-items: center;
    }

    .discover-phone-input {
        height: 54px;
        padding: 0 16px;
        box-shadow: 0 3px 6px rgba(229, 218, 246, 0.5);
    }

    .discover-phone-input input,
    .discover-phone-input input#phone {
        font-size: 0.95rem !important;
    }
}

.discover-phone-icon {
    color: #d13f8d;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.discover-phone-input input,
.discover-phone-input input#phone {
    border: none;
    outline: none;
    width: 100%;
    padding: 0;
    font-size: 13px !important;
    font-family: "Inter", Helvetica, sans-serif;
    color: #2e2e2e;
    background: transparent;
    height: 100%;
    min-width: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.discover-phone-input input:focus,
.discover-phone-input input#phone:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.discover-phone-input input::placeholder,
.discover-phone-input input#phone::placeholder {
    color: rgba(46, 46, 46, 0.5);
    font-size: 13px !important;
}

.discover-phone-input:focus-within {
    border-color: rgba(209, 63, 141, 0.3);
    box-shadow: 0 4px 4px rgba(246, 241, 254, 1), 0 0 0 2px rgba(209, 63, 141, 0.1);
}

/* Remove focus rectangle on mobile */
@media (max-width: 768px) {
    .discover-phone-input:focus-within {
        border-color: rgba(0, 0, 0, 0.04);
        box-shadow: 0 2.606px 2.606px #f6f1fe;
    }
    
    .discover-phone-input input:focus,
    .discover-phone-input input#phone:focus {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Override conflicting #phone rules for discover section */
.discover-phone-input #phone,
.discover-form-shell #phone {
    height: 100% !important;
    font-size: 13px !important;
    padding: 0 !important;
}

.discover-phone-input #phone::placeholder {
    font-size: 8.5px !important;
}

.discover-stylist-row {
    display: flex;
    justify-content: flex-start;
    margin: 10px 0 6px;
}

.discover-stylist-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #444444;
    cursor: pointer;
}

.discover-stylist-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #d13f8d;
}

.discover-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    width: 126px;
    height: 42px;
    padding: 9px 22px 9px 23px;
    border-radius: 20px;
    background: linear-gradient(135deg, #9e6aff 38.21%, #c98ff6 100.23%);

    /* background: linear-gradient(90deg, #E5DAF6 -7.75%, #9E6AFF 56.75%); */
    /* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
    /* white-space: nowrap; */
}

.discover-btn-icon {
    font-size: 0.85rem;
}

.discover-step-text {
    font-size: 0.95rem;
    color: #777777;
    margin-bottom: 14px;
}

/* OTP 6-box container */
.discover-otp-container {
    display: flex;
    gap: 13.61px;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

/* OTP input boxes inside auth form need to ignore generic auth input styles */
.auth-form input.discover-otp-box {
    /* Wipe conflicting input paddings/backgrounds/etc from .auth-form rules */
    padding: 0 !important;
    background: #ffffff !important;
    box-shadow: 0px 2.865px 2.865px rgba(229, 218, 246, 0.34) !important;
    border-radius: 9.312px !important;
}

.discover-otp-box {
    width: 52.292px;
    height: 37.966px;
    border: 0.716px solid rgba(63, 61, 56, 0.08);
    border-radius: 9.312px;
    background: #ffffff;
    box-shadow: 0px 2.865px 2.865px rgba(229, 218, 246, 0.34);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    font-family: "Inter", Helvetica, sans-serif;
    color: #2e2e2e;
    /* Ensure text is actually painted across all browsers */
    -webkit-text-fill-color: #2e2e2e;
    caret-color: #2e2e2e;
    padding: 0;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s ease;
    /* Make absolutely sure nothing hides the text */
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
}

.discover-otp-box:focus {
    border-color: rgba(209, 63, 141, 0.5);
    box-shadow: 0px 2.865px 2.865px rgba(229, 218, 246, 0.34), 0 0 0 2px rgba(209, 63, 141, 0.1);
    outline: none;
}

.discover-otp-box::-webkit-outer-spin-button,
.discover-otp-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.discover-otp-box[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

@media (max-width: 768px) {
    .discover-heading {
        font-size: 2.4rem;
        letter-spacing: -0.3px;
        line-height: 1.1;
    }
    .discover-subtitle {
        font-size: 1rem;
        max-width: 90%;
    }
    
    /* Hide "Enter OTP" label on mobile */
    .discover-otp-label {
        display: none;
    }
    
    /* Fix mobile OTP input issues - match desktop styles exactly */
    .discover-otp-box {
        /* Mobile-specific touch fixes */
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent;
        cursor: text !important;
        z-index: 10 !important;
        /* Match desktop styles exactly - these work on desktop */
        color: #2e2e2e !important;
        -webkit-text-fill-color: #2e2e2e !important;
        caret-color: #2e2e2e !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        font-family: "Inter", Helvetica, sans-serif !important;
        text-align: center !important;
        background: #ffffff !important;
        /* Ensure text selection works */
        -webkit-user-select: text !important;
        user-select: text !important;
        /* Prevent any blocking */
        opacity: 1 !important;
        visibility: visible !important;
        /* Ensure inputs are editable */
        -webkit-appearance: none !important;
        appearance: none !important;
    }
    
    .discover-otp-box:focus {
        /* Match desktop focus styles */
        border-color: rgba(209, 63, 141, 0.5) !important;
        box-shadow: 0px 2.865px 2.865px rgba(229, 218, 246, 0.34), 0 0 0 2px rgba(209, 63, 141, 0.1) !important;
        outline: none !important;
        /* Ensure text remains visible */
        color: #2e2e2e !important;
        background: #ffffff !important;
    }
    
    /* Ensure container and boxes both receive taps normally */
    .discover-otp-container {
        pointer-events: auto;
    }
}

/* =========================================
   Mobile login hero (Figma iPhone 13 mini)
   ========================================= */
@media (max-width: 480px) {
    body {
        padding-top: 59.659px !important; /* header height */
    }

    .quizheader {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 59.659px;
        background-color: rgba(255, 255, 255, 0.95);
        border-bottom: 0.557px solid #ceb4ff;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .quizheader-inner {
        width: 100%;
        max-width: 375px;
        padding: 0 13.635px;
    }

    .quizheader-logo {
        height: 20.455px;
        width: auto;
    }

    .quizheader-nav a {
        font-family: "Oswald", Helvetica, sans-serif;
        font-weight: 400;
        font-size: 14px;
        letter-spacing: 0.2px;
        text-transform: uppercase;
        color: #424242;
    }

    .quizheader-login {
        all: unset;
        box-sizing: border-box;
        font-family: "Oswald", Helvetica, sans-serif;
        font-weight: 500;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.2px;
        color: #424242;
        cursor: pointer;
    }

    .auth-section--discover {
        padding-top: 80px;
    }

    .discover-wrapper {
        max-width: 375px;
        margin: 0 auto;
        text-align: center;
    }

    .discover-icon-circle {
        width: 47.416px;
        height: 47.416px;
        margin: 65.33px auto 24px;
        box-shadow: none;
    }

    .discover-star-icon {
        width: 23.708px;
        height: 23.708px;
    }

    .discover-heading {
        font-size: 27.13px;
        line-height: 24px;
        letter-spacing: -0.5px;
        text-transform: uppercase;
    }

    .discover-subtitle {
        font-size: 16px;
        line-height: 24px;
        max-width: 335px;
        margin: 20px auto 16px;
    }

    .discover-greeting {
        font-size: 16px;
        line-height: 28px;
        color: #777777;
        margin-bottom: 32px;
    }

    .discover-form-shell {
        max-width: 335px;
        margin: 0 auto;
        padding-top: 0;
    }

    .discover-phone-row {
        display: flex;
        gap: 7.167px;
        align-items: center;
    }

    .discover-phone-row select#country-code {
        height: 34.532px;
        min-width: 100px;
        width: auto;
        border-radius: 13.031px;
        border: 0.652px solid rgba(63, 61, 56, 0.04);
        box-shadow: 0 2.606px 2.606px rgba(229, 218, 246, 0.34);
        padding: 11.076px 8.47px;
        font-family: "Cabin", Helvetica, sans-serif;
        font-size: 10.425px;
        box-sizing: border-box;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 12 8'%3E%3Cpath fill='%23424242' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 8px center;
        padding-right: 28px;
    }

    .discover-phone-input {
        border-radius: 13.031px;
        border: 0.652px solid rgba(0, 0, 0, 0.04);
        box-shadow: 0 2.606px 2.606px #f6f1fe;
        height: 34.532px;
        padding: 10.42px 12px;
        flex: 1;
        min-width: 0;
        box-sizing: border-box;
    }

    .discover-phone-input input,
    .discover-phone-input input#phone {
        padding: 0;
        font-family: "Inter", Helvetica, sans-serif;
        font-size: 13px !important;
        width: 100%;
        min-width: 0;
        border: none !important;
        outline: none !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .discover-phone-input input:focus,
    .discover-phone-input input#phone:focus {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    
    .discover-phone-input input::placeholder,
    .discover-phone-input input#phone::placeholder {
        font-size: 13px !important;
    }
    
    /* Override conflicting #phone rules for discover section on mobile */
    .discover-phone-input #phone,
    .discover-form-shell #phone {
        height: 100% !important;
        font-size: 13px !important;
        padding: 0 !important;
        outline: none !important;
        border: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Remove focus rectangle on mobile */
    .discover-phone-input:focus-within {
        border-color: rgba(0, 0, 0, 0.04) !important;
        box-shadow: 0 2.606px 2.606px #f6f1fe !important;
    }

    .discover-primary-btn {
        width: 106px;
        height: 35.333px;
        border-radius: 16.825px;
        margin-top: 40px;
        padding: 7.57px 19.35px;
        font-family: "Cabin", Helvetica, sans-serif;
        font-size: 13.46px;
        letter-spacing: 0.1683px;
    }
}

.auth-container {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--popup-shadow);
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.auth-form-container {
    padding: 50px;
    flex: 1;
    max-width: 640px;
}

.auth-form-container h2 {
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
}

.auth-form-container h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gradient-end));
    border-radius: 5px;
}

.auth-description {
    color: var(--text-light);
    margin: 30px 0;
    line-height: 1.6;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

.input-group {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: var(--button-radius);
    border: 1px solid var(--gray-medium);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    background-color: var(--gray-light);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.auth-form input[type="tel"],
#phone {
    width: 100%;
    height: 54px;
    font-size: 1.1rem;
    padding: 12px 14px 12px 46px; /* leave room for icon */
}
/* OTP input */
#otp {
    width: 100%;
    height: 52px;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    padding: 12px 14px 12px 46px;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(209, 63, 141, 0.1);
}

.auth-form input:focus + .input-icon {
    opacity: 1;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background-color: var(--gray-light);
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.remember-me input:checked ~ .custom-checkbox {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me input:checked ~ .custom-checkbox::after {
    display: block;
}

.form-divider {
    position: relative;
    text-align: center;
    margin: 35px 0;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--gray-medium);
}

.form-divider span {
    position: relative;
    background-color: white;
    padding: 0 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
}

.auth-links a {
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.auth-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.auth-links a:hover::after {
    width: 100%;
}

.auth-error {
    color: var(--accent-dark);
    margin-top: 20px;
    padding: 12px 16px;
    background-color: rgba(231, 76, 60, 0.08);
    border-radius: var(--small-radius);
    font-size: 0.95rem;
    text-align: center;
}

.auth-error:empty {
    display: none;
    padding: 0;
    margin-top: 0;
}

.password-requirements {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
    padding-left: 5px;
}

.form-terms {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.form-terms label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.form-terms input {
    margin-right: 10px;
    margin-top: 5px;
}

.auth-image {
    flex: 1;
    position: relative;
    display: none;
    min-height: 400px;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

.auth-container:hover .auth-image img {
    transform: scale(1.05);
}

.auth-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
}

.auth-image-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.auth-image-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 400px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* About Page Styles */
.about-hero {
    padding: 80px 0 40px;
    text-align: center;
    background-color: var(--gray-light);
}

.about-content {
    padding: 60px 0;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-text {
    flex: 1;
}

.about-features {
    padding: 60px 0;
    background-color: var(--gray-light);
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform var(--transition-speed) ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3 {
    margin: 20px 0 5px;
}

.team-role {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-section {
    padding: 60px 0;
    background-color: var(--gray-light);
    text-align: center;
}

.social-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--primary-dark);
    color: white;
}

.social-link i {
    font-size: 1.5rem;
    margin-right: 12px;
}

/* Animations and Effects */
.invisible {
    opacity: 0;
}

.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    from {
        transform: scale3d(1, 1, 1);
    }
    50% {
        transform: scale3d(1.05, 1.05, 1.05);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

.fadeIn { animation-name: fadeIn; }
.fadeInUp { animation-name: fadeInUp; }
.fadeInDown { animation-name: fadeInDown; }
.fadeInLeft { animation-name: fadeInLeft; }
.fadeInRight { animation-name: fadeInRight; }
.pulse { animation-name: pulse; }

/* Card hover effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.card-hover:hover::before {
    opacity: 0.4;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--text-color);
    box-shadow: var(--popup-shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 320px;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-success { border-left: 4px solid #2ecc71; }
.notification-error { border-left: 4px solid #e74c3c; }
.notification-warning { border-left: 4px solid #f39c12; }
.notification-info { border-left: 4px solid #3498db; }

/* Generic Card + List (profile, etc.) */
.card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 24px;
}

.list { display: grid; gap: 12px; }

/* Profile page */
.profile-section { padding: 40px 0 80px; }
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.profile-grid .label { color: var(--text-light); font-size: 0.9rem; margin-bottom: 4px; }
.profile-grid .value { font-weight: 600; }

/* Profile Edit Fields */
.profile-edit-field {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.profile-input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid var(--gray-medium);
    border-radius: var(--small-radius);
    font-size: 0.9rem;
    transition: border-color var(--transition-speed);
}

.profile-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.profile-input::placeholder {
    color: var(--text-light);
}

/* Profile Save Section */
.profile-save-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-medium);
    text-align: center;
}

.profile-save-section .btn {
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
}

/* Clean Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    background: var(--background-gradient);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(209, 63, 141, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
    z-index: -1;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(209, 63, 141, 0.3);
}

.btn-icon {
    height: 1.5em;
    vertical-align: middle;
    margin-right: 0.5em;
}

/* Style Showcase */
.style-showcase {
    padding: 5rem 0;
    background: var(--background-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.chat-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(209, 63, 141, 0.3);
}

.chat-text {
    font-size: 0.9rem;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--popup-shadow);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-widget.active .chat-window {
    display: flex;
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    margin-bottom: 1rem;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message.user .message-content {
    background: var(--primary-color);
    color: white;
}

.chat-message.bot .message-content {
    background: var(--gray-light);
    color: var(--text-color);
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--gray-medium);
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    border: 1px solid var(--gray-medium);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    outline: none;
    font-size: 0.9rem;
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

.chat-input button {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Select (align with inputs) */
select {
    border: 1px solid var(--gray-medium);
    border-radius: var(--small-radius);
    padding: 10px 12px;
    font-family: 'Poppins', sans-serif;
}
select:focus { outline: none; border-color: var(--primary-color); }

/* Loading button */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid {
        flex-direction: column;
    }
    
    .auth-image {
        display: block;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left var(--transition-speed) ease;
        z-index: 100;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0 0 20px;
    }
    
    .auth-links {
        margin-top: 20px;
    }
    
    .feature-grid,
    .style-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        flex-direction: column;
    }
    
    .auth-image {
        max-height: 200px;
    }
}

@media (min-width: 768px) {
    .auth-image {
        display: block;
    }
}

/* --- Custom grid for Why Choose SilSett section --- */
.why-silsett-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  justify-items: center;
  margin-top: 40px;
}
.why-silsett-grid .feature-card {
  min-width: 260px;
  max-width: 340px;
  min-height: 220px;
  padding: 38px 28px 32px 28px;
  font-size: 1.08rem;
}
.why-silsett-grid .feature-card:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 2;
}
.why-silsett-grid .feature-card:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 2;
}
.why-silsett-grid .feature-card:nth-child(4),
.why-silsett-grid .feature-card:nth-child(5) {
  justify-self: center;
}
@media (max-width: 1100px) {
  .why-silsett-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-silsett-grid .feature-card:nth-child(4),
  .why-silsett-grid .feature-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 700px) {
  .why-silsett-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .why-silsett-grid .feature-card {
    max-width: 100%;
    min-width: 0;
  }
}

/* Login form input sizing improvements */
.auth-form-container {
    max-width: 640px;
}
.auth-form .input-group {
    width: 100%;
}
/* Phone number input */
.auth-form input[type="tel"],
#phone {
    width: 100%;
    height: 54px;
    font-size: 1.1rem;
    padding: 12px 14px 12px 46px; /* leave room for icon */
}
/* OTP input */
#otp {
    width: 100%;
    height: 52px;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    padding: 12px 14px 12px 46px;
}
@media (max-width: 700px) {
    .auth-form-container {
        max-width: 100%;
    }
    #phone,
    #otp {
        height: 50px;
        font-size: 1.05rem;
    }
}

/* Country code + phone input row */
.input-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    align-items: center;
}
#country-code {
    height: 54px;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    padding: 0 12px;
    font-size: 1.05rem;
    background: #fff;
}
#country-code:focus {
    outline: none;
    border-color: var(--primary-color);
}
@media (max-width: 700px) {
    .input-row {
        grid-template-columns: 110px 1fr;
        gap: 10px;
    }
    #country-code {
        height: 50px;
        font-size: 1rem;
    }
}

