/* ================================================
   DENFER DIGITAL — Premium Dark Design System
   ================================================ */

:root {
    /* Core Colors */
    --bg-primary: #06060e;
    --bg-secondary: #0c0c18;
    --bg-card: #12121f;
    --bg-card-hover: #1a1a2e;
    --bg-surface: #0e0e1a;
    --border: rgba(124, 58, 237, 0.08);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(124, 58, 237, 0.25);

    /* Purple Gradient System */
    --purple: #7c3aed;
    --purple-light: #a855f7;
    --purple-dark: #6d28d9;
    --purple-glow: rgba(124, 58, 237, 0.4);
    --gradient-purple: linear-gradient(135deg, #7c3aed, #a855f7);
    --gradient-purple-wide: linear-gradient(135deg, #6d28d9, #7c3aed, #a855f7, #c084fc);
    --gradient-text: linear-gradient(135deg, #a855f7, #c084fc, #e879f9);

    /* Blue System (for Meta Ads) */
    --blue: #3b82f6;
    --blue-light: #60a5fa;
    --gradient-blue: linear-gradient(135deg, #3b82f6, #60a5fa);
    --gradient-text-blue: linear-gradient(135deg, #60a5fa, #93c5fd, #3b82f6);

    /* Text */
    --text: #f0f0f5;
    --text-muted: #8b8ba0;
    --text-light: #c5c5d5;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Layout */
    --container: 1280px;
    --section-padding: 120px 0;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    /* Effects */
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-purple: 0 0 40px rgba(124, 58, 237, 0.25);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-padding); position: relative; }

/* Preloader Removido */

/* === TYPOGRAPHY === */
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2.5px; color: var(--purple-light); margin-bottom: 16px;
}
.section-tag i { font-size: 0.85rem; }
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700; line-height: 1.15; margin-bottom: 20px;
}
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-blue {
    background: var(--gradient-text-blue);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 640px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-header .section-subtitle { margin: 0 auto; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; font-family: var(--font-body);
    font-size: 0.92rem; font-weight: 600;
    border-radius: 50px; cursor: pointer; border: none;
    transition: var(--transition); letter-spacing: 0.3px; white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-purple); color: #fff;
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-purple);
}
.btn-primary-blue {
    background: var(--gradient-blue); color: #fff;
}
.btn-primary-blue:hover {
    transform: translateY(-3px); box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}
.btn-glass {
    background: rgba(255, 255, 255, 0.04); color: var(--text);
    border: 1px solid var(--border-light); backdrop-filter: blur(8px);
}
.btn-glass:hover {
    border-color: var(--border-hover); color: var(--purple-light);
    transform: translateY(-3px);
}
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%); transition: transform 0.6s;
}
.btn-glow:hover::after { transform: translateX(100%); }
.btn-full { width: 100%; justify-content: center; }

/* === NAVBAR === */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding: 18px 0; transition: var(--transition);
}
#navbar.scrolled {
    padding: 10px 0; background: rgba(6, 6, 14, 0.92);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-light);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.4rem; }
.logo-name { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text); }
.logo-name strong { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
    padding: 8px 14px; border-radius: 50px; transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active { position: relative; }
.nav-link.active::after {
    content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; background: var(--purple); border-radius: 50%;
}
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gradient-purple); color: #fff !important;
    font-weight: 600; padding: 10px 22px; border-radius: 50px; margin-left: 8px;
    font-size: 0.85rem;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-purple); }
.nav-cta::after { display: none; }

.hamburger {
    display: none; flex-direction: column; gap: 6px;
    background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.hamburger span {
    display: block; width: 26px; height: 2px;
    background: var(--text); transition: var(--transition); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(5.5px) translateX(5.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-5.5px) translateX(5.5px); }

/* === HERO === */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; position: relative; padding: 120px 0 40px;
    overflow: hidden;
}
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.hero-glow-1 {
    width: 500px; height: 500px; background: rgba(124, 58, 237, 0.12);
    top: -100px; left: -100px;
}
.hero-glow-2 {
    width: 400px; height: 400px; background: rgba(59, 130, 246, 0.08);
    bottom: -50px; right: -50px;
}
.hero-content {
    position: relative; z-index: 10;
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 64px; align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px; background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px; font-size: 0.78rem; font-weight: 600;
    color: var(--purple-light); margin-bottom: 28px;
}
.badge-pulse {
    width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700; line-height: 1.1; margin-bottom: 24px;
}
.hero-gradient-text {
    background: var(--gradient-purple-wide);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.05rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; max-width: 520px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; align-items: center; gap: 14px; }
