@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

:root {
    --primary-purple: #5A17B5;
    --dark-purple: #4B14A0;
    --accent-gold: #FFB400;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
}

.heading-font {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.premium-shadow {
    box-shadow: 
        0 1px 3px 0 rgb(0 0 0 / 0.05),
        0 10px 20px -5px rgb(0 0 0 / 0.04),
        0 20px 25px -10px rgb(0 0 0 / 0.03);
}

.section-header {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.045em;
    color: var(--gray-900);
}

@media (min-width: 1024px) {
    .section-header {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .section-header {
        font-size: 2.25rem;
        letter-spacing: -0.035em;
    }
}

.nav-link {
    position: relative;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--dark-purple));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-purple);
}

.nav-link:hover::after {
    width: 100%;
}

.premium-button {
    transition: all 0.25s cubic-bezier(0.4, 0.0, 0.2, 1);
    font-weight: 600;
    letter-spacing: -0.015em;
    position: relative;
    overflow: hidden;
}

.premium-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.premium-button:hover::before {
    left: 100%;
}

.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 20px -5px rgb(90 23 181 / 0.25), 
        0 8px 12px -6px rgb(90 23 181 / 0.15);
}

.premium-button:active {
    transform: translateY(-1px);
}

.premium-button-gold {
    background-color: #FFB400;
    color: #1F2937;
    font-weight: 700;
}

.premium-button-gold:hover {
    background-color: #F59E0B;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgb(245 158 11 / 0.3);
}

.modern-card {
    transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid var(--gray-200);
    background: white;
    position: relative;
}

.modern-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--primary-purple), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s;
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 30px -8px rgb(0 0 0 / 0.1), 
        0 10px 15px -8px rgb(0 0 0 / 0.06);
    border-color: var(--gray-300);
}

.modern-card:hover::before {
    opacity: 0.6;
}

.benefit-card {
    transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
}

.benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(90, 23, 181, 0.1);
    transition: box-shadow 0.35s;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-card:hover::after {
    box-shadow: 0 0 0 4px rgba(90, 23, 181, 0.08);
}

.category-card {
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.category-card:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: #5A17B5;
    box-shadow: 0 10px 15px -3px rgb(90 23 181 / 0.1);
}

.step-number {
    background: linear-gradient(135deg, #5A17B5 0%, #7C3AED 50%, #4B14A0 100%);
    color: white;
    box-shadow: 
        0 4px 12px -2px rgb(90 23 181 / 0.3),
        0 0 0 4px rgba(90, 23, 181, 0.1);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(90, 23, 181, 0.2), transparent);
    z-index: -1;
}

.profile-mockup {
    box-shadow: 
        0 4px 6px -1px rgb(0 0 0 / 0.05),
        0 20px 40px -10px rgb(0 0 0 / 0.15),
        0 40px 60px -20px rgb(0 0 0 / 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.profile-mockup::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(90, 23, 181, 0.1), transparent, rgba(90, 23, 181, 0.05));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.profile-mockup:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 8px 12px -2px rgb(0 0 0 / 0.08),
        0 30px 50px -12px rgb(0 0 0 / 0.2),
        0 50px 80px -25px rgb(0 0 0 / 0.15);
}

.profile-mockup:hover::before {
    opacity: 1;
}

.faq-question {
    transition: all 0.2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding-bottom: 0;
}

.faq-answer.open {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.stat-number {
    font-variant-numeric: tabular-nums;
}

.subtle-lavender {
    background-color: #F8F5FF;
}

.premium-divider {
    background: linear-gradient(to right, transparent, #E5E7EB, transparent);
}

.trust-item {
    transition: all 0.2s ease;
}

.modern-input {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FBFCFF;
    border-color: #B8C0D0 !important;
    color: #111827;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.03), 0 1px 2px rgba(17, 24, 39, 0.04);
}

.modern-input::placeholder {
    color: #6B7280;
    opacity: 1;
}

select.modern-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #FBFCFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 1.15rem center / 0.75rem !important;
    padding-right: 3rem !important;
}

select.modern-input:hover {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 1.15rem center / 0.75rem !important;
    border-color: #7C3AED !important;
    box-shadow: inset 0 0 0 1px rgba(90, 23, 181, 0.12), 0 4px 12px -10px rgba(90, 23, 181, 0.45);
}

select.modern-input:focus {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A17B5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 1.15rem center / 0.75rem !important;
    border-color: var(--primary-purple) !important;
    box-shadow: 
        0 0 0 4px rgba(90, 23, 181, 0.16),
        inset 0 0 0 1px rgba(90, 23, 181, 0.16),
        0 6px 18px -12px rgba(90, 23, 181, 0.55);
    outline: none;
}

select.modern-input option {
    font-weight: 500;
    color: #111827;
}

select.modern-input option[value=""] {
    color: #6B7280;
}

.multi-select-display {
    cursor: pointer;
}

.modern-input:hover {
    background: #fff;
    border-color: #7C3AED !important;
    box-shadow: inset 0 0 0 1px rgba(90, 23, 181, 0.12), 0 4px 12px -10px rgba(90, 23, 181, 0.45);
}

.modern-input:focus {
    border-color: var(--primary-purple) !important;
    box-shadow: 
        0 0 0 4px rgba(90, 23, 181, 0.16),
        inset 0 0 0 1px rgba(90, 23, 181, 0.16),
        0 6px 18px -12px rgba(90, 23, 181, 0.55);
    outline: none;
    background: white;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: #374151;
    margin-bottom: 0.65rem;
    display: block;
    letter-spacing: 0;
}

#teacher-form p.text-xs {
    color: #5B6472;
}

