/* ============================================
   Zertte.kz — Static informational site
   Self-contained CSS (no external CDN)
   ============================================ */

:root {
    --primary: #0693e3;
    --primary-dark: #0574b8;
    --secondary: #9b51e0;
    --dark: #32373c;
    --light: #f8f9fa;
    --gray: #6c757d;
    --border: #e8eaed;
    --gradient: linear-gradient(135deg, #0693e3 0%, #9b51e0 100%);
    --shadow: 0 4px 20px rgba(6, 147, 227, 0.12);
    --shadow-lg: 0 10px 40px rgba(6, 147, 227, 0.18);
    --shadow-card: 0 2px 15px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: #fff;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--dark); line-height: 1.3; }
h1 { font-size: 2.6rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-title-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(6, 147, 227, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-heading { text-align: center; margin-bottom: 50px; }
.section-heading h2 { font-size: 2.4rem; }
.section-heading p { color: var(--gray); max-width: 700px; margin: 1rem auto 0; }

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ====== Buttons ====== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }

/* ====== Header / Nav ====== */
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}
.brand span { color: var(--secondary); }
.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}
.nav-links a {
    color: var(--dark);
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(6,147,227,0.08); }
.lang-switch {
    display: flex;
    gap: 6px;
    margin-left: 12px;
    border-left: 1px solid var(--border);
    padding-left: 14px;
}
.lang-switch a {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
}
.lang-switch a.active { background: var(--primary); color: #fff; }

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    font-size: 26px;
    color: var(--dark);
    cursor: pointer;
    padding: 6px 10px;
}

/* ====== Hero ====== */
.hero {
    background: var(--gradient);
    color: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15), transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1), transparent 40%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: 3.2rem; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; max-width: 720px; margin-bottom: 30px; opacity: 0.95; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ====== Features / Cards ====== */
.grid {
    display: grid;
    gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
}
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(6,147,227,0.1);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    align-self: flex-start;
}
.card-body h3 { font-size: 1.2rem; }
.card-body p { color: var(--gray); font-size: 0.95rem; flex: 1; }
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}
.card-price { font-weight: 700; color: var(--primary); font-size: 1.1rem; }

.feature {
    text-align: center;
    padding: 32px 22px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(6,147,227,0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}
.feature.alt .feature-icon { background: rgba(155,81,224,0.1); color: var(--secondary); }
.feature h4 { margin-bottom: 10px; }
.feature p { color: var(--gray); font-size: 0.95rem; }

.skill-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.skill-list li {
    padding: 12px 16px;
    background: rgba(6,147,227,0.06);
    border-radius: 10px;
    font-weight: 500;
}
.skill-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    margin-right: 8px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.team-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; height: 240px; object-fit: cover; }
.team-card-body { padding: 22px; }
.team-card h4 { margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.team-card p { color: var(--gray); font-size: 0.9rem; }

/* ====== Info banner ====== */
.info-banner {
    background: linear-gradient(135deg, rgba(6,147,227,0.08), rgba(155,81,224,0.08));
    border: 1px solid rgba(6,147,227,0.15);
    border-radius: var(--radius-lg);
    padding: 22px 28px;
    margin: 30px 0;
}
.info-banner strong { color: var(--primary); }

/* ====== Contacts ====== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.contact-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
}
.contact-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}
.contact-card a { font-weight: 600; word-break: break-word; }

/* ====== Footer ====== */
.site-footer {
    background: #1a1d23;
    color: #c9cdd3;
    padding: 60px 0 20px;
    margin-top: 60px;
}
.site-footer h5 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.site-footer a { color: #c9cdd3; }
.site-footer a:hover { color: var(--primary); }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 0.95rem; }
.footer-bottom {
    border-top: 1px solid #2d3038;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* ====== Language landing page ====== */
.lang-landing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}
.lang-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    max-width: 560px;
    width: 100%;
}
.lang-card h1 { color: #fff; font-size: 2.4rem; margin-bottom: 12px; }
.lang-card p { font-size: 1.05rem; opacity: 0.95; margin-bottom: 30px; }
.lang-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.lang-buttons a {
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    min-width: 180px;
}
.lang-buttons a:hover { background: #fff; transform: translateY(-2px); }

/* ====== Page header (interior pages) ====== */
.page-header {
    background: var(--gradient);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.page-header h1 { color: #fff; font-size: 2.6rem; margin-bottom: 10px; }
.page-header p { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }

/* ====== Utility ====== */
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* ====== Responsive ====== */
@media (max-width: 880px) {
    .menu-toggle { display: inline-block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 12px 14px;
        border-bottom: 1px solid var(--border);
        border-radius: 0;
    }
    .nav-links li:last-child a { border-bottom: 0; }
    .lang-switch { margin-left: 0; padding-left: 0; border-left: 0; padding-top: 8px; }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.2rem; }
    .section { padding: 50px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .skill-list { grid-template-columns: 1fr; }
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.6rem; }
    .page-header { padding: 50px 0; }
    .page-header h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-buttons .btn { width: 100%; }
    .lang-buttons a { width: 100%; }
}
