/* ============================================
   SECRETÁRIO.APP — Design System "Warm Intelligence"
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --violet-950: #1e0a3c;
    --violet-900: #2d1065;
    --violet-800: #3b0f8f;
    --violet-700: #4c1d95;
    --violet-600: #6d28d9;
    --violet-500: #8b5cf6;
    --violet-400: #a78bfa;
    --violet-300: #c4b5fd;

    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;

    --rose-500: #ec4899;
    --rose-400: #f472b6;

    --green-500: #22c55e;
    --green-wa: #25d366;

    --bg-body: #080510;
    --bg-section-alt: #0a0716;
    --bg-surface: rgba(255, 255, 255, 0.035);
    --bg-surface-hover: rgba(255, 255, 255, 0.07);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-hover: rgba(255, 255, 255, 0.15);

    --text-primary: #f0eaff;
    --text-secondary: rgba(240, 234, 255, 0.6);
    --text-tertiary: rgba(240, 234, 255, 0.4);

    /* Typography */
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --section-py: clamp(80px, 10vw, 140px);
    --container-max: 1200px;
    --container-px: clamp(20px, 4vw, 40px);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.gradient-text {
    background: linear-gradient(135deg, var(--violet-400) 0%, var(--amber-400) 50%, var(--rose-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ---------- Section Shared Styles ---------- */
.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(40px, 6vw, 72px);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet-400);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    margin-top: 16px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--violet-600), var(--violet-500));
    color: #fff;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3), 0 0 0 0 rgba(139, 92, 246, 0);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--violet-500), var(--rose-500));
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.4), 0 0 0 4px rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
}

.btn-outline:hover {
    background: var(--bg-surface-hover);
    border-color: var(--violet-500);
    color: var(--violet-300);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(8, 5, 16, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.logo-dot {
    background: linear-gradient(135deg, var(--violet-400), var(--amber-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--violet-500), var(--amber-400));
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 100px;
    background: var(--green-wa);
    color: #fff;
    transition: all 0.3s var(--ease-out);
    flex-shrink: 0;
}

.nav-cta:hover {
    background: #20bd5a;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Background Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    pointer-events: none;
    will-change: transform;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 70%);
    top: -15%;
    left: -10%;
    animation: floatOrb1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
    bottom: -20%;
    right: -5%;
    animation: floatOrb2 10s ease-in-out infinite;
}

.hero-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent 70%);
    top: 40%;
    left: 50%;
    animation: floatOrb3 14s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 30px) scale(1.1); }
    66% { transform: translate(-30px, 60px) scale(0.95); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -20px) scale(1.05); }
    66% { transform: translate(20px, -50px) scale(0.9); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, 40px) scale(1.15); }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--violet-300);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s var(--ease-out) both;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-subtitle strong {
    color: var(--amber-400);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---------- WhatsApp Phone Mockup ---------- */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s var(--ease-out) 0.5s both;
}

.phone-glow {
    position: absolute;
    width: 320px;
    height: 500px;
    border-radius: 40px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2), transparent 70%);
    filter: blur(60px);
    z-index: 0;
    animation: phoneGlow 4s ease-in-out infinite alternate;
}

@keyframes phoneGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