.proof-avatars { display: flex; }
.proof-avatar {
    width: 36px; height: 36px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 0.75rem;
    font-weight: 700; color: #fff; border: 2px solid var(--bg-primary);
    margin-left: -8px;
}
.proof-avatar:first-child { margin-left: 0; }
.proof-text { font-size: 0.88rem; color: var(--text-muted); }
.proof-text strong { color: var(--text); }

/* Hero Dashboard */
.hero-dashboard {
    background: rgba(18, 18, 31, 0.8); border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
    backdrop-filter: blur(12px); box-shadow: var(--shadow);
}
.dashboard-header {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; border-bottom: 1px solid var(--border-light);
}
.dashboard-dots { display: flex; gap: 6px; }
.dashboard-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #22c55e; }
.dashboard-title { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.5px; }
.dashboard-body { padding: 24px 20px; display: flex; flex-direction: column; gap: 20px; }
.dash-metric { }
.dash-metric-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dash-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.dash-change { font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.dash-change.positive { color: #22c55e; }
.dash-change.negative { color: #22c55e; }
.dash-change.active { color: var(--purple-light); }
.dash-change.active i { font-size: 0.5rem; animation: pulse 1.5s infinite; }
.dash-value {
    font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
    color: var(--text); display: block; margin-bottom: 8px;
}
.dash-bar {
    width: 100%; height: 6px; background: rgba(124, 58, 237, 0.1);
    border-radius: 3px; overflow: hidden;
}
.dash-bar-fill {
    height: 100%; background: var(--gradient-purple); border-radius: 3px;
    animation: fillBar 2s ease-out forwards;
}
.dash-bar-fill.active-bar { background: linear-gradient(90deg, #22c55e, #4ade80); }
@keyframes fillBar { from { width: 0; } }

/* Hero Floating Stats */
.hero-floating-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 48px; flex-wrap: wrap; padding: 48px 0 0; position: relative; z-index: 10;
}
.float-stat { text-align: center; }
.float-stat-number {
    font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700;
    color: var(--purple-light); display: inline;
}
.float-stat-suffix {
    font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700;
    color: var(--purple-light);
}
.float-stat-label {
    display: block; font-size: 0.78rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px;
}
.float-stat-divider { width: 1px; height: 48px; background: var(--border-light); }

/* === SERVICES OVERVIEW === */
.services-overview { background: var(--bg-secondary); }
.services-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-overview-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 36px 28px;
    transition: var(--transition); position: relative; overflow: hidden;
    cursor: pointer;
}
.service-overview-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-purple); transform: scaleX(0);
    transform-origin: left; transition: var(--transition);
}
.service-overview-card:hover {
    transform: translateY(-8px); border-color: var(--border-hover);
    box-shadow: var(--shadow);
}
.service-overview-card:hover::before { transform: scaleX(1); }
.soc-icon {
    width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px; font-size: 1.4rem; margin-bottom: 20px;
    transition: var(--transition);
}
.google-icon { background: rgba(234, 67, 53, 0.1); color: #ea4335; }
.meta-icon { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.social-icon { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.web-icon { background: rgba(124, 58, 237, 0.1); color: var(--purple); }
.ai-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.seo-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.service-overview-card:hover .soc-icon { transform: scale(1.1); }
.service-overview-card h3 {
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;
    margin-bottom: 10px; color: var(--text);
}
.service-overview-card p {
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; flex: 1;
}
.soc-link {
    font-size: 0.82rem; font-weight: 600; color: var(--purple-light);
    display: flex; align-items: center; gap: 6px;
    transition: var(--transition-fast);
}
.service-overview-card:hover .soc-link { gap: 12px; }

/* === SERVICE DETAIL (shared) === */
.service-detail { }
.google-ads-section { background: var(--bg-primary); }
.meta-ads-section { background: var(--bg-secondary); }
.social-media-section { background: var(--bg-primary); }
.websites-section { background: var(--bg-secondary); }

.detail-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: center;
}
.detail-grid-reverse { direction: ltr; }
.detail-grid-reverse .detail-visual { order: -1; }

.detail-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: 50px; font-size: 0.78rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.google-badge { background: rgba(234, 67, 53, 0.1); color: #ea4335; border: 1px solid rgba(234, 67, 53, 0.2); }
.meta-badge { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.web-badge { background: rgba(124, 58, 237, 0.1); color: var(--purple-light); border: 1px solid rgba(124, 58, 237, 0.2); }

.detail-text {
    font-size: 1.02rem; color: var(--text-light); margin-bottom: 32px; line-height: 1.8;
}
.detail-features { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.detail-feature {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 16px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-light);
    transition: var(--transition);
}
.detail-feature:hover {
    border-color: var(--border-hover); transform: translateX(6px);
}
.df-icon {
    min-width: 44px; height: 44px; display: flex; align-items: center;
    justify-content: center; background: rgba(124, 58, 237, 0.1);
    border-radius: 10px; color: var(--purple); font-size: 1.1rem;
}
.df-icon.blue-icon { background: rgba(59, 130, 246, 0.1); color: var(--blue); }
.detail-feature h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 4px; }
.detail-feature p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* KPI Grid (Google Ads) */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kpi-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 28px 24px; text-align: center;
    transition: var(--transition);
}
.kpi-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.kpi-card.highlighted {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, var(--bg-card) 100%);
    border-color: rgba(124, 58, 237, 0.3);
}
.kpi-icon { font-size: 1.4rem; color: var(--purple-light); margin-bottom: 14px; display: block; }
.kpi-value {
    font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
    color: var(--text); display: block; margin-bottom: 6px;
}
.kpi-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Meta Ad Preview */
.meta-visual-stack { }
.meta-ad-preview {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
}
.meta-ad-header { display: flex; gap: 12px; align-items: center; padding: 14px 18px; }
.meta-ad-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--gradient-purple);
}
.meta-ad-brand { display: block; font-size: 0.9rem; font-weight: 600; }
.meta-ad-type { font-size: 0.75rem; color: var(--text-muted); }
.meta-ad-image {
    aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(59, 130, 246, 0.15));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--text-muted); font-weight: 500;
}
.meta-ad-text { padding: 14px 18px; }
.meta-ad-text p { font-size: 0.9rem; color: var(--text-light); }
.meta-ad-cta {
    margin: 0 18px 14px; padding: 10px; background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3); border-radius: var(--radius-xs);
    text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--blue-light);
}
.meta-ad-stats {
    display: flex; gap: 16px; padding: 10px 18px 14px;
    font-size: 0.75rem; color: var(--text-muted);
}

