/*
 * ============================================================
 * KZT LLC — New Design System
 * Cosmos-inspired hybrid layout
 * ============================================================
 */

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg:        #ffffff;
    --bg-card:   #f7f8fa;
    --bg-hover:  #f0f1f4;
    --line:      rgba(0,0,0,0.08);
    --text-1:    #0d0d0d;
    --text-2:    #666;
    --text-3:    #aaa;
    --accent:    #4169E1;
    --accent-h:  #5B7FFF;
    --green:     #10b981;
    --radius:    14px;
    --nav-h:     64px;
}

body {
    background: var(--bg);
    color: var(--text-1);
    font-family: 'Inter', -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ──────────────────────────────────────────────────── */
.kzt-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.kzt-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.kzt-nav-logo img { height: 32px; display: block; }

.kzt-nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin: 0; padding: 0;
    flex: 1;
    justify-content: center;
}

.kzt-nav-links a {
    text-decoration: none;
    color: var(--text-2);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.kzt-nav-links a:hover {
    color: var(--text-1);
    background: rgba(255,255,255,0.06);
}

.kzt-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.kzt-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

/* ── HERO ─────────────────────────────────────────────────── */
.kzt-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 80px) 40px 80px;
    position: relative;
    overflow: hidden;
}

.kzt-hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center,
        rgba(65,105,225,0.07) 0%,
        transparent 65%);
    pointer-events: none;
}

.kzt-hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    margin-bottom: 2.5rem;
}

.kzt-hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0d0d0d;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.kzt-hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-2);
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.kzt-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 2.2rem;
    border-radius: 100px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-bottom: 5rem;
}

.kzt-hero-cta:hover {
    background: var(--accent-h);
    box-shadow: 0 0 32px rgba(107,140,255,0.35);
    transform: translateY(-2px);
}

.kzt-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}

.kzt-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 2.5rem;
    gap: 0.25rem;
}

.kzt-stat-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.kzt-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0d0d0d;
    line-height: 1;
    letter-spacing: -0.02em;
}

.kzt-stat-plus {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.kzt-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-3);
}

.kzt-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--line);
    flex-shrink: 0;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.kzt-section {
    padding: 100px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.kzt-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.kzt-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.kzt-section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0d0d0d;
}

.kzt-section-sub {
    font-size: 1rem;
    color: var(--text-2);
}

/* ── ABOUT ────────────────────────────────────────────────── */
.kzt-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    padding: 120px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.kzt-display-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #0d0d0d;
    margin-bottom: 1.5rem;
}

.kzt-about-text p {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.75;
    max-width: 480px;
}

.kzt-about-pillars {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.kzt-pillar {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.kzt-pillar:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.kzt-pillar-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

.kzt-pillar h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0d0d0d;
}

.kzt-pillar p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.kzt-testimonials-section {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}

.kzt-testimonials-section .kzt-section-head {
    padding: 0 40px;
    max-width: 1280px;
    margin: 0 auto 2.5rem;
}

/* ── CTA STRIP ────────────────────────────────────────────── */
.kzt-cta-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 40px 100px;
    align-items: stretch;
}

.kzt-cta-card {
    display: flex;
    gap: 1.5rem;
    padding: 2.5rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--line);
    transition: border-color 0.2s;
    height: 100%;
    box-sizing: border-box;
}

.kzt-cta-card:hover {
    border-color: rgba(255,255,255,0.12);
}

.kzt-cta-icon {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
    display: block;
    width: 2rem;
    height: 2rem;
    margin-top: 0.2rem;
}

.kzt-cta-icon--green {
    color: var(--green);
}

.kzt-cta-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.kzt-cta-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d0d0d;
    line-height: 1.3;
}

.kzt-cta-body > p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.65;
}

.kzt-cta-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.kzt-cta-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-2);
}

.kzt-cta-list li .icon {
    width: 14px; height: 14px;
    flex-shrink: 0;
    color: var(--accent);
}

