/* ═══════════════════════════════════════════════════
   AGRO360 — Design System Público
   Estética: Agro-Tech Premium | Verde + Escuro
   ═══════════════════════════════════════════════════ */

:root {
    /* Cores principais */
    --green-50: #f0fdf4; --green-100: #dcfce7; --green-200: #bbf7d0;
    --green-300: #86efac; --green-400: #4ade80; --green-500: #22c55e;
    --green-600: #16a34a; --green-700: #15803d; --green-800: #166534;
    --green-900: #14532d; --green-950: #052e16;

    --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
    --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b;
    --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b;
    --slate-900: #0f172a; --slate-950: #020617;

    --amber-400: #fbbf24; --amber-500: #f59e0b;
    --blue-500: #3b82f6; --blue-600: #2563eb;
    --purple-500: #8b5cf6;
    --red-500: #ef4444;

    /* Semânticas */
    --primary: var(--green-600);
    --primary-dark: var(--green-700);
    --primary-light: var(--green-400);
    --surface: #ffffff;
    --surface-alt: var(--slate-50);
    --text: var(--slate-900);
    --text-muted: var(--slate-500);
    --text-light: var(--slate-400);
    --border: var(--slate-200);
    --hero-bg: var(--slate-950);

    /* Tipografia */
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Dimensões */
    --header-h: 72px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --container: 1200px;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
    --shadow-green: 0 8px 32px rgba(22,163,74,0.3);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--surface); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
    border-radius: var(--radius-full); font-family: var(--font-body); font-weight: 600;
    font-size: 0.95rem; border: 2px solid transparent; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1); white-space: nowrap;
}
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-primary {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-green); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--slate-900); border-color: #fff; }
.btn-white:hover { background: var(--green-50); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ── Header ── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-h); display: flex; align-items: center;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.site-header.scrolled { background: rgba(255,255,255,0.95); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 36px; height: 36px; background: linear-gradient(135deg, var(--green-500), var(--green-700));
    border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem;
}
.logo-text { font-size: 1.25rem; font-weight: 400; color: var(--slate-800); letter-spacing: -0.02em; }
.logo-text strong { font-weight: 700; }

.nav-main { display: flex; gap: 8px; }
.nav-link {
    padding: 8px 16px; border-radius: var(--radius-full); font-size: 0.9rem;
    font-weight: 500; color: var(--slate-600); transition: all 0.2s;
}
.nav-link:hover { color: var(--primary); background: var(--green-50); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px;
}
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--slate-700); border-radius: 2px; transition: all 0.3s; }

/* ── Hero Section ── */
.hero {
    position: relative; padding: 160px 0 120px; overflow: hidden;
    background: var(--hero-bg);
    min-height: 100vh; display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(22,163,74,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(59,130,246,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 80%, rgba(139,92,246,0.06) 0%, transparent 50%);
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-full); margin-bottom: 28px;
    animation: fadeInUp 0.6s ease forwards;
}
.hero-badge-dot { width: 8px; height: 8px; background: var(--green-400); border-radius: 50%; animation: pulse 2s infinite; }
.hero-badge span { font-size: 0.8rem; color: rgba(255,255,255,0.8); font-weight: 500; letter-spacing: 0.02em; }

.hero h1 {
    font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 24px;
    letter-spacing: -0.03em; animation: fadeInUp 0.6s ease 0.1s forwards; opacity: 0;
}
.hero h1 .text-gradient {
    background: linear-gradient(135deg, var(--green-300), var(--green-400), var(--amber-400));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 40px;
    max-width: 520px; animation: fadeInUp 0.6s ease 0.2s forwards; opacity: 0;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.6s ease 0.3s forwards; opacity: 0; }
