/* ========================================
   MDDT — AI-Augmented Development Studio
   Design system based on devforge.mddt.tech
   ======================================== */

/* --- Reset & Variables --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
    /* Background */
    --bg-primary: #0c0c0f;
    --bg-secondary: #141418;
    --bg-tertiary: #1c1c22;
    --bg-hover: #242430;

    /* Accent */
    --accent: #DB0000;
    --accent-hover: #ff1a1a;
    --accent-subtle: rgba(219, 0, 0, 0.12);

    /* Text */
    --text-primary: #eaeaee;
    --text-secondary: #9a9ab0;
    --text-muted: #606074;

    /* Border */
    --border: #2a2a34;
    --border-hover: rgba(219, 0, 0, 0.3);

    /* Semantic */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Sizing */
    --container: 1200px;
    --nav-height: 64px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover { color: var(--accent); }

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

ul { list-style: none; }

.text-accent { color: var(--accent); }

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
}
.btn--primary:hover {
    background: var(--accent-hover);
    color: #fff;
    box-shadow: 0 0 20px rgba(219, 0, 0, 0.4);
}

.btn--secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px 24px;
}
.btn--secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--full { width: 100%; }

/* --- Grid --- */
.grid {
    display: grid;
    gap: 20px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Cards --- */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.2s ease;
}
.card:hover {
    border-color: var(--border-hover);
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(219, 0, 0, 0.06);
}

.card--compact { padding: 20px; }

.card--accent {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(219, 0, 0, 0.08);
}

.card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    color: var(--accent);
    margin-bottom: 16px;
}

.card__emoji {
    font-size: 32px;
    margin-bottom: 16px;
}

.card__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card__subtitle {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 12px;
}

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

.card__price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding: 8px 12px;
    background: var(--accent-subtle);
    border-radius: var(--radius-xs);
    display: inline-block;
}

.card__packages {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.card__package {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}

.card__highlight {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--accent-subtle);
    border-radius: var(--radius-xs);
    border-left: 3px solid var(--accent);
}

/* --- Section --- */
.section {
    padding: 100px 0;
}
.section--alt {
    background: var(--bg-secondary);
}

.section__title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.section__subtitle {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-top: 64px;
    margin-bottom: 32px;
    color: var(--text-secondary);
}

/* --- Badge --- */
.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    background: var(--accent-subtle);
    color: var(--accent);
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 6px;
}


/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(12, 12, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background 0.2s ease;
}

.nav__inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.nav__logo img { display: block; }

.nav__links {
    display: flex;
    gap: 4px;
    margin-right: auto;
}

.nav__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    transition: all 0.15s ease;
}
.nav__link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav__lang {
    display: flex;
    gap: 2px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xs);
    padding: 2px;
}
.nav__lang-item {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-muted);
    transition: all 0.15s ease;
}
.nav__lang-item.active {
    background: var(--accent-subtle);
    color: var(--accent);
}
.nav__lang-item:hover { color: var(--text-primary); }

.nav__social {
    display: flex;
    gap: 8px;
}
.nav__social-link {
    color: var(--text-muted);
    transition: color 0.15s ease;
    display: flex;
}
.nav__social-link:hover { color: var(--text-primary); }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all 0.2s ease;
}
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(219, 0, 0, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.4;
}

.hero__inner {
    position: relative;
    text-align: center;
    padding: 80px 0;
}

.hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero__stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 48px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stat-value {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

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

.hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.hero__note {
    font-size: 13px;
    color: var(--text-muted);
    white-space: normal;
    text-align: center;
}


/* ========================================
   COMPARE TABLE
   ======================================== */
.compare {
    max-width: 700px;
    margin: 0 auto 48px;
}

.compare__table {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.compare__header,
.compare__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.compare__header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.compare__row {
    border-bottom: 1px solid var(--border);
}
.compare__row:last-child { border-bottom: none; }

.compare__cell {
    padding: 14px 20px;
    font-size: 14px;
}

.compare__cell--label {
    font-weight: 500;
    color: var(--text-secondary);
}

.compare__cell--old {
    color: var(--text-muted);
    text-align: center;
}

.compare__cell--new {
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(219, 0, 0, 0.04);
}

.compare__cell.highlight {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.compare__footnote {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

.how-cards { margin-top: 48px; }


/* ========================================
   WOW BLOCK (AnimaFest)
   ======================================== */
.wow-block {
    position: relative;
    padding: 100px 0;
    background: var(--bg-secondary);
    overflow: hidden;
    text-align: center;
}

.wow-block__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(219, 0, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.wow-block__badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-subtle);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.wow-block__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

.wow-block__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: left;
}

.wow-block__project {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.wow-block__timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 24px;
}

.wow-block__timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent) 80%, var(--success));
    border-radius: 1px;
}

.wow-block__step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    position: relative;
}

.wow-block__step::before {
    content: '';
    position: absolute;
    left: -22px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
}

.wow-block__step:last-child::before {
    background: var(--success);
}

.wow-block__time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    min-width: 50px;
}

.wow-block__event {
    font-size: 14px;
    color: var(--text-primary);
}

.wow-block__compare {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.wow-block__them,
.wow-block__us {
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    width: 100%;
}

.wow-block__them {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
}

.wow-block__us {
    background: rgba(219, 0, 0, 0.06);
    border: 1px solid var(--accent);
    box-shadow: 0 0 30px rgba(219, 0, 0, 0.1);
}

.wow-block__compare-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.wow-block__compare-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.wow-block__compare-sub {
    font-size: 13px;
    color: var(--text-secondary);
}

.wow-block__vs {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.wow-block__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}
.wow-block__link:hover { color: var(--accent-hover); }


/* ========================================
   SERVICES
   ======================================== */
.card--service {
    display: flex;
    flex-direction: column;
}
.card--service .btn { margin-top: auto; }


/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.portfolio__card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.2s ease;
}
.portfolio__card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(219, 0, 0, 0.06);
}

/* 5th card spans full width */
.portfolio__card:nth-child(5) {
    grid-column: 1 / -1;
}

.portfolio__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.portfolio__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.portfolio__metric {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.portfolio__name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.portfolio__desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.portfolio__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.portfolio__stack span {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
}

.portfolio__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.portfolio__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}
.portfolio__link:hover { color: var(--accent-hover); }

.portfolio__note {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.portfolio-compact {
    margin-top: 0;
}
.portfolio-compact .card {
    display: flex;
    flex-direction: column;
}
.portfolio-compact .portfolio__link,
.portfolio-compact .portfolio__note {
    margin-top: auto;
}


/* ========================================
   TELEGRAM FEED
   ======================================== */
.section__desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 500px;
    margin: -32px auto 40px;
}

.tg-cards {
    margin-bottom: 0;
}

.tg-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}
.tg-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(219, 0, 0, 0.06);
    color: inherit;
}

.tg-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: var(--accent-subtle);
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.tg-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.tg-card__text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
}

.tg-card__meta {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.tg-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}


/* ========================================
   PROCESS (How We Work)
   ======================================== */
.process {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 48px;
}

.process::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: var(--border);
}

.process__step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

.process__number {
    position: absolute;
    left: -48px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.process__content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.process__content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.process__tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-subtle);
    padding: 3px 10px;
    border-radius: 12px;
}


/* ========================================
   TECH STACK
   ======================================== */
.stack {
    max-width: 900px;
    margin: 0 auto;
}

.stack__row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.stack__row:last-child { border-bottom: none; }

.stack__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 100px;
}

.stack__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.stack__tags span {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}
.stack__tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
}


/* ========================================
   PRICING
   ======================================== */
.card--pricing {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card__price-lg {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.card__price-unit {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.card__list {
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
}
.card__list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    padding-left: 20px;
    position: relative;
}
.card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}
.card__list li:last-child { border-bottom: none; }

.card--pricing .btn { margin-top: auto; }

.pricing-included {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    margin-top: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-primary);
}