.phone-frame {
    position: relative;
    width: 320px;
    height: 580px;
    background: #111b21;
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 40px 100px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #000;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

/* WhatsApp Header */
.wa-header {
    background: #1f2c34;
    padding: 36px 12px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.wa-back {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet-500), var(--amber-400));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.wa-contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wa-contact-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e9edef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wa-contact-status {
    font-size: 0.72rem;
    color: #8696a0;
}

.wa-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* WhatsApp Chat Area */
.wa-chat {
    flex: 1;
    background: #0b141a;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.02) 0%, transparent 50%);
    padding: 14px 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    scrollbar-width: none;
}

.wa-chat::-webkit-scrollbar {
    display: none;
}

/* WhatsApp Message Bubbles */
.wa-message {
    max-width: 85%;
    padding: 7px 10px 4px;
    border-radius: 8px;
    font-size: 0.8rem;
    line-height: 1.45;
    position: relative;
    animation: msgAppear 0.35s var(--ease-spring) both;
    word-break: break-word;
}

@keyframes msgAppear {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wa-message.received {
    background: #202c33;
    color: #e9edef;
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.wa-message.sent {
    background: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-top-right-radius: 2px;
}

.wa-message .msg-time {
    display: block;
    text-align: right;
    font-size: 0.62rem;
    color: rgba(233, 237, 239, 0.45);
    margin-top: 3px;
}

.wa-message.sent .msg-time::after {
    content: ' ✓✓';
    color: #53bdeb;
    font-size: 0.7rem;
}

/* Audio message */
.wa-message.audio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-width: 200px;
}

.audio-play-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.audio-waves {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px;
    height: 24px;
}

.audio-wave-bar {
    width: 3px;
    border-radius: 2px;
    background: rgba(233, 237, 239, 0.4);
    animation: audioWave 1s ease-in-out infinite;
}

@keyframes audioWave {
    0%, 100% { height: 4px; }
    50% { height: 18px; }
}

.audio-duration {
    font-size: 0.68rem;
    color: rgba(233, 237, 239, 0.5);
    flex-shrink: 0;
}

/* Typing Indicator */
.wa-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #202c33;
    border-radius: 8px;
    border-top-left-radius: 2px;
    align-self: flex-start;
    animation: msgAppear 0.3s var(--ease-spring) both;
}

.wa-typing .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8696a0;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.wa-typing .dot:nth-child(2) { animation-delay: 0.2s; }
.wa-typing .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* WhatsApp Footer Bar */
.wa-footer-bar {
    background: #1f2c34;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.wa-input-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a3942;
    border-radius: 24px;
    padding: 8px 14px;
}

.wa-emoji-btn {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.wa-placeholder {
    flex: 1;
    font-size: 0.82rem;
    color: #8696a0;
}

.wa-attach {
    flex-shrink: 0;
}

.wa-mic-btn {
    width: 40px;
    height: 40px;
    background: var(--green-wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-mic-btn svg {
    stroke: #fff;
}

/* Section Wave Divider */
.section-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 1;
}

.section-wave svg {
    width: 100%;
    height: 60px;
}

/* ============================================
   PROBLEMS SECTION
   ============================================ */
.section-problems {
    background: var(--bg-section-alt);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.problem-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--violet-500), var(--amber-500), var(--rose-500));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.problem-card:hover {
    background: var(--bg-surface-hover);
    transform: translateY(-4px);
    border-color: transparent;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose-400);
    margin-bottom: 16px;
}

.problem-stat {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--rose-400), var(--amber-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.problem-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.section-features {
    position: relative;
    overflow: hidden;
}

.features-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 32px);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--violet-500), var(--amber-400));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    background: var(--bg-surface-hover);
    transform: translateY(-4px);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-card > p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border-glass);
}

.feature-details li {
    font-size: 0.82rem;
    color: var(--text-tertiary);
    padding-left: 16px;
    position: relative;
}

.feature-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet-500);
    opacity: 0.5;
}

/* The last card (7th) spans the center when 7 items in a 3-col grid */
.features-grid .feature-card:last-child {
    grid-column: 2 / 3;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.section-timeline {
    background: var(--bg-section-alt);
}

.timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-glass);
}

.timeline-line-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--violet-500), var(--amber-400));
    border-radius: 2px;
    transition: height 0.4s var(--ease-out);
}

.timeline-item {
    display: flex;
    gap: 28px;
    padding-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    transition: all 0.4s var(--ease-out);
}

.timeline-dot span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.4s;
}

