/* Dutch Fluency - TurboScribe-Inspired Landing Page */

:root {
    /* Dutch Fluency Brand Colors */
    --navy: #0F3460;
    --navy-light: #1A4D7C;
    --navy-dark: #0A2340;
    --orange: #FF6B35;
    --orange-light: #FF8555;
    --orange-dark: #E55520;
    --yellow: #FFFACD;
    --gold: #FFD93D;
    --charcoal: #2D2D2D;

    /* UI Colors */
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --border-gray: #e1e8ed;
    --text-gray: #6B7280;
}

/* ===== LOGGED-IN USER SECTION ===== */
.hero-section.logged-in {
    background: linear-gradient(135deg, #f5f9ff 0%, #e2ebff 100%);
    padding: 60px;
    border-radius: 20px;
    margin: 30px auto;
    max-width: 1200px;
}

.welcome-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.welcome-text-column {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--navy);
    line-height: 1.2;
}

/* Welcome Badge - "Unlimited Access" */
.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--yellow) 100%);
    color: var(--navy);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--orange);
    box-shadow: 0 4px 12px rgba(255, 215, 61, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-icon {
    font-size: 18px;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 215, 61, 0.3);
    }
    50% {
        box-shadow: 0 6px 18px rgba(255, 215, 61, 0.5);
    }
}

.personalized-message {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.primary-button {
    background-color: var(--orange);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.primary-button:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.secondary-button {
    background-color: white;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 12px 26px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.secondary-button:hover {
    background-color: var(--navy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 52, 96, 0.3);
}

.button-icon {
    margin-right: 10px;
    font-size: 1.3rem;
}

.welcome-image-column {
    flex: 0 0 auto;
    max-width: 450px;
}

.welcome-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    animation: floatImage 6s ease-in-out infinite;
}

.welcome-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

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

/* ===== GUEST USER - NEW TURBOSCRIBE-STYLE LAYOUT ===== */
.landing-hero {
    background: linear-gradient(135deg,
        var(--navy-dark) 0%,
        var(--navy) 50%,
        var(--navy-light) 100%);
    min-height: calc(100vh - 200px);
    padding: 40px 20px 60px;
    position: relative;
}

/* Social Proof Banner */
.social-proof-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 40px;
    color: var(--white);
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-icon {
    font-size: 20px;
}

.proof-text strong {
    font-weight: 700;
    color: var(--gold);
}

/* Hero Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Left Column */
.hero-left {
    color: var(--white);
}

.landing-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.landing-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* Free Offer Badge */
.free-offer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 215, 61, 0.2);
    border: 2px solid var(--gold);
    padding: 12px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
    font-size: 16px;
    color: var(--white);
}

.offer-icon {
    font-size: 22px;
}

.offer-text strong {
    color: var(--gold);
    font-weight: 700;
}

/* CTA Button */
.cta-button {
    background-color: var(--white);
    color: var(--navy);
    font-size: 18px;
    font-weight: 700;
    padding: 18px 35px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background-color: #f8f9fa;
}

.google-icon {
    display: flex;
    align-items: center;
}

/* Signup Links */
.signup-links {
    margin-top: 20px;
    margin-bottom: 40px;
}

.link-button {
    background: none;
    border: none;
    color: var(--white);
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s;
}

.link-button:hover {
    opacity: 0.8;
}

/* Pricing Section - Compact */
.pricing-compact {
    margin-top: 40px;
}

.pricing-divider {
    text-align: center;
    margin-bottom: 25px;
}

.pricing-divider span {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-cards-compact {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-card-compact {
    flex: 1;
    text-align: center;
}

.price-amount {
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.price-yearly,
.price-monthly {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.price-converted {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.price-save {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-divider-or {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Right Column - Demo Box */
.hero-right {
    position: sticky;
    top: 20px;
}

.demo-box {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-header {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

.demo-icon {
    font-size: 24px;
}

.demo-body {
    padding: 30px 25px;
    background-color: #f8f9fa;
}

.exercise-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exercise-grid {
    display: grid;
    gap: 15px;
}

.exercise-item {
    background-color: var(--white);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.exercise-item:hover {
    border-color: var(--orange);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.exercise-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border-radius: 10px;
}

.exercise-info {
    flex: 1;
}

.exercise-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.exercise-progress {
    background-color: #e1e8ed;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.demo-footer {
    background: linear-gradient(135deg, var(--gold) 0%, var(--yellow) 100%);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.demo-cta-icon {
    font-size: 24px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-grid {
        gap: 40px;
    }

    .landing-title {
        font-size: 46px;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-right {
        position: static;
    }

    .landing-title {
        font-size: 42px;
    }

    .cta-button {
        max-width: 100%;
    }

    .welcome-container {
        flex-direction: column;
        text-align: center;
    }

    .welcome-image-column {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 30px 15px 50px;
    }

    .landing-title {
        font-size: 36px;
    }

    .landing-subtitle {
        font-size: 18px;
    }

    .pricing-cards-compact {
        flex-direction: column;
        gap: 15px;
    }

    .price-divider-or {
        margin: 10px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 32px;
    }

    .landing-subtitle {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 16px 25px;
    }

    .demo-box {
        border-radius: 15px;
    }

    .exercise-item {
        padding: 12px;
    }

    .exercise-icon {
        font-size: 28px;
        width: 45px;
        height: 45px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .welcome-image {
        max-width: 280px;
        border-radius: 15px;
    }
}
