/* ═══════════════════════════════════════════════════════
   SD LANDING PAGE — Full Stylesheet
   Independent of sd-core design system
   Selectors match landingpage-content.php BEM class names
   ═══════════════════════════════════════════════════════ */

/* ── Body overrides (blank template sets gray bg + system font) ── */
body {
    background: #fafafa !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide any SD layout elements that might leak through */
.sd-sidebar,
.sd-mobile-header,
.sd-mobile-nav,
.sd-topbar,
.sd-right-sidebar {
    display: none !important;
}

/* ── Reset ── */
.sd-landing *,
.sd-landing *::before,
.sd-landing *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

/* ========== HEART BLOB DECORATIONS (Mobile/Tablet only) ========== */
.landing-heart-blobs {
    display: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    filter: blur(30px) contrast(1.2);
    z-index: 0;
    pointer-events: none;
}

.heart-blob {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
}

.heart-blob svg {
    width: 100%;
    height: 100%;
}

.heart-blob--1 {
    width: 280px;
    height: 280px;
    top: 5%;
    left: -10%;
    animation: inkHeartSpread1 12s ease-out infinite;
}

.heart-blob--1 svg {
    filter: blur(20px);
}

.heart-blob--2 {
    width: 320px;
    height: 320px;
    bottom: 10%;
    right: -15%;
    animation: inkHeartSpread2 14s ease-out infinite;
    animation-delay: 1.5s;
}

.heart-blob--2 svg {
    filter: blur(25px);
}

.heart-blob--3 {
    width: 180px;
    height: 180px;
    top: 35%;
    right: 5%;
    animation: inkHeartSpread3 10s ease-out infinite;
    animation-delay: 3s;
}

.heart-blob--3 svg {
    filter: blur(18px);
}

.heart-blob--4 {
    width: 220px;
    height: 220px;
    bottom: 30%;
    left: -5%;
    animation: inkHeartSpread4 11s ease-out infinite;
    animation-delay: 4.5s;
}

.heart-blob--4 svg {
    filter: blur(22px);
}

.heart-blob--5 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation: inkHeartSpread5 9s ease-out infinite;
    animation-delay: 6s;
}

.heart-blob--5 svg {
    filter: blur(15px);
}

@keyframes inkHeartSpread1 {
    0% { opacity: 0; transform: scale(0.4) rotate(-15deg) translate(0, 0); }
    15% { opacity: 0.6; }
    50% { opacity: 0.4; transform: scale(1.2) rotate(-15deg) translate(30px, 40px); }
    85% { opacity: 0.2; }
    100% { opacity: 0; transform: scale(1.5) rotate(-15deg) translate(-20px, 60px); }
}

@keyframes inkHeartSpread2 {
    0% { opacity: 0; transform: scale(0.3) rotate(20deg) translate(0, 0); }
    15% { opacity: 0.5; }
    50% { opacity: 0.35; transform: scale(1.3) rotate(20deg) translate(-40px, -30px); }
    85% { opacity: 0.15; }
    100% { opacity: 0; transform: scale(1.6) rotate(20deg) translate(30px, -50px); }
}

@keyframes inkHeartSpread3 {
    0% { opacity: 0; transform: scale(0.5) rotate(35deg) translate(0, 0); }
    15% { opacity: 0.55; }
    50% { opacity: 0.4; transform: scale(1.1) rotate(35deg) translate(-25px, 35px); }
    85% { opacity: 0.2; }
    100% { opacity: 0; transform: scale(1.4) rotate(35deg) translate(40px, -20px); }
}

@keyframes inkHeartSpread4 {
    0% { opacity: 0; transform: scale(0.35) rotate(-30deg) translate(0, 0); }
    15% { opacity: 0.5; }
    50% { opacity: 0.35; transform: scale(1.25) rotate(-30deg) translate(45px, -25px); }
    85% { opacity: 0.15; }
    100% { opacity: 0; transform: scale(1.5) rotate(-30deg) translate(-30px, 40px); }
}

