:root {
  --navy: #0a2c4f;
  --blue: #1267d6;
  --blue-light: #eaf4ff;
  --green: #19a974;
  --green-light: #eafaf4;
  --text: #17324d;
  --muted: #66788a;
  --white: #ffffff;
  --line: #dce7f0;
  --bg: #f7fbff;
  --shadow: 0 24px 70px rgba(12, 55, 92, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220,231,240,0.8);
}

.nav-wrap {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(210px, 20vw, 310px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}
.brand-mark, .app-logo {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: white; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 8px 22px rgba(18, 103, 214, 0.22);
}
.brand-name { font-size: 1.06rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.brand-subtitle { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; margin-top: 4px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 28px);
  font-size: 0.95rem;
  font-weight: 600;
  flex-shrink: 0;
}
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--blue); }
.nav-cta { padding: 11px 18px; border-radius: 999px; color: white !important; background: var(--navy); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 6px 0; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 165px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: var(--blue); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 18px; }
.eyebrow.light { color: #bff0df; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 5.8vw, 5.6rem); line-height: 1.04; letter-spacing: -0.055em; color: var(--navy); margin-bottom: 28px; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.1; letter-spacing: -0.045em; color: var(--navy); margin-bottom: 22px; }
h3 { font-size: 1.3rem; color: var(--navy); }
.hero-copy > p { max-width: 670px; font-size: 1.12rem; color: var(--muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue), #1182df); box-shadow: 0 14px 28px rgba(18,103,214,.22); }
.button-secondary { background: white; color: var(--navy); border-color: var(--line); }
.button-light { background: white; color: var(--navy); }
.full-width { width: 100%; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-points strong, .hero-points span { display: block; }
.hero-points strong { color: var(--navy); }
.hero-points span { color: var(--muted); font-size: .86rem; margin-top: 3px; }
.hero-bg { position: absolute; border-radius: 50%; filter: blur(5px); }
.hero-bg-one { width: 500px; height: 500px; background: rgba(18, 103, 214, 0.08); right: -150px; top: 80px; }
.hero-bg-two { width: 320px; height: 320px; background: rgba(25, 169, 116, 0.08); left: -140px; bottom: -70px; }

.hero-visual { position: relative; z-index: 2; }
.dashboard-card { background: rgba(255,255,255,.94); border: 1px solid rgba(220,231,240,.95); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(1deg); }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--navy); }
.status-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; background: var(--green); margin-right: 8px; box-shadow: 0 0 0 5px rgba(25,169,116,.12); }
.live-badge { color: var(--green); background: var(--green-light); border-radius: 999px; padding: 5px 9px; font-size: .65rem; }
.dashboard-main { padding: 24px; background: #f8fbfd; }
.metric-card { background: white; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
.metric-card span, .metric-card small { display: block; color: var(--muted); }
.metric-card strong { display: block; color: var(--navy); font-size: 2rem; margin: 8px 0 2px; }
.metric-highlight { background: linear-gradient(135deg, #edf6ff, #ecfbf6); }
.metric-highlight strong { font-size: 3rem; color: var(--blue); }
.metric-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin: 14px 0; }
.chat-preview { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.chat-title { font-size: .78rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.message { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: .8rem; margin-bottom: 10px; line-height: 1.5; }
.message-in { background: #edf2f7; color: var(--text); border-bottom-left-radius: 4px; }
.message-out { background: #dcf8eb; color: #164a38; margin-left: auto; border-bottom-right-radius: 4px; }

.services-section { background: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading p, .solution-copy > p, .about-copy p, .contact-copy > p { color: var(--muted); font-size: 1.05rem; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(12,55,92,.1); }
.icon-wrap { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-light); color: var(--blue); font-weight: 800; margin-bottom: 22px; }
.service-card:nth-child(2) .icon-wrap, .service-card:nth-child(4) .icon-wrap { background: var(--green-light); color: var(--green); }
.service-card p { color: var(--muted); font-size: .94rem; }

.solutions-section { background: var(--bg); }
.split-grid, .about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.solution-visual { display: flex; justify-content: center; }
.phone-shell { width: 330px; padding: 12px; border-radius: 42px; background: #09243e; box-shadow: var(--shadow); }
.phone-top { width: 100px; height: 20px; border-radius: 0 0 15px 15px; background: #09243e; margin: 0 auto -3px; position: relative; z-index: 2; }
.phone-screen { min-height: 600px; border-radius: 32px; background: #eef2f5; overflow: hidden; }
.app-header { display: flex; align-items: center; gap: 12px; padding: 20px 18px; background: white; border-bottom: 1px solid var(--line); }
.app-logo { width: 40px; height: 40px; }
.app-header strong, .app-header span { display: block; }
.app-header strong { font-size: .88rem; }
.app-header span { font-size: .72rem; color: var(--green); }
.app-chat { padding: 24px 16px; }
.document-card { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-top: 18px; }
.doc-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #ffe9e9; color: #d84949; font-weight: 800; font-size: .72rem; }
.document-card strong, .document-card span { display: block; }
.document-card strong { font-size: .82rem; }
.document-card span { font-size: .7rem; color: var(--muted); }
.feature-list { display: grid; gap: 20px; margin-top: 32px; }
.feature-list > div { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.feature-list > div > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: white; background: var(--green); font-weight: 800; }
.feature-list p { margin: 0; color: var(--muted); }
.feature-list strong { color: var(--navy); }

.about-section { background: white; }
.principles-card { padding: 34px; border-radius: 24px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.principles-card h3 { color: white; margin-bottom: 24px; }
.principle { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.13); }
.principle span { color: #8ec6ff; font-weight: 800; }
.principle strong { display: block; margin-bottom: 4px; }
.principle p { margin: 0; color: #c6d5e3; font-size: .9rem; }

.cta-section { padding-top: 10px; padding-bottom: 10px; }
.cta-card { padding: 50px; border-radius: 28px; color: white; background: linear-gradient(135deg, var(--blue), var(--green)); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-card h2 { color: white; margin-bottom: 10px; }
.cta-card p { margin-bottom: 0; color: rgba(255,255,255,.85); }

.contact-section { background: var(--bg); }
.contact-details { display: grid; gap: 18px; margin-top: 34px; }
.contact-details div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact-details span, .contact-details strong { display: block; }
.contact-details span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-form { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 18px 50px rgba(12,55,92,.08); }
.contact-form label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; color: var(--text); background: #fbfdff; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18,103,214,.09); }
.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note.success { color: var(--green); font-weight: 700; }

.site-footer { background: #071c30; color: white; padding: 48px 0; }
.footer-wrap { display: grid; grid-template-columns: 1.4fr 1fr auto; align-items: center; gap: 30px; }
.footer-brand { color: white; }
.site-footer p { color: #9fb0c0; margin: 8px 0 0; font-size: .88rem; }
.footer-links { display: flex; gap: 20px; color: #c3d0dc; font-size: .86rem; }
.copyright { color: #8fa2b4; font-size: .8rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .nav-wrap {
    min-height: 86px;
    gap: 20px;
  }

  .brand-logo {
    width: clamp(190px, 28vw, 250px);
    max-height: 64px;
  }

  .hero-grid,
  .split-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .hero-grid { gap: 55px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: 100%; max-width: 680px; margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .footer-wrap { grid-template-columns: 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .container { width: min(100% - 30px, 1160px); }

  .site-header {
    background: rgba(255,255,255,.97);
  }

  .nav-wrap {
    min-height: 78px;
    gap: 14px;
  }

  .brand {
    max-width: calc(100% - 64px);
    overflow: hidden;
  }

  .brand-logo {
    width: clamp(190px, 62vw, 270px);
    max-width: 100%;
    max-height: 62px;
    height: auto;
    transform: none;
    margin: 0;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 42px;
    position: relative;
    z-index: 2;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: white;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; }
  .nav-cta { text-align: center; margin-top: 4px; }

  .hero {
    padding-top: 118px;
    padding-bottom: 72px;
    overflow: hidden;
  }

  .hero-grid {
    gap: 42px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 28px 0 32px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-card {
    transform: none;
    border-radius: 22px;
  }

  .dashboard-main { padding: 16px; }
  .dashboard-top { padding: 15px 16px; }
  .metric-row { grid-template-columns: 1fr; }
  .metric-highlight strong { font-size: 2.6rem; }
  .message { max-width: 92%; }

  .cards-grid { grid-template-columns: 1fr; }
  .phone-shell { width: min(290px, 100%); }
  .phone-screen { min-height: 540px; }
  .cta-card { padding: 32px 24px; }
  .contact-form { padding: 22px; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 22px, 1160px); }

  .brand-logo {
    width: clamp(175px, 64vw, 230px);
    max-height: 56px;
  }

  h1 {
    font-size: clamp(2.25rem, 11.5vw, 3.2rem);
  }

  .eyebrow {
    font-size: .7rem;
    letter-spacing: .1em;
  }

  .button {
    min-height: 48px;
    padding-inline: 16px;
  }
}
