/* ── RESET & BASE ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #22c55e;
    --accent2: #8b5cf6;
    --bg: #050a18;
    --bg-card: #0d1526;
    --bg-elevated: #111c35;
    --border: rgba(255,255,255,0.08);
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #4b5a72;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* ── GRADIENT TEXT ──────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── NAV ─────────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}
.nav.scrolled {
    background: rgba(5, 10, 24, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 32px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700;
}
.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}
.nav-links {
    display: flex; gap: 28px; margin-left: 20px;
}
.nav-links a {
    font-size: 14px; font-weight: 600; color: var(--text-muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; margin-left: auto; align-items: center; }
.hamburger { display: none; background: none; border: none; font-size: 22px; color: var(--text); cursor: pointer; margin-left: auto; }

.btn-demo {
    padding: 10px 22px; border-radius: 100px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff; font-weight: 700; font-size: 13px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 24px rgba(59,130,246,0.35);
}
.btn-demo:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(59,130,246,0.55); }

.btn-primary {
    padding: 10px 22px; border-radius: 100px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    color: var(--text); font-weight: 600; font-size: 13px;
    transition: all 0.2s;
}
.btn-primary:hover { background: rgba(255,255,255,0.12); }

.mobile-menu {
    display: none; flex-direction: column; gap: 8px;
    padding: 16px 24px;
    background: rgba(5,10,24,0.98);
    border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px; font-weight: 600; color: var(--text-muted); }
.mobile-menu a:hover { color: var(--text); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
    min-height: 100vh; position: relative; overflow: hidden;
    display: flex; align-items: center; padding: 120px 24px 60px;
    gap: 60px; max-width: 1400px; margin: 0 auto;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.25;
}
.orb-1 { width: 600px; height: 600px; background: #3b82f6; top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: 0; right: 100px; }
.orb-3 { width: 300px; height: 300px; background: #22c55e; top: 50%; left: 40%; }
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; flex: 1; max-width: 600px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3);
    color: #93c5fd; font-size: 12px; font-weight: 700; padding: 6px 16px;
    border-radius: 100px; margin-bottom: 24px; letter-spacing: 0.03em;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900; line-height: 1.1;
    letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 100px; font-size: 15px; font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff; transition: all 0.3s;
    box-shadow: 0 0 32px rgba(59,130,246,0.4);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 0 48px rgba(59,130,246,0.6); }

.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 28px; border-radius: 100px; font-size: 15px; font-weight: 700;
    background: rgba(255,255,255,0.06); border: 1.5px solid var(--border);
    color: var(--text); transition: all 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.1); }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 900; color: var(--text); }
.stat-lbl { font-size: 11px; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

.hero-visual { position: relative; z-index: 1; flex: 1; min-width: 300px; }
.dashboard-preview { position: relative; }
.hero-img { width: 100%; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 32px 80px rgba(0,0,0,0.6); }

.floating-card {
    position: absolute; background: rgba(13,21,38,0.9);
    backdrop-filter: blur(20px); border: 1px solid var(--border);
    border-radius: 16px; padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
    font-size: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: float 4s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 12px; font-weight: 700; }
.floating-card small { font-size: 11px; color: var(--text-muted); }
.fc-icon { font-size: 20px; }
.card-1 { top: 20px; left: -40px; animation-delay: 0s; }
.card-2 { top: 50%; right: -30px; animation-delay: 1.3s; }
.card-3 { bottom: 30px; left: -20px; animation-delay: 2.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── LOGOS BAR ──────────────────────────────────── */
.logos-bar {
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 20px 24px; background: rgba(255,255,255,0.02);
}
.logos-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logos-inner > span { font-size: 12px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.logo-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
    padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text-muted);
}

