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

  :root {
    --navy: #1E3A5F;
    --navy-light: #2E5080;
    --navy-pale: #EBF1F8;
    --green: #27AE60;
    --green-pale: #E8F8EF;
    --amber: #F4A020;
    --amber-pale: #FEF4E3;
    --text: #1a1a2e;
    --muted: #6B7280;
    --border: #E5E9F0;
    --bg: #F7F9FC;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247,249,252,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  .nav-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-logo span { font-size: 1.4rem; }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--navy); }

  /* HERO */
  .hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 80% 20%, rgba(30,58,95,0.08) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 10% 80%, rgba(39,174,96,0.06) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--amber-pale);
    color: #92600A;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
  }
  .hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }
  h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--navy);
    margin-bottom: 1.25rem;
  }
  h1 em {
    font-style: normal;
    color: var(--green);
  }
  .hero-desc {
    font-size: 1.05rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 460px;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--navy);
    border: 1.5px solid var(--border);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s;
  }
  .btn-secondary:hover { border-color: var(--navy); transform: translateY(-1px); }

  /* PHONE MOCKUP */
  .phone-wrap {
    display: flex;
    justify-content: center;
    position: relative;
  }
  .phone {
    width: 260px;
    height: 520px;
    background: var(--navy);
    border-radius: 36px;
    position: relative;
    box-shadow: 0 40px 80px rgba(30,58,95,0.25), 0 8px 24px rgba(30,58,95,0.15);
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.1);
  }
  .phone-screen {
    position: absolute;
    inset: 8px;
    background: #F7F9FC;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .phone-map {
    flex: 1;
    background: linear-gradient(135deg, #d4e8c2 0%, #b8d9a0 30%, #c8e0d0 60%, #a8c8b8 100%);
    position: relative;
    overflow: hidden;
  }
  .phone-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(255,255,255,0.15) 20px, rgba(255,255,255,0.15) 21px),
      repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(255,255,255,0.15) 20px, rgba(255,255,255,0.15) 21px);
  }
  .map-pin {
    position: absolute;
    font-size: 24px;
    transform: translate(-50%, -100%);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: bounce 2s ease-in-out infinite;
  }
  @keyframes bounce {
    0%, 100% { transform: translate(-50%, -100%); }
    50% { transform: translate(-50%, -110%); }
  }
  .map-pin.p1 { left: 40%; top: 35%; }
  .map-pin.p2 { left: 65%; top: 50%; }
  .map-pin.p3 { left: 30%; top: 60%; }
  .map-pin.active { font-size: 28px; }
  .phone-checkin-card {
    background: white;
    margin: 8px;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
  }
  .phone-checkin-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
  }
  .phone-friend-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
  }
  .phone-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
  }
  .phone-friend-text { font-size: 0.62rem; color: var(--muted); }
  .phone-friend-text strong { color: var(--text); font-weight: 500; }
  .phone-tabs {
    background: white;
    display: flex;
    border-top: 1px solid var(--border);
    padding: 8px 0 4px;
  }
  .phone-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 8px;
    color: var(--muted);
  }
  .phone-tab.active { color: var(--navy); }
  .phone-tab-icon { font-size: 14px; }
  .phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: var(--navy);
    border-radius: 0 0 14px 14px;
    z-index: 10;
  }

  /* FLOATING CARDS */
  .float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
  }
  .float-card.fc1 { top: 15%; right: -20px; animation-delay: 0s; }
  .float-card.fc2 { bottom: 20%; left: -30px; animation-delay: 1.5s; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
  .float-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
  }

  /* SECTION */
  section { padding: 5rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
  }
  h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.15;
  }
  .section-desc {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 300;
    max-width: 520px;
    margin-bottom: 3rem;
  }

  /* FEATURES */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  .feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30,58,95,0.08);
  }
  .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
  }
  .feature-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
  }
  .feature-desc {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.6;
  }

  /* INSTALL */
  .install-section { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  .install-card {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
  }
  .install-card.android { border-color: rgba(39,174,96,0.3); background: var(--green-pale); }
  .install-card.ios { border-color: rgba(30,58,95,0.2); background: var(--navy-pale); }
  .install-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
  }
  .install-platform-icon { font-size: 1.5rem; }
  .install-platform-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
  }
  .install-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--green);
    color: white;
  }
  .install-badge.ios-badge { background: var(--navy); }
  .install-steps { list-style: none; }
  .install-step {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    align-items: flex-start;
  }
  .step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .install-card.android .step-num { background: var(--green); }
  .step-text {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
  }
  .step-text small { color: var(--muted); display: block; font-size: 0.78rem; margin-top: 2px; }
  .qr-container {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
  }
  .qr-img {
    width: 80px;
    height: 80px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
  }
  .qr-img img { width: 100%; height: 100%; object-fit: cover; }
  .qr-text { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
  .qr-text strong { display: block; color: var(--navy); font-size: 0.85rem; margin-bottom: 3px; }
  .apk-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    background: var(--green);
    color: white;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s;
  }
  .apk-link:hover { background: #219150; }

  /* TESTING GUIDE */
  .testing-section { background: var(--navy); color: white; }
  .testing-section h2 { color: white; }
  .testing-section .section-label { color: rgba(255,255,255,0.5); }
  .testing-section .section-desc { color: rgba(255,255,255,0.6); }
  .test-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
  }
  .test-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 1.5rem;
  }
  .test-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.12);
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  .test-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    margin-bottom: 0.75rem;
  }
  .test-items { list-style: none; }
  .test-items li {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    gap: 8px;
  }
  .test-items li::before { content: '→'; opacity: 0.4; flex-shrink: 0; }
  .test-items li:last-child { border-bottom: none; }

  /* FEEDBACK */
  .feedback-section { background: var(--bg); }
  .feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .feedback-visual {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
  }
  .feedback-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
  }
  .feedback-field {
    margin-bottom: 1rem;
  }
  .feedback-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .feedback-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.825rem;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
  }
  .feedback-input.textarea { height: 80px; resize: none; }
  .feedback-submit {
    width: 100%;
    padding: 12px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
  }
  .feedback-submit:hover { background: var(--navy-light); }
  .feedback-note {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.5rem;
    text-align: center;
  }
  .feedback-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
  }
  .feedback-text p {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1rem;
  }
  .feedback-options { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
  .feedback-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text);
  }
  .feedback-option-icon { font-size: 1.1rem; }

  /* FOOTER */
  footer {
    background: var(--navy);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
  }
  footer strong { color: white; }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .phone-wrap { order: -1; }
    .install-grid { grid-template-columns: 1fr; }
    .feedback-grid { grid-template-columns: 1fr; }
    nav { padding: 0 1rem; }
    .nav-links { display: none; }
    section { padding: 3.5rem 1.25rem; }
  }