.badge-glow {
    animation: badge-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(90, 23, 181, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(90, 23, 181, 0);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 
        0 1px 3px 0 rgb(0 0 0 / 0.05),
        0 1px 2px -1px rgb(0 0 0 / 0.05);
}

.section-anchor {
    scroll-margin-top: 100px;
}

/* Enhanced Typography Scale */
.text-display {
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .text-display {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .text-display {
        font-size: 2.5rem;
        letter-spacing: -0.04em;
    }
}

/* Improved Contrast for Accessibility */
.text-muted {
    color: var(--gray-600);
}

.text-body {
    color: var(--gray-700);
    line-height: 1.7;
}

/* Premium Hover States */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Smooth Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.animate-slide-in-right {
    animation: slide-in-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Focus States for Accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Improved Button States */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Better Visual Hierarchy */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-purple);
}

/* Enhanced Card Shadows */
.card-elevated {
    box-shadow: 
        0 1px 3px 0 rgb(0 0 0 / 0.05),
        0 10px 20px -5px rgb(0 0 0 / 0.04);
}

.card-elevated:hover {
    box-shadow: 
        0 4px 6px -1px rgb(0 0 0 / 0.05),
        0 20px 30px -8px rgb(0 0 0 / 0.08);
}

/* Marquee Styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 10;
    pointer-events: none;
}

.marquee-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 10;
    pointer-events: none;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
    padding: 0 2rem;
}

.marquee-item {
    font-size: 4.0rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    background: linear-gradient(135deg, rgba(90, 23, 181, 0.15), rgba(90, 23, 181, 0.08));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.marquee-item:hover {
    -webkit-text-fill-color: #5A17B5;
    background: linear-gradient(135deg, #5A17B5, #7C3AED);
    -webkit-background-clip: text;
    background-clip: text;
}

.marquee-divider {
    font-size: 1.875rem;
    font-weight: 800;
    color: rgba(90, 23, 181, 0.2);
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-150%);
    }
}

@media (max-width: 768px) {
    .marquee-item {
        font-size: 1.25rem;
    }
    
    .marquee-divider {
        font-size: 1.25rem;
    }
    
    .marquee-content {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .marquee-container::before,
    .marquee-container::after {
        width: 40px;
    }
}

/* Multi-Select Component Styles */
.multi-select-wrapper {
    position: relative;
}

.multi-select-display {
    min-height: 3.5rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #FBFCFF !important;
    border-color: #B8C0D0 !important;
    border-width: 1.5px;
    color: #111827;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.03), 0 1px 2px rgba(17, 24, 39, 0.04);
    position: relative;
    padding-right: 3rem !important;
}

.multi-select-display:hover {
    background: #fff !important;
    border-color: #7C3AED !important;
    box-shadow: inset 0 0 0 1px rgba(90, 23, 181, 0.12), 0 4px 12px -10px rgba(90, 23, 181, 0.45);
}

.multi-select-display:focus,
.multi-select-display:focus-within {
    background: #fff !important;
    border-color: var(--primary-purple) !important;
    box-shadow:
        0 0 0 4px rgba(90, 23, 181, 0.16),
        inset 0 0 0 1px rgba(90, 23, 181, 0.16),
        0 6px 18px -12px rgba(90, 23, 181, 0.55);
    outline: none;
}

.multi-select-display::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.15rem;
    width: 0.62rem;
    height: 0.62rem;
    border-right: 2px solid #4B5563;
    border-bottom: 2px solid #4B5563;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.multi-select-display > span.text-gray-400 {
    color: #4B5563 !important;
    font-weight: 700;
}