/* ── SECTION HEADER ─────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.3); color: #93c5fd;
    font-size: 11px; font-weight: 800; padding: 5px 14px;
    border-radius: 100px; letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 16px;
}
.section-header h2 {
    font-family: 'Outfit', sans-serif; font-size: clamp(28px, 4vw, 48px);
    font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px;
}
.section-header p { font-size: 17px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── FEATURES ────────────────────────────────────── */
.features-section { background: var(--bg); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card--large { grid-column: span 1; grid-row: span 2; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 24px; padding: 32px;
    transition: all 0.3s ease; opacity: 0; transform: translateY(20px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.feat-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px;
}
.feature-card h3 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.feat-img { width: 100%; border-radius: 16px; margin-top: 20px; border: 1px solid var(--border); }

/* ── RENT-A-CAR ──────────────────────────────────── */
.rac-section { background: var(--bg-elevated); }
.rac-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.rac-content .section-tag { text-align: left; }
.rac-content h2 { font-family: 'Outfit', sans-serif; font-size: clamp(28px,4vw,44px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px; }
.rac-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
.rac-features { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.rac-feat {
    display: flex; gap: 16px; opacity: 0; transform: translateX(-20px);
    transition: all 0.4s ease;
}
.rac-feat.visible { opacity: 1; transform: translateX(0); }
.rac-feat-icon { font-size: 24px; flex-shrink: 0; width: 44px; height: 44px; background: rgba(59,130,246,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.rac-feat strong { display: block; font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.rac-feat p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.btn-lg { padding: 14px 28px; border-radius: 14px; font-size: 14px; font-weight: 700; background: linear-gradient(135deg,#3b82f6,#6366f1); color:#fff; display:inline-block; }

.rac-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.rac-card-header {
    background: rgba(255,255,255,0.04); padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    font-size: 14px; font-weight: 700;
}
.rac-status { color: #22c55e; font-size: 12px; }
.rac-card-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.rac-img { width: 100%; border-radius: 14px; border: 1px solid var(--border); }
.rac-info-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.rac-damages { font-size: 12px; }
.rac-damages small { color: var(--text-dim); display: block; margin-bottom: 8px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.06em; }
.damage-pill { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; margin-bottom: 6px; }

/* ── MÓDULOS ─────────────────────────────────────── */
.modulos-section { background: var(--bg); }
.modulos-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.modulo-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 28px;
    transition: all 0.3s; opacity: 0; transform: translateY(20px);
    position: relative; overflow: hidden;
}
.modulo-card.visible { opacity: 1; transform: translateY(0); }
.modulo-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-4px); }
.mod-num {
    font-family: 'Outfit', sans-serif; font-size: 48px; font-weight: 900;
    color: rgba(255,255,255,0.04); position: absolute; top: 12px; right: 16px;
}
.mod-icon { font-size: 28px; margin-bottom: 12px; }
.modulo-card h4 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.modulo-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── AUTOMATION ──────────────────────────────────── */
.auto-section { background: var(--bg-elevated); }
.auto-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.auto-content h2 { font-family: 'Outfit', sans-serif; font-size: clamp(28px,4vw,44px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px; }
.auto-content p { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
.cron-visual { display: flex; flex-direction: column; gap: 16px; }
.cron-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 16px 20px;
    opacity: 0; transform: translateX(-20px); transition: all 0.4s;
}
.cron-item.visible { opacity: 1; transform: translateX(0); }
.cron-time {
    font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 900;
    color: #3b82f6; min-width: 60px;
}
.cron-desc strong { display: block; font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.cron-desc small { font-size: 12px; color: var(--text-muted); }

.auto-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.auto-card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 800; }
.alert-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 20px; border-bottom: 1px solid var(--border);
    font-size: 13px; opacity: 0; transform: translateX(20px); transition: all 0.4s;
}
.alert-item.visible { opacity: 1; transform: translateX(0); }
.alert-item strong { display: block; font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.alert-item small { font-size: 11px; color: var(--text-muted); }
.alert-red { border-left: 3px solid #ef4444; }
.alert-orange { border-left: 3px solid #f59e0b; }
.alert-blue { border-left: 3px solid #3b82f6; }
.alert-green { border-left: 3px solid #22c55e; }

/* ── PRICING ─────────────────────────────────────── */
.pricing-section { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 28px; padding: 40px 32px;
    display: flex; flex-direction: column; gap: 8px;
    transition: all 0.3s; opacity: 0; transform: translateY(20px);
}
.pricing-card.visible { opacity: 1; transform: translateY(0); }
.pricing-card--featured {
    background: linear-gradient(135deg, #0f2157, #1a0a40);
    border-color: rgba(99,102,241,0.4);
    box-shadow: 0 0 60px rgba(99,102,241,0.2);
    position: relative; transform: scale(1.02);
}
.pricing-card--featured.visible { transform: scale(1.02); }
.plan-badge {
    display: inline-block; background: linear-gradient(135deg,#3b82f6,#8b5cf6);
    color: #fff; font-size: 10px; font-weight: 800; padding: 4px 12px;
    border-radius: 100px; margin-bottom: 12px; width: fit-content;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.plan-name { font-size: 16px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.plan-price { font-family: 'Outfit', sans-serif; font-size: 44px; font-weight: 900; line-height: 1; }
.plan-price span { font-size: 20px; font-weight: 600; color: var(--text-muted); }
.plan-period { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 32px; }
.plan-features li { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.btn-plan {
    display: block; text-align: center; padding: 14px; border-radius: 14px;
    background: rgba(255,255,255,0.06); border: 1px solid var(--border);
    font-size: 14px; font-weight: 800; color: var(--text);
    transition: all 0.2s;
}
.btn-plan:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-plan--featured {
    background: linear-gradient(135deg,#3b82f6,#6366f1);
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(59,130,246,0.4);
}
.btn-plan--featured:hover { box-shadow: 0 12px 48px rgba(59,130,246,0.6); }

/* ── CTA SECTION ────────────────────────────────── */
.cta-section {
    padding: 120px 24px; text-align: center; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #050a18, #0f1e3d);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-family: 'Outfit', sans-serif; font-size: clamp(32px,5vw,56px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-content p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }
.btn-xl { font-size: 18px; padding: 20px 40px; }

/* ── FOOTER ──────────────────────────────────────── */
.footer { background: #02050f; padding: 64px 0 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; gap: 80px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand p { font-size: 14px; color: var(--text-dim); margin-top: 12px; max-width: 260px; line-height: 1.7; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { font-size: 12px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.footer-links a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-dim); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .feature-card--large { grid-column: span 2; }
    .modulos-grid { grid-template-columns: repeat(2,1fr); }
    .rac-layout { grid-template-columns: 1fr; }
    .rac-visual { order: -1; }
    .auto-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero { flex-direction: column; padding-top: 100px; }
    .hero-visual { width: 100%; }
    .card-1, .card-2, .card-3 { display: none; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: block; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card--large { grid-column: span 1; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card--featured { transform: scale(1); }
    .footer-inner { flex-direction: column; gap: 40px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat-sep { display: none; }
}