/* Social Media Cards */
.social-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px;
}
.social-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 32px 24px; transition: var(--transition);
}
.social-card:hover {
    transform: translateY(-6px); border-color: var(--border-hover);
    box-shadow: var(--shadow);
}
.social-card-icon {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    background: rgba(236, 72, 153, 0.08); border-radius: 12px;
    color: #ec4899; font-size: 1.3rem; margin-bottom: 18px;
}
.social-card h3 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 10px; }
.social-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.social-platforms {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    flex-wrap: wrap;
}
.platform-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.platform-icons { display: flex; gap: 12px; }
.platform-icon {
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 12px; font-size: 1.2rem; color: var(--text-muted);
    transition: var(--transition);
}
.platform-icon:hover {
    color: var(--purple-light); border-color: var(--border-hover);
    transform: translateY(-4px);
}

/* Website Showcase */
.website-showcase {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
}
.ws-browser-bar {
    display: flex; align-items: center; gap: 16px;
    padding: 12px 18px; border-bottom: 1px solid var(--border-light);
}
.ws-dots { display: flex; gap: 6px; }
.ws-dots span { width: 10px; height: 10px; border-radius: 50%; }
.ws-dots span:nth-child(1) { background: #ef4444; }
.ws-dots span:nth-child(2) { background: #f59e0b; }
.ws-dots span:nth-child(3) { background: #22c55e; }
.ws-url-bar {
    flex: 1; padding: 6px 14px; background: var(--bg-surface);
    border: 1px solid var(--border-light); border-radius: 6px;
    font-size: 0.75rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
}
.ws-url-bar i { color: #22c55e; font-size: 0.7rem; }
.ws-preview { padding: 24px; }
.ws-nav {
    height: 8px; width: 60%; background: rgba(124, 58, 237, 0.1);
    border-radius: 4px; margin-bottom: 28px;
}
.ws-hero-mock { margin-bottom: 28px; }
.ws-h1 { height: 14px; width: 70%; background: rgba(124, 58, 237, 0.15); border-radius: 4px; margin-bottom: 12px; }
.ws-text { height: 8px; width: 90%; background: rgba(255, 255, 255, 0.05); border-radius: 4px; margin-bottom: 16px; }
.ws-btn-mock { height: 32px; width: 120px; background: var(--gradient-purple); border-radius: 50px; }
.ws-features-mock { display: flex; gap: 12px; }
.ws-feature-card {
    flex: 1; height: 80px; background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.1); border-radius: 8px;
}
.ws-tech-stack {
    display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 18px;
    border-top: 1px solid var(--border-light);
}
.tech-badge {
    padding: 4px 12px; background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15); border-radius: 50px;
    font-size: 0.7rem; font-weight: 600; color: var(--purple-light);
    letter-spacing: 0.5px;
}

/* === RESULTS === */
.results-section { background: var(--bg-primary); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.result-case {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 32px 28px;
    transition: var(--transition); display: flex; flex-direction: column;
}
.result-case:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow); }
.result-case-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.case-industry {
    padding: 4px 12px; background: rgba(124, 58, 237, 0.1);
    border-radius: 50px; font-size: 0.72rem; font-weight: 600;
    color: var(--purple-light); text-transform: uppercase; letter-spacing: 1px;
}
.case-platform { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.result-case-metrics { display: flex; gap: 24px; margin-bottom: 20px; }
.case-metric { }
.cm-value {
    font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700;
    color: var(--purple-light); display: block;
}
.cm-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.case-quote {
    font-size: 0.88rem; color: var(--text-light); line-height: 1.6;
    font-style: italic; margin-bottom: 20px; flex: 1;
}
.case-author { display: flex; align-items: center; gap: 12px; }
.case-avatar {
    width: 40px; height: 40px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 0.82rem;
    font-weight: 700; color: #fff; background: var(--gradient-purple);
}
.case-author strong { display: block; font-size: 0.88rem; }
.case-author span { font-size: 0.75rem; color: var(--text-muted); }

/* === HOW IT WORKS === */
.how-it-works { background: var(--bg-secondary); }
.steps-grid {
    display: flex; align-items: flex-start; justify-content: center; gap: 0;
}
.step-card {
    flex: 1; text-align: center; padding: 0 20px;
}
.step-number {
    font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
    color: var(--purple); width: 68px; height: 68px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--purple); border-radius: 50%;
    margin: 0 auto 20px; transition: var(--transition);
}
.step-card:hover .step-number {
    background: var(--gradient-purple); color: #fff; box-shadow: var(--shadow-purple);
}
.step-card h3 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 10px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.step-connector {
    min-width: 32px; display: flex; align-items: center; justify-content: center;
    color: rgba(124, 58, 237, 0.3); font-size: 0.8rem; padding-top: 22px;
}

/* === TESTIMONIALS === */
.testimonials-section { background: var(--bg-primary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card-v2 {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 32px 28px;
    transition: var(--transition);
}
.testimonial-card-v2:hover {
    border-color: var(--border-hover); transform: translateY(-4px);
}
.tc-stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 18px; }
.testimonial-card-v2 p {
    font-size: 0.92rem; color: var(--text-light); line-height: 1.7;
    margin-bottom: 24px; font-style: italic;
}
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
    width: 44px; height: 44px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 0.85rem;
    font-weight: 700; color: #fff; background: var(--gradient-purple);
}
.tc-author strong { display: block; font-size: 0.88rem; }
.tc-author span { font-size: 0.75rem; color: var(--text-muted); }

/* === CONTACT === */
.contact-section { background: var(--bg-secondary); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.contact-desc { font-size: 1.02rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item {
    display: flex; gap: 14px; align-items: center;
    padding: 14px; background: var(--bg-card); border-radius: var(--radius-sm);
    border: 1px solid var(--border-light); transition: var(--transition);
}
.contact-item:hover { border-color: var(--border-hover); transform: translateX(6px); }
.ci-icon {
    min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: rgba(124, 58, 237, 0.1); border-radius: 10px;
    color: var(--purple); font-size: 1.1rem;
}
.contact-item strong { display: block; font-size: 0.88rem; }
.contact-item p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.contact-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badge {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.12); border-radius: 50px;
    font-size: 0.72rem; font-weight: 600; color: var(--text-muted);
}
.trust-badge i { color: var(--purple-light); }

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 44px 36px;
    position: relative; overflow: hidden;
}
.contact-form-wrapper::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--gradient-purple);
}
.contact-form h3 {
    font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 6px;
}
.contact-form > p {
    font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { position: relative; margin-bottom: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 14px 14px 14px 44px;
    background: var(--bg-surface); border: 1px solid var(--border-light);
    border-radius: var(--radius-sm); color: var(--text);
    font-family: var(--font-body); font-size: 0.88rem;
    transition: var(--transition); outline: none;
}
.form-group textarea { resize: vertical; min-height: 72px; }
.form-group select { appearance: none; cursor: pointer; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.form-group label {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none; font-size: 0.92rem;
}
.form-group textarea ~ label { top: 16px; transform: none; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--bg-card); color: var(--text); }

/* === FOOTER === */
.footer {
    background: var(--bg-primary); padding: 72px 0 28px;
    border-top: 1px solid var(--border-light);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 50%; color: var(--text-muted); font-size: 0.95rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--gradient-purple); border-color: var(--purple);
    color: #fff; transform: translateY(-3px);
}
.footer-links h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; }
.footer-links a {
    display: block; font-size: 0.85rem; color: var(--text-muted);
    margin-bottom: 10px; transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--purple-light); padding-left: 6px; }
