:root {
    --bg: #080a0d;
    --bg2: #0d1117;
    --bg3: #111820;
    --border: rgba(255,255,255,0.07);
    --acid:  oklch(0.98 0.13 109.4);
    --acid-dim: rgba(0,255,135,0.12);
    --acid-glow: rgba(0,255,135,0.25);
    --red: #ff3b3b;
    --red-dim: rgba(255,59,59,0.12);
    --amber: #ffb800;
    --amber-dim: rgba(255,184,0,0.1);
    --text: #e8eaed;
    --text-dim: oklch(0.98 0.13 109.4);
    --text-dimmer: oklch(0.98 0.13 109.4);
    --mono: 'IBM Plex Mono', monospace;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'DM Sans', sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* NOISE OVERLAY */
  body::before {
    content: '';
    position: fixed;
    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.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.6;
  }

  /* GRID LINES */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
      linear-gradient(rgba(0,255,135,0.015) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,255,135,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* ============ TYPOGRAPHY ============ */
  .label {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--acid);
    opacity: 0.8;
  }

  h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
  }

  /* ============ LAYOUT ============ */
  .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
  }

  section { position: relative; z-index: 2; }

  /* ============ HERO ============ */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 60px;
    overflow: hidden;
  }

  .hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(0,255,135,0.06) 0%, transparent 65%);
    pointer-events: none;
  }

  .hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,255,135,0.3);
    border-radius: 2px;
    padding: 6px 14px;
    margin-bottom: 40px;
    background: var(--acid-dim);
    width: fit-content;
  }

  .status-dot {
    width: 6px;
    height: 6px;
    background: var(--acid);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
  }

  .hero h1 {
    font-size: clamp(35px, 7vw, 84px);
    letter-spacing: -0.03em;
    margin-bottom: 25px;
    color: #fff;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--acid);
    font-weight: 300;
  }

  .hero-sub {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
    margin-bottom: 48px;
  }

