:root {
    --bg-dark: #160f0a;
    --bg-card: rgba(255, 255, 255, 0.08);
    --bg-card-strong: rgba(255, 255, 255, 0.13);
    --text-main: #fff8ea;
    --text-muted: #d9c7aa;
    --gold: #f4c76b;
    --gold-soft: rgba(244, 199, 107, 0.22);
    --brown: #5a341f;
    --border-soft: rgba(255, 255, 255, 0.18);
    --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.35);
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text-main);
    background:
      radial-gradient(circle at 15% 15%, rgba(244, 199, 107, 0.18), transparent 30%),
      radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 24%),
      radial-gradient(circle at 50% 95%, rgba(115, 64, 35, 0.45), transparent 36%),
      linear-gradient(135deg, #130c08 0%, #25140d 48%, #0f0b08 100%);
    overflow-x: hidden;
  }
  
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      radial-gradient(circle, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
      radial-gradient(circle, rgba(244, 199, 107, 0.5) 1px, transparent 1px);
    background-size: 70px 70px, 110px 110px;
    background-position: 0 0, 35px 40px;
    opacity: 0.18;
  }
  
  .presentation-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 80px;
    position: relative;
    z-index: 1;
  }
  
  .hero-section {
    min-height: 92vh;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: end;
    align-content: center;
    gap: 0;
  }

  .hero-content {
    min-width: 0;
    padding: 48px;
    border: 1px solid rgba(230, 195, 145, 0.22);
    border-radius: 34px;
    background: linear-gradient(
      145deg,
      rgba(118, 78, 52, 0.48),
      rgba(62, 40, 28, 0.34)
    );
    box-shadow:
      var(--shadow-soft),
      inset 0 1px 0 rgba(255, 236, 205, 0.1);
    backdrop-filter: blur(18px);
  }

  .hero-cake-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(78vh, 640px);
    align-self: end;
    justify-self: start;
    object-fit: contain;
    object-position: bottom left;
    border: none;
    background: none;
    filter:
      drop-shadow(0 28px 48px rgba(0, 0, 0, 0.34))
      drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
    pointer-events: none;
    user-select: none;
  }
  
  .eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  
  h1 {
    margin-bottom: 18px;
    font-size: clamp(56px, 9vw, 112px);
    line-height: 0.9;
    letter-spacing: -0.06em;
  }
  
  .hero-subtitle {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: clamp(26px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 700;
  }
  
  .hero-description {
    max-width: 700px;
    margin-bottom: 32px;
    color: #e4cdb0;
    font-size: 20px;
    line-height: 1.65;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .scroll-hint-text {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .scroll-hint-arrow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1;
    animation: scroll-hint-bounce 2s ease-in-out infinite;
  }

  @keyframes scroll-hint-bounce {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(6px);
    }
  }
  
  .primary-button,
  .secondary-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  
  .primary-button {
    color: #1b1008;
    background: linear-gradient(135deg, #ffe6a7, #f4c76b);
    box-shadow: 0 14px 34px rgba(244, 199, 107, 0.28);
  }
  
  .secondary-button {
    color: #fff3dc;
    border: 1px solid rgba(196, 142, 88, 0.38);
    background: linear-gradient(135deg, #4a2f1f 0%, #2f1a10 100%);
    box-shadow: 0 14px 34px rgba(110, 58, 28, 0.34);
  }
  
  .primary-button:hover,
  .secondary-button:hover,
  .demo-link-card:hover {
    transform: translateY(-4px);
  }
  
  .primary-button:hover {
    box-shadow: 0 18px 44px rgba(244, 199, 107, 0.38);
  }

  .secondary-button:hover {
    box-shadow: 0 18px 44px rgba(130, 68, 32, 0.44);
    background: linear-gradient(135deg, #55361f 0%, #362014 100%);
  }
  
  .hero-card,
  .feature-card,
  .demo-link-card,
  .next-steps,
  .project-status {
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
  }
  
  .hero-card {
    padding: 34px;
  }
  
  .card-label {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 18px;
  }
  
  .tech-list,
  .next-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .tech-list {
    display: grid;
    gap: 14px;
  }
  
  .tech-list li {
    padding: 14px 16px;
    border-radius: 18px;
    color: #ffe9b5;
    background: var(--gold-soft);
    font-weight: 700;
  }
  
  .section-block {
    margin-top: 56px;
  }

  .tech-stack-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: center;
    gap: 32px;
  }

  .tech-stack-section .section-header {
    margin-bottom: 0;
  }
  
  .section-header {
    max-width: 760px;
    margin-bottom: 24px;
  }
  
  .section-header h2 {
    margin-bottom: 0;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.04em;
  }
  
  .feature-grid,
  .link-grid {
    display: grid;
    gap: 20px;
  }
  
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .feature-card {
    padding: 28px;
  }
  
  .feature-card h3 {
    margin-bottom: 14px;
    color: #ffe6a7;
    font-size: 24px;
  }
  
  .feature-card p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
  }
  
  .demo-link-card {
    min-height: 160px;
    padding: 24px;
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  
  .demo-link-card:hover {
    background: var(--bg-card-strong);
  }
  
  .demo-link-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }
  
  .demo-link-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
  }
  
  .next-steps {
    padding: 34px;
  }

  .project-status {
    padding: 34px;
  }

  .status-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .status-group-title {
    margin: 0 0 14px;
    color: #ffe6a7;
    font-size: 20px;
  }

  .status-list--implemented li {
    color: #e8f5d8;
    background: rgba(120, 180, 90, 0.14);
  }

  .status-list--planned li {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.07);
  }
  
  .next-list {
    display: grid;
    gap: 14px;
  }
  
  .next-list li {
    padding: 16px 18px;
    border-radius: 18px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.07);
    font-size: 18px;
  }
  
  @media (max-width: 980px) {
    .presentation-page {
      width: min(100% - 32px, 860px);
      padding-top: 32px;
    }
  
    .hero-section {
      min-height: auto;
      grid-template-columns: 2fr 1fr;
      align-content: start;
      gap: 0;
      padding: 32px 0;
    }

    .hero-cake-image {
      width: 100%;
      max-height: 320px;
      align-self: end;
      justify-self: start;
      object-position: bottom left;
    }

    .tech-stack-layout {
      grid-template-columns: 1fr;
    }

    .tech-stack-section .section-header {
      margin-bottom: 24px;
    }
  
    .hero-content {
      padding: 34px;
    }
  
    .hero-card {
      padding: 28px;
    }
  
    .feature-grid,
    .link-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .presentation-page {
      width: min(100% - 24px, 520px);
      padding: 20px 0 56px;
    }

    .presentation-page .hero-cake-image {
      display: none;
    }
  
    .hero-content {
      padding: 26px 22px;
      border-radius: 26px;
    }

    .hero-section {
      grid-template-columns: 1fr;
      align-items: stretch;
      align-content: start;
      gap: 16px;
    }

    .hero-cake-image {
      width: min(200px, 70%);
      max-height: 220px;
      margin: 0 auto;
      align-self: center;
      justify-self: center;
      object-position: bottom center;
    }
  
    .hero-description {
      font-size: 17px;
    }
  
    .hero-actions {
      flex-direction: column;
    }
  
    .primary-button,
    .secondary-button {
      width: 100%;
    }
  
    .hero-card,
    .feature-card,
    .demo-link-card,
    .next-steps,
    .project-status {
      border-radius: 24px;
    }

    .status-groups {
      grid-template-columns: 1fr;
    }
  
    .feature-grid,
    .link-grid {
      grid-template-columns: 1fr;
    }

    .demo-link-card {
      min-height: 130px;
    }
  
    .section-block {
      margin-top: 42px;
    }
  }