/* ===================================
   Atenda AI Landing Page
   Premium Design System v2.0
   
   Design Philosophy:
   - Humanidade Digital (warm tech)
   - Confiança e Credibilidade (healthcare)
   - Agilidade e Conectividade (modern)
   
   Colors: Teal/Cyan primary (healthcare trust)
   Typography: Satoshi (premium sans-serif)
   =================================== */

/* === CSS Variables === */
:root {
    /* Primary Colors - Teal Healthcare Palette */
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;
    --primary-300: #5eead4;
    --primary-400: #2dd4bf;
    --primary-500: #14b8a6;
    --primary-600: #0d9488;
    --primary-700: #0f766e;
    --primary-800: #115e59;
    --primary-900: #134e4a;
    
    /* Accent - Cyan for tech feel */
    --accent-500: #06b6d4;
    --accent-600: #0891b2;
    
    /* Neutrals - Warm Slate (not cold gray) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    /* Semantic Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --error: #ef4444;
    --whatsapp: #25D366;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-600) 100%);
    --gradient-hero: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--primary-900) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    
    /* Shadows - Diffused, premium feel */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px -10px var(--primary-500);
    --shadow-card: 0 20px 40px -15px rgba(0,0,0,0.08);
    
    /* Typography */
    --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
    --font-body: 'Satoshi', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1200px;
    --section-padding: 120px;
    --section-padding-mobile: 80px;
    
    /* Border Radius - Rounded for friendly feel */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions - Spring-like easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 150ms var(--ease-out-expo);
    --transition: 300ms var(--ease-out-expo);
    --transition-slow: 500ms var(--ease-out-expo);
}

/* === 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);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-700);
    background-color: var(--slate-50);
    overflow-x: hidden;
}

/* === Grain Overlay for Premium Texture === */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--slate-600);
    line-height: 1.7;
    max-width: 65ch;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn i {
    font-size: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px -3px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(13, 148, 136, 0.5);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-600);
}

.btn-ghost:hover {
    color: var(--primary-600);
    background: var(--slate-100);
}

.btn-white {
    background: white;
    color: var(--primary-700);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 14px -3px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.5);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* === Header / Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: #1e4a5a;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: #9b8bb8;
    -webkit-text-fill-color: #9b8bb8;
    background: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-600);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--slate-100);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--slate-700);
    font-size: 24px;
}

@media (max-width: 1024px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* === Mobile Menu === */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100%;
    background: white;
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-100);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 24px;
    color: var(--slate-700);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mobile-menu-links a {
    padding: 16px;
    font-size: 17px;
    font-weight: 500;
    color: var(--slate-700);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu-links a:hover {
    background: var(--slate-100);
    color: var(--primary-600);
}

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--slate-200);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100dvh;
    background: var(--gradient-hero);
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100dvh - 200px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-300);
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 16px;
    color: var(--primary-400);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-highlight {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--slate-400);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: var(--slate-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.phone-wrapper {
    position: relative;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-500) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(60px);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.35; transform: translate(-50%, -50%) scale(1.1); }
}

.phone-mockup {
    position: relative;
    width: 300px;
    background: var(--slate-950);
    border-radius: 44px;
    padding: 12px;
    box-shadow: 
        0 50px 100px -20px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: var(--slate-950);
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    background: white;
    border-radius: 36px;
    overflow: hidden;
    height: 540px;
    display: flex;
    flex-direction: column;
}

/* WhatsApp UI */
.wa-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    padding-top: 44px;
    background: var(--primary-600);
    color: white;
}

.wa-back {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wa-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wa-name {
    font-weight: 600;
    font-size: 15px;
}

.wa-status {
    font-size: 12px;
    opacity: 0.8;
}

.wa-actions {
    display: flex;
    gap: 20px;
    font-size: 20px;
}

.wa-chat {
    flex: 1;
    padding: 16px;
    background: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.wa-message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    animation: message-in 0.3s var(--ease-spring);
}

@keyframes message-in {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-message p {
    color: var(--slate-800);
    font-size: 14px;
    max-width: none;
}

.wa-time {
    display: block;
    font-size: 11px;
    color: var(--slate-500);
    text-align: right;
    margin-top: 4px;
}

.wa-incoming {
    align-self: flex-start;
    background: white;
    border-bottom-left-radius: 4px;
}

.wa-outgoing {
    align-self: flex-end;
    background: #dcf8c6;
    border-bottom-right-radius: 4px;
}

.wa-typing {
    padding: 12px 16px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--slate-400);
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.wa-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f0f2f5;
}

.wa-input i {
    font-size: 24px;
    color: var(--slate-500);
}

.wa-input input {
    flex: 1;
    padding: 10px 16px;
    background: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 14px;
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
}

.hero-circle-1 {
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
}

.hero-circle-2 {
    bottom: -300px;
    left: -200px;
    width: 800px;
    height: 800px;
}

/* === Tech Bar === */
.tech-bar {
    background: white;
    padding: 24px 0;
    border-bottom: 1px solid var(--slate-100);
}

.tech-bar-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-items {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-600);
}