.footer-cta h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; }
.footer-cta p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.footer-bottom {
    padding-top: 28px; border-top: 1px solid var(--border-light); text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px; width: 62px; height: 62px;
    background: #25D366; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; color: #fff;
    font-size: 1.8rem; z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5); }
.whatsapp-pulse {
    position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.6);
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.whatsapp-tooltip {
    position: absolute; right: 74px; top: 50%; transform: translateY(-50%);
    background: #fff; color: #333; padding: 8px 16px; border-radius: 8px;
    font-size: 0.8rem; font-weight: 600; white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden; transition: var(--transition);
}
.whatsapp-tooltip::after {
    content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    border-left: 6px solid #fff; border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; visibility: visible; }

/* === BACK TO TOP === */
.back-to-top {
    position: fixed; bottom: 28px; left: 28px;
    width: 44px; height: 44px; background: var(--bg-card);
    border: 1px solid var(--border-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text); cursor: pointer; font-size: 0.85rem;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: var(--transition); z-index: 998;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--purple); border-color: var(--purple); color: #fff; }

/* === ANIMATIONS === */
[data-animate] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-animate="fade-right"] { transform: translateX(-36px); }
[data-animate="fade-left"] { transform: translateX(36px); }
[data-animate].animated { opacity: 1; transform: translate(0, 0); }

