/* ==========================================
   DocIndex Psiquiatras - Landing Page Styles
   Editorial Wellness Aesthetic
   Serene, Professional, Trustworthy
   ========================================== */

/* ==========================================
   CSS Custom Properties
   ========================================== */
:root {
    /* Base Colors - Soft cream/ivory palette */
    --bg-primary: #FDFBF7;
    --bg-secondary: #F7F5F0;
    --bg-tertiary: #EFEDE8;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.9);

    /* Text */
    --text-primary: #2D3436;
    --text-secondary: #636E72;
    --text-muted: #9BA3A8;

    /* Cold - AI/Digital (Muted slate blue) */
    --cold: #6B8B9E;
    --cold-soft: rgba(107, 139, 158, 0.08);
    --cold-glow: rgba(107, 139, 158, 0.15);
    --cold-border: rgba(107, 139, 158, 0.25);
    --cold-dark: #4A6E7F;

    /* Warm - Human/Care (Soft sage green) */
    --warm: #6B8E6B;
    --warm-soft: rgba(107, 142, 107, 0.08);
    --warm-glow: rgba(107, 142, 107, 0.15);
    --warm-border: rgba(107, 142, 107, 0.25);
    --warm-dark: #4A6B4A;

    /* Accent - Primary CTA (Warm terracotta) */
    --accent: #C4785A;
    --accent-hover: #D4847C;
    --accent-dark: #A86244;
    --gradient-accent: linear-gradient(135deg, #C4785A 0%, #D4907A 100%);
    --gradient-cold: linear-gradient(135deg, #5A7A8E 0%, #7B9BA6 100%);

    /* Borders */
    --border-subtle: rgba(45, 52, 54, 0.06);
    --border-medium: rgba(45, 52, 54, 0.12);

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(45, 52, 54, 0.06);
    --shadow-medium: 0 8px 40px rgba(45, 52, 54, 0.08);
    --shadow-card: 0 2px 16px rgba(45, 52, 54, 0.05);

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --section-padding: clamp(3rem, 10vh, 6rem);
    --content-padding: clamp(1.25rem, 5vw, 2rem);
    --max-width: 440px;

    /* Safe area */
    --safe-bottom: env(safe-area-inset-bottom, 0px);

    /* Footer colors (for shared footer component) */
    --navy-deep: #2D3436;
    --text-light: #FDFBF7;
    --green: var(--warm);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
}

button, a, [role="button"] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--warm);
    color: white;
}

/* ==========================================
   Ambient Background
   ========================================== */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Soft organic shapes instead of neural grid */
.neural-grid {
    display: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    will-change: transform;
    animation: orbFloat 30s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #E8D5C4 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #D4E5D4 0%, transparent 70%);
    bottom: 10%;
    left: -250px;
    animation-delay: -10s;
    opacity: 0.3;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #D4DFE5 0%, transparent 70%);
    top: 40%;
    right: -150px;
    animation-delay: -20s;
    opacity: 0.25;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Hide scan line for calmer aesthetic */
.scan-line {
    display: none;
}

/* Subtle paper texture */
.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    mix-blend-mode: multiply;
}

/* ==========================================
   Scroll Progress
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--gradient-accent);
    width: 0%;
    z-index: 100;
    transform-origin: left;
}

/* ==========================================
   Main Content
   ========================================== */
.main-content {
    position: relative;
    z-index: 1;
}

/* ==========================================
   Section Base
   ========================================== */
.section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding) var(--content-padding);
    position: relative;
}

.section-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Section Label */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cold-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.label-icon {
    display: flex;
    color: var(--cold);
}

.label-icon.warm {
    color: var(--warm);
}

.section-label:has(.label-icon.warm) {
    color: var(--warm-dark);
    border-color: var(--warm-border);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    min-height: auto;
    padding-top: 6rem; /* Space for fixed navbar */
    padding-bottom: var(--section-padding);
    overflow: hidden;
    align-items: flex-start;
}

/* Glitch text - hidden for light theme */
.glitch-container {
    display: none; /* Hidden for calmer, professional aesthetic */
}

.glitch-text {
    display: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Eyebrow */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.eyebrow-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--warm);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

/* Hero Headline */
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.headline-line {
    display: block;
}

.headline-line.cold {
    color: var(--text-secondary);
}

.headline-line.cold em {
    color: var(--cold-dark);
    font-style: italic;
}

.headline-line.warm {
    color: var(--text-primary);
}

.headline-line.warm em {
    color: var(--warm-dark);
    font-style: italic;
}

.headline-divider {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--border-medium);
    margin: 1rem auto;
}

/* Hero Subheadline */
.hero-subheadline {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-subheadline .highlight {
    color: var(--warm-dark);
    font-weight: 600;
}

/* Hero Secondary CTA */
.hero-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm-dark);
    text-decoration: none;
    background: var(--warm-soft);
    border: 1px solid var(--warm-border);
    border-radius: 100px;
    transition: all 0.3s var(--ease-smooth);
}

