/* ========================================
   YEEN Landing Page Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body, #0d0d1a);
    color: var(--text-primary, #ffffff);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   Background Effects
   ======================================== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(248, 132, 20, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248, 132, 20, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(248, 132, 20, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(13, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(248, 132, 20, 0.3));
}

.navbar-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-primary, #ffffff);
}

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

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

.navbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-secondary {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    color: var(--text-primary, #ffffff);
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary, #F88414) 0%, var(--primary-dark, #E07010) 100%);
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 132, 20, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(248, 132, 20, 0.4);
}

.navbar-login-link {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.navbar-login-link:hover {
    color: var(--text-primary, #ffffff);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.desktop-only {
    display: inline-flex;
}

.mobile-only-auth {
    display: none;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary, #ffffff);
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Animated Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(248, 132, 20, 0.1);
    border: 1px solid rgba(248, 132, 20, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(248, 132, 20, 0.15);
    border-color: rgba(248, 132, 20, 0.3);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
}

.badge-arrow {
    color: var(--primary, #F88414);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: translateX(0);
    }

    50% {
        opacity: 0.6;
        transform: translateX(3px);
    }
}

/* Hero Title */
.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary, #F88414) 0%, var(--primary-light, #FFA040) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

/* CTA Button */
.hero-cta {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary, #F88414) 0%, var(--primary-dark, #E07010) 100%);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(248, 132, 20, 0.35);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(248, 132, 20, 0.45);
}

.btn-cta svg {
    transition: transform 0.3s ease;
}

.btn-cta:hover svg {
    transform: translateX(4px);
}

.hero-login-link {
    font-size: 0.9375rem;
    color: var(--text-secondary, #94a3b8);
    margin-top: 20px;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.hero-login-link a {
    color: var(--primary, #F88414);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.hero-login-link a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary, #F88414);
    transition: width 0.3s ease;
    opacity: 0.5;
}

.hero-login-link a:hover::after {
    width: 100%;
}

/* App Preview */
.hero-preview {
    margin-top: 60px;
    width: 100%;
    max-width: 1000px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.preview-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(248, 132, 20, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.preview-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(30, 30, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(30, 30, 47, 0.9);
    border-color: rgba(248, 132, 20, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent), 0.1);
    background: linear-gradient(135deg, rgba(248, 132, 20, 0.1) 0%, rgba(248, 132, 20, 0.05) 100%);
    border-radius: 14px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent, var(--primary, #F88414));
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary, #ffffff);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.5;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    position: relative;
    z-index: 1;
    padding: 60px 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 32px;
    width: auto;
    opacity: 0.8;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-secondary, #94a3b8);
}

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

.footer-links a {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary, #F88414);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: var(--text-muted, #5a5a7a);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 13, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 32px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .navbar-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-actions .navbar-login-link {
        display: flex;
        padding: 8px 16px;
        font-size: 0.8125rem;
    }

    .navbar-links li.mobile-only-auth {
        display: flex;
        width: 100%;
        margin-top: 8px;
    }

    .navbar-login-link-mobile {
        color: var(--text-secondary, #94a3b8);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        padding: 12px;
        width: 100%;
        text-align: center;
        transition: color 0.2s ease;
    }

    .mobile-menu-btn {
        width: 100%;
        justify-content: center;
        padding: 14px !important;
        margin-top: 8px;
    }

    .desktop-only {
        display: none !important;
    }

    .hero-cta {
        gap: 16px !important;
    }

    .hero-login-link {
        font-size: 0.875rem;
        margin-top: 12px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding-top: 100px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        padding: 6px 14px;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .btn-cta {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }
}