.tech-item i {
    font-size: 20px;
    color: var(--primary-500);
}

/* === Section Headers === */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header-left {
    text-align: left;
    margin-left: 0;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-100);
    color: var(--primary-700);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--slate-500);
    margin: 0 auto;
}

.section-header-left p {
    margin: 0;
}

/* === Features Section - Bento Grid === */
.features {
    padding: var(--section-padding) 0;
    background: var(--slate-50);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--slate-100);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--slate-200);
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.bento-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.bento-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bento-icon i {
    font-size: 28px;
    color: var(--primary-600);
}

.bento-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.bento-card p {
    font-size: 15px;
    color: var(--slate-500);
}

.bento-visual {
    margin-top: auto;
    padding-top: 32px;
}

/* Calendar Preview Animation */
.calendar-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.calendar-day {
    padding: 12px 20px;
    background: var(--slate-100);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-600);
    transition: var(--transition);
}

.calendar-day.available {
    background: var(--primary-100);
    color: var(--primary-700);
}

.calendar-day.booked {
    background: var(--slate-200);
    color: var(--slate-400);
    text-decoration: line-through;
}

.calendar-day.pulse {
    animation: calendar-pulse 2s ease-in-out infinite;
}

@keyframes calendar-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(13, 148, 136, 0); }
}

/* Reminder Preview */
.reminder-preview {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reminder-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--slate-100);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-600);
}

.reminder-card i {
    font-size: 18px;
}

.reminder-card.success {
    background: var(--success-light);
    color: var(--success);
}

.reminder-arrow {
    color: var(--slate-400);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .bento-wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }
}

/* === How It Works Section === */
.how-it-works {
    padding: var(--section-padding) 0;
    background: white;
}

.steps-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-100);
    margin-bottom: 20px;
}

.step-icon-wrapper {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px -8px rgba(13, 148, 136, 0.4);
}

.step-icon-wrapper i {
    font-size: 32px;
    color: white;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--slate-500);
    margin: 0 auto;
}

.step-connector-line {
    width: 60px;
    height: 2px;
    background: var(--slate-200);
    margin-top: 100px;
    position: relative;
}

.step-connector-line::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--slate-300);
    border-top: 2px solid var(--slate-300);
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .step-connector-line {
        display: none;
    }
    
    .step-card {
        padding: 24px;
    }
}

/* === Benefits Section === */
.benefits {
    padding: var(--section-padding) 0;
    background: var(--slate-50);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 32px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 24px;
    color: var(--primary-600);
}

.benefit-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 14px;
    color: var(--slate-500);
}

/* Comparison Card */
.comparison-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--slate-100);
}

.comparison-header {
    display: flex;
    border-bottom: 1px solid var(--slate-100);
}

.comparison-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comparison-tab i {
    font-size: 18px;
}

.comparison-tab.inactive {
    background: var(--slate-50);
    color: var(--slate-400);
}

.comparison-tab.active {
    background: var(--primary-50);
    color: var(--primary-600);
}

.comparison-content {
    position: relative;
    min-height: 200px;
}

.comparison-items {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: var(--transition);
}

.comparison-items.active {
    opacity: 1;
    position: relative;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--slate-600);
}

.comparison-items.before .comparison-item i {
    color: var(--error);
}

.comparison-items.after .comparison-item i {
    color: var(--success);
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* === Pricing Section === */
.pricing {
    padding: var(--section-padding) 0;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--slate-50);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    border: 1px solid var(--slate-100);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: var(--gradient-hero);
    border: none;
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--warning);
    color: var(--slate-900);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pricing-card.featured .pricing-header h3 {
    color: white;
}