.hero-stats {
    display: flex; gap: 40px; margin-top: 56px; padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    animation: fadeInUp 0.6s ease 0.4s forwards; opacity: 0;
}
.hero-stat-number { font-size: 1.8rem; font-weight: 700; color: #fff; }
.hero-stat-number span { color: var(--green-400); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; margin-top: 4px; }

/* Hero visual */
.hero-visual {
    position: relative; animation: fadeInRight 0.8s ease 0.3s forwards; opacity: 0;
}
.hero-dashboard-mockup {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(10px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.mockup-header { display: flex; gap: 6px; margin-bottom: 20px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #fbbf24; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mockup-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm); padding: 16px;
}
.mockup-card-icon { width: 32px; height: 32px; border-radius: 8px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #fff; }
.mockup-card h4 { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.mockup-card .value { font-size: 1.4rem; font-weight: 700; color: #fff; }
.mockup-card .change { font-size: 0.75rem; margin-top: 4px; }
.mockup-card .change.up { color: var(--green-400); }
.mockup-card .change.down { color: var(--red-500); }

.mockup-chart {
    grid-column: 1 / -1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm); padding: 16px; height: 140px; position: relative; overflow: hidden;
}
.mockup-chart h4 { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.chart-bar {
    flex: 1; border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, var(--green-600), var(--green-400));
    opacity: 0.8; transition: opacity 0.2s;
    animation: growBar 1s ease forwards;
}
.chart-bar:hover { opacity: 1; }

.hero-float-card {
    position: absolute; background: rgba(255,255,255,0.95); border-radius: var(--radius);
    padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}
.hero-float-card.card-1 { bottom: 40px; left: -40px; animation-delay: 0s; }
.hero-float-card.card-2 { top: 40px; right: -30px; animation-delay: 1.5s; }
.float-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.float-text small { font-size: 0.7rem; color: var(--text-muted); display: block; }
.float-text strong { font-size: 0.9rem; color: var(--slate-800); }

/* ── Sections ── */
section { padding: 100px 0; }

.section-header { text-align: center; max-width: 650px; margin: 0 auto 64px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px;
    background: var(--green-50); border: 1px solid var(--green-200); border-radius: var(--radius-full);
    color: var(--green-700); font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 16px;
}
.section-header h2 {
    font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; color: var(--slate-900); line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-header p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }

/* ── Features Grid ── */
.features { background: var(--surface-alt); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: #fff; border-radius: var(--radius-lg); padding: 36px;
    border: 1px solid var(--border); transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--green-500), var(--green-300));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 52px; height: 52px; border-radius: var(--radius); display: flex;
    align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 20px;
    background: var(--green-50); color: var(--green-600);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--slate-800); }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* ── Modules Carousel ── */
.modules-scroll { display: flex; gap: 16px; overflow-x: auto; padding: 8px 0 20px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.modules-scroll::-webkit-scrollbar { height: 4px; }
.modules-scroll::-webkit-scrollbar-track { background: var(--slate-100); border-radius: 4px; }
.modules-scroll::-webkit-scrollbar-thumb { background: var(--green-300); border-radius: 4px; }

.module-pill {
    flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 14px 22px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-full);
    font-size: 0.88rem; font-weight: 500; color: var(--slate-700); transition: all 0.3s;
    scroll-snap-align: start; cursor: default;
}
.module-pill:hover { border-color: var(--primary); color: var(--primary); background: var(--green-50); }
.module-pill i { font-size: 0.95rem; width: 20px; text-align: center; }

/* ── Stats Banner ── */
.stats-banner {
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    padding: 80px 0; position: relative; overflow: hidden;
}
.stats-banner::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; z-index: 1; text-align: center; }
.stat-item h3 { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-item h3 span { color: var(--green-300); }
.stat-item p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }

/* ── Pricing ── */
.pricing { background: var(--surface-alt); }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; }
.pricing-toggle span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.pricing-toggle span.active { color: var(--primary); font-weight: 700; }
.toggle-switch {
    width: 52px; height: 28px; background: var(--slate-300); border-radius: 14px;
    cursor: pointer; position: relative; transition: background 0.3s;
}
.toggle-switch.active { background: var(--primary); }
.toggle-switch::after {
    content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
    background: #fff; border-radius: 50%; transition: transform 0.3s; box-shadow: var(--shadow-sm);
}
.toggle-switch.active::after { transform: translateX(24px); }
.pricing-save { background: var(--amber-400); color: var(--slate-900); font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
    background: #fff; border: 2px solid var(--border); border-radius: var(--radius-xl);
    padding: 40px 32px; position: relative; transition: all 0.4s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--primary); transform: scale(1.04); }
.pricing-card.popular:hover { transform: scale(1.04) translateY(-4px); }