.timeline-item.active .timeline-dot {
    border-color: var(--violet-500);
    background: rgba(139, 92, 246, 0.15);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.timeline-item.active .timeline-dot span {
    color: var(--violet-300);
}

.timeline-content {
    padding-top: 6px;
}

.timeline-day {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--violet-400);
    margin-bottom: 6px;
    display: block;
}

.timeline-content h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 3vw, 40px);
    text-align: center;
    position: relative;
    transition: all 0.4s var(--ease-out);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-hover);
}

.pricing-card-featured {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.06);
    transform: scale(1.04);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.12);
}

.pricing-card-featured:hover {
    transform: scale(1.04) translateY(-6px);
    border-color: rgba(139, 92, 246, 0.5);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--violet-500), var(--amber-400));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 20px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.pricing-header h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 4px;
}

.price-from {
    display: block;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.price-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--violet-300), var(--amber-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-setup {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
}

.pricing-features {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.pricing-features li svg {
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   NICHES SECTION
   ============================================ */
.section-niches {
    background: var(--bg-section-alt);
}

.niches-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.niche-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 2.5vw, 28px);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.niche-card:hover {
    background: var(--bg-surface-hover);
    transform: translateY(-6px);
    border-color: var(--border-glass-hover);
}

.niche-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    line-height: 1;
}

.niche-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.niche-card p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.open {
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--violet-300);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-tertiary);
    transition: transform 0.4s var(--ease-out), color 0.3s;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--violet-400);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================
   CTA FINAL
   ============================================ */
.section-cta-final {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    top: -30%;
    left: -5%;
    animation: floatOrb1 10s ease-in-out infinite;
}

.cta-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
    bottom: -30%;
    right: -5%;
    animation: floatOrb2 12s ease-in-out infinite;
}

.cta-final-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta-final-content h2 {
    margin-bottom: 16px;
}

.cta-final-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #050310;
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .nav-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-brand p {
    color: var(--text-tertiary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--violet-400);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-wa);
    color: #fff;
    padding: 14px 22px;
    border-radius: 100px;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35);
    transition: all 0.35s var(--ease-out);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
}

.wa-float:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.45);
}

.wa-float-label {
    display: inline;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.problems-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.problems-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.problems-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }

.features-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.06s; }
.features-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.12s; }
.features-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.18s; }
.features-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.24s; }
.features-grid .animate-on-scroll:nth-child(6) { transition-delay: 0.30s; }
.features-grid .animate-on-scroll:nth-child(7) { transition-delay: 0.36s; }

.timeline .animate-on-scroll:nth-child(3) { transition-delay: 0.1s; }
.timeline .animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.timeline .animate-on-scroll:nth-child(5) { transition-delay: 0.3s; }

.niches-grid .animate-on-scroll:nth-child(2) { transition-delay: 0.06s; }
.niches-grid .animate-on-scroll:nth-child(3) { transition-delay: 0.12s; }
.niches-grid .animate-on-scroll:nth-child(4) { transition-delay: 0.18s; }
.niches-grid .animate-on-scroll:nth-child(5) { transition-delay: 0.24s; }

/* ============================================
   FADEUP ANIMATION (Hero elements)
   ============================================ */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-phone {
        order: -1;
    }

    .phone-frame {
        width: 280px;
        height: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid .feature-card:last-child {
        grid-column: auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card-featured {
        transform: none;
        order: -1;
    }

    .pricing-card-featured:hover {
        transform: translateY(-6px);
    }

    .niches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(8, 5, 16, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

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

    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .phone-frame {
        width: 260px;
        height: 460px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .niches-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links-group {
        gap: 40px;
    }

    .wa-float-label {
        display: none;
    }

    .wa-float {
        padding: 16px;
        border-radius: 50%;
    }

    .hero-orb-1 { width: 350px; height: 350px; }
    .hero-orb-2 { width: 300px; height: 300px; }
    .hero-orb-3 { width: 200px; height: 200px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.92rem;
    }

    .hero-trust {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .problem-stat {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}