.multi-select-dropdown {
    animation: dropdown-appear 0.2s ease-out;
    border-color: #AEB8CB !important;
    box-shadow: 0 18px 40px -24px rgba(17, 24, 39, 0.35), 0 0 0 1px rgba(17, 24, 39, 0.04);
}

.multi-select-dropdown label:hover {
    background: #F5F0FF !important;
}

@keyframes dropdown-appear {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.multi-select-dropdown::-webkit-scrollbar {
    width: 8px;
}

.multi-select-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.multi-select-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.field-error {
    margin-top: 0.45rem;
    color: #B91C1C;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
}

.modern-input.has-error,
.has-error .multi-select-display {
    border-color: #EF4444 !important;
    background: #FFF7F7 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.mobile-form-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: none;
    gap: 0.75rem;
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -12px 28px -20px rgba(17, 24, 39, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mobile-step-primary,
.mobile-step-secondary {
    min-height: 3.125rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.mobile-step-primary {
    flex: 1;
    background: #5A17B5;
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(90, 23, 181, 0.85);
}

.mobile-step-secondary {
    width: 5.75rem;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-700);
}

.mobile-step-primary:active,
.mobile-step-secondary:active {
    transform: scale(0.98);
}

.mobile-step-secondary.is-hidden {
    display: none;
}

@media (max-width: 767px) {
    body.mobile-form-actions-visible {
        padding-bottom: 4.6rem;
    }

    body.mobile-form-actions-visible::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 40;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    body.mobile-form-actions-visible #register {
        position: relative;
        z-index: 50;
    }

    body.mobile-form-actions-visible .mobile-form-actions {
        z-index: 51;
    }

    .mobile-form-actions {
        display: flex;
        opacity: 0;
        pointer-events: none;
        transform: translateY(110%);
        gap: 0.6rem;
        padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom));
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    body.mobile-form-actions-visible .mobile-form-actions {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    #register {
        padding-left: 0.55rem;
        padding-right: 0.55rem;
        padding-top: 1.25rem;
        padding-bottom: 2.25rem;
    }

    #register > div {
        border-radius: 1.2rem;
        padding: 0.55rem !important;
    }

    #register .text-center.mb-10 {
        margin-bottom: 1.1rem !important;
    }

    #register .section-header {
        margin-top: 0.75rem !important;
        font-size: 1.85rem;
        line-height: 1.12;
    }

    #register .section-header + p {
        margin-top: 0.55rem !important;
        font-size: 0.95rem !important;
        line-height: 1.45;
    }

    .teacher-form-card {
        border-radius: 1.1rem !important;
        padding: 1rem !important;
        box-shadow: 0 10px 28px -24px rgba(17, 24, 39, 0.5) !important;
    }

    .mobile-form-progress {
        margin-bottom: 1rem !important;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid #EEF0F4;
    }

    .mobile-form-progress .h-2 {
        height: 0.35rem !important;
    }

    .mobile-form-step {
        display: none;
        margin-bottom: 1.1rem !important;
    }

    .mobile-form-step.is-active {
        display: block;
    }

    .mobile-form-step h3 {
        margin-bottom: 1rem !important;
        font-size: 1.45rem !important;
        line-height: 1.18;
        gap: 0.65rem !important;
    }

    .mobile-form-step h3 span {
        width: 2rem !important;
        height: 2rem !important;
        border-radius: 0.65rem !important;
        font-size: 0.95rem !important;
    }

    #teacher-form .grid {
        row-gap: 1rem !important;
    }

    #teacher-form .pt-8 {
        padding-top: 1rem !important;
    }

    #teacher-form .mb-8 {
        margin-bottom: 1.1rem !important;
    }

    #teacher-form .mt-8 {
        margin-top: 1.1rem !important;
    }

    #teacher-form .pt-6 {
        padding-top: 1rem !important;
    }

    #teacher-form .form-label {
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
        line-height: 1.25;
    }

    #teacher-form .modern-input {
        min-height: 3.05rem;
        padding: 0.68rem 1rem !important;
        border-radius: 0.85rem !important;
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #teacher-form .flex > .px-4.flex.items-center {
        min-height: 3.05rem;
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        border-radius: 0.85rem 0 0 0.85rem !important;
        border-color: #B8C0D0 !important;
        color: #4B5563 !important;
    }

    #teacher-form input[type="tel"].modern-input {
        border-radius: 0 0.85rem 0.85rem 0 !important;
    }

    #teacher-form p.text-xs {
        margin-top: 0.3rem !important;
        font-size: 0.78rem;
        line-height: 1.3;
    }

    #teacher-form .border-t {
        border-color: #EEF0F4 !important;
    }

    #teacher-form .grid.text-sm {
        gap: 0.55rem !important;
        font-size: 0.9rem !important;
        line-height: 1.35;
    }

    #teacher-form .grid.text-sm svg {
        width: 1rem !important;
        height: 1rem !important;
    }

    #teacher-form .text-center.text-xs {
        margin-top: 0.75rem !important;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .mobile-step-primary,
    .mobile-step-secondary {
        min-height: 2.9rem;
        border-radius: 0.85rem;
        font-size: 0.95rem;
    }

    .mobile-step-secondary {
        width: 5rem;
    }

    .field-error {
        margin-top: 0.3rem;
        font-size: 0.78rem;
    }

    .multi-select-display {
        border-color: #AEB8CB !important;
        background: #FBFCFF !important;
        box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.04), 0 2px 6px rgba(17, 24, 39, 0.06);
        min-height: 3.05rem !important;
        padding: 0.55rem 2.6rem 0.55rem 1rem !important;
        border-radius: 0.85rem !important;
    }

    .multi-select-display > span.text-gray-400 {
        color: #4B5563 !important;
        font-weight: 700;
    }

    .multi-select-dropdown {
        position: absolute !important;
        left: 0;
        right: 0;
        top: calc(100% + 0.4rem);
        bottom: auto;
        width: auto !important;
        max-height: min(20rem, 44vh);
        margin-top: 0;
        border-radius: 1rem;
    }

    .multi-select-dropdown .sticky {
        padding: 0.6rem !important;
    }

    .multi-select-dropdown input[type="text"] {
        padding: 0.65rem 0.85rem !important;
        border-color: #B8C0D0 !important;
        border-radius: 0.8rem !important;
        font-size: 0.95rem !important;
    }
}

