  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { background: #f2f1f9; }
  html { scroll-behavior: smooth; }
  ::-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; }
  .section { max-width: 1512px; margin: 128px auto 0; padding: 0 104px; }
  .link-ter { font-weight: 500; font-size: 18px; line-height: 1.6; color: #006aff; text-decoration: underline; text-underline-position: from-font; white-space: nowrap; }
  .link-ter:hover { text-decoration: none; }

  /* ===== Hero ===== */
  .hero-e { position: relative; height: 982px; }
  .hero-e-photo { position: absolute; top: 0; right: 0; width: 982px; max-width: 65%; height: 982px; object-fit: cover; }
  .hero-e-light { position: absolute; left: 0; right: 0; top: 0; height: 982px; background: linear-gradient(to right, #f1f0f8 0%, #f1f0f8 42%, rgba(241,240,248,0) 95.8%); }
  .hero-e-inner { position: relative; max-width: 1512px; margin: 0 auto; padding: 284px 104px 0; }
  .hero-e h1 { margin-top: 24px; max-width: 865px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 69px; line-height: 69px; letter-spacing: -1.38px; }
  .hero-e-sub { margin-top: 24px; max-width: 543px; }
  .hero-e-actions { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .hero-e-pills { display: flex; gap: 16px; flex-wrap: wrap; }
  .pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border: 1px solid #afb5c2; border-radius: 100px; font-weight: 400; font-size: 14px; line-height: 14px; color: #6e7a8c; white-space: nowrap; transition: border-color 0.2s ease, color 0.2s ease; }
  .pill img { width: 32px; height: 32px; }
  .pill:hover { border-color: #006aff; color: #006aff; }

  /* ===== Edukativni materijali ===== */
  .mat-grid { display: grid; grid-template-columns: minmax(0, 632px) auto; justify-content: space-between; gap: 48px; }
  .mat-text h2 { margin-top: 24px; }
  .mat-text .body-text { margin-top: 24px; }
  .mat-note { margin-top: 24px; font-weight: 400; font-size: 14px; line-height: 14px; color: #6e7a8c; }
  .mat-note .check { color: #006aff; }
  .doc-grid { display: grid; grid-template-columns: repeat(3, 184px); gap: 40px; margin-top: 30px; }
  .doc-card { aspect-ratio: 184 / 247; background: #fdfdff; border-radius: 22px; display: flex; align-items: center; justify-content: center; transition: box-shadow 0.25s ease; }
  .doc:hover .doc-card { box-shadow: 0 15px 30px rgba(0,99,238,0.1); }
  .doc-card img { width: 13.5px; height: 18px; }
  .doc-name { margin-top: 16px; font-weight: 400; font-size: 14px; line-height: 14px; color: #6e7a8c; }
  .doc-meta { margin-top: 16px; display: flex; justify-content: space-between; font-weight: 400; font-size: 14px; line-height: 14px; color: #6e7a8c; opacity: 0.5; }
  .doc-dl { display: inline-block; margin-top: 16px; font-weight: 400; font-size: 14px; line-height: 14px; color: #006aff; text-decoration: underline; text-underline-position: from-font; }
  .doc-dl:hover { text-decoration: none; }
  .doc-more { position: relative; margin-top: 64px; display: grid; grid-template-columns: repeat(6, minmax(0, 184px)); gap: 40px; justify-content: space-between; }
  .doc-more .doc-card { aspect-ratio: 184 / 247; }
  .doc-more:not(.expanded) .doc-name,
  .doc-more:not(.expanded) .doc-meta,
  .doc-more:not(.expanded) .doc-dl { display: none; }
  .doc-more::after { content: ""; position: absolute; left: -20px; right: -20px; top: 45px; bottom: -1px; background: linear-gradient(to bottom, rgba(242,241,249,0) 0%, #f2f1f9 38.9%); pointer-events: none; transition: opacity 0.4s ease; }
  .doc-more.expanded::after { opacity: 0; }
  .doc-more.expanded .load-more { display: none; }
  .load-more { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 24px; z-index: 1; }
  .load-line { width: 162px; height: 1px; flex-shrink: 1; }
  .load-line-l { background: linear-gradient(to left, #afb5c2, rgba(175,181,194,0)); }
  .load-line-r { background: linear-gradient(to right, #afb5c2, rgba(175,181,194,0)); }
  .btn-load { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: #fdfdff; border: 1px solid #006aff; border-radius: 4px; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s ease; }
  .btn-load:hover { background: #ffffff; }
  .btn-load img { width: 13.5px; height: 18px; }
  .btn-load p { font-weight: 500; font-size: 18px; line-height: 18px; color: #6e7a8c; white-space: nowrap; }

  /* ===== Moodle ===== */
  .moodle-section { margin-top: 64px; }
  .moodle-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 632px); justify-content: space-between; align-items: center; gap: 48px; }
  .moodle-img { position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 301; overflow: hidden; box-shadow: 0 15px 30px rgba(0,99,238,0.1); }
  .moodle-img img { position: absolute; width: 136.61%; height: 163.72%; left: -17.4%; top: -34.86%; max-width: none; }
  .moodle-text h2 { margin-top: 24px; }
  .moodle-text .body-text { margin-top: 24px; }
  .checklist { list-style: none; margin-top: 48px; display: flex; flex-direction: column; gap: 24px; }
  .checklist li { display: flex; align-items: center; gap: 12px; font-weight: 400; font-size: 14px; line-height: 14px; color: #6e7a8c; }
  .checklist img { width: 18px; height: 18px; }
  .moodle-text .link-ter { display: inline-block; margin-top: 56px; }

  /* ===== VeriPerf ===== */
  .vp-grid { display: grid; grid-template-columns: minmax(0, 632px) minmax(0, 471px); justify-content: space-between; gap: 48px; align-items: start; }
  .vp-text h2 { margin-top: 30px; }
  .vp-text .body-text { margin-top: 24px; }
  .vp-img { position: relative; width: 100%; max-width: 471px; aspect-ratio: 471 / 341; border-radius: 32px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,99,238,0.1); }
  .vp-img img { position: absolute; width: 106.81%; height: 118.21%; left: -3.52%; top: -4.15%; max-width: none; }
  .vp-tiles { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .vp-tile { background: #fdfdff; border-radius: 12px; padding: 24px; min-height: 194px; box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1); }
  .vp-tile img { width: 24px; height: 24px; }
  .vp-tile h3 { margin-top: 21px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 18px; line-height: 18px; color: #006aff; }
  .vp-tile p { margin-top: 24px; font-weight: 400; font-size: 14px; line-height: 14px; color: #6e7a8c; max-width: 248px; }

  /* VeriPerf SC banner */
  .vp-sc { position: relative; margin-top: 64px; background: #e5e5ee; border-radius: 22px; padding: 64px 112px; }
  .vp-sc h2 { margin-top: 24px; }
  .vp-sc .body-text { margin-top: 24px; max-width: 632px; }
  .vp-sc-tile { position: absolute; top: 64px; right: 112px; width: 40px; height: 40px; background: #dbe0e9; 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; }
  .vp-sc-tile img { width: 16px; height: 24px; }
  .vp-sc-cta { position: absolute; right: 112px; top: 240px; }

  /* ===== Korisni linkovi ===== */
  .linkovi-head { text-align: center; }
  .linkovi-head h2 { margin-top: 24px; }
  .linkovi-head .body-text { margin: 24px auto 0; max-width: 632px; }
  .tabs { margin-top: 64px; display: inline-flex; gap: 8px; background: #fdfdff; border-radius: 22px; padding: 8px; }
  .tab { padding: 12px; border-radius: 16px; border: none; background: transparent; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 16px; line-height: 18px; color: #6e7a8c; cursor: pointer; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
  .tab:hover:not(.active) { color: #006aff; }
  .tab.active { background: #afb5c2; color: #fdfdff; }
  .links-panel { display: none; margin-top: 56px; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 40px; }
  .links-panel.active { display: grid; }
  .link-item a { display: inline-block; font-weight: 400; font-size: 14px; line-height: 14px; color: #006aff; word-break: break-word; }
  .link-item a:hover { text-decoration: underline; }
  .link-item p { margin-top: 4px; font-family: 'Roboto', sans-serif; font-weight: 400; font-size: 14px; line-height: 14px; color: #afb5c2; max-width: 184px; }

  /* ===== 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; }
    .section { margin-top: 88px; padding: 0 32px; }

    .hero-e { height: auto; }
    .hero-e-photo { max-width: 100%; height: 100%; opacity: 0.55; }
    .hero-e-light { height: 100%; }
    .hero-e-inner { padding: 220px 32px 72px; }
    .hero-e h1 { font-size: 52px; line-height: 1.1; letter-spacing: -1px; margin-top: 18px; }
    .hero-e-actions { justify-content: flex-start; margin-top: 40px; }

    .mat-grid { grid-template-columns: 1fr; }
    .doc-grid { grid-template-columns: repeat(3, minmax(0, 184px)); margin-top: 0; }
    .doc-more { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
    .doc-more:not(.expanded) .doc:nth-child(n+4) { display: none; }

    .moodle-section { margin-top: 88px; }
    .moodle-grid { grid-template-columns: 1fr; }
    .moodle-img { order: 2; margin-top: 8px; }
    .moodle-text { order: 1; }
    .moodle-text .link-ter { margin-top: 40px; }

    .vp-grid { grid-template-columns: 1fr; }
    .vp-text h2 { margin-top: 24px; }
    .vp-img { margin-top: 8px; }
    .vp-tiles { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .vp-tile { min-height: 0; }
    .vp-tile p { line-height: 1.5; max-width: none; }

    .vp-sc { padding: 56px 40px; }
    .vp-sc-tile { top: 40px; right: 40px; }
    .vp-sc-cta { position: static; display: inline-block; margin-top: 32px; }

    .tabs { margin-top: 48px; }
    .links-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }

    .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; }
    .section { margin-top: 64px; padding: 0 20px; }

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

    .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .doc-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
    .btn-load { padding: 14px 24px; }
    .btn-load p { font-size: 16px; }
    .load-line { width: 60px; }

    .moodle-section { margin-top: 64px; }
    .checklist { margin-top: 32px; gap: 20px; }
    .checklist li { line-height: 1.4; }
    .moodle-text .link-ter, .vp-sc-cta { font-size: 16px; }

    .vp-tiles { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }

    .vp-sc { padding: 40px 20px; margin-top: 48px; border-radius: 16px; }
    .vp-sc-tile { display: none; }

    .tabs { margin-top: 40px; padding: 6px; border-radius: 18px; gap: 4px; max-width: 100%; }
    .tab { padding: 10px; font-size: 14px; border-radius: 12px; }
    .links-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin-top: 40px; }
    .link-item p { max-width: none; }

    .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; }
  }
