  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { background: #f2f1f9; }
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(110,122,140,0.45); border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(110,122,140,0.75); }
  @supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: rgba(110,122,140,0.45) transparent; }
  }
  body { font-family: 'Inter', sans-serif; color: #6e7a8c; }
  a { text-decoration: none; color: inherit; cursor: pointer; }
  img { display: block; }

  .canvas { width: 100%; margin: 0 auto; position: relative; background: #f2f1f9; overflow: clip; }
  .grad { background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .chip { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 20px; }
  .chip p { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; white-space: nowrap; }
  .chip-blue { background: rgba(0,106,255,0.1); }
  .chip-blue p { color: #006aff; }
  .chip-grey { background: #dbe0e9; }
  .chip-grey p { color: #6e7a8c; }
  h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 55px; line-height: 55px; color: #6e7a8c; }
  .body-text { font-weight: 500; font-size: 18px; line-height: 2; color: #6e7a8c; }

  /* ===== Top section (hero + benefits share the dotted backdrop) ===== */
  .top { position: relative; }
  .top-pattern { position: absolute; left: 0; right: 0; top: 409px; height: 1248px; pointer-events: none; z-index: 0;
    background-image: radial-gradient(circle, rgba(110,122,140,0.3) 1.5px, transparent 1.6px);
    background-size: 27px 27px; }

  /* Hero */
  .hero-s { position: relative; height: 982px; }
  .hero-s-photo { position: absolute; top: 0; right: 0; width: 800px; max-width: 60%; height: 982px; object-fit: cover; }
  .hero-s-light { position: absolute; inset: 0; background: linear-gradient(to right, #f1f0f8 0%, #f1f0f8 42%, rgba(241,240,248,0) 95.8%); }
  .hero-s-inner { position: relative; max-width: 1512px; height: 100%; margin: 0 auto; }
  .hero-s-chip { position: absolute; left: 104px; top: 284px; }
  .hero-s h1 { position: absolute; left: 104px; top: 338px; width: 629px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 69px; line-height: 69px; letter-spacing: -1.38px; }
  .hero-s-sub { position: absolute; left: 104px; top: 500px; width: 632px; }
  .hero-s-actions { position: absolute; left: 104px; top: 656px; display: flex; gap: 40px; }

  /* ===== Benefits ===== */
  .benefits { position: relative; z-index: 1; margin-top: 128px; text-align: center; }
  .benefits h2 { margin: 24px auto 0; max-width: 1086px; }
  .benefits-sub { margin: 24px auto 0; width: 632px; max-width: calc(100% - 40px); text-align: center; }
  .b-cards { margin: 64px auto 0; width: min(1304px, calc(100% - 64px)); display: flex; gap: 40px; justify-content: center; text-align: left; }
  .b-card-wrap { flex: 1; max-width: 408px; filter: drop-shadow(0 15px 30px rgba(0,99,238,0.1)); }
  /* diamond notch: a true mask cut on the left edge (background pattern shows through),
     matching the Figma boolean-subtract of a rotated 25x25 r4 square */
  .b-card { position: relative; height: 192px; background: #fdfdff; border-radius: 12px;
    -webkit-mask-image: linear-gradient(#fff,#fff), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Crect x='5.5' y='5.5' width='25' height='25' rx='4' fill='white' transform='rotate(45 18 18)'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 0 0, -23.7px 105.1px;
    -webkit-mask-size: 100% 100%, 36px 36px;
    -webkit-mask-composite: destination-out;
    mask-image: linear-gradient(#fff,#fff), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Crect x='5.5' y='5.5' width='25' height='25' rx='4' fill='white' transform='rotate(45 18 18)'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: 0 0, -23.7px 105.1px;
    mask-size: 100% 100%, 36px 36px;
    mask-composite: exclude; }
  .b-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 302px; max-width: 80%; height: 1px; background: linear-gradient(90deg, rgba(0,106,255,0) 0%, #006aff 25%, rgba(0,106,255,0) 100%); }
  .b-tile { position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; background: rgba(0,106,255,0.1); border-radius: 10px; box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1); display: flex; align-items: center; justify-content: center; }
  .b-tile img { width: 24px; height: 24px; }
  .b-tile-img { position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; }
  .b-card h3 { position: absolute; left: 24px; top: 72px; font-weight: 700; font-size: 18px; line-height: 18px; color: #6e7a8c; }
  .b-card p { position: absolute; left: 24px; top: 114px; width: 347px; max-width: calc(100% - 48px); font-weight: 500; font-size: 14px; line-height: 14px; color: #6e7a8c; }
  .b-card-1 .b-tile { left: 29px; top: 20px; }
  .b-card-1 h3, .b-card-1 p { left: 32px; }
  .b-card-1 p { width: 340px; }

  /* ===== Sponsors ===== */
  .sponsors { margin-top: 256px; text-align: center; }
  .sponsors h2 { margin-top: 24px; }
  .sponsors-sub { margin: 24px auto 0; width: 284px; font-weight: 500; font-size: 18px; line-height: 18px; color: #6e7a8c; }
  .sp-grid { margin: 48px auto 0; width: min(1304px, calc(100% - 64px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .sp-card { height: 130px; background: #fdfdff; border-radius: 0 0 12px 12px; box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1); display: flex; align-items: center; justify-content: center; transition: box-shadow 0.25s ease; }
  .sp-card:hover { box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1), 0 15px 30px rgba(0,99,238,0.1); }

  /* ===== CTA ===== */
  .s-cta { position: relative; width: min(1304px, calc(100% - 64px)); height: 952px; margin: 256px auto 0; background: #fdfdff; border-radius: 22px; box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1); overflow: hidden; }
  .s-cta h2 { position: absolute; left: 112px; top: 114px; width: 559px; }
  .s-cta-sub { position: absolute; left: 112px; top: 248px; width: 520px; }
  .s-cta .btn-blue { position: absolute; left: 112px; top: 368px; }
  .s-cta-img { position: absolute; top: 0; right: 0; width: 520px; height: 100%; overflow: hidden; }
  .s-cta-img img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
  .s-cta-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 38.7%; background: linear-gradient(to bottom, rgba(0,106,255,0) 0%, rgba(0,106,255,0.5) 100%); }

  /* ===== Footer (shared) ===== */
  .footer { margin-top: 128px; }
  .footer-line { height: 4px; }
  .footer-line-1 { background: linear-gradient(to left, #006aff 0.524%, #00c8ff 100%); }
  .footer-line-2 { background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); }
  .footer-body { position: relative; background: #6e7a8c; overflow: hidden; }
  .footer-inner { position: relative; max-width: 1512px; height: 647px; margin: 0 auto; }
  .footer-spinner { position: absolute; left: 900px; top: 78px; width: 752px; height: 652.604px; pointer-events: none; }
  .footer-brand { position: absolute; left: 105px; top: 79.87px; width: 240px; }
  .footer-logo { position: relative; width: 121px; height: 105.006px; }
  .footer-logo img { position: absolute; }
  .footer-logo .fl-a { left: 0; top: 55.1px; width: 49.83px; height: 49.91px; }
  .footer-logo .fl-b { left: 71.17px; top: 0; width: 49.83px; height: 49.91px; }
  .footer-logo .fl-c { left: 18.73px; top: 10.52px; width: 83.53px; height: 83.66px; }
  .footer-tagline { margin: 14.5px 0 0 2px; width: 182px; display: flex; flex-direction: column; gap: 4px; font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 9.987px; line-height: 10px; }
  .footer-tagline .t1 { color: #fdfdff; }
  .footer-tagline .t2 { color: #afb5c2; }
  .footer-contact { font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; }
  .footer-address { margin-top: 38.6px; width: 221px; }
  .footer-phone { margin-top: 24px; white-space: nowrap; }
  .footer-email { margin-top: 24px; white-space: nowrap; }
  .footer-cols { display: contents; }
  .footer-col { position: absolute; top: 156px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-col-udruzenje { left: 441px; }
  .footer-col-clanovi { left: 665px; }
  .footer-col-edukacija { left: 889px; }
  .footer-col-h { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; color: #afb5c2; white-space: nowrap; }
  .footer-link { font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; white-space: nowrap; display: block; }
  .footer-bottom { display: contents; }
  .footer-social { position: absolute; right: 103px; top: 506px; width: 48px; height: 48px; }
  .footer-copy { position: absolute; left: 105px; top: 597px; font-weight: 400; font-size: 14px; line-height: 14px; color: #afb5c2; white-space: nowrap; }
  .scroll-top { position: absolute; right: 7px; top: 239px; width: 56px; height: 56px; background: #fdfdff; border: none; border-radius: 16px; cursor: pointer; box-shadow: inset -8px -8px 10px 0 rgba(100,100,100,0.15), inset 8px 8px 10px 0 rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .scroll-top img { width: 13px; height: 29px; }

  /* ===== Hover states (from Figma prototype variants) ===== */
  .scroll-top { transition: box-shadow 0.25s ease; }
  .scroll-top:hover { box-shadow: inset -8px -8px 10px 0 rgba(100,100,100,0.15), inset 8px 8px 10px 0 rgba(255,255,255,0.3), 0 15px 30px 0 rgba(0,99,238,0.1); }
  .footer-link:hover { text-decoration: underline; }

  /* =====================================================
     Compact navigation (max-width: 1279px)
     ===================================================== */
  @media (max-width: 1279px) {
  }

  /* =====================================================
     Tablet (max-width: 1024px)
     ===================================================== */
  @media (max-width: 1024px) {
    body { overflow-x: hidden; }
    h2 { font-size: 40px; line-height: 1.2; }
    .top-pattern { display: none; }

    .hero-s { height: auto; padding: 220px 32px 72px; }
    .hero-s-photo { max-width: 100%; height: 100%; opacity: 0.9; }
    .hero-s-inner { position: static; max-width: none; height: auto; }
    .hero-s-chip { position: relative; left: auto; top: auto; }
    .hero-s h1 { position: relative; left: auto; top: auto; width: auto; max-width: 629px; margin-top: 18px; font-size: 52px; line-height: 1.1; letter-spacing: -1px; }
    .hero-s-sub { position: relative; left: auto; top: auto; width: auto; max-width: 632px; margin-top: 24px; }
    .hero-s-actions { position: relative; left: auto; top: auto; margin-top: 40px; flex-wrap: wrap; gap: 16px; }

    .benefits { margin-top: 88px; padding: 0 32px; }
    .b-cards { margin-top: 64px; flex-direction: column; align-items: center; width: 100%; }
    .b-card-wrap { flex: none; width: 100%; }
    .b-card { height: auto; padding: 24px 24px 28px; }
    .b-card .b-tile, .b-card-1 .b-tile { position: static; }
    .b-tile-img { position: static; }
    .b-card h3, .b-card-1 h3 { position: static; margin-top: 14px; }
    .b-card p, .b-card-1 p { position: static; margin-top: 10px; width: auto; max-width: none; line-height: 1.5; }

    .sponsors { margin-top: 88px; padding: 0 32px; }
    .sp-grid { width: 100%; grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .s-cta { height: auto; margin-top: 88px; padding: 56px 40px 0; }
    .s-cta h2 { position: relative; left: auto; top: auto; width: auto; max-width: 559px; }
    .s-cta-sub { position: relative; left: auto; top: auto; width: auto; max-width: 520px; margin-top: 24px; }
    .s-cta .btn-blue { position: relative; left: auto; top: auto; margin-top: 40px; }
    .s-cta-img { position: relative; right: auto; width: calc(100% + 80px); margin: 48px -40px 0; height: 420px; }

    .footer { margin-top: 88px; }
    .footer-body { padding: 56px 32px 32px; }
    .footer-inner { position: static; max-width: none; height: auto; display: flex; flex-direction: column; gap: 48px; }
    .footer-spinner { display: none; }
    .footer-brand { position: static; width: auto; }
    .footer-cols { display: flex; flex-wrap: wrap; gap: 48px 64px; }
    .footer-col { position: static; }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; }
    .footer-social { position: static; }
    .scroll-top { position: static; }
    .footer-copy { position: static; }
  }

  /* =====================================================
     Mobile (max-width: 768px)
     ===================================================== */
  @media (max-width: 768px) {
    h2 { font-size: 28px; }

    .hero-s { padding: 128px 20px 48px; }
    .hero-s h1 { font-size: 34px; line-height: 1.18; letter-spacing: -0.7px; margin-top: 14px; }
    .hero-s-sub { font-size: 16px; line-height: 1.8; margin-top: 16px; }
    .hero-s-actions { margin-top: 28px; }
    .hero-s-actions .btn-blue, .s-cta .btn-blue { --btn-py: 14px; --btn-px: 28px; }
    .hero-s-actions .btn-blue p, .s-cta .btn-blue p, .btn-white p { font-size: 16px; }

    .benefits { margin-top: 64px; padding: 0 16px; }
    .body-text { font-size: 16px; line-height: 1.8; }

    .sponsors { margin-top: 64px; padding: 0 16px; }
    .sp-grid { grid-template-columns: 1fr; gap: 16px; }
    .sp-card { height: 110px; }

    .s-cta { width: calc(100% - 32px); margin-top: 64px; padding: 40px 20px 0; }
    .s-cta-img { width: calc(100% + 40px); margin: 32px -20px 0; height: 320px; }

    .footer { margin-top: 64px; }
    .footer-body { padding: 40px 20px 24px; gap: 36px; }
    .footer-cols { flex-direction: column; gap: 32px; }
    .footer-link { white-space: normal; }
    .footer-copy { white-space: normal; line-height: 1.5; }
  }