.hero-desc {
    font-size: 19px;
    color: rgb(255 255 255);
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 18px;
    font-weight: 300;
}

  .hero-desc strong {
    color: var(--text);
    font-weight: 500;
  }

  .cta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--acid);
    color: #000;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
  }

  .btn-primary::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px solid var(--acid);
    opacity: 0;
    transition: opacity 0.2s;
  }

  .btn-primary:hover {
    background: #00e676;
    box-shadow: 0 0 40px var(--acid-glow);
  }

  .btn-primary:hover::after { opacity: 0.4; }

  .hero-note {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dimmer);
    letter-spacing: 0.05em;
  }

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 80px;
    border-top: 1px solid var(--border);
    justify-items: center;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 30px 0;
}

  .metric {
    padding: 4px 0 0;
    border-left: 1px solid var(--border);
    padding-left: 28px;
  }

  .metric:first-child { border-left: none; padding-left: 0; }

  .metric-val {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 600;
    color: var(--acid);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
  }

  .metric-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* ============ DIAGNOSE SECTION ============ */
  .diagnose {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .section-header {
    margin-bottom: 64px;
  }

  .section-header h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    color: #fff;
    margin-top: 16px;
    letter-spacing: -0.025em;
  }

  .diagnose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .diagnose-item {
    background: var(--bg2);
    padding: 36px 32px;
    position: relative;
    transition: background 0.2s;
  }

  .diagnose-item:hover {
    background: var(--bg3);
  }

  .diagnose-item::before {
    content: attr(data-num);
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dimmer);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
  }

  .diagnose-item h3 {
    font-size: 18px;
    color: var(--red);
    margin-bottom: 12px;
    font-family: var(--mono);
    font-weight: 500;
    letter-spacing: -0.01em;
  }

  .diagnose-item p {
    font-size: 14px;
    color: #fff;
    line-height: 1.7;
  }

  .diagnose-item.accent-item {
    background: rgb(255 59 59 / 5%);
    border: 1px solid rgba(255,59,59,0.15);
  }
  

  /* ============ ABOUT SECTION ============ */
  .about {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .about-left h2 {
    font-size: clamp(30px, 4vw, 34px);
    color: #fff;
    letter-spacing: -0.025em;
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .about-left p {
    color: rgba(232,234,237,0.65);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 300;
  }

  .about-left p strong {
    color: var(--text);
    font-weight: 500;
  }

  .about-right {
    padding-top: 20px;
  }

  .terminal-block {
    background: #060910;
    border: 1px solid var(--border);
    border-top: 2px solid var(--acid);
    padding: 28px;
    font-family: var(--mono);
    font-size: 12px;
    line-height: 2;
    position: relative;
  }

  .terminal-block::before {
    content: 'SYSTEM_DIAGNOSTIC.exe';
    display: block;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--text-dimmer);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }

  .t-line { display: flex; gap: 12px; }
  .t-prompt { color: var(--acid); }
  .t-text { color: #a0b0c0; }
  .t-val { color: var(--amber); }
  .t-err { color: var(--red); }
  .t-ok { color: var(--acid); }
  .t-cursor {
    display: inline-block;
    width: 8px;
    height: 12px;
    background: var(--acid);
    animation: blink 1.2s infinite;
    vertical-align: middle;
  }
  @keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }

  /* ============ PROTOCOL STRUCTURE ============ */
  .structure {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .structure-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: end;
  }

  .structure-intro h2 {
    font-size: clamp(30px, 4vw, 48px);
    color: #fff;
    letter-spacing: -0.025em;
    margin-top: 16px;
  }

  .structure-intro p {
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
  }

  .modules-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .module-item {
    background: var(--bg2);
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 28px 36px;
    transition: background 0.15s;
    cursor: default;
  }

  .module-item:hover {
    background: var(--bg3);
  }

 .module-num {
    font-family: var(--mono);
    font-size: 11px;
    color: oklch(0 0 0);
    letter-spacing: 0.1em;
    background: var(--text-dimmer);
    text-align: center;
    font-weight: 600;
}

  .module-content h4 {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 4px;
    letter-spacing: 0.02em;
  }

  .module-content p {
    font-size: 16px;
    color: #fff;
    font-weight: 300;
  }

  .module-tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    white-space: nowrap;
  }

  .tag-core { background: var(--acid-dim); color: var(--acid); border: 1px solid rgba(0,255,135,0.2); }
  .tag-neuro { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(255,184,0,0.2); }
  .tag-ops { background: rgba(100,130,255,0.08); color: #7b9fff; border: 1px solid rgba(100,130,255,0.2); }
  .tag-crit { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255,59,59,0.2); }

  /* ============ POINT LOGIC ============ */
  .point-logic {
    padding: 100px 0;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(0,255,135,0.015), transparent);
  }

  .point-logic .section-header { text-align: center; }
  .point-logic .section-header h2 { color: #fff; margin: 16px auto 0; max-width: 640px; font-size: 40px;}
  .point-logic .section-header p { color: var(--text-dim); font-size: 24px; margin-top: 16px; }

  .pl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 64px;
  }

  .pl-item {
    background: var(--bg2);
    padding: 36px 28px;
  }

  .pl-icon {
    font-size: 22px;
    margin-bottom: 16px;
    display: block;
  }

  .pl-item h4 {
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 600;
    color: var(--acid);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .pl-item p {
    font-size: 15px;
    color: #fff;
    line-height: 1.3;
    font-weight: 300;
  }

  /* ============ FOR WHOM ============ */
  .for-whom {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .fw-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .fw-col h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    color: #fff;
    letter-spacing: -0.025em;
    margin-top: 16px;
    margin-bottom: 32px;
  }

  .check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .check-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: rgba(232,234,237,0.75);
    font-weight: 300;
    line-height: 1.6;
  }

  .check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 11px;
    margin-top: 2px;
  }

  .check-icon.yes {
    color: var(--acid);
    border: 1px solid rgba(0,255,135,0.3);
    background: var(--acid-dim);
  }

  .check-icon.no {
    color: var(--red);
    border: 1px solid rgba(255,59,59,0.3);
    background: var(--red-dim);
  }

  /* ============ BEFORE/AFTER ============ */
  .before-after {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 64px;
  }

  .ba-col {
    padding: 48px 40px;
  }

  .ba-col.before { background: var(--red-dim); }
  .ba-col.after { background: var(--acid-dim); }

  .ba-col-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .before .ba-col-label { color: var(--red); }
  .after .ba-col-label { color: var(--acid); }

  .ba-col-label::after {
    content: '';
    flex: 1;
    height: 1px;
    opacity: 0.3;
  }

  .before .ba-col-label::after { background: var(--red); }
  .after .ba-col-label::after { background: var(--acid); }

  .ba-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .ba-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: rgba(232,234,237,0.75);
    line-height: 1.6;
    font-weight: 300;
  }

  .ba-row span:first-child {
    font-family: var(--mono);
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 3px;
  }

  .before .ba-row span:first-child { color: var(--red); }
  .after .ba-row span:first-child { color: var(--acid); }

  /* ============ ROADMAP ============ */
  .roadmap {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 64px;
  }

  .week-col {
    background: var(--bg2);
    padding: 32px 24px;
    position: relative;
  }

  .week-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
  }

  .week-col:nth-child(1)::before { background: rgba(100,130,255,0.5); }
  .week-col:nth-child(2)::before { background: var(--amber); opacity: 0.5; }
  .week-col:nth-child(3)::before { background: rgba(0,200,255,0.5); }
  .week-col:nth-child(4)::before { background: var(--acid); opacity: 0.7; }

  .week-num {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--text-dimmer);
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .week-title {
    font-family: var(--serif);
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .week-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .week-item {
    font-size: 12.5px;
    color: var(--text-dim);
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-weight: 300;
    line-height: 1.5;
  }

  .week-item::before {
    content: '→';
    font-family: var(--mono);
    color: var(--text-dimmer);
    flex-shrink: 0;
    font-size: 11px;
    margin-top: 1px;
  }

  /* ============ PRICING ============ */
  .pricing {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 64px;
  }

  .pricing-card {
    background: var(--bg2);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
  }

  .pricing-card.featured {
    background: rgba(0,255,135,0.04);
    border-left: 1px solid rgba(0,255,135,0.15);
    position: relative;
  }

  .pricing-card.featured::before {
    content: 'РЕКОМЕНДОВАНО';
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--acid);
    border: 1px solid rgba(0,255,135,0.3);
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 24px;
    width: fit-content;
    background: var(--acid-dim);
  }

  .price-label {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dimmer);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .price-title {
    font-family: var(--serif);
    font-size: 26px;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.2;
  }

  .price-val {
    font-family: var(--mono);
    font-size: 36px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
  }

  .price-val em {
    font-style: normal;
    font-size: 16px;
    color: var(--text-dim);
    font-weight: 300;
  }

