/* ===== KYOO Brand Styles ===== */

:root {
    --brand-primary: #2A7FF6;
    --brand-primary-dark: #1A6BE0;
    --brand-primary-light: #EBF4FF;
    --brand-accent: #D1D1D1;
    --brand-accent-dark: #A0A0A0;
    --text-primary: #222324;
    --text-secondary: #4A4B4D;
    --text-muted: #718096;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #222324;
    --border: #D1D1D1;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(42, 127, 246, 0.08);
    --shadow-md: 0 8px 30px rgba(42, 127, 246, 0.12);
    --shadow-lg: 0 20px 60px rgba(42, 127, 246, 0.15);
}

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

body {
    font-family: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--brand-primary);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-k {
    color: var(--brand-primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--brand-primary) !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--brand-primary-dark) !important; }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: white;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-outline {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-outline:hover {
    background: var(--brand-primary);
    color: white;
}

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

/* ===== Hero Section ===== */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1A6BE0 100%);
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 { margin-bottom: 24px; color: white; }

.highlight {
    color: #B8DBFF;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: white;
    color: var(--brand-primary);
}

.hero .btn-primary:hover {
    background: #F0F7FF;
    transform: translateY(-1px);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}
/* Hero Carousel — removed, using static hero */

/* ===== Problem Section ===== */
.problem {
    padding: 100px 0;
    background: white;
}

.problem h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

.problem-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Solution Section ===== */
.solution {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
}