@media (min-width: 768px) {
    .mobile-form-step {
        display: block;
    }
}


/* Premium Profile Card Additions */
.profile-card-premium {
    animation: card-float 6s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
                box-shadow 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.profile-card-premium:hover {
    animation: none;
    transform: translateY(-10px) scale(1.015);
    box-shadow:
        0 0 0 1.5px rgba(90,23,181,0.18),
        0 4px 8px rgba(90,23,181,0.08),
        0 16px 32px -8px rgba(90,23,181,0.18),
        0 36px 64px -16px rgba(90,23,181,0.20),
        0 56px 80px -32px rgba(0,0,0,0.12) !important;
}
@keyframes card-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.notif-float {
    animation: notif-float 3s ease-in-out infinite;
}
@keyframes notif-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

.cta-shimmer-btn {
    position: relative;
    overflow: hidden;
    transition: background-position 0.4s ease, transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s;
}
.cta-shimmer-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}
.cta-shimmer-btn:hover {
    background-position: 100% 0 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(90,23,181,0.50), 0 4px 10px rgba(90,23,181,0.25) !important;
}
.cta-shimmer-btn:hover::after { left: 150%; }
.cta-shimmer-btn:active { transform: translateY(0); }
.cta-shimmer-btn:hover .cta-arrow { transform: translateX(3px); }
.cta-arrow { transition: transform 0.2s; }

.footer-root {
    background: linear-gradient(135deg, #3d0f96 0%, #4B14A0 40%, #5A17B5 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative light orb top-right */
.footer-root::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 56px 40px 32px;
}

/* 4-column grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

/* Brand */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-tagline {
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.5);
    margin: 0 0 22px 0;
    max-width: 230px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    transition: all 0.22s ease;
    text-decoration: none;
}

.footer-social-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    transform: translateY(-2px);
}

/* Column headings */
.footer-col-heading {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin: 0 0 18px 0;
}

/* Nav links */
.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(3px);
}

/* Contact */
.footer-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    transition: color 0.18s ease;
    margin-bottom: 16px;
    word-break: break-all;
}

.footer-email-link:hover {
    color: #FFB400;
}

.footer-email-link svg {
    flex-shrink: 0; 
    opacity: 0.75;
}

.footer-launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 185, 33, 0.9);
    background: rgba(255, 185, 33, 0.12);
    border: 1px solid rgba(255, 185, 33, 0.25);
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.01em;
}

.footer-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFB921;
    animation: badge-blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badge-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 44px 0 24px;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.32);
    margin: 0;
}

.footer-made-for {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.22);
    margin: 0;
    font-style: italic;
}

/* ── Tablet ── */
@media (max-width: 900px) {
    .footer-inner {
        padding: 48px 28px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 380px;
    }
}

/* ── Mobile ── */
@media (max-width: 580px) {
    .footer-inner {
        padding: 44px 20px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand-col {
        grid-column: auto;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}