.price-note {
    font-size: 16px;
    color: var(--text-dimmer);
    font-family: var(--mono);
    margin-bottom: 32px;
    line-height: normal;
}

  .price-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    flex: 1;
  }

  .price-feat {
    font-size: 13.5px;
    color: rgba(232,234,237,0.7);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 300;
    line-height: 1.5;
  }

  .price-feat .fi {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--acid);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #feffc6;
    color: #000;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
  }

  .btn-secondary:hover {
    border-color: #000;
    color: var(--text);
  }

  .btn-primary-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--acid);
    color: #000;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 18px 28px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
  }

  .btn-primary-full:hover {
    background: #00e676;
    box-shadow: 0 0 50px rgba(0,255,135,0.3);
  }


  /*  ================ ХТО Я ТАКИЙ ===============  */

  .author-bio {
    max-width: 700px;
    margin: 0 auto 0;
}

.author-bio p {
    margin: 20px 0;
}

.author-bio img {
    width: 80%;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    border: 2px solid #fff;
    max-width: 300px;
    height: auto;
}


  /*  ================ посилання на відгуки і сертифікати канали ===============  */

span.vidguku_sertifikati {
    margin: 15px auto;
    display: block;
    width: fit-content;
    font-size: 20px;
}



span.vidguku_sertifikati a {
    color: #fdff96;
}
.pidpiska a {
   color: #fdff96;
}


  /* ============ FAQ ============ */
  .faq {
    padding: 100px 0;
    border-top: 1px solid var(--border);
  }

  .faq-list {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .faq-item {
    background: var(--bg2);
    padding: 28px 36px;
    cursor: pointer;
    transition: background 0.15s;
  }

  .faq-item:hover { background: var(--bg3); }

  .faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .faq-q span:first-child {
    font-size: 16px;
    color: var(--text);
    font-weight: 400;
  }

  .faq-q span:last-child {
    font-family: var(--mono);
    font-size: 18px;
    color: var(--text-dimmer);
    flex-shrink: 0;
  }

  .faq-a {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-top: 16px;
    display: none;
    font-weight: 300;
  }

  .faq-item.open .faq-a { display: block; }
  .faq-item.open .faq-q span:last-child { color: var(--acid); }

  /* ============ FINAL CTA ============ */
  .final-cta {
    padding: 120px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .final-cta::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0,255,135,0.07) 0%, transparent 65%);
    pointer-events: none;
  }

  .final-cta h2 {
    font-size: clamp(36px, 3vw, 64px);
    color: #fff;
    letter-spacing: 0;
    max-width: 700px;
    margin: 16px auto 32px;
}

  .final-cta p {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 48px;
    font-weight: 300;
  }

  .final-cta .cta-row { justify-content: center; }

  /* ============ FOOTER ============ */
  footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-logo {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dimmer);
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .footer-note {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dimmer);
  }

  /* ============ DIVIDER ============ */
  .divider-line {
    width: 40px;
    height: 1px;
    background: var(--acid);
    opacity: 0.5;
    margin-bottom: 20px;
  }

  /* ============ SCROLL ANIMATIONS ============ */
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

  /* ============ RESPONSIVE ============ */
  @media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    .hero-metrics {
        /* grid-template-columns: 1fr 1fr; */
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }

    .metric {
    padding: 0;
    border: none;
    margin: 10px 0;
}