.kzt-cta-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.kzt-cta-note {
    font-size: 0.78rem;
    color: var(--text-3);
    font-weight: 500;
}

.kzt-btn-green {
    display: inline-block;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.kzt-btn-green:hover {
    background: #059669;
    transform: translateY(-1px);
    color: #fff;
}

.kzt-cta-divider {
    width: 1px;
    background: var(--line);
    margin: 2rem 2rem;
    align-self: stretch;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.kzt-footer {
    border-top: 1px solid var(--line);
    padding: 48px 40px 36px;
    max-width: 1280px;
    margin: 0 auto;
}

.kzt-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.kzt-footer-logo img { height: 28px; display: block; }

.kzt-footer-nav {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.kzt-footer-nav a {
    text-decoration: none;
    color: var(--text-3);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.kzt-footer-nav a:hover {
    color: var(--text-1);
    background: rgba(255,255,255,0.05);
}

.kzt-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

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

.kzt-footer-legal {
    display: flex;
    gap: 1.5rem;
}

.kzt-footer-legal a {
    font-size: 0.8rem;
    color: var(--text-3);
    text-decoration: none;
    transition: color 0.15s;
}

.kzt-footer-legal a:hover { color: var(--text-1); }

/* ── Carousel controls override ───────────────────────────── */
.carousel-controls {
    display: flex;
    gap: 0.5rem;
}

.carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
    color: var(--text-2);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.09);
    color: #fff;
}

/* ── App cards override ────────────────────────────────────── */
.apps-grid {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.apps-grid::-webkit-scrollbar { display: none; }

/* ── Testimonials override ─────────────────────────────────── */
.testimonials-track-wrapper::before {
    background: linear-gradient(to right, var(--bg), transparent);
}

.testimonials-track-wrapper::after {
    background: linear-gradient(to left, var(--bg), transparent);
}
@media (max-width: 1024px) {
    .kzt-about {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 80px 40px;
    }

    .kzt-cta-strip {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .kzt-cta-divider {
        width: auto;
        height: 1px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .kzt-nav-links { display: none; }

    .kzt-burger { display: flex; }

    .kzt-hero { padding: calc(var(--nav-h) + 60px) 24px 60px; }

    .kzt-hero-stats {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .kzt-stat-divider {
        width: 80%;
        height: 1px;
    }

    .kzt-section { padding: 70px 24px; }

    .kzt-about { padding: 70px 24px; }

    .kzt-cta-strip { padding: 60px 24px 80px; }

    .kzt-footer { padding: 40px 24px 28px; }

    .kzt-footer-top { flex-direction: column; align-items: flex-start; }

    .kzt-footer-bottom { flex-direction: column; align-items: flex-start; }

    .kzt-cta-card { flex-direction: column; gap: 1rem; padding: 1.75rem; }

    .kzt-nav-inner { padding: 0 24px; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .kzt-about {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 80px 40px;
    }

    .kzt-cta-strip {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .kzt-cta-divider {
        width: auto;
        height: 1px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .kzt-nav-links { display: none; }
    .kzt-burger { display: flex; }
    .kzt-hero { padding: calc(var(--nav-h) + 60px) 24px 60px; }
    .kzt-hero-stats { flex-direction: column; width: 100%; max-width: 280px; }
    .kzt-stat-divider { width: 80%; height: 1px; }
    .kzt-section { padding: 70px 24px; }
    .kzt-about { padding: 70px 24px; }
    .kzt-cta-strip { padding: 60px 24px 80px; }
    .kzt-footer { padding: 40px 24px 28px; }
    .kzt-footer-top { flex-direction: column; align-items: flex-start; }
    .kzt-footer-bottom { flex-direction: column; align-items: flex-start; }
    .kzt-cta-card { flex-direction: column; gap: 1rem; padding: 1.75rem; }
    .kzt-nav-inner { padding: 0 24px; }
}