/* === RESPONSIVE === */

/* Defer painting of below-fold sections */
.services-overview, .service-detail, .results-section, .how-it-works,
.testimonials-section, .contact-section, .footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

@media (max-width: 1024px) {
    :root { --section-padding: 80px 0; }
    .hero-content { grid-template-columns: 1fr; gap: 48px; }
    .hero-right { max-width: 500px; }
    .detail-grid, .detail-grid-reverse { grid-template-columns: 1fr; gap: 48px; }
    .detail-grid-reverse .detail-visual { order: 0; }
    .services-cards { grid-template-columns: repeat(2, 1fr); }
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid .result-case:last-child { grid-column: span 2; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card-v2:last-child { grid-column: span 2; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { flex-wrap: wrap; gap: 24px; }
    .step-connector { display: none; }
    .step-card { flex: 0 0 calc(50% - 12px); }
    .kpi-grid { max-width: 400px; margin: 0 auto; }
}
@media (max-width: 768px) {
    :root { --section-padding: 64px 0; }

    /* === KILL GPU-HEAVY EFFECTS ON MOBILE === */
    .hero-glow { display: none !important; }
    .hero-grid-bg { display: none !important; }
    .hero-right { display: none !important; }
    .hero-dashboard { backdrop-filter: none; background: var(--bg-card); }
    #navbar.scrolled { backdrop-filter: none; background: rgba(6, 6, 14, 0.97); }
    .btn-glass { backdrop-filter: none; }
    .whatsapp-pulse { animation: none; }
    .badge-pulse { animation: none; opacity: 1; }
    .hero { min-height: auto; }

    /* Simplify transitions */
    [data-animate] { transition-duration: 0.4s; }

    .nav-links {
        position: fixed; top: 0; right: -100%; width: 85%; max-width: 360px;
        height: 100vh; background: rgba(6, 6, 14, 0.98);
        flex-direction: column; align-items: flex-start;
        padding: 100px 28px 28px; gap: 4px; transition: var(--transition);
        border-left: 1px solid var(--border-light);
    }
    .nav-links.open { right: 0; }
    .nav-link { font-size: 1.05rem; padding: 12px 14px; width: 100%; }
    .nav-cta { margin-left: 0; margin-top: 16px; width: 100%; justify-content: center; }
    .hamburger { display: flex; }
    .hero { padding: 110px 0 40px; }
    .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
    .services-cards { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
    .results-grid .result-case:last-child { grid-column: auto; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card-v2:last-child { grid-column: auto; }
    .hero-floating-stats { gap: 24px; }
    .float-stat-number, .float-stat-suffix { font-size: 1.8rem; }
    .float-stat-divider { height: 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-form-wrapper { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .steps-grid { flex-direction: column; }
    .step-card { flex: 1; }
    .whatsapp-float { width: 54px; height: 54px; font-size: 1.5rem; bottom: 20px; right: 20px; }
    .whatsapp-tooltip { display: none; }
    .back-to-top { width: 38px; height: 38px; bottom: 20px; left: 20px; }
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .hero-floating-stats { flex-direction: column; gap: 16px; }
    .float-stat-divider { width: 40px; height: 1px; }
    .kpi-grid { grid-template-columns: 1fr; }
}

/* === LEGAL PAGES === */
.legal-page { background: var(--bg-primary); padding-top: 140px; min-height: 100vh; }
.legal-header { text-align: center; margin-bottom: 60px; }
.legal-updated { font-size: 0.85rem; color: var(--text-muted); margin-top: 16px; }
.legal-content { max-width: 800px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); }
.legal-section { margin-bottom: 40px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--text); margin-bottom: 20px; border-bottom: 1px solid var(--border-light); padding-bottom: 12px; }
.legal-section h3 { font-family: var(--font-heading); font-size: 1.1rem; color: var(--purple-light); margin: 24px 0 12px; }
.legal-section p { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.legal-section ul { margin-bottom: 24px; padding-left: 20px; }
.legal-section li { font-size: 0.95rem; color: var(--text-light); margin-bottom: 8px; position: relative; list-style-type: none; }
.legal-section li::before { content: '•'; color: var(--purple); position: absolute; left: -16px; font-weight: bold; }
.legal-link { color: var(--purple-light); text-decoration: underline; transition: var(--transition-fast); }
.legal-link:hover { color: var(--purple); text-decoration: none; }
.legal-contact { background: var(--bg-surface); padding: 24px; border-radius: var(--radius-sm); border: 1px solid var(--border-light); margin-top: 24px; }
.legal-contact p { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-contact i { color: var(--purple); width: 20px; text-align: center; }
.legal-back { text-align: center; margin-top: 48px; }

@media (max-width: 768px) {
    .legal-content { padding: 32px 24px; }
}