@keyframes inkHeartSpread5 {
    0% { opacity: 0; transform: scale(0.4) rotate(10deg) translate(0, 0); }
    15% { opacity: 0.6; }
    50% { opacity: 0.45; transform: scale(1.15) rotate(10deg) translate(20px, 30px); }
    85% { opacity: 0.2; }
    100% { opacity: 0; transform: scale(1.4) rotate(10deg) translate(-35px, -25px); }
}

/* ========== HERO SECTION ========== */
.landing-hero {
    min-height: 100vh;
    display: flex;
    width: 100%;
}

/* Left side - Form */
.landing-hero__form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    background: linear-gradient(180deg, #ffffff 0%, #fdf8f7 100%);
    position: relative;
}

/* Right side - Image */
.landing-hero__image {
    flex: 1;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFAB5E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.landing-hero__gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 50%, #FFAB5E 100%);
}

/* ========== HEADER NAV ========== */
.landing-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    z-index: 100;
}

.landing-header__nav {
    display: flex;
    gap: 32px;
}

.landing-header__link {
    color: #4b5563;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.landing-header__link:hover {
    color: #FF6B6B;
}

.landing-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.landing-lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.landing-lang-switcher__btn {
    color: #6b7280;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.landing-lang-switcher__btn:hover {
    color: #1a1a1a;
}

.landing-lang-switcher__btn--active {
    color: #FF6B6B;
    font-weight: 600;
}

.landing-btn--signin {
    background: #1a1a1a;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.landing-btn--signin:hover {
    background: #333;
    transform: translateY(-1px);
}

/* ========== LOGO ========== */
.landing-header__logo {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    stroke: #FF6B6B;
    fill: none;
    stroke-width: 2;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}

/* ========== TYPOGRAPHY ========== */
.landing-step__title {
    font-family: 'Inter', sans-serif;
    font-size: 44px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.15;
    margin-bottom: 16px;
    margin-top: 0;
}

.landing-step__subtitle {
    color: #6b7280;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* ========== STEPS INDICATOR ========== */
.landing-steps-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.landing-steps-indicator--hidden {
    display: none;
}

.landing-steps-indicator__dot {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
    transition: all 0.3s ease;
}

.landing-steps-indicator__dot--active {
    background: linear-gradient(90deg, #FF6B6B, #FF8E53);
}

.landing-steps-indicator__dot--completed {
    background: #FF6B6B;
}

/* ========== WIZARD STEPS ========== */
.landing-step {
    display: none;
    animation: fadeIn 0.4s ease;
    position: relative;
    z-index: 1;
}

.landing-step--active {
    display: block;
}

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

/* ========== WELCOME BUTTONS (Step 0) ========== */
.landing-step__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    max-width: 380px;
}

.landing-btn--primary {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.landing-btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.4);
}