.module-num {
    font-size: 15px;}

    .diagnose-grid, .about-layout, .fw-layout, .ba-grid, .structure-intro, .pricing-layout { grid-template-columns: 1fr; }
    .pl-grid { grid-template-columns: 1fr 1fr; }
    .roadmap-grid { grid-template-columns: 1fr 1fr; }
    .module-item { grid-template-columns: 1fr; gap: 12px; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  }

  @media (max-width: 480px) {
    .pl-grid, .roadmap-grid { grid-template-columns: 1fr; }
  }

  /* Стилі відгуків */
  
  /* Основний контейнер блоку відгуків */
.reviews-wrapper {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    max-height: 700px; /* Початкова висота */
    overflow: hidden;
    transition: max-height 0.8s ease-in-out;
}

/* Стан блоку після натискання кнопки "Показати ще" */
.reviews-wrapper.expanded {
    max-height: 50000px !important; /* Достатньо велике значення для будь-якої кількості фото */
    overflow: visible !important;
}

/* Налаштування сітки для ефекту мозаїки */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Два відгуки в рядку на ПК */
    grid-auto-rows: 10px; /* Базовий крок для розрахунку висоти через JS */
    gap: 15px;
    padding-bottom: 60px;
}

/* Стилі для кожного окремого відгуку */
.review-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    align-self: start;
}

.review-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #fff;
    border-radius: 10px;
}

/* Градієнтне перекриття знизу */
.reviews-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px; /* Глибина градієнта */
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7) 40%, #000 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
    z-index: 10;
    pointer-events: none;
}

/* Приховування оверлею при розгортанні */
.reviews-wrapper.expanded .reviews-overlay {
    display: none !important;
}

/* Стиль кнопки розгортання */
.show-more-btn {
    pointer-events: auto;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background-color: #000;
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.show-more-btn:hover {
    background-color: #fff;
    color: #000;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr; /* Один відгук в рядку на смартфоні */
        gap: 10px;
    }
    
    .reviews-wrapper {
        max-height: 800px; /* Трохи більша висота для мобілок, щоб влізло хоча б 1.5 відгуку */
    }
}