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

    :root {
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --primary-light: #dbeafe;
      --gray-50: #f9fafb;
      --gray-100: #f3f4f6;
      --gray-200: #e5e7eb;
      --gray-500: #6b7280;
      --gray-700: #374151;
      --gray-900: #111827;
      --green-500: #22c55e;
      --white: #ffffff;
      --radius: 12px;
    }

    /* App shell (globals.css) locks html/body to overflow:hidden; the landing must scroll */
    html, body { height: auto !important; min-height: 100% !important; overflow-x: hidden !important; overflow-y: auto !important; }
    html { scroll-behavior: smooth; }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      color: var(--gray-900);
      line-height: 1.6;
      background: var(--white);
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--gray-200);
      z-index: 100;
      padding: 0 24px;
    }
    .nav-inner {
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    .logo {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--primary);
      text-decoration: none;
      letter-spacing: -0.5px;
    }
    .logo span { color: var(--gray-900); }
    .nav-links { display: flex; gap: 24px; align-items: center; }
    .nav-links a {
      text-decoration: none;
      color: var(--gray-700);
      font-size: 0.95rem;
      font-weight: 500;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--primary); }
    .nav-cta {
      background: var(--primary) !important;
      color: var(--white) !important;
      padding: 8px 20px;
      border-radius: 8px;
      font-weight: 600 !important;
      transition: background 0.2s !important;
    }
    .nav-cta:hover { background: var(--primary-dark) !important; }

    /* LANG SWITCHER */
    .lang-switcher {
      display: flex;
      gap: 2px;
      background: var(--gray-100);
      border-radius: 8px;
      padding: 3px;
      margin-left: 8px;
    }
    .lang-btn {
      padding: 4px 10px;
      border: none;
      background: transparent;
      border-radius: 6px;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--gray-500);
      cursor: pointer;
      transition: all 0.2s;
      text-transform: uppercase;
    }
    .lang-btn.active {
      background: var(--white);
      color: var(--primary);
      box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }
    .lang-btn:hover:not(.active) { color: var(--gray-700); }

    .hamburger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      width: 32px;
      height: 32px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
    }
    .nav-mobile-lang { display: none; }
    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--gray-900);
      border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s;
    }

    /* HERO */
    .hero {
      padding: 140px 24px 80px;
      text-align: center;
      background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
    }
    .hero-badge {
      display: inline-block;
      background: var(--white);
      border: 1px solid var(--gray-200);
      padding: 6px 16px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 24px;
    }
    .hero h1 {
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1.5px;
      max-width: 720px;
      margin: 0 auto 20px;
    }
    .hero h1 .highlight {
      background: linear-gradient(135deg, var(--primary), #7c3aed);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hero p {
      font-size: 1.2rem;
      color: var(--gray-500);
      max-width: 560px;
      margin: 0 auto 36px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: all 0.2s;
    }
    .btn-primary { background: var(--primary); color: var(--white); }
    .btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
    .btn-outline { background: var(--white); color: var(--gray-700); border: 1px solid var(--gray-200); }
    .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 60px;
      flex-wrap: nowrap;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }
    .stat {
      text-align: center;
      flex: 1;
      min-width: 0;
      padding: 16px 8px;
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 14px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .stat-number { font-size: 1.6rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
    .stat-label { font-size: 0.75rem; color: var(--gray-500); margin-top: 4px; white-space: nowrap; }

    /* CAPABILITIES */
    .capabilities {
      padding: 0 24px 80px;
      background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    }
    .capabilities-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      max-width: 900px;
      margin: 0 auto;
    }
    .cap-card {
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 14px;
      padding: 24px 20px;
      text-align: center;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .cap-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .cap-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      margin: 0 auto 14px;
    }
    .cap-icon-blue { background: #dbeafe; }
    .cap-icon-amber { background: #fef3c7; }
    .cap-icon-violet { background: #ede9fe; }
    .cap-icon-teal { background: #ccfbf1; }
    .cap-icon-rose { background: #ffe4e6; }
    .cap-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
    .cap-card p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.4; }

    /* CONTENT CATALOG */
    #content { background: var(--white); }
    .content-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      max-width: 900px;
      margin: 0 auto;
    }
    .content-card {
      background: var(--gray-50);
      border: 1px solid var(--gray-200);
      border-radius: 14px;
      padding: 24px 16px;
      text-align: center;
      transition: transform 0.2s, box-shadow 0.2s;
      position: relative;
      overflow: hidden;
    }
    .content-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .content-card .content-icon {
      font-size: 1.6rem;
      margin-bottom: 10px;
    }
    .content-card .content-num {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 6px;
    }
    .content-card .content-label {
      font-size: 0.85rem;
      color: var(--gray-700);
      font-weight: 600;
      line-height: 1.3;
    }

    /* SECTION COMMON */
    section { padding: 80px 24px; }
    .section-title { text-align: center; margin-bottom: 56px; }
    .section-title h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
    .section-title p { color: var(--gray-500); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

    /* HOW IT WORKS */
    #how { background: var(--gray-50); }
    .steps {
      display: flex;
      max-width: 900px;
      margin: 0 auto;
      gap: 0;
      justify-content: center;
      position: relative;
    }
    .step {
      flex: 1;
      text-align: center;
      position: relative;
      padding: 0 20px;
    }
    /* connector line between steps */
    .step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 28px;
      right: -2px;
      width: calc(100% - 76px);
      height: 2px;
      background: repeating-linear-gradient(90deg, var(--gray-200) 0, var(--gray-200) 6px, transparent 6px, transparent 12px);
      transform: translateX(50%);
    }
    .step-num {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: var(--white);
      border: 2px solid var(--primary);
      color: var(--primary);
      font-size: 1.3rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      position: relative;
      z-index: 2;
      box-shadow: 0 4px 12px rgba(37,99,235,0.1);
    }
    .step-card {
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 14px;
      padding: 24px 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
    .step-card p { color: var(--gray-500); font-size: 0.88rem; line-height: 1.5; }

    /* REGISTRATION */
    #register { background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%); }
    .register-wrapper {
      max-width: 520px;
      margin: 0 auto;
      background: var(--white);
      border: 1px solid var(--gray-200);
      border-radius: 20px;
      padding: 44px 40px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.07);
    }
    .register-wrapper h3 {
      font-size: 1.5rem;
      font-weight: 800;
      text-align: center;
      margin-bottom: 6px;
      letter-spacing: -0.3px;
    }
    .register-wrapper .sub {
      text-align: center;
      color: var(--gray-500);
      font-size: 0.95rem;
      margin-bottom: 32px;
    }
    .form-group { margin-bottom: 20px; }
    .form-group label {
      display: block;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 7px;
      color: var(--gray-700);
      letter-spacing: 0.01em;
    }
    .form-group input {
      width: 100%;
      padding: 13px 16px;
      border: 1.5px solid var(--gray-200);
      border-radius: 10px;
      font-size: 0.95rem;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
      background: var(--gray-50);
      color: var(--gray-900);
    }
    .form-group input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
      background: var(--white);
    }
    .form-group input::placeholder { color: #b0b8c4; }
    .form-row { display: flex; gap: 14px; }
    .form-row .form-group { flex: 1; }

    /* PHONE INPUT */
    .phone-input-wrap {
      display: flex;
      align-items: stretch;
      border: 1.5px solid var(--gray-200);
      border-radius: 10px;
      background: var(--gray-50);
      overflow: hidden;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .phone-input-wrap:focus-within {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
      background: var(--white);
    }
    .phone-prefix {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 14px;
      background: var(--white);
      border-right: 1.5px solid var(--gray-200);
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--gray-700);
      white-space: nowrap;
      user-select: none;
    }
    .phone-prefix .flag {
      width: 22px;
      height: 16px;
      border-radius: 2px;
      background: linear-gradient(180deg, #00afca 50%, #00afca 50%);
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }
    .phone-prefix .flag::after {
      content: '';
      position: absolute;
      left: 1px; top: 50%;
      transform: translateY(-50%);
      width: 8px; height: 8px;
      border-radius: 50%;
      border: 1.5px solid #ffd700;
    }
    .phone-input-wrap input {
      border: none;
      background: transparent;
      padding: 13px 14px;
      font-size: 0.95rem;
      outline: none;
      flex: 1;
      min-width: 0;
      color: var(--gray-900);
      letter-spacing: 0.5px;
    }
    .phone-input-wrap input::placeholder { color: #b0b8c4; letter-spacing: 0.5px; }

    /* CUSTOM SELECT */
    .custom-select {
      position: relative;
      width: 100%;
    }
    .custom-select-trigger {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 13px 16px;
      border: 1.5px solid var(--gray-200);
      border-radius: 10px;
      background: var(--gray-50);
      cursor: pointer;
      font-size: 0.95rem;
      color: var(--gray-900);
      transition: border-color 0.2s, box-shadow 0.2s;
      user-select: none;
    }
    .custom-select-trigger:hover { border-color: #c5cdd8; }
    .custom-select.open .custom-select-trigger {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
      background: var(--white);
    }
    .custom-select-trigger .placeholder { color: #b0b8c4; }
    .custom-select-trigger .arrow {
      width: 18px; height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s;
      flex-shrink: 0;
    }
    .custom-select.open .custom-select-trigger .arrow { transform: rotate(180deg); }
    .custom-select-trigger .arrow svg { width: 14px; height: 14px; stroke: var(--gray-500); }
    .custom-select-options {
      position: absolute;
      top: calc(100% + 6px);
      left: 0; right: 0;
      background: var(--white);
      border: 1.5px solid var(--gray-200);
      border-radius: 12px;
      box-shadow: 0 12px 32px rgba(0,0,0,0.1);
      z-index: 50;
      display: none;
      overflow: hidden;
      padding: 6px;
    }
    .custom-select.open .custom-select-options { display: block; }
    .custom-select-option {
      padding: 11px 14px;
      font-size: 0.95rem;
      cursor: pointer;
      border-radius: 8px;
      transition: background 0.15s;
      color: var(--gray-700);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .custom-select-option:hover { background: var(--primary-light); color: var(--primary); }
    .custom-select-option.selected { background: var(--primary); color: var(--white); font-weight: 600; }
    .custom-select-option .opt-icon {
      width: 28px; height: 28px;
      border-radius: 8px;
      background: var(--gray-100);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.85rem;
      flex-shrink: 0;
    }
    .custom-select-option.selected .opt-icon { background: rgba(255,255,255,0.2); }
    .custom-select-option:hover .opt-icon { background: rgba(37,99,235,0.1); }

    /* HIDDEN NATIVE SELECT for form validation */
    .hidden-select {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
      pointer-events: none;
    }

    /* GIFTS BOX */
    .gifts-box {
      background: linear-gradient(135deg, #fef9e7 0%, #eef7ff 100%);
      border: 1.5px solid #fde68a;
      border-radius: 14px;
      padding: 20px;
      margin-bottom: 24px;
    }
    .gifts-title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--gray-900);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .gifts-title span { font-size: 1.2rem; }
    .gifts-subtitle {
      font-size: 0.78rem;
      color: var(--gray-500);
      margin-bottom: 12px;
    }
    .gift-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 12px;
      font-size: 0.88rem;
      color: var(--gray-700);
      line-height: 1.35;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.15s;
      border: 1.5px solid transparent;
      margin-bottom: 4px;
    }
    .gift-item:hover { background: rgba(255,255,255,0.7); }
    .gift-item.selected {
      background: var(--white);
      border-color: var(--primary);
      box-shadow: 0 2px 8px rgba(37,99,235,0.1);
    }
    .gift-radio {
      width: 18px; height: 18px;
      border-radius: 50%;
      border: 2px solid var(--gray-200);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s;
    }
    .gift-item.selected .gift-radio {
      border-color: var(--primary);
    }
    .gift-radio-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--primary);
      transform: scale(0);
      transition: transform 0.15s;
    }
    .gift-item.selected .gift-radio-dot { transform: scale(1); }
    .gift-badge {
      flex-shrink: 0;
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 700;
      background: var(--primary);
      color: var(--white);
      white-space: nowrap;
    }
    .gift-text { flex: 1; }
    .gift-text strong { color: var(--gray-900); font-weight: 700; }
    .gift-text .grade {
      display: inline-block;
      padding: 1px 7px;
      border-radius: 5px;
      background: var(--gray-100);
      color: var(--gray-700);
      font-size: 0.75em;
      font-weight: 600;
      margin-left: 4px;
      vertical-align: middle;
      letter-spacing: 0.01em;
    }
    .gift-always {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 12px;
      margin-top: 8px;
      background: rgba(37,99,235,0.06);
      border-radius: 10px;
      font-size: 0.85rem;
      color: var(--primary);
      font-weight: 600;
    }
    .gift-always-icon {
      font-size: 1.1rem;
      flex-shrink: 0;
    }

    .submit-btn {
      width: 100%;
      padding: 15px;
      border: none;
      border-radius: 12px;
      background: var(--primary);
      color: var(--white);
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
      margin-top: 10px;
      letter-spacing: 0.01em;
    }
    .submit-btn:hover { background: var(--primary-dark); box-shadow: 0 4px 16px rgba(37,99,235,0.3); }
    .submit-btn:active { transform: scale(0.98); }
    .form-note { text-align: center; font-size: 0.78rem; color: var(--gray-500); margin-top: 16px; line-height: 1.4; }
    .success-msg { display: none; text-align: center; padding: 32px 16px; }
    .success-msg .check {
      width: 72px; height: 72px;
      border-radius: 50%;
      background: #dcfce7;
      color: var(--green-500);
      font-size: 2.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }
    .success-msg h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
    .success-msg p { color: var(--gray-500); font-size: 0.95rem; }

    /* FOOTER */
    footer { background: var(--gray-900); color: var(--gray-200); padding: 48px 24px 24px; }
    .footer-inner {
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: start;
      flex-wrap: wrap;
      gap: 32px;
    }
    .footer-brand .logo { color: var(--white); }
    .footer-brand .logo span { color: var(--gray-500); }
    .footer-brand p { color: var(--gray-500); font-size: 0.9rem; margin-top: 8px; max-width: 300px; }
    .footer-links h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); margin-bottom: 12px; }
    .footer-links a { display: block; color: var(--gray-200); text-decoration: none; font-size: 0.9rem; margin-bottom: 8px; transition: color 0.2s; }
    .footer-links a:hover { color: var(--white); }
    .footer-bottom {
      max-width: 1120px;
      margin: 32px auto 0;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,0.1);
      text-align: center;
      font-size: 0.85rem;
      color: var(--gray-500);
    }

    /* MOBILE NAV */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 64px; left: 0; right: 0;
      background: var(--white);
      border-bottom: 1px solid var(--gray-200);
      padding: 16px 24px;
      flex-direction: column;
      gap: 16px;
      z-index: 99;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      text-decoration: none;
      color: var(--gray-700);
      font-size: 1rem;
      font-weight: 500;
      padding: 8px 0;
    }
    .mobile-lang {
      display: flex;
      gap: 2px;
      background: var(--gray-100);
      border-radius: 8px;
      padding: 3px;
      width: fit-content;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .nav-mobile-lang { display: flex; gap: 2px; background: var(--gray-100); border-radius: 8px; padding: 3px; margin-right: 12px; }
      .hero { padding: 120px 20px 60px; }
      .hero h1 { font-size: 2.2rem; }
      .hero p { font-size: 1rem; }
      .hero-stats { gap: 6px; }
      .stat { padding: 10px 2px; border-radius: 10px; overflow: hidden; }
      .stat-number { font-size: clamp(0.75rem, 3.5vw, 1.2rem); }
      .stat-label { font-size: clamp(0.45rem, 1.8vw, 0.65rem); white-space: normal; overflow: hidden; text-overflow: ellipsis; }
      .capabilities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .content-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .content-card .content-num { font-size: 1.4rem; }
      .steps { flex-direction: column; align-items: stretch; gap: 24px; max-width: 400px; margin: 0 auto; }
      .step { padding: 0; }
      .step:not(:last-child)::after { display: none; }
      .register-wrapper { padding: 28px 20px; }
      .form-row { flex-direction: column; gap: 0; }
      .footer-inner { flex-direction: column; }
    }
    @media (min-width: 769px) and (max-width: 1024px) {
      .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
      .content-grid { grid-template-columns: repeat(2, 1fr); }
      .hero h1 { font-size: 2.8rem; }
    }

    /* ANIMATIONS */
    .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }