:root {
    --primary: #F97316;
    --primary-dark: #EA580C;
    --primary-light: #FFEDD5;
    --secondary: #111827;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --background: #FFF7ED;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --font-sans: 'Nunito', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--secondary);
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
}

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

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
}

.close-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.23);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.btn-text {
    background: transparent;
    color: var(--text-main);
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.visual-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
}

.visual-card:hover {
    transform: rotateY(0) rotateX(0);
}

.visual-card img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
}

/* Features Grid (Bento) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(249, 115, 22, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-card.large {
    grid-column: span 2;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Social Proof */
.social-proof {
    text-align: center;
    background: var(--white);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    .hero-content { gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links, .auth-buttons { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-nav { display: flex; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text p { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }

    .features-grid { grid-template-columns: 1fr; }
    .feature-card.large { grid-column: auto; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h1 { font-size: 2rem; }
}

/* New Extracted Styles */

.mobile-nav-auth {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 80%;
}
.mobile-nav-auth .btn {
    width: 100%;
    text-align: center;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

#how-it-works {
    background-color: var(--white);
}
.how-it-works-header {
    text-align: center;
    margin-bottom: 4rem;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}
.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    font-weight: 900;
}

.hero-image {
    height: 400px;
    object-fit: cover;
}

.footer-logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}
