/* WG VPN — WireGuard-themed landing
   Fonts: Roboto Slab (headings) + Karla (body)
   Palette: deep red #88171A + warm yellow #FCD34D on warm light bg
*/

:root {
    --primary: #88171A;
    --primary-dark: #6B1115;
    --accent: #FCD34D;
    --accent-deep: #F59E0B;
    --bg: #F5F5F4;
    --bg-alt: #FAFAF9;
    --text: #1C1917;
    --text-muted: #57534E;
    --card-bg: #FFFFFF;
    --border: #E7E5E4;
    --radius: 10px;
    --shadow-sm: 0 2px 6px rgba(28, 25, 23, 0.06);
    --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.1);
    --shadow-lg: 0 18px 48px rgba(136, 23, 26, 0.18);
    --grad: linear-gradient(135deg, #88171A 0%, #C2410C 55%, #FCD34D 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Slab', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

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

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

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--text);
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

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

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-links a.nav-cta {
    color: #000000;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    padding: 11px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(252, 211, 77, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-links a.nav-cta:hover {
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(252, 211, 77, 0.55);
}

.burger {
    display: none;
    width: 36px;
    height: 36px;
    background: none;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.burger span {
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Mobile nav ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 24px;
    box-shadow: var(--shadow-md);
    z-index: 99;
    flex-direction: column;
    gap: 18px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 17px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a.cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #000;
    text-align: center;
    border-radius: 50px;
    padding: 13px;
    border: 0;
    font-weight: 800;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #C2410C 100%);
    color: #FFF;
    box-shadow: 0 6px 18px rgba(136, 23, 26, 0.35);
}

.btn-primary:hover {
    color: #FFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(136, 23, 26, 0.5);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: #1C1917;
    box-shadow: 0 6px 18px rgba(252, 211, 77, 0.4);
}

.btn-accent:hover {
    color: #1C1917;
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(245, 158, 11, 0.55);
}

.btn-ghost {
    background: transparent;
    color: #FFF;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
    color: #FFF;
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFF;
}

/* ===== Hero — dark left, visual right ===== */
.hero {
    background: linear-gradient(120deg, #88171A 0%, #6B1115 50%, #4A0C0E 100%);
    color: #FFF;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(252, 211, 77, 0.18), transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(252, 211, 77, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(252, 211, 77, 0.18);
    border: 1px solid rgba(252, 211, 77, 0.4);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: 52px;
    color: #FFF;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    color: var(--accent);
    display: inline-block;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 34px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.trust-badges {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-badges span::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Hero visual card — WireGuard speed metrics */
.hero-visual {
    background: #FFFFFF;
    color: var(--text);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    position: relative;
    transform: rotate(0.5deg);
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-mask: linear-gradient(#FFF 0 0) content-box, linear-gradient(#FFF 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.visual-title {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.visual-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.metric-row:last-child {
    border-bottom: 0;
}

.metric-label {
    font-size: 14px;
    color: var(--text-muted);
}

.metric-value {
    font-family: 'Roboto Slab', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
}

.metric-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 18px;
}

.metric-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    width: 92%;
    animation: barFill 1.6s ease-out;
}

@keyframes barFill {
    from { width: 0; }
    to { width: 92%; }
}

.protocol-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #FFF;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 16px;
}

/* ===== Stats row ===== */
.stats {
    background: var(--bg-alt);
    padding: 50px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.stat {
    text-align: center;
}

.stat-num {
    font-family: 'Roboto Slab', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== Section base ===== */
section.block {
    padding: 90px 0;
}

section.alt {
    background: var(--bg-alt);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-head h2 {
    font-size: 38px;
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 17px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ===== Cards — coloured border-top ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 32px 26px;
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:nth-child(6n+2) { border-top-color: var(--accent-deep); }
.card:nth-child(6n+3) { border-top-color: #C2410C; }
.card:nth-child(6n+4) { border-top-color: var(--accent); }
.card:nth-child(6n+5) { border-top-color: var(--primary-dark); }
.card:nth-child(6n) { border-top-color: #B45309; }

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(136, 23, 26, 0.1), rgba(252, 211, 77, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-family: 'Roboto Slab', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

.card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Platforms ===== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.platform {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    border-top: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    display: block;
    color: var(--text);
}

.platform:nth-child(2n) { border-top-color: var(--primary); }
.platform:nth-child(3n) { border-top-color: var(--accent-deep); }

.platform:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.platform-name {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.platform-meta {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.platform-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.platform:hover .platform-link {
    border-bottom-color: var(--primary);
}

/* ===== Why-WireGuard text block ===== */
.why-wg {
    background: linear-gradient(135deg, #1C1917 0%, #292524 100%);
    color: #FFF;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-wg::before {
    content: 'WireGuard';
    position: absolute;
    top: 50%;
    right: -60px;
    transform: translateY(-50%) rotate(-90deg);
    font-family: 'Roboto Slab', serif;
    font-size: 220px;
    font-weight: 700;
    color: rgba(252, 211, 77, 0.04);
    letter-spacing: -8px;
    pointer-events: none;
}

.why-wg-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.why-wg h2 {
    color: #FFF;
    font-size: 40px;
    margin-bottom: 12px;
}

.why-wg .eyebrow {
    color: var(--accent);
}

.why-wg-text p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.75;
}

.why-wg-text p:last-child {
    margin-bottom: 0;
}

.why-wg-text strong {
    color: var(--accent);
    font-weight: 700;
}

/* ===== Pricing — gradient card ===== */
.price-wrap {
    max-width: 620px;
    margin: 0 auto;
}

.price-card {
    background: var(--grad);
    color: #FFF;
    border-radius: 20px;
    padding: 46px 42px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
    pointer-events: none;
}

.price-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    color: #FFF;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.price-card h3 {
    color: #FFF;
    font-size: 30px;
    margin-bottom: 12px;
}

.price-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    text-align: left;
    max-width: 380px;
    margin: 0 auto 30px;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-features li::before {
    content: '+';
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-features li:last-child {
    border-bottom: 0;
}

/* ===== CTA banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFF;
    padding: 60px 50px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(252, 211, 77, 0.18), transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    color: #FFF;
    font-size: 34px;
    margin-bottom: 14px;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    margin-bottom: 28px;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

/* ===== Use cases ===== */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.usecase {
    background: var(--card-bg);
    padding: 26px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.usecase:nth-child(2n) { border-left-color: var(--accent-deep); }
.usecase:nth-child(3n) { border-left-color: #B45309; }

.usecase h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.usecase p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== FAQ accordion ===== */
.faq-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: border-color 0.25s;
}

.faq-item.open {
    border-left-color: var(--primary);
}

.faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 22px 26px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.25s, background 0.25s;
}

.faq-item.open .faq-toggle {
    background: var(--primary);
    color: #FFF;
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 26px;
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 26px 22px;
}

.faq-a p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Footer ===== */
.cta-above {
    margin-top: 60px;
}

.site-footer {
    background: #1C1917;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: #FFF;
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-brand {
    font-family: 'Roboto Slab', serif;
    font-size: 22px;
    color: #FFF;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer-en {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

.copy {
    text-align: center;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
}

/* ===== Instruktsiya ===== */
.instr-hero {
    background: linear-gradient(120deg, #88171A, #6B1115);
    color: #FFF;
    padding: 80px 0 70px;
    text-align: center;
}

.instr-hero h1 {
    color: #FFF;
    font-size: 46px;
    margin-bottom: 16px;
}

.instr-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    max-width: 660px;
    margin: 0 auto;
}

.steps-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.step {
    background: var(--card-bg);
    padding: 36px 30px;
    border-radius: 16px;
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.step:nth-child(2) {
    border-top-color: var(--accent-deep);
}

.step-num {
    font-family: 'Roboto Slab', serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 14px;
    opacity: 0.85;
}

.step:nth-child(2) .step-num {
    color: var(--accent-deep);
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.after-pay {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    border-left: 5px solid var(--accent-deep);
}

.after-pay h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.after-pay p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* ===== Animations (fade-up) ===== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero h1 { font-size: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .cards-grid, .platforms-grid, .usecases-grid { grid-template-columns: repeat(2, 1fr); }
    .why-wg-grid { grid-template-columns: 1fr; gap: 28px; }
    .why-wg::before { font-size: 130px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .steps-wrap { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .burger { display: flex; }
    .section-head h2 { font-size: 30px; }
    .cta-banner { padding: 44px 28px; }
    .cta-banner h2 { font-size: 26px; }
}

@media (max-width: 640px) {
    .hero { padding: 60px 0 70px; }
    .hero h1 { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .hero-visual { padding: 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 30px; }
    .cards-grid, .platforms-grid, .usecases-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    section.block { padding: 60px 0; }
    .section-head h2 { font-size: 26px; }
    .price-card { padding: 34px 24px; }
    .price-card h3 { font-size: 24px; }
    .container { padding: 0 18px; }
    .why-wg { padding: 60px 0; }
    .why-wg h2 { font-size: 28px; }
    .instr-hero h1 { font-size: 30px; }
    .after-pay { padding: 26px; }
}
