@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

/* ============================================================
   AUTONOTAS — Design System v2
   Paleta baseada no logo: Azul-Ciano + Verde + Navy
   ============================================================ */

:root {
    /* Primary brand — blue gradient (logo icon) */
    --blue-light:    #29b6e8;
    --blue-mid:      #1a7fc4;
    --blue-dark:     #1a5fa3;

    /* Secondary brand — green gradient (checkmark) */
    --green-lime:    #6dcf3e;
    --green-mid:     #3daa1e;
    --green-dark:    #2a7a14;

    /* Navy (logo text "Auto") */
    --navy:          #1c3553;
    --navy-deep:     #0f2035;

    /* Backgrounds */
    --bg-dark:       #0d1f33;
    --bg-mid:        #101d2e;
    --bg-light:      #152640;

    /* Cards */
    --card-bg:       rgba(21, 38, 64, 0.75);
    --card-border:   rgba(41, 182, 232, 0.15);

    /* Text */
    --text-main:     #e8f4ff;
    --text-muted:    #7da5c0;
    --text-dim:      #4d7a99;

    /* Accents */
    --primary:       var(--blue-mid);
    --primary-glow:  rgba(26, 127, 196, 0.4);
    --secondary:     var(--green-lime);
    --secondary-glow:rgba(109, 207, 62, 0.35);

    /* Gradients */
    --grad-blue:     linear-gradient(135deg, var(--blue-light), var(--blue-dark));
    --grad-green:    linear-gradient(135deg, var(--green-lime), var(--green-dark));
    --grad-hero:     linear-gradient(135deg, var(--blue-light) 0%, var(--blue-mid) 40%, var(--green-mid) 100%);
    --grad-mixed:    linear-gradient(120deg, var(--blue-light), var(--green-lime));

    /* Misc */
    --border-color:  rgba(41, 182, 232, 0.12);
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --shadow-blue:   0 8px 32px rgba(26, 127, 196, 0.25);
    --shadow-green:  0 8px 32px rgba(61, 170, 30, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Animated Background Pattern ─────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        /* Diagonal grid lines */
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 60px,
            rgba(29, 127, 196, 0.03) 60px,
            rgba(29, 127, 196, 0.03) 61px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 60px,
            rgba(61, 170, 30, 0.025) 60px,
            rgba(61, 170, 30, 0.025) 61px
        ),
        /* Dots pattern */
        radial-gradient(circle, rgba(41, 182, 232, 0.08) 1px, transparent 1px);
    background-size: auto, auto, 40px 40px;
    pointer-events: none;
    z-index: 0;
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* ── Glassmorphism ────────────────────────────────────── */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(41, 182, 232, 0.3);
}

/* ── Header ───────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 5%;
    background: rgba(13, 31, 51, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
    /* Top accent bar */
    box-shadow: 0 1px 0 rgba(41, 182, 232, 0.2), 0 4px 24px rgba(0,0,0,0.4);
}

/* Thin gradient accent line on top of header */
header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-mixed);
}

header .logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.02em;
}

header .logo i {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
}

header .logo .logo-auto {
    color: #e8f4ff;
}

header .logo .logo-notas {
    background: var(--grad-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav.menu {
    display: flex;
    gap: 1.8rem;
}

nav.menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

nav.menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-mixed);
    border-radius: 2px;
    transition: width 0.3s ease;
}

nav.menu a:hover {
    color: var(--blue-light);
}

nav.menu a:hover::after {
    width: 100%;
}

/* ── Auth Buttons ─────────────────────────────────────── */
.auth-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* ── Dropdown Menu ────────────────────────────────────── */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: rgba(13, 31, 51, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 240px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-blue);
    padding: 0.4rem;
    z-index: 1001;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 30px;
    width: 10px;
    height: 10px;
    background: rgba(13, 31, 51, 0.97);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Rota a seta do botão ao abrir o dropdown */
.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(41, 182, 232, 0.1);
    color: var(--blue-light);
}

.dropdown-item:hover i {
    color: var(--blue-light);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
    padding: 0.55rem 1.3rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(41, 182, 232, 0.4);
    color: var(--blue-light);
}

.btn-outline:hover {
    background: rgba(41, 182, 232, 0.1);
    border-color: var(--blue-light);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--grad-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 127, 196, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(26, 127, 196, 0.55);
}