.landing-btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.landing-btn--outline {
    width: 100%;
    padding: 18px 40px;
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.landing-btn--outline:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.landing-btn--lg {
    /* Large size modifier — already has correct padding via --primary/--outline */
}

/* ========== GENDER CARDS ========== */
.landing-gender-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.landing-gender-card {
    flex: 1;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.landing-gender-card:hover {
    border-color: #ffccc0;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.landing-gender-card.selected {
    border-color: #FF6B6B;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0eb 100%);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.15);
}

.landing-gender-card svg {
    width: 64px;
    height: 64px;
    stroke: #9ca3af;
    stroke-width: 1.5;
    fill: none;
    transition: all 0.3s ease;
}

.landing-gender-card:hover svg {
    stroke: #FF8E53;
}

.landing-gender-card.selected svg {
    stroke: #FF6B6B;
}

.landing-gender-card__label {
    font-size: 16px;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.landing-gender-card.selected .landing-gender-card__label {
    color: #FF6B6B;
    font-weight: 600;
}

/* ========== LOOKING FOR / RADIO CARDS ========== */
.landing-radio-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.landing-radio-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.landing-radio-card:hover {
    border-color: #ffccc0;
}

.landing-radio-card.selected {
    border-color: #FF6B6B;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0eb 100%);
}

.landing-radio-card svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    stroke: #9ca3af;
    stroke-width: 1.5;
    fill: none;
    transition: all 0.3s ease;
}

.landing-radio-card.selected svg {
    stroke: #FF6B6B;
}

.landing-radio-card__label {
    font-size: 16px;
    color: #4b5563;
    font-weight: 500;
}

.landing-radio-card.selected .landing-radio-card__label {
    color: #1a1a1a;
}

/* ========== BIRTHDAY INPUT ========== */
.landing-birthday {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.landing-birthday__field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing-birthday__field label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.landing-birthday__field select,
.landing-birthday__field input {
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
}

.landing-birthday__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.landing-birthday__field select:focus,
.landing-birthday__field input:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.landing-birthday__note {
    font-size: 13px;
    color: #9ca3af;
    margin-top: -24px;
    margin-bottom: 40px;
}

/* ========== GOAL SELECTION ========== */
.landing-goal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

.landing-goal-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.landing-goal-card:hover {
    border-color: #ffccc0;
    transform: translateY(-2px);
}

.landing-goal-card.selected {
    border-color: #FF6B6B;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0eb 100%);
}

.landing-goal-card svg {
    width: 48px;
    height: 48px;
    stroke: #9ca3af;
    stroke-width: 1.5;
    fill: none;
    transition: all 0.3s ease;
}

.landing-goal-card:hover svg {
    stroke: #FF8E53;
}

.landing-goal-card.selected svg {
    stroke: #FF6B6B;
}

.landing-goal-card__label {
    font-size: 15px;
    color: #4b5563;
    font-weight: 500;
}

.landing-goal-card.selected .landing-goal-card__label {
    color: #1a1a1a;
    font-weight: 600;
}

/* ========== INTERESTS ========== */
.landing-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.landing-interest-tag {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #4b5563;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.landing-interest-tag:hover {
    border-color: #ffccc0;
}

.landing-interest-tag.selected {
    border-color: #FF6B6B;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

.landing-interest-tag svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.landing-interests__note {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 40px;
}

/* ========== BUTTONS ========== */
.landing-btn--back {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.landing-btn--back:hover {
    color: #1a1a1a;
}

.landing-btn--back svg {
    width: 20px;
    height: 20px;
}

.landing-step__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ========== FOOTER NOTE ========== */
.landing-step__footer-note {
    margin-top: 40px;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.8;
}

.landing-step__footer-note a {
    color: #FF6B6B;
    text-decoration: none;
}

.landing-step__footer-note a:hover {
    text-decoration: underline;
}

.landing-step__footer-note p {
    margin-bottom: 4px;
}

.copyright {
    margin-top: 16px;
    color: #d1d5db;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .landing-header {
        padding: 20px 30px;
    }

    .landing-header__nav {
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    .landing-hero__form {
        padding: 40px 50px;
    }

    .landing-step__title {
        font-size: 38px;
    }

    .landing-header__nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        flex-direction: column;
    }

    .landing-hero__form {
        flex: 1;
        padding: 100px 24px 30px;
        min-height: 100vh;
        height: 100vh;
        align-items: center;
        text-align: center;
        background: linear-gradient(180deg, #ffffff 0%, #fff9f8 50%, #fdf5f3 100%);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    /* Show animated heart blobs on mobile/tablet */
    .landing-heart-blobs {
        display: block;
    }

    .landing-hero__image {
        display: none;
    }

    /* Step indicator - centered and white background */
    .landing-steps-indicator {
        justify-content: center;
    }

    .landing-steps-indicator__dot {
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .landing-steps-indicator__dot--active {
        background: linear-gradient(90deg, #FF6B6B, #FF8E53);
    }

    .landing-steps-indicator__dot--completed {
        background: #FF6B6B;
    }

    /* Footer note - positioned at bottom of hero section */
    .landing-step__footer-note {
        margin-top: auto;
        padding-top: 30px;
        text-align: center;
    }

    /* ===== Vertically center steps on mobile ===== */

    /* Indicator + step content centered together via auto margins */
    .landing-steps-indicator {
        margin-top: auto;
    }

    .landing-step.landing-step--active {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 480px;
        margin-bottom: auto;
    }

    /* Step 0: indicator is hidden, so use flex:1 + own centering */
    .landing-step[data-step="0"].landing-step--active {
        flex: 1;
        margin-bottom: 0;
        justify-content: flex-start;
    }

    .landing-step[data-step="0"] .landing-step__title {
        margin-top: auto;
    }

    .landing-step[data-step="0"] .landing-step__actions {
        margin-bottom: auto;
    }

    .landing-step[data-step="0"] .landing-step__footer-note {
        margin-top: auto;
        padding-top: 30px;
    }

    /* Features section full height on mobile */
    .features-section {
        min-height: 100vh !important;
    }

    .landing-header {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        padding: 16px 24px;
        z-index: 100;
    }

    .landing-step__title {
        font-size: 32px;
    }

    .landing-step__subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .landing-step__actions {
        max-width: 100%;
        width: 100%;
    }

    .landing-gender-cards {
        gap: 12px;
        justify-content: center;
    }

    .landing-gender-card {
        padding: 24px 16px;
    }

    .landing-gender-card svg {
        width: 52px;
        height: 52px;
    }

    .landing-radio-cards {
        text-align: left;
    }

    .landing-birthday {
        flex-direction: column;
        gap: 12px;
        text-align: left;
    }

    .landing-goal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .landing-interests {
        justify-content: center;
    }

    .landing-step__nav {
        align-items: center;
    }

    .landing-btn--signin {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .landing-hero__form {
        padding: 90px 20px 30px;
    }

    .landing-step__title {
        font-size: 28px;
    }

    .landing-gender-card {
        padding: 20px 12px;
    }

    .landing-interest-tag {
        padding: 10px 18px;
        font-size: 14px;
    }

    .landing-header__logo {
        font-size: 24px;
    }

    .logo-text {
        font-size: 24px;
    }

    .landing-step__actions {
        max-width: 100%;
    }
}

/* ========== FEATURES SECTION ========== */
.features-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

/* Background image layer */
.features-section__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

.features-section__bg--active {
    opacity: 1;
}

/* Dark overlay for better text readability */
.features-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.75) 0%, rgba(15, 15, 26, 0.85) 100%);
    z-index: 1;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.features-section__content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 3;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-section__heading {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-section__heading.changing {
    opacity: 0;
    transform: translateY(-20px);
}

.features-section__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
    margin-bottom: 50px;
}

.features-section__text.changing {
    opacity: 0;
    transform: translateY(-15px);
}

.features-section__tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.features-section__tab {
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;

    /* Glassmorphism effect */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.features-section__tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.features-section__tab:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.features-section__tab--active {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 8px 32px rgba(255, 107, 107, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.features-section__tab--active::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
}

/* Responsive for features section */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 24px;
        min-height: 100vh;
    }

    .features-section__heading {
        font-size: 32px;
    }

    .features-section__text {
        font-size: 16px;
    }

    .features-section__tabs {
        gap: 12px;
    }

    .features-section__tab {
        padding: 14px 28px;
        font-size: 15px;
    }

    .features-section__content {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .features-section__heading {
        font-size: 28px;
    }

    .features-section__text {
        font-size: 15px;
    }

    .features-section__tab {
        padding: 12px 24px;
        font-size: 14px;
    }

    .features-section__content {
        min-height: 220px;
    }
}

/* ========== NAME INPUT (Step 6) ========== */
.landing-name-input {
    max-width: 380px;
    margin-bottom: 40px;
}

.landing-name-input .landing-auth__input {
    font-size: 18px;
    padding: 18px 24px;
    text-align: center;
}

/* ========== AUTH COMPONENTS (Step 7 + Sign-in Modal) ========== */

.landing-auth {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* Google Button */
.landing-auth__google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.landing-auth__google:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.landing-auth__google svg {
    flex-shrink: 0;
}

/* Divider */
.landing-auth__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
}

.landing-auth__divider::before,
.landing-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #9ca3af;
}

/* Auth Tabs */
.landing-auth__tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.landing-auth__tab {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    background: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.landing-auth__tab:first-child {
    border-right: 1px solid #e5e7eb;
}

.landing-auth__tab--active {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    font-weight: 600;
}

.landing-auth__tab:hover:not(.landing-auth__tab--active) {
    background: #f9fafb;
}

/* Auth Panels */
.landing-auth__panel {
    display: none;
}

.landing-auth__panel--active {
    display: block;
}

/* Shared Input Styles */
.landing-auth__input,
.landing-auth__phone-input,
.landing-auth__otp-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.landing-auth__input:focus,
.landing-auth__phone-input:focus,
.landing-auth__otp-input:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

/* Phone Row */
.landing-auth__phone-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.landing-auth__country-code {
    width: 130px;
    flex-shrink: 0;
    padding: 16px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 30px;
}

.landing-auth__country-code:focus {
    outline: none;
    border-color: #FF6B6B;
}

.landing-auth__phone-input {
    flex: 1;
    margin-bottom: 0;
}

/* OTP Row */
.landing-auth__otp-row {
    display: flex;
    gap: 12px;
}

.landing-auth__otp-input {
    flex: 1;
    margin-bottom: 0;
    letter-spacing: 4px;
    text-align: center;
    font-size: 18px;
}

.landing-auth__send-code {
    padding: 16px 24px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.landing-auth__send-code:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.landing-auth__send-code:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Error Message */
.landing-auth__error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 12px;
    min-height: 20px;
}

/* Forgot Password */
.landing-auth__forgot {
    display: inline-block;
    color: #FF6B6B;
    font-size: 14px;
    text-decoration: none;
    margin-top: -4px;
    margin-bottom: 12px;
}

.landing-auth__forgot:hover {
    text-decoration: underline;
}

/* Auth Switch Link */
.landing-auth__switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6b7280;
}

.landing-auth__switch a {
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 600;
}

.landing-auth__switch a:hover {
    text-decoration: underline;
}

/* ========== SIGN-IN MODAL ========== */
.landing-signin-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.landing-signin-modal.landing-signin-modal--open {
    display: flex;
}

.landing-signin-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.landing-signin-modal__content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalSlideUp 0.3s ease;
}

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

.landing-signin-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.3s ease;
}

.landing-signin-modal__close:hover {
    color: #1a1a1a;
}

.landing-signin-modal__title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 28px;
    text-align: center;
}

.landing-signin-modal__submit {
    margin-top: 20px;
}

/* ========== AUTH RESPONSIVE ========== */
@media (max-width: 768px) {
    .landing-auth {
        max-width: 100%;
    }

    .landing-signin-modal__content {
        padding: 32px 24px;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
        width: 100%;
        align-self: flex-end;
    }

    @keyframes modalSlideUp {
        from {
            opacity: 0;
            transform: translateY(100%);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .landing-auth__phone-row {
        flex-direction: column;
        gap: 8px;
    }

    .landing-auth__country-code {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .landing-signin-modal__content {
        padding: 28px 20px;
    }

    .landing-auth__otp-row {
        flex-direction: column;
        gap: 8px;
    }
}