.hero-secondary-cta:hover {
    background: var(--warm-glow);
    border-color: var(--warm);
    transform: translateY(2px);
}

.hero-secondary-cta svg {
    transition: transform 0.3s var(--ease-spring);
}

.hero-secondary-cta:hover svg {
    transform: translateY(3px);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cta-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==========================================
   CTA Button
   ========================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(196, 120, 90, 0.25);
}

.cta-button.primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 120, 90, 0.3);
}

.cta-button.primary:active {
    transform: translateY(0) scale(0.98);
}

.cta-button .arrow-icon {
    transition: transform 0.3s var(--ease-spring);
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

.cta-button.large {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
}

.cta-button.full-width {
    width: 100%;
}

/* Subtle shine effect */
.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover::before {
    transform: translateX(100%);
}

/* ==========================================
   Scroll Indicator
   ========================================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleY(1.1);
    }
}

/* ==========================================
   Loop Section
   ========================================== */
.loop-content {
    text-align: center;
}

.section-headline {
    margin-bottom: 2rem;
}

.headline-small {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.headline-large {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-primary);
}

.headline-large.warm {
    color: var(--warm-dark);
}

/* Loop Statement */
.loop-statement {
    margin-bottom: 2.5rem;
}

.statement-lead {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Loop Visual */
.loop-visual {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.loop-ring {
    position: relative;
    width: 260px;
    height: 260px;
}

.loop-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    animation: nodeGlow 4s ease-in-out infinite;
}

.node-emoji {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.node-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.loop-node.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.loop-node.node-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.loop-node.node-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.loop-node.node-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 3s;
}

@keyframes nodeGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Loop Arrows */
.loop-arrow {
    position: absolute;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cold), transparent);
    opacity: 0.25;
}

.loop-arrow.arrow-1 {
    top: 25%;
    right: 15%;
    transform: rotate(45deg);
}

.loop-arrow.arrow-2 {
    bottom: 25%;
    right: 15%;
    transform: rotate(-45deg);
}

.loop-arrow.arrow-3 {
    bottom: 25%;
    left: 15%;
    transform: rotate(45deg);
}

.loop-arrow.arrow-4 {
    top: 25%;
    left: 15%;
    transform: rotate(-45deg);
}

/* Loop Center */
.loop-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--cold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
}

.infinity-symbol {
    font-size: 1.75rem;
    color: var(--cold);
    animation: infinityPulse 3s ease-in-out infinite;
}