.pricing-popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff; padding: 6px 20px; border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    white-space: nowrap;
}
.pricing-icon { width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 20px; }
.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; color: var(--slate-800); }
.pricing-card .plan-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.pricing-price { margin-bottom: 28px; }
.pricing-price .amount { font-size: 2.6rem; font-weight: 800; color: var(--slate-900); line-height: 1; }
.pricing-price .amount small { font-size: 1rem; font-weight: 500; }
.pricing-price .period { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.pricing-price .original { text-decoration: line-through; color: var(--text-light); font-size: 0.85rem; }

.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
    display: flex; align-items: flex-start; gap: 10px; padding: 8px 0;
    font-size: 0.88rem; color: var(--slate-600);
}
.pricing-features li i { color: var(--green-500); margin-top: 3px; font-size: 0.8rem; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 32px; position: relative;
}
.testimonial-stars { color: var(--amber-400); font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 0.95rem; color: var(--slate-600); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--green-100); color: var(--green-700);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem;
}
.testimonial-info strong { display: block; font-size: 0.9rem; color: var(--slate-800); }
.testimonial-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ── CTA Final ── */
.cta-section {
    background: var(--hero-bg); padding: 100px 0; position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(22,163,74,0.12) 0%, transparent 60%);
}
.cta-content { position: relative; z-index: 1; max-width: 650px; margin: 0 auto; }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 0.8rem; color: rgba(255,255,255,0.35); margin-top: 20px; }

/* ── Footer ── */
.site-footer { background: var(--slate-950); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; color: var(--slate-400); margin-top: 16px; line-height: 1.6; }
.footer-brand .logo { margin-bottom: 4px; }
.footer-brand .logo-text { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center; color: var(--slate-400);
    transition: all 0.2s; font-size: 0.9rem;
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-300); font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--slate-400); padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-400); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--slate-500); }
.footer-legal { font-size: 0.75rem !important; }

/* ── Auth Pages ── */
.auth-page { min-height: 100vh; display: flex; }
.auth-left {
    flex: 1; background: var(--hero-bg); display: flex; flex-direction: column; justify-content: center;
    padding: 60px; position: relative; overflow: hidden;
}
.auth-left::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(22,163,74,0.2) 0%, transparent 60%);
}
.auth-left-content { position: relative; z-index: 1; max-width: 440px; }
.auth-left h2 { font-family: var(--font-display); font-size: 2.4rem; color: #fff; margin-bottom: 16px; line-height: 1.15; }
.auth-left p { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.7; }
.auth-benefits { list-style: none; margin-top: 32px; }
.auth-benefits li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); font-size: 0.92rem; padding: 8px 0; }
.auth-benefits li i { color: var(--green-400); width: 18px; }

.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; background: #fff; }
.auth-form-wrapper { width: 100%; max-width: 440px; }
.auth-form-wrapper .logo { margin-bottom: 32px; }
.auth-form-wrapper h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; color: var(--slate-900); }
.auth-form-wrapper .subtitle { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius);
    font-family: var(--font-body); font-size: 0.92rem; color: var(--text);
    transition: border-color 0.2s; background: #fff;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,0.12); }
.form-control::placeholder { color: var(--text-light); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--slate-600); }
.form-check input { accent-color: var(--primary); }
.form-link { font-size: 0.85rem; color: var(--primary); font-weight: 500; }
.form-link:hover { text-decoration: underline; }
.form-footer { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }

.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.88rem; margin-bottom: 20px; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

.divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.divider span { font-size: 0.8rem; color: var(--text-muted); }

.auth-switch { text-align: center; font-size: 0.9rem; color: var(--text-muted); margin-top: 24px; }
.auth-switch a { color: var(--primary); font-weight: 600; }

/* ── 404 ── */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.error-page h1 { font-family: var(--font-display); font-size: 6rem; color: var(--green-200); line-height: 1; }
.error-page h2 { font-size: 1.4rem; margin: 16px 0 8px; }
.error-page p { color: var(--text-muted); margin-bottom: 32px; }

/* ── Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .pricing-card.popular { transform: none; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .nav-main { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav-actions .btn-ghost { display: none; }
    .hero { padding: 120px 0 80px; min-height: auto; }
    .features-grid { grid-template-columns: 1fr; }
    section { padding: 64px 0; }
    .auth-page { flex-direction: column; }
    .auth-left { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