.solution h2 {
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.solution .section-subtitle { color: rgba(255,255,255,0.6); }

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

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.solution-number {
    color: var(--brand-accent);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.solution-card h3 {
    color: white;
    margin-bottom: 12px;
}

.solution-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Steps Section ===== */
.steps {
    padding: 100px 0;
    background: white;
}

.steps h2 {
    text-align: center;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 16px;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== Verticals Section ===== */
.verticals {
    padding: 100px 0;
    background: var(--bg-light);
}

.verticals h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

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

.vertical-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.vertical-card h3 { margin-bottom: 12px; }

.vertical-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.vertical-stat {
    background: var(--brand-primary-light);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--brand-primary-dark);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background: white;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 12px;
}

.pricing .section-subtitle {
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    position: relative;
}

.pricing-popular {
    border-color: var(--brand-primary);
    background: white;
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-tier {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-setup {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.pricing-desc {
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

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

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

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

.pricing-features li:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

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

/* ===== ROI Section ===== */
.roi {
    padding: 100px 0;
    background: var(--bg-light);
}

.roi h2 {
    text-align: center;
    margin-bottom: 60px;
}

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

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

.roi-card h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.roi-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.roi-total {
    font-weight: 600;
    color: var(--text-primary);
}

.roi-result {
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 1rem;
    border-bottom: none;
}

/* ===== Comparison Section ===== */
.comparison {
    padding: 100px 0;
    background: white;
}

.comparison h2 {
    text-align: center;
    margin-bottom: 60px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.highlight-col {
    background: var(--brand-primary-light);
    font-weight: 600 !important;
    color: var(--brand-primary-dark) !important;
}

.comparison-table th.highlight-col {
    color: var(--brand-primary) !important;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

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

.cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.cta-form input,
.cta-form select {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
}

.cta-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.cta-form select { color: rgba(255, 255, 255, 0.4); }
.cta-form select option { color: var(--text-primary); background: white; }

.cta-form .btn {
    width: 100%;
    margin-top: 8px;
}

.cta-note {
    font-size: 0.85rem !important;
    margin-top: 16px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 0 30px;
    background: #111122;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .problem-grid,
    .solution-grid,
    .steps-grid,
    .verticals-grid,
    .pricing-grid,
    .roi-grid {
        grid-template-columns: 1fr;
    }

    .pricing-popular { transform: scale(1); }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .comparison-table { font-size: 0.8rem; }
    .comparison-table th,
    .comparison-table td { padding: 10px 8px; }
}

/* ===== Demo Section ===== */
.demo {
    padding: 100px 0;
    background: var(--bg-light);
}

.demo h2 {
    text-align: center;
    margin-bottom: 12px;
}

.demo .section-subtitle {
    margin-bottom: 48px;
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.demo-phone {
    background: white;
    border: 2px solid var(--brand-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.demo-phone-header {
    background: var(--brand-primary);
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-status {
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 100px;
}

.demo-label {
    font-size: 0.85rem;
    font-weight: 500;
}

.demo-conversation {
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.demo-msg {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.demo-msg strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.demo-ai {
    background: var(--brand-primary-light);
    border: 1px solid rgba(13, 148, 136, 0.15);
    margin-right: 40px;
}

.demo-ai strong { color: var(--brand-primary-dark); }

.demo-caller {
    background: #F1F5F9;
    border: 1px solid var(--border);
    margin-left: 40px;
}

.demo-caller strong { color: var(--text-muted); }

.demo-cta {
    padding: 24px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.demo-cta .btn { width: 100%; }

.demo-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.demo-features {
    padding: 8px 0;
}

.demo-features h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.demo-features ul {
    list-style: none;
    padding: 0;
}

.demo-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

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

.demo-features li strong {
    color: var(--text-primary);
}

.demo-info {
    margin-top: 24px;
    background: var(--brand-primary-light);
    border-radius: var(--radius);
    padding: 16px;
}

.demo-info p {
    font-size: 0.85rem;
    color: var(--brand-primary-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .demo-wrapper {
        grid-template-columns: 1fr;
    }

    .demo-ai { margin-right: 20px; }
    .demo-caller { margin-left: 20px; }
}

/* ===== Demo Tabs ===== */
.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.demo-tab {
    padding: 12px 24px;
    border: 2px solid var(--border);
    border-radius: 100px;
    background: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    color: var(--text-secondary);
}

.demo-tab:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.demo-tab.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

/* ===== Co-Pilot Section ===== */
.copilot {
    padding: 100px 0;
    background: var(--bg-dark);
    color: white;
    overflow: hidden;
}

.copilot-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.copilot-content .hero-badge {
    margin-bottom: 20px;
}

.copilot-content h2 {
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.copilot-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.copilot-examples {
    list-style: none;
    margin-bottom: 24px;
}

.copilot-examples li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    border-left: 3px solid var(--brand-primary);
    padding-left: 16px;
    margin-bottom: 8px;
}

.copilot-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* WhatsApp-style phone mockup */
.copilot-phone {
    position: relative;
}

.copilot-screen {
    background: #ECE5DD;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    max-width: 380px;
    margin-left: auto;
}

.copilot-header {
    background: #075E54;
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.copilot-avatar {
    width: 36px;
    height: 36px;
    background: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.copilot-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.copilot-status {
    font-size: 0.75rem;
    opacity: 0.7;
}

.copilot-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copilot-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
}

.copilot-msg p {
    margin-bottom: 4px;
}

.copilot-msg p:last-of-type {
    margin-bottom: 0;
}

.msg-time {
    font-size: 0.7rem;
    opacity: 0.6;
    float: right;
    margin-top: 4px;
    margin-left: 8px;
}

.copilot-user {
    background: #DCF8C6;
    align-self: flex-end;
    border-radius: 8px 0 8px 8px;
    color: #1A1A1A;
}

.copilot-bot {
    background: white;
    align-self: flex-start;
    border-radius: 0 8px 8px 8px;
    color: #1A1A1A;
}

.copilot-bot strong {
    color: var(--brand-primary);
}

@media (max-width: 768px) {
    .copilot-wrapper {
        grid-template-columns: 1fr;
    }

    .copilot-screen {
        margin: 0 auto;
    }
}

/* Hero bottom — white section below the blue */
.hero-bottom {
    background: white;
    padding: 50px 0;
    margin-top: 0;
}

.hero-bottom .hero-stats {
    border-top: 1px solid var(--border);
    padding-top: 0;
    padding: 0;
}

.hero-bottom .stat-number {
    color: var(--brand-primary);
}

.hero-bottom .stat-label {
    color: var(--text-muted);
}
