:root {
    --blue:       #1a4db8;
    --blue-mid:   #2d7dd2;
    --blue-light: #e8f0fd;
    --blue-pale:  #f0f5ff;
    --orange:     #f5a623;
    --orange-dk:  #e08800;
    --text:       #111827;
    --text-soft:  #4b5563;
    --text-muted: #9ca3af;
    --border:     #e5e7eb;
    --bg:         #f7f8fc;
    --bg-white:   #ffffff;
    --bg-blue:    #0d2a6b;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-white);
    color: var(--text);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
  }

  #bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
  .container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
  section { position: relative; z-index: 1; }
  img { display: block; max-width: 100%; }

  /* ?? NAV ?? */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
    height: 80px; display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo { display: flex; align-items: center; text-decoration: none; }
  .nav-logo img { width: 300px; height: auto; }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { color: var(--text-soft); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color .2s; }
  .nav-links a:hover { color: var(--blue); }
  .nav-cta {
    background: var(--orange); color: #fff;
    padding: 0.5rem 1.25rem; border-radius: 6px;
    font-weight: 700; font-size: 0.85rem; text-decoration: none;
    transition: background .2s, transform .15s;
  }
  .nav-cta:hover { background: var(--orange-dk); transform: translateY(-1px); }

  /* ?? Hamburger ?? */
  .nav-hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer;
    padding: 8px; border-radius: 8px; transition: background .2s;
    position: relative; z-index: 200;
  }
  .nav-hamburger:hover { background: var(--blue-light); }
  .nav-hamburger span {
    display: block; height: 2px; width: 100%; background: var(--text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1), opacity 0.25s ease, width 0.35s cubic-bezier(.22,1,.36,1);
  }
  /* X state */
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile drawer */
  .nav-mobile {
    display: none;
    position: fixed; top: 80px; left: 0; right: 0; z-index: 150;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem 1.75rem;
    flex-direction: column; gap: 0.25rem;
    transform-origin: top center;
  }
  .nav-mobile.opening {
    display: flex;
    animation: navBounceIn 0.42s cubic-bezier(.34,1.56,.64,1) forwards;
  }
  .nav-mobile.closing {
    display: flex;
    animation: navFadeOut 0.28s cubic-bezier(.55,0,.45,1) forwards;
  }
  .nav-mobile a {
    display: block; padding: 0.85rem 1rem; border-radius: 8px;
    color: var(--text); text-decoration: none; font-size: 1rem; font-weight: 500;
    transition: background .18s, color .18s;
  }
  .nav-mobile a:hover { background: var(--blue-light); color: var(--blue); }
  .nav-mobile .nav-mobile-cta {
    background: var(--orange); color: #fff; font-weight: 700;
    margin-top: 0.5rem; text-align: center;
  }
  .nav-mobile .nav-mobile-cta:hover { background: var(--orange-dk); color: #fff; }

  @keyframes navBounceIn {
    0%   { opacity: 0; transform: scaleY(0.55) translateY(-12px); }
    55%  { opacity: 1; transform: scaleY(1.04) translateY(2px); }
    75%  { transform: scaleY(0.98) translateY(-1px); }
    100% { opacity: 1; transform: scaleY(1) translateY(0); }
  }
  @keyframes navFadeOut {
    0%   { opacity: 1; transform: scaleY(1) translateY(0); }
    100% { opacity: 0; transform: scaleY(0.7) translateY(-10px); }
  }

  /* ?? Legal modals ?? */
  .legal-backdrop {
    position: fixed; inset: 0; z-index: 900;
    background: rgba(10,20,60,0.55);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .legal-backdrop.open { opacity: 1; pointer-events: auto; }
  .legal-card {
    background: #fff; border-radius: 18px;
    width: 100%; max-width: 680px; max-height: 88vh;
    display: flex; flex-direction: column;
    box-shadow: 0 32px 80px rgba(10,20,60,0.28);
    transform: scale(0.7) translateY(40px);
    opacity: 0;
    transition: transform 0.42s cubic-bezier(.34,1.56,.64,1), opacity 0.28s ease;
  }
  .legal-backdrop.open .legal-card { transform: scale(1) translateY(0); opacity: 1; }
  .legal-backdrop.closing .legal-card {
    transform: scale(0.75) translateY(30px); opacity: 0;
    transition: transform 0.28s cubic-bezier(.55,0,.45,1), opacity 0.22s ease;
  }
  .legal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 1.75rem 1rem;
    border-bottom: 1px solid var(--border); flex-shrink: 0;
  }
  .legal-header h2 { font-size: 1.1rem; font-weight: 800; color: var(--text); }
  .legal-close {
    background: var(--bg); border: none; border-radius: 8px;
    width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem;
    color: var(--text-soft); transition: background .2s, color .2s;
    display: flex; align-items: center; justify-content: center;
  }
  .legal-close:hover { background: var(--blue-light); color: var(--blue); }
  .legal-body {
    overflow-y: auto; padding: 1.5rem 1.75rem 2rem;
    color: var(--text-soft); font-size: 0.88rem; line-height: 1.75;
  }
  .legal-body h3 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 0.4rem; }
  .legal-body h3:first-child { margin-top: 0; }
  .legal-body p { margin-bottom: 0.75rem; }
  .legal-body ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
  .legal-body ul li { margin-bottom: 0.35rem; }
  .legal-body a { color: var(--blue); }

  /* ?? HERO ?? */
  .hero {
    padding: 9rem 1.5rem 5rem;
    background: linear-gradient(160deg, #f0f5ff 0%, #ffffff 55%);
    overflow: hidden;
  }
  .hero-inner {
    max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  }
  @media (max-width: 800px) { .hero-inner { grid-template-columns: 1fr; } .hero-img { display: none; } }
  .hero-eyebrow {
    display: inline-block;
    background: var(--blue-light); color: var(--blue);
    font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 0.3rem 0.9rem; border-radius: 4px; margin-bottom: 1.25rem;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800;
    line-height: 1.1; letter-spacing: -0.02em; color: var(--text);
    margin-bottom: 1.25rem;
  }
  .hero h1 strong { color: var(--blue); font-weight: 800; }
  .hero-sub { font-size: 1.05rem; color: var(--text-soft); max-width: 500px; line-height: 1.7; margin-bottom: 2rem; }
  .hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
  .hero-img { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(26,77,184,0.12); }
  .hero-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
  .hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
  .hero-stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

  /* ?? BUTTONS ?? */
  .btn-primary {
    background: var(--blue); color: #fff;
    padding: 0.75rem 1.75rem; border-radius: 6px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: background .2s, transform .15s, box-shadow .2s;
    border: none; cursor: pointer;
  }
  .btn-primary:hover { background: #1540a0; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,77,184,0.3); }
  .btn-ghost {
    background: transparent; color: var(--blue);
    padding: 0.75rem 1.75rem; border-radius: 6px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
    border: 1.5px solid var(--blue);
    transition: background .2s, transform .15s;
  }
  .btn-ghost:hover { background: var(--blue-light); transform: translateY(-2px); }
  .btn-orange {
    background: var(--orange); color: #fff;
    padding: 0.75rem 1.75rem; border-radius: 6px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem;
    border: none; cursor: pointer;
    transition: background .2s, transform .15s;
  }
  .btn-orange:hover { background: var(--orange-dk); transform: translateY(-2px); }

  /* ?? SECTION COMMON ?? */
  .section-pad { padding: 5.5rem 0; }
  .section-alt { background: var(--bg); }
  .eyebrow {
    font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 0.6rem; display: block;
  }
  .section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 800; line-height: 1.18; letter-spacing: -0.02em;
    color: var(--text); margin-bottom: 1rem;
  }
  .section-sub { font-size: 1rem; color: var(--text-soft); max-width: 540px; line-height: 1.7; }
  .text-center { text-align: center; }
  .section-sub.center { margin: 0 auto; }
  .section-divider { height: 1px; background: var(--border); }

  /* ?? FEATURE SPLIT ?? */
  .feature-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center;
  }
  .feature-split.reverse { direction: rtl; }
  .feature-split.reverse > * { direction: ltr; }
  @media (max-width: 800px) {
    .feature-split, .feature-split.reverse { grid-template-columns: 1fr; direction: ltr; gap: 2rem; }
  }
  .feature-img { border-radius: 14px; overflow: hidden; box-shadow: 0 16px 48px rgba(26,77,184,0.1); }
  .feature-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
  .feature-check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 1.25rem 0 1.75rem; }
  .feature-check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.95rem; color: var(--text-soft); line-height: 1.55; }
  .feature-check-list li::before {
    content: '';
    display: block; width: 18px; height: 18px; flex-shrink: 0;
    background: var(--blue-light); border-radius: 50%; margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%231a4db8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
  }

  /* ?? FEATURE GRID (small cards) ?? */
  .feature-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2.5rem;
  }
  .feature-card {
    background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px;
    padding: 1.5rem; transition: border-color .2s, box-shadow .2s, transform .2s;
  }
  .feature-card:hover { border-color: var(--blue-mid); box-shadow: 0 8px 28px rgba(26,77,184,0.1); transform: translateY(-3px); }
  .feature-card-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--blue-light); display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; color: var(--blue);
  }
  .feature-card h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
  .feature-card p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.6; }

  /* ?? QR LEADERBOARD MOCKUP ?? */
  .qr-mockup {
    background: var(--bg-blue); border-radius: 16px; padding: 2.5rem 2rem;
    color: #fff; box-shadow: 0 20px 60px rgba(13,42,107,0.25);
  }
  .qr-mockup-title { font-size: 0.7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; }
  .qr-mockup-head { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.25rem; }
  .qr-mockup-sub { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
  .lb-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.75rem; border-radius: 8px; margin-bottom: 0.4rem; font-size: 0.85rem; }
  .lb-row:nth-child(1) { background: rgba(245,166,35,0.2); }
  .lb-row:nth-child(2) { background: rgba(255,255,255,0.07); }
  .lb-row:nth-child(3) { background: rgba(255,255,255,0.07); }
  .lb-pts { font-weight: 700; color: var(--orange); }

  /* ?? NOTIFICATIONS MOCKUP ?? */
  .notif-mockup {
    background: var(--bg-white); border-radius: 14px; padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(26,77,184,0.1); border: 1px solid var(--border);
    display: flex; flex-direction: column; gap: 0.75rem;
  }
  .notif-item {
    display: flex; gap: 0.75rem; align-items: flex-start;
    background: var(--bg); border-radius: 8px; padding: 0.75rem;
  }
  .notif-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 4px; }
  .notif-dot.orange { background: var(--orange); }
  .notif-text { font-size: 0.82rem; color: var(--text-soft); line-height: 1.5; }
  .notif-text strong { color: var(--text); font-weight: 600; }

  /* ?? BRANDED APP SECTION ?? */
  .brand-strip {
    background: var(--bg-blue); color: #fff; border-radius: 20px;
    padding: 4rem 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  }
  @media (max-width: 720px) { .brand-strip { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; } }
  .brand-strip .eyebrow { color: var(--orange); }
  .brand-strip .section-title { color: #fff; }
  .brand-strip .section-sub { color: rgba(255,255,255,0.7); }
  .brand-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.25rem; }
  .brand-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.93rem; color: rgba(255,255,255,0.8); }
  .brand-list li::before {
    content: ''; display: block; width: 18px; height: 18px; flex-shrink: 0;
    border-radius: 50%; margin-top: 1px;
    background: rgba(245,166,35,0.25);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%23f5a623' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
  }

  /* ?? CONTACT ?? */
  .contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: start; }
  @media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
  .contact-form-card {
    background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px;
    padding: 2.25rem; box-shadow: 0 8px 40px rgba(26,77,184,0.08);
  }
  .form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
  .form-group label { font-size: 0.78rem; font-weight: 600; color: var(--text-soft); letter-spacing: .03em; }
  .form-group input, .form-group select, .form-group textarea {
    background: var(--bg); border: 1px solid var(--border); border-radius: 7px;
    padding: 0.65rem 0.85rem; color: var(--text); font-size: 0.9rem; font-family: inherit;
    outline: none; transition: border-color .2s; width: 100%;
  }
  .form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,77,184,0.08); }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  @media (max-width: 500px) { .form-row-2 { grid-template-columns: 1fr; } }
  .form-error { color: #dc2626; font-size: 0.82rem; margin-top: 0.5rem; display: none; }
  .form-sending { text-align: center; padding: 2rem 0; color: var(--text-soft); display: none; }
  .form-done { text-align: center; padding: 2rem 0; display: none; }
  .form-done-check { width: 52px; height: 52px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: #16a34a; font-size: 1.4rem; }
  .form-done h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
  .form-done p { color: var(--text-soft); font-size: 0.88rem; }
  .contact-info-item { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 1.25rem; }
  .ci-icon {
    width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
    background: var(--blue-light); display: flex; align-items: center; justify-content: center; color: var(--blue);
  }
  .ci-lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 1px; }
  .ci-val { font-size: 0.9rem; font-weight: 500; color: var(--text); }
  .ci-val a { color: var(--blue); text-decoration: none; }
  .ci-val a:hover { text-decoration: underline; }

  /* ?? FOOTER ?? */
  footer {
    background: var(--bg-blue); color: rgba(255,255,255,0.6);
    padding: 2.5rem 1.5rem; text-align: center; font-size: 0.85rem;
  }
  footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
  footer a:hover { color: #fff; }

  @media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .hero-stats { gap: 1.25rem; }
  }

  /* ?? Scroll reveal ?? */
  html.cc-motion [data-reveal] {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
  }
  [data-reveal='fade-up']    { transform: translateY(52px); }
  [data-reveal='fade-right'] { transform: translateX(-52px); }
  [data-reveal='fade-left']  { transform: translateX(52px); }
  [data-reveal='scale']      { transform: scale(0.93); }
  html.cc-motion [data-reveal].revealed     { opacity: 1 !important; transform: none !important; }
  [data-delay='1'] { transition-delay: 0.12s; }
  [data-delay='2'] { transition-delay: 0.24s; }
  [data-delay='3'] { transition-delay: 0.38s; }
  [data-delay='4'] { transition-delay: 0.52s; }

  html.cc-motion [data-stagger] > * {
    opacity: 0; transform: translateY(38px);
    transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
  }
  html.cc-motion [data-stagger].revealed > * { opacity: 1; transform: none; }
  html.cc-motion [data-stagger].revealed > *:nth-child(1) { transition-delay: 0s; }
  html.cc-motion [data-stagger].revealed > *:nth-child(2) { transition-delay: 0.13s; }
  html.cc-motion [data-stagger].revealed > *:nth-child(3) { transition-delay: 0.26s; }
  html.cc-motion [data-stagger].revealed > *:nth-child(4) { transition-delay: 0.39s; }

  /* Parallax image host — slight over-zoom so translateY never exposes edges */
  .parallax-img { overflow: hidden; }
  .parallax-img img { transform: scale(1.12); will-change: transform; transition: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } html.cc-motion [data-reveal], html.cc-motion [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; } .parallax-img img { transform: none !important; } }


#conference-content { display: block; }
