﻿/* ==================== Variables & Reset ==================== */
:root {
    /* Primary Colors */
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #14B8A6;
    --primary-50: #F0FDFA;
    --primary-100: #CCFBF1;
    
    /* Accent */
    --accent: #F97316;
    --accent-light: #FB923C;
    
    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Semantic */
    --success: #10B981;
    --error: #EF4444;
    
    /* Effects */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    
    /* Borders */
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    
    /* Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ==================== Typography ==================== */
h1, h2, h3, h4 {
    color: var(--gray-900);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(13, 148, 136, 0.2), 0 4px 12px rgba(13, 148, 136, 0.15);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(13, 148, 136, 0.2), 0 8px 16px rgba(13, 148, 136, 0.2);
}

.btn-outline {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.btn-lg { 
    padding: 14px 28px; 
    font-size: 15px;
    border-radius: var(--radius-lg);
}

/* ==================== Header ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
}

.logo-icon { 
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.logo-text { color: var(--gray-900); }

.nav { display: flex; gap: 0; }

.nav a { 
    font-size: 14px; 
    font-weight: 500;
    color: var(--gray-900); 
    transition: var(--transition);
    padding: 10px 16px;
    border-radius: var(--radius);
}

.nav a:hover { 
    color: var(--primary);
    background: var(--primary-50);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 3px;
}

.lang-switch a {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    color: var(--gray-500);
    transition: var(--transition);
}

.lang-switch a.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.lang-switch a:hover:not(.active) {
    color: var(--gray-700);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--gray-600);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== Hero ==================== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gray-50);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
    opacity: 0.5;
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    top: auto;
    bottom: -100px;
    left: -100px;
    right: auto;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-demo { 
    display: flex; 
    justify-content: center;
}

.demo-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-md);
}

.demo-card h3 {
    display: none;
}

.demo-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.demo-form input {
    flex: 1;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 14px;
    color: var(--gray-900);
    transition: var(--transition);
}

.demo-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.demo-form input::placeholder { color: var(--gray-400); }

.demo-form .btn {
    flex-shrink: 0;
}

.demo-consent {
    font-size: 11px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 12px;
}

.demo-consent a { 
    color: var(--primary); 
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==================== Logos ==================== */
.logos-section {
    padding: 32px 0;
    overflow: hidden;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.logos-track {
    display: flex;
    animation: scroll 40s linear infinite;
}

.logos-slide {
    display: flex;
    gap: 48px;
    padding: 0 24px;
}

.logo-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-400);
    white-space: nowrap;
    padding: 12px 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== Stats ==================== */
.stats-section { 
    padding: 48px 0;
    background: var(--white);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 64px;
}

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

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 4px;
    font-weight: 500;
}

/* ==================== Section Titles ==================== */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    text-align: center;
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ==================== Setup Section ==================== */
.setup-section {
    padding: 64px 0;
    background: var(--gray-50);
}

.setup-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.setup-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.setup-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.setup-tab:hover { background: var(--white); }

.setup-tab.active {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.tab-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    transition: var(--transition);
}

.setup-tab.active .tab-number {
    background: var(--primary);
    color: var(--white);
}

.tab-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
}

.setup-tab.active .tab-title {
    color: var(--gray-900);
}

.setup-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    min-height: 280px;
    box-shadow: var(--shadow-sm);
}

.setup-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.setup-panel.active { display: grid; }

.panel-text h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.panel-text p { 
    color: var(--gray-500); 
    font-size: 14px;
    line-height: 1.6;
}

.panel-visual {
    display: flex;
    justify-content: center;
}

/* Voice Selector */
.voice-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 280px;
}

.voice-option {
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.voice-option:hover {
    border-color: var(--gray-300);
}

.voice-option.active {
    border-color: var(--primary);
    background: var(--primary-50);
    color: var(--primary-dark);
}

.voice-icon { font-size: 24px; display: block; margin-bottom: 8px; }

/* Tasks List */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 280px;
}

.task-item {
    padding: 12px 16px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-600);
}

.task-item.checked { 
    background: var(--primary-50);
    border-color: var(--primary-100);
    color: var(--primary-dark);
}

/* Phone Display */
.phone-display {
    text-align: center;
    padding: 32px 40px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.phone-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.phone-number {
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

/* Integrations Small */
.integrations-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 280px;
}

.int-item {
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    text-align: center;
    color: var(--gray-700);
}

/* Dashboard Preview */
.dashboard-preview {
    display: flex;
    gap: 16px;
}

.dash-stat {
    padding: 20px 28px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--gray-500);
}

.dash-stat span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

/* ==================== Use Cases ==================== */
.usecases-section { 
    padding: 64px 0;
    background: var(--white);
}

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

.usecase-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.usecase-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.usecase-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.usecase-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.usecase-card p {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
}

.usecase-more {
    background: var(--primary-50);
    border-color: var(--primary-100);
}

.usecase-more:hover {
    border-color: var(--primary);
}

/* ==================== Security ==================== */
.security-section {
    padding: 64px 0;
    background: var(--gray-50);
}

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

.security-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.security-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.security-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.security-card p {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.5;
}

/* ==================== Testimonials ==================== */
.testimonials-section { 
    padding: 64px 0;
    background: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
}

/* ==================== FAQ ==================== */
.faq-section { 
    padding: 64px 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: 700px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover { color: var(--gray-900); }

.faq-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 14px;
    color: var(--gray-500);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon { 
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 200px; }

.faq-answer p {
    padding: 0 20px 16px;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.6;
}

/* ==================== CTA ==================== */
.cta-section {
    padding: 64px 0;
    background: var(--white);
}

.cta-content {
    text-align: center;
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    padding: 56px 40px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.15;
    transform: translate(30%, -30%);
}

.cta-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    transform: translate(-30%, 30%);
}

.cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    color: var(--white);
}

.cta-content p {
    font-size: 15px;
    color: var(--gray-400);
    max-width: 480px;
    margin: 0 auto 24px;
    position: relative;
    line-height: 1.6;
}

.cta-content .btn {
    background: var(--primary);
    color: var(--white);
    position: relative;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.cta-content .btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}

/* ==================== Footer ==================== */
.footer {
    padding: 48px 0 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 12px; }

.footer-brand p { 
    color: var(--gray-500); 
    font-size: 13px;
    max-width: 260px;
    line-height: 1.5;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    color: var(--gray-500);
    font-size: 13px;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--gray-900); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p { color: var(--gray-400); font-size: 12px; }

.footer-badges { display: flex; gap: 10px; }

.badge {
    font-size: 11px;
    color: var(--gray-500);
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 40px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .demo-form { flex-direction: column; }
    .demo-card { max-width: 400px; }
    .setup-container { grid-template-columns: 1fr; }
    .setup-tabs { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .setup-panel { grid-template-columns: 1fr; text-align: center; }
    .panel-visual { margin-top: 24px; }
    .usecases-grid, .security-grid, .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav, .header-actions .btn-outline { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 100px 0 60px; }
    .hero-text h1 { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-buttons .btn-lg { width: 100%; max-width: 280px; }
    .demo-card { padding: 16px 20px; }
    .stats-grid { flex-direction: column; gap: 24px; }
    .stat-number { font-size: 32px; }
    .section-title { font-size: 24px; }
    .setup-content { padding: 24px 20px; }
    .usecases-grid, .security-grid, .testimonials-slider { grid-template-columns: 1fr; }
    .cta-content { padding: 40px 20px; }
    .cta-content h2 { font-size: 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}