.pricing-header p {
    font-size: 14px;
    margin: 0 auto;
}

.pricing-card.featured .pricing-header p {
    color: var(--slate-400);
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--slate-200);
}

.pricing-card.featured .pricing-price {
    border-color: rgba(255,255,255,0.1);
}

.pricing-price .currency {
    font-size: 20px;
    font-weight: 600;
    vertical-align: top;
    color: var(--slate-600);
}

.pricing-card.featured .pricing-price .currency {
    color: var(--slate-400);
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: var(--slate-900);
}

.pricing-card.featured .pricing-price .amount {
    color: white;
}

.pricing-price .cents {
    font-size: 24px;
    font-weight: 700;
    color: var(--slate-700);
}

.pricing-card.featured .pricing-price .cents {
    color: var(--slate-300);
}

.pricing-price .period {
    font-size: 16px;
    color: var(--slate-500);
    margin-left: 4px;
}

.pricing-card.featured .pricing-price .period {
    color: var(--slate-400);
}

.pricing-price.custom .amount-text {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--slate-700);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--slate-600);
}

.pricing-card.featured .pricing-features li {
    color: var(--slate-300);
}

.pricing-features li i {
    font-size: 18px;
    color: var(--success);
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

/* === FAQ Section === */
.faq {
    padding: var(--section-padding) 0;
    background: var(--slate-50);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-100);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--slate-200);
}

.faq-item.active {
    border-color: var(--primary-200);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
}

.faq-question h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--slate-800);
}

.faq-question i {
    font-size: 20px;
    color: var(--slate-400);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-500);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* === Demo CTA Section === */
.demo-cta {
    padding: 80px 0;
    background: white;
}

.demo-cta-card {
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 20px 60px -20px rgba(13, 148, 136, 0.4);
}

.demo-cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: white;
    margin-bottom: 16px;
}

.demo-cta-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    max-width: 480px;
}

.demo-cta-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.demo-cta-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.demo-cta-features i {
    color: var(--primary-200);
}

.demo-cta-action .btn {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .demo-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
    
    .demo-cta-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .demo-cta-features {
        justify-content: center;
    }
}

/* === Final CTA Section === */
.final-cta {
    padding: var(--section-padding) 0;
    background: var(--gradient-hero);
}

.final-cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: white;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    color: var(--slate-400);
    margin: 0 auto 32px;
}

.final-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Footer === */
.footer {
    background: var(--slate-900);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--slate-400);
    margin-top: 16px;
    margin-bottom: 24px;
    font-size: 15px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand .logo-accent {
    color: #c4b5fd;
    -webkit-text-fill-color: #c4b5fd;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--slate-800);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    font-size: 20px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: white;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--slate-400);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-400);
    font-size: 15px;
}

.footer-contact i {
    font-size: 18px;
    color: var(--primary-500);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--slate-800);
}

.footer-bottom p {
    color: var(--slate-500);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--slate-500);
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--primary-400);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* === WhatsApp Float Button === */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 6px 24px -4px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px -4px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: white;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-700);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* === Mobile Sticky CTA === */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: white;
    border-top: 1px solid var(--slate-200);
    z-index: 998;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    
    .whatsapp-float {
        bottom: 100px;
    }
    
    body {
        padding-bottom: 80px;
    }
}

/* === Animations === */
.animate-fade-in {
    animation: fade-in 0.6s var(--ease-out-expo) forwards;
}

.animate-slide-up {
    animation: slide-up 0.6s var(--ease-out-expo) forwards;
}

.animate-slide-up-delay {
    animation: slide-up 0.6s var(--ease-out-expo) 0.1s forwards;
    opacity: 0;
}

.animate-slide-up-delay-2 {
    animation: slide-up 0.6s var(--ease-out-expo) 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fade-in 0.6s var(--ease-out-expo) 0.3s forwards;
    opacity: 0;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive Overrides === */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-padding-mobile);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 260px;
    }
    
    .phone-screen {
        height: 460px;
    }
    
    .section-header-left {
        text-align: center;
    }
    
    .section-header-left p {
        margin: 0 auto;
    }
}

/* Print styles */
@media print {
    .header,
    .whatsapp-float,
    .mobile-sticky-cta,
    .grain-overlay {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
}