.btn-green {
    background: var(--grad-green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(61, 170, 30, 0.4);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(61, 170, 30, 0.55);
}

/* ── Hero Section ─────────────────────────────────────── */
.hero {
    padding: 7rem 5% 6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88vh;
    position: relative;
    overflow: hidden;
}

/* Glowing orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(26, 127, 196, 0.18) 0%, transparent 70%);
    top: -15vw;
    left: -10vw;
    animation-duration: 10s;
}

.hero-orb-2 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(109, 207, 62, 0.14) 0%, transparent 70%);
    bottom: -8vw;
    right: -8vw;
    animation-duration: 12s;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 20vw;
    height: 20vw;
    background: radial-gradient(circle, rgba(41, 182, 232, 0.12) 0%, transparent 70%);
    top: 30%;
    right: 15%;
    animation-duration: 7s;
    animation-delay: -2s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-30px) scale(1.05); }
}

/* Hexagon/circuit pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(41, 182, 232, 0.04) 50px,
            rgba(41, 182, 232, 0.04) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(41, 182, 232, 0.04) 50px,
            rgba(41, 182, 232, 0.04) 51px
        );
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(41, 182, 232, 0.1);
    border: 1px solid rgba(41, 182, 232, 0.25);
    border-radius: 50px;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-light);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-lime);
    box-shadow: 0 0 8px var(--green-lime);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 6px var(--green-lime); }
    50%       { box-shadow: 0 0 14px var(--green-lime), 0 0 28px rgba(109,207,62,0.4); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.9s ease 0.1s both;
}

.hero h1 .gradient-text {
    background: var(--grad-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 2.8rem;
    animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-ctas .btn {
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

/* Stats bar */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.9s ease 0.5s both;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-num {
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat .stat-num.green {
    background: var(--grad-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Section Titles ───────────────────────────────────── */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title .blue {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .green {
    background: var(--grad-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
}

/* ── Features Section ─────────────────────────────────── */
.features-section {
    padding: 6rem 5%;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-light), var(--green-lime), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card.green-accent::before {
    background: var(--grad-green);
}

.feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.2rem;
    position: relative;
}

.feature-icon.blue-icon {
    background: rgba(26, 127, 196, 0.15);
    color: var(--blue-light);
    box-shadow: 0 0 0 1px rgba(41, 182, 232, 0.2);
}

.feature-icon.green-icon {
    background: rgba(61, 170, 30, 0.15);
    color: var(--green-lime);
    box-shadow: 0 0 0 1px rgba(109, 207, 62, 0.2);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ── Pricing Section ──────────────────────────────────── */
.pricing-section {
    padding: 6rem 5%;
    position: relative;
    overflow: hidden;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green-lime), var(--blue-light), transparent);
}

/* Pricing pattern bg */
.pricing-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(109, 207, 62, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(26, 127, 196, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.pricing-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50px;
    padding: 0.3rem;
    border: 1px solid var(--border-color);
    gap: 0.2rem;
}

.pricing-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.65rem 1.5rem;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pricing-btn.active {
    background: var(--grad-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 127, 196, 0.4);
}

.pricing-btn:not(.active):hover {
    color: var(--blue-light);
    background: rgba(41, 182, 232, 0.08);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.8rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.popular {
    background: rgba(21, 38, 64, 0.9);
    border-color: rgba(41, 182, 232, 0.35);
    transform: scale(1.04);
    box-shadow: 0 0 0 1px rgba(41, 182, 232, 0.25), var(--shadow-blue);
}

.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-blue);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.pricing-card.popular .pricing-card-accent {
    height: 4px;
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    min-height: 36px;
}

.plan-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.plan-name.highlight {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-tag {
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.plan-tag-blue {
    background: var(--grad-blue);
    color: #fff;
}

.plan-tag-green {
    background: var(--grad-green);
    color: #fff;
}

.price-display {
    position: relative;
    height: 95px;
    overflow: hidden;
    margin: 0.4rem 0 0.8rem;
}

.price-val {
    position: absolute;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
}

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

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.price-equiv {
    font-size: 0.85rem;
    color: var(--green-lime);
    margin-top: 0.25rem;
    font-weight: 500;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    color: var(--text-main);
}

.plan-features li i {
    color: var(--green-lime);
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* ── Contact Section ──────────────────────────────────── */
.contact-section {
    padding: 6rem 5%;
    position: relative;
    background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-light), var(--green-lime), transparent);
}

.contact-form {
    background: rgba(21, 38, 64, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(41, 182, 232, 0.15);
    background: rgba(13, 31, 51, 0.6);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(41, 182, 232, 0.12);
}

/* ── Footer ───────────────────────────────────────────── */
footer {
    background: var(--navy-deep);
    padding: 3.5rem 5% 1.5rem;
    margin-top: auto;
    position: relative;
    border-top: 1px solid var(--border-color);
}

/* Footer pattern */
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(41, 182, 232, 0.02) 40px,
        rgba(41, 182, 232, 0.02) 41px
    );
    pointer-events: none;
}

footer::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-mixed);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1;
    min-width: 220px;
}

.footer-section h3 {
    margin-bottom: 1.2rem;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: color 0.25s, padding-left 0.25s;
}

.footer-links a:hover {
    color: var(--blue-light);
    padding-left: 4px;
}

.social-links a {
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: color 0.25s, transform 0.25s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--blue-light);
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(41, 182, 232, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.25s;
}

.newsletter-form input:focus {
    border-color: var(--blue-light);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--text-dim);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* ── Animations ───────────────────────────────────────── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Utilities ────────────────────────────────────────── */
.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-light), var(--green-lime), transparent);
    margin: 0;
}

/* ── Scroll Bar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--blue-mid), var(--green-dark));
    border-radius: 6px;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    header { padding: 0.8rem 4%; }
    nav.menu { display: none; }
    .hero { padding: 5rem 4% 4rem; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-4px); }
    footer { padding: 3rem 4% 1.5rem; }
    .dashboard-container { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); padding: 1rem; }
}

/* ── Dashboard Base ───────────────────────────────────── */
.dashboard-container {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 70px);
}

.content {
    flex: 1;
    padding: 2rem 5%;
}

.dashboard-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title-bar h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* ── Sidebar (Empresas) ───────────────────────────────── */
.sidebar {
    width: 260px;
    background: rgba(13, 31, 51, 0.6);
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-menu a i {
    width: 24px;
    font-size: 1.1rem;
    margin-right: 0.5rem;
    color: var(--text-dim);
    transition: color 0.2s ease;
}

.sidebar-menu a:hover {
    background: rgba(41, 182, 232, 0.08);
    color: var(--text-main);
}

.sidebar-menu a:hover i {
    color: var(--blue-light);
}

.sidebar-menu a.active {
    background: var(--grad-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 127, 196, 0.3);
}

.sidebar-menu a.active i {
    color: #fff;
}

/* Back link in sidebar */
.sidebar-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s ease;
}

.sidebar-back-link:hover {
    color: var(--blue-light);
}
