:root {
    --navy: #0a1628;
    --blue: #1a4fd6;
    --blue-mid: #2563eb;
    --blue-light: #dbeafe;
    --teal: #0d9488;
    --teal-light: #ccfbf1;
    --gold: #f59e0b;
    --white: #ffffff;
    --off-white: #f8faff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-800: #1e293b;
    --text: #0f172a;
  }

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

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

  h1, h2, h3, h4, .logo-text { font-family: 'Syne', sans-serif; }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(235, 236, 237, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .logo-icon {
    width: 42px; height: 42px; flex-shrink: 0;
  }
  .logo-text { color: #e8201a; font-size: 1.45rem; font-weight: 800; letter-spacing: 1px; font-family: 'Syne', sans-serif; }
  .logo-text span { color: #e8201a; }

  nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
  nav ul a { color: rgba(2, 7, 13, 0.75); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color 0.2s; }
  nav ul a:hover { color: rgb(76, 30, 40); }
  .nav-cta {
    background: var(--blue); color: white !important; padding: 0.55rem 1.25rem;
    border-radius: 8px; font-weight: 500 !important; transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--blue-mid) !important; color: white !important; }

  /* HERO */
  .hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    padding: 7rem 2rem 4rem;
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26,79,214,0.22) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 80% 70%, rgba(13,148,136,0.15) 0%, transparent 60%);
  }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8); padding: 6px 16px; border-radius: 100px;
    font-size: 0.8rem; letter-spacing: 0.5px; margin-bottom: 2rem;
    animation: fadeUp 0.6s ease both;
  }
  .hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
  .hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 800;
    color: white; line-height: 1.05; letter-spacing: -2px;
    max-width: 900px; margin-bottom: 1.5rem;
    animation: fadeUp 0.7s 0.1s ease both;
  }
  .hero h1 em { font-style: normal; color: var(--gold); }
  .hero p {
    color: rgba(255,255,255,0.65); font-size: 1.15rem; line-height: 1.7;
    max-width: 560px; margin-bottom: 2.5rem; font-weight: 300;
    animation: fadeUp 0.7s 0.2s ease both;
  }
  .hero-btns {
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
    animation: fadeUp 0.7s 0.3s ease both;
  }
  .btn-primary {
    background: var(--blue); color: white; text-decoration: none;
    padding: 0.85rem 2rem; border-radius: 10px; font-weight: 500; font-size: 1rem;
    transition: background 0.2s, transform 0.15s; border: none; cursor: pointer;
  }
  .btn-primary:hover { background: var(--blue-mid); transform: translateY(-1px); }
  .btn-outline {
    background: transparent; color: white; text-decoration: none;
    padding: 0.85rem 2rem; border-radius: 10px; font-weight: 500; font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.25); transition: border-color 0.2s, transform 0.15s; cursor: pointer;
  }
  .btn-outline:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }

  .hero-stats {
    display: flex; gap: 3rem; margin-top: 5rem;
    animation: fadeUp 0.7s 0.4s ease both;
  }
  .stat { text-align: center; }
  .stat-n { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: white; }
  .stat-l { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

  /* SECTION SHARED */
  section { padding: 6rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-label {
    display: inline-block; background: var(--blue-light); color: var(--blue);
    font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 100px; margin-bottom: 1rem;
  }
  .section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800;
    color: var(--navy); letter-spacing: -1px; line-height: 1.1; margin-bottom: 1rem;
  }
  .section-subtitle { color: var(--gray-500); font-size: 1.00rem; line-height: 1.7; max-width: auto; }

  /* CHALLENGE */
  .challenge { background: var(--off-white); }
  .challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
  .challenge-text p { color: var(--gray-500); line-height: 1.8; margin-bottom: 1.2rem; }
  .challenge-visual {
    background: var(--navy); border-radius: 20px; padding: 2rem;
    position: relative; overflow: hidden;
  }
  .challenge-visual::before {
    content: '';
    position: absolute; top: -30px; right: -30px; width: 120px; height: 120px;
    border-radius: 50%; background: rgba(26,79,214,0.3);
  }
  .data-nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .node {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px; padding: 1rem; text-align: center;
    font-size: 0.75rem; color: rgba(255,255,255,0.7);
  }
  .node-icon { font-size: 1.5rem; margin-bottom: 6px; }
  .node.linked { border-color: var(--teal); background: rgba(13,148,136,0.15); color: rgba(255,255,255,0.9); }
  .connector-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0; }
  .conn-line { flex: 1; height: 1px; background: rgba(13,148,136,0.5); }
  .conn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

  /* HOW IT WORKS */
  .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
  .step-card {
    background: white; border: 1px solid var(--gray-200); border-radius: 16px;
    padding: 2rem; position: relative; transition: box-shadow 0.2s, transform 0.2s;
  }
  .step-card:hover { box-shadow: 0 8px 32px rgba(26,79,214,0.1); transform: translateY(-3px); }
  .step-num {
    font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800;
    color: var(--blue-light); line-height: 1; margin-bottom: 1rem;
  }
  .step-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
  .step-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.7; }
  .step-tag {
    display: inline-block; background: var(--teal-light); color: var(--teal);
    font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 100px;
    margin-top: 1rem; letter-spacing: 0.5px;
  }

  /* BENEFITS */
  .benefits { background: var(--navy); }
  .benefits .section-title { color: white; }
  .benefits .section-subtitle { color: rgba(255,255,255,0.55); }
  .benefits .section-label { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
  .benefits-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
  .benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .benefit-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 1.75rem; transition: background 0.2s;
  }
  .benefit-card:hover { background: rgba(255,255,255,0.08); }
  .benefit-icon {
    width: 44px; height: 44px; border-radius: 10px; margin-bottom: 1.2rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  }
  .benefit-card h3 { color: white; font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; }
  .benefit-card p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.7; }

  /* APPLICATIONS */
  .apps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .app-card {
    border: 1px solid var(--gray-200); border-radius: 16px; padding: 1.75rem;
    display: flex; gap: 1.25rem; align-items: flex-start; transition: box-shadow 0.2s;
  }
  .app-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
  .app-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  }
  .app-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
  .app-card p { color: var(--gray-500); font-size: 0.88rem; line-height: 1.65; }

  /* DEMO FORM */
  .demo { background: var(--off-white); }
  .demo-inner {
    background: white; border-radius: 24px; border: 1px solid var(--gray-200);
    padding: 3rem; max-width: 680px; margin: 3rem auto 0;
  }
  .demo-inner h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: -0.5px; }
  .demo-inner p { color: var(--gray-500); margin-bottom: 2rem; font-size: 0.8rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
  .form-group label { font-size: 0.82rem; font-weight: 500; color: var(--gray-800); }
  .form-group input, .form-group select, .form-group textarea {
    padding: 0.7rem 1rem; border: 1px solid var(--gray-200); border-radius: 10px;
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text);
    outline: none; transition: border-color 0.2s;
  }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-submit {
    width: 100%; background: var(--blue); color: white; border: none;
    padding: 0.9rem; border-radius: 10px; font-family: 'Syne', sans-serif;
    font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.2s;
  }
  .form-submit:hover { background: var(--blue-mid); }
  .form-note { text-align: center; font-size: 0.78rem; color: var(--gray-500); margin-top: 0.75rem; }
  .form-success {
    display: none; background: var(--teal-light); border: 1px solid var(--teal);
    border-radius: 10px; padding: 1rem 1.25rem; color: var(--teal);
    font-size: 0.9rem; margin-top: 1rem; text-align: center;
  }

  /* CONTACT */
  .contact { background: white; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; margin-top: 3rem; }
  .contact-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1.2rem; }
  .contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
  .contact-item-icon {
    width: 40px; height: 40px; border-radius: 10px; background: var(--blue-light);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem;
  }
  .contact-item h4 { font-size: 0.82rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; }
  .contact-item p, .contact-item a { color: var(--navy); font-size: 0.92rem; text-decoration: none; font-weight: 400; }
  .contact-item a:hover { color: var(--blue); }
  .contact-form-card {
    background: var(--off-white); border-radius: 20px; padding: 2.5rem;
    border: 1px solid var(--gray-200);
  }
  .contact-form-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }

  /* FOOTER */
  footer {
    background: var(--navy); padding: 3rem 2rem;
    text-align: center; color: rgba(255,255,255,0.45); font-size: 0.85rem;
  }
  footer a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 1rem; }
  footer a:hover { color: white; }
  .footer-logo { margin-bottom: 1.5rem; }
  .footer-links { margin-bottom: 1.5rem; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 768px) {
    .challenge-grid, .steps-grid, .benefits-grid, .apps-grid, .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
    nav ul { display: none; }
  }