.pricing-included > span:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

.pricing-included__item {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-cta {
    text-align: center;
    margin-top: 32px;
}


/* ========================================
   ABOUT
   ======================================== */
.about {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.about__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.about__role {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.about__text p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about__links {
    display: flex;
    gap: 24px;
    margin: 24px 0;
}
.about__links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}
.about__links a:hover { color: var(--accent-hover); }

.about__prev {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}


/* ========================================
   CONTACT
   ======================================== */
.contact-options {
    margin-bottom: 48px;
}

.calendly-wrapper {
    max-width: 700px;
    margin: 0 auto 48px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.contact-info {
    text-align: center;
}

.contact-info__channels {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-info__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}
.contact-info__chip svg {
    flex-shrink: 0;
}
.contact-info__chip:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.contact-info__note {
    font-size: 13px;
    color: var(--text-muted);
}


/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}

.footer__inner {}

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

.footer__logo {
    display: block;
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__nav a {
    font-size: 14px;
    color: var(--text-secondary);
}
.footer__nav a:hover { color: var(--accent); }

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer__contacts a {
    font-size: 14px;
    color: var(--text-secondary);
}
.footer__contacts a:hover { color: var(--accent); }

.footer__social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}
.footer__social a {
    font-size: 13px;
    color: var(--text-muted);
}
.footer__social a:hover { color: var(--accent); }

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

.footer__lang {
    display: flex;
    gap: 12px;
}
.footer__lang a {
    font-size: 13px;
    color: var(--text-muted);
}
.footer__lang a.active { color: var(--accent); }
.footer__lang a:hover { color: var(--text-primary); }

.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
}
.footer__copy a {
    color: var(--text-muted);
}
.footer__copy a:hover { color: var(--text-primary); }


/* ========================================
   ANIMATIONS (scroll reveal)
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal-children > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-children.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.3s; }


/* ========================================
   MOBILE OVERLAY
   ======================================== */
.nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--nav-height);
    background: rgba(12, 12, 15, 0.97);
    backdrop-filter: blur(16px);
    z-index: 999;
    padding: 32px 24px;
}
.nav__overlay.active { display: block; }

.nav__overlay .nav__links {
    flex-direction: column;
    gap: 0;
}
.nav__overlay .nav__link {
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}


/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .section__title { font-size: 28px; margin-bottom: 36px; }

    /* Nav */
    .nav__links { display: none; }
    .nav__social { display: none; }
    .nav__lang { display: none; }
    .nav__burger { display: flex; }
    .nav__inner { gap: 16px; }

    /* Mobile menu uses overlay */
    body.menu-open { overflow: hidden; }
    body.menu-open .nav__overlay { display: block; }

    /* Hero */
    .hero__stats {
        flex-direction: column;
        gap: 24px;
    }
    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    /* Grids */
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    /* Portfolio */
    .portfolio {
        grid-template-columns: 1fr;
    }

    /* Compare */
    .compare__cell { padding: 10px 12px; font-size: 13px; }

    /* Wow block */
    .wow-block__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Process */
    .process { padding-left: 40px; }
    .process__number { left: -40px; width: 32px; height: 32px; font-size: 13px; }

    /* Stack */
    .stack__row {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    /* Footer */
    .footer__top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Telegram */
    .tg-posts {
        grid-template-columns: 1fr;
    }
    .tg-cta {
        flex-direction: column;
        align-items: center;
    }

    /* About */
    .about {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about__links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    /* Contact */
    .pricing-included {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__title { font-size: 28px; }
    .hero__inner { padding: 40px 0; }
    .wow-block__compare-value { font-size: 24px; }
    .card__price-lg { font-size: 28px; }
}

/* --- Cookie bar --- */
.cookie-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: none;
    align-items: center;
    gap: 16px;
    max-width: 380px;
    z-index: 9999;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.cookie-bar.show { display: flex; }
.cookie-bar p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- Selection --- */
::selection {
    background: var(--accent);
    color: #fff;
}