@keyframes infinityPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Loop Explanation Cards */
.loop-explanation {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.explanation-card {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: left;
    box-shadow: var(--shadow-card);
}

.explanation-card.cold {
    border-color: var(--cold-border);
    background: rgba(107, 139, 158, 0.04);
}

.explanation-card.cold .card-icon {
    color: var(--cold);
}

.explanation-card.highlight {
    border-color: var(--warm-border);
    background: rgba(107, 142, 107, 0.06);
}

.explanation-card.highlight .card-icon {
    color: var(--warm);
}

.explanation-card.highlight p {
    color: var(--text-primary);
}

.explanation-card.highlight strong {
    color: var(--warm-dark);
}

.card-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.explanation-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   Conversation Section
   ========================================== */
.conversation-content {
    text-align: center;
}

.section-intro {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.section-intro strong {
    color: var(--warm-dark);
}

/* Phone Container */
.phone-container {
    margin-bottom: 2.5rem;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
    background: #F5F5F7;
    border-radius: 44px;
    padding: 8px;
    box-shadow:
        0 50px 100px -20px rgba(45, 52, 54, 0.15),
        0 30px 60px -30px rgba(45, 52, 54, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 20px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.island-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
}

/* Phone Screen */
.phone-screen {
    background: var(--bg-primary);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 3.5rem 1rem 0.875rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.chat-back {
    color: var(--cold);
    opacity: 0.8;
}

.chat-info {
    flex: 1;
    text-align: left;
}

.chat-title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-subtitle {
    display: block;
    font-size: 0.6875rem;
    color: var(--cold);
    animation: subtitlePulse 2.5s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10a37f, #1a7f64);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Chat Messages */
.chat-messages {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 380px;
    background: var(--bg-primary);
}

.message {
    max-width: 88%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.8125rem;
    line-height: 1.45;
    animation: messageSlide 0.4s var(--ease-out-expo) forwards;
    animation-delay: var(--delay, 0s);
    opacity: 0;
    transform: translateY(10px);
}

.message.animate-in {
    animation: messageSlide 0.4s var(--ease-out-expo) forwards;
}

@keyframes messageSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    align-self: flex-end;
    background: var(--cold);
    color: white;
    border-bottom-right-radius: 4px;
}

.user-message p {
    margin: 0;
}

.ai-message {
    align-self: flex-start;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-bottom-left-radius: 4px;
}

/* AI Thinking */
.ai-thinking {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thinking-icon {
    animation: thinkingBounce 1.5s ease-in-out infinite;
}

@keyframes thinkingBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.thinking-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* AI Analysis */
.ai-analysis {
    padding: 0.875rem;
}

.analysis-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cold-dark);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.625rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.symptom-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}

.symptom-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
}

.symptom-check {
    color: var(--cold);
    font-size: 0.625rem;
}

.analysis-note {
    display: flex;
    gap: 0.5rem;
    padding: 0.625rem;
    background: rgba(107, 142, 107, 0.08);
    border-radius: 8px;
    border: 1px solid var(--warm-border);
}

.analysis-note svg {
    flex-shrink: 0;
    color: var(--warm);
    margin-top: 1px;
}

.analysis-note span {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.analysis-note strong {
    color: var(--warm-dark);
}

/* Doctor Card - Clean Design */
.doctor-card {
    padding: 1rem;
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.doctor-card-header {
    margin-bottom: 0.75rem;
}

.card-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--warm-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.doctor-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.doctor-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--warm);
}

.doctor-details {
    flex: 1;
    text-align: left;
}

.doctor-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.125rem 0;
}

.doctor-name .highlight {
    color: var(--warm-dark);
}

.doctor-specialty {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.ver-perfil-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: var(--text-primary);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ver-perfil-btn:hover {
    background: var(--cold-dark);
}

/* Chat Input */
.chat-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.input-field {
    flex: 1;
    padding: 0.625rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.input-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Phone Reflection */
.phone-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    border-radius: 44px;
    pointer-events: none;
}

/* Conversation Outro */
.conversation-outro {
    text-align: center;
}

.conversation-outro p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.conversation-outro strong {
    color: var(--warm-dark);
}

/* ==========================================
   Value Section
   ========================================== */
.value-content {
    text-align: center;
}

.value-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.value-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: var(--shadow-card);
}

.value-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--warm-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(107, 142, 107, 0.1);
    border: 1px solid var(--warm-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* ==========================================
   Pricing Section
   ========================================== */
.pricing-content {
    text-align: center;
}

.pricing-card {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-medium);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(196, 120, 90, 0.1);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-amount .currency {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-amount .value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
    color: var(--text-primary);
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm);
    border-radius: 50%;
    margin-top: 2px;
}

.pricing-features .check svg {
    width: 14px;
    height: 14px;
    color: white;
}

.pricing-features strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.pricing-features div span {
    font-size: 13px;
    color: var(--text-secondary);
}

.pricing-guarantee {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ==========================================
   Final Section
   ========================================== */
.final-section {
    min-height: auto;
    padding: calc(var(--section-padding) * 1.5) var(--content-padding);
}

.final-content {
    text-align: center;
}

/* Contrast Visual */
.final-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.contrast-block {
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    text-align: left;
    box-shadow: var(--shadow-card);
}

.contrast-block.cold {
    background: rgba(107, 139, 158, 0.06);
    border: 1px solid var(--cold-border);
}

.contrast-block.warm {
    background: rgba(107, 142, 107, 0.08);
    border: 1px solid var(--warm-border);
}

.block-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contrast-block.cold .block-label {
    color: var(--cold-dark);
}

.contrast-block.warm .block-label {
    color: var(--warm-dark);
}

.contrast-block p {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

.contrast-block.cold p {
    color: var(--text-secondary);
}

.contrast-block.warm p {
    color: var(--text-primary);
}

.contrast-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contrast-divider span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Final Headline */
.final-headline {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 6vw, 1.75rem);
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.final-headline .highlight {
    display: block;
    color: var(--text-primary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 2rem var(--content-padding);
    padding-bottom: calc(2rem + var(--safe-bottom) + 70px);
    text-align: center;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================
   Mobile Sticky CTA
   ========================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    padding-bottom: calc(1rem + var(--safe-bottom));
    background: linear-gradient(to top, var(--bg-primary) 80%, transparent);
    z-index: 50;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s var(--ease-out-expo);
    pointer-events: none;
}

.mobile-sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-sticky-cta .cta-button {
    width: 100%;
    gap: 0.75rem;
}

.mobile-sticky-cta .whatsapp-icon {
    opacity: 0.9;
}

/* ==========================================
   Fade Animations
   ========================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }

/* ==========================================
   Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }

    .gradient-orb {
        animation: none;
    }

    .message {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================
   Landscape Mobile
   ========================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .section {
        min-height: auto;
        padding: 3rem var(--content-padding);
    }

    .scroll-indicator {
        display: none;
    }
}

/* ==========================================
   Tablet & Desktop
   ========================================== */
@media (min-width: 640px) {
    :root {
        --max-width: 520px;
    }

    .mobile-sticky-cta {
        display: none;
    }

    .footer {
        padding-bottom: 2rem;
    }

    .loop-ring {
        width: 320px;
        height: 320px;
    }

    .phone-mockup {
        width: 340px;
    }

    .final-visual {
        flex-direction: row;
        align-items: stretch;
    }

    .contrast-block {
        flex: 1;
    }

    .contrast-divider {
        padding: 0 0.5rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --max-width: 580px;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .headline-large {
        font-size: 3rem;
    }

    .glitch-text {
        font-size: 12rem;
    }
}
