:root {
    --ink: #172033;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #dfe4ea;
    --surface: #ffffff;
    --soft: #f5f7fa;
    --purple: #6038df;
    --purple-dark: #4e2bc4;
    --purple-soft: #f1edff;
    --teal: #0b756c;
    --teal-soft: #e8f6f3;
    --terracotta: #b95732;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Pyidaungsu", "Myanmar Text", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { min-width: 320px; background: var(--surface); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a, button { color: inherit; font: inherit; letter-spacing: 0; }
a { text-decoration: none; }
button { cursor: pointer; }
.content-shell, .nav-shell, .hero-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 100; height: 76px; border-bottom: 1px solid rgba(223,228,234,.88); background: rgba(255,255,255,.95); backdrop-filter: blur(16px); }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; background: var(--purple); color: #fff; font-size: 12px; }
.brand-name { font-size: 22px; }
.site-menu { display: flex; align-items: center; gap: 28px; color: var(--ink-soft); font-size: 13px; font-weight: 750; }
.site-menu > a:not(.nav-demo):not(.nav-login):hover { color: var(--purple); }
.site-menu .nav-demo, .site-menu .nav-login { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 8px; }
.site-menu .nav-demo { border: 1px solid var(--line); background: var(--surface); }
.site-menu .nav-login { border: 1px solid var(--purple); background: var(--purple); color: #fff; }
.site-menu .nav-login:hover { background: var(--purple-dark); }
.menu-toggle { width: 44px; height: 44px; display: none; place-items: center; align-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.menu-toggle span { width: 20px; height: 2px; display: block; background: var(--ink); }

.hero { position: relative; height: calc(100svh - 100px); min-height: 570px; max-height: 780px; overflow: hidden; background: #243038 url("../images/nayyar-hero.jpg") center center / cover no-repeat; color: #fff; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,26,34,.92) 0%, rgba(15,26,34,.74) 42%, rgba(15,26,34,.18) 74%, rgba(15,26,34,.06) 100%); }
.hero-shell { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; }
.hero-content { width: min(690px, 68%); padding: 36px 0 42px; }
.eyebrow, .section-kicker { color: #bfe9dd; font-size: 11px; font-weight: 900; }
.hero h1 { margin-top: 15px; font-size: 72px; line-height: 1; letter-spacing: 0; }
.hero-heading { max-width: 680px; margin-top: 14px; font-size: 31px; font-weight: 850; line-height: 1.42; }
.hero-copy { max-width: 650px; margin-top: 18px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 850; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { border-color: var(--purple); background: var(--purple); color: #fff; }
.button-primary:hover { background: var(--purple-dark); }
.button-light { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.94); color: var(--ink); }
.button-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover { background: var(--ink); color: #fff; }
.hero-surfaces { display: flex; flex-wrap: wrap; gap: 0; margin-top: 29px; color: rgba(255,255,255,.75); font-size: 10px; font-weight: 800; }
.hero-surfaces span { padding: 0 15px; border-right: 1px solid rgba(255,255,255,.28); }
.hero-surfaces span:first-child { padding-left: 0; }
.hero-surfaces span:last-child { border-right: 0; }

.intro-band { border-bottom: 1px solid var(--line); background: #eef2f3; }
.intro-grid { min-height: 126px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 52px; }
.intro-grid > p { font-size: 18px; font-weight: 800; line-height: 1.65; }
.intro-grid dl { display: grid; grid-template-columns: repeat(3, 1fr); }
.intro-grid dl > div { min-width: 0; padding: 4px 18px; border-left: 1px solid #cdd5db; }
.intro-grid dt { color: var(--teal); font-size: 14px; font-weight: 900; }
.intro-grid dd { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 750; }

.section { padding: 96px 0; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-kicker { color: var(--teal); }
.section-heading h2, .workflow-heading h2, .cta-layout h2 { margin-top: 11px; font-size: 39px; line-height: 1.4; }
.section-heading > p:last-child, .workflow-heading > p:last-child, .cta-layout > div > p:last-child { margin-top: 13px; color: var(--muted); font-size: 14px; line-height: 1.85; }

.platform-section { background: var(--surface); }
.surface-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.surface-card { min-height: 440px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.surface-card::before { width: 54px; height: 4px; margin-bottom: 25px; background: var(--purple); content: ""; }
.surface-miniapp::before { background: var(--teal); }
.surface-admin::before { background: var(--terracotta); }
.surface-number { color: #a0a9b6; font-size: 11px; font-weight: 900; }
.surface-label { margin-top: 21px; color: var(--muted); font-size: 9px; font-weight: 900; }
.surface-card h3 { margin-top: 5px; font-size: 25px; }
.surface-card > p:not(.surface-label) { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.surface-card ul { display: grid; gap: 10px; margin-top: 22px; list-style: none; }
.surface-card li { position: relative; padding-left: 18px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.surface-card li::before { position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); content: ""; }
.surface-miniapp li::before { background: var(--teal); }
.surface-admin li::before { background: var(--terracotta); }
.surface-card > a { align-self: flex-start; margin-top: auto; padding-top: 24px; color: var(--teal); font-size: 12px; font-weight: 900; }

.workflow-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f1f4f3; }
.workflow-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr); gap: 80px; align-items: start; }
.workflow-heading { position: sticky; top: 110px; }
.workflow-list { display: grid; list-style: none; }
.workflow-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid #cad3d0; }
.workflow-list li:last-child { border-bottom: 1px solid #cad3d0; }
.workflow-list li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #aebcb8; border-radius: 50%; color: var(--teal); font-size: 10px; font-weight: 900; }
.workflow-list h3 { font-size: 18px; }
.workflow-list p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.8; }

.benefits-section { background: var(--surface); }
.compact-heading { margin-bottom: 36px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.benefit-grid article { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-grid span { color: var(--purple); font-size: 10px; font-weight: 900; }
.benefit-grid h3 { margin-top: 24px; font-size: 17px; }
.benefit-grid p { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.8; }

.cta-section { padding: 72px 0; border-top: 1px solid #bed6d0; background: var(--teal-soft); }
.cta-layout { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.cta-layout > div:first-child { max-width: 730px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.site-footer { padding: 28px 0; background: var(--ink); color: #fff; }
.footer-layout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.footer-brand .brand-mark { background: #fff; color: var(--ink); }
.footer-brand .brand-name { font-size: 17px; }
.footer-layout p { color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.6; }
.footer-layout p:last-child { text-align: right; }

@media (max-width: 980px) {
    .site-menu { gap: 16px; }
    .site-menu > a:not(.nav-demo):not(.nav-login) { display: none; }
    .hero-content { width: min(720px, 82%); }
    .hero h1 { font-size: 62px; }
    .hero-heading { font-size: 27px; }
    .intro-grid { grid-template-columns: 1fr; gap: 22px; padding: 26px 0; }
    .surface-grid { grid-template-columns: 1fr; }
    .surface-card { min-height: 0; }
    .workflow-layout { grid-template-columns: 1fr; gap: 38px; }
    .workflow-heading { position: static; max-width: 760px; }
    .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-layout { grid-template-columns: 1fr; gap: 28px; }
    .cta-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
    .content-shell, .nav-shell, .hero-shell { width: min(100% - 28px, 1180px); }
    .site-header { height: 68px; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-name { font-size: 19px; }
    .menu-toggle { display: grid; }
    .site-menu { position: absolute; left: 14px; right: 14px; top: 62px; display: none; align-items: stretch; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 18px 34px rgba(23,32,51,.15); }
    .site-menu.open { display: grid; }
    .site-menu > a:not(.nav-demo):not(.nav-login) { min-height: 42px; display: flex; align-items: center; padding: 0 12px; }
    .site-menu .nav-demo, .site-menu .nav-login { width: 100%; }
    .hero { height: calc(100svh - 90px); min-height: 590px; max-height: 760px; background-position: 62% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(15,26,34,.92) 0%, rgba(15,26,34,.77) 68%, rgba(15,26,34,.45) 100%); }
    .hero-shell { align-items: flex-end; }
    .hero-content { width: 100%; padding-bottom: 32px; }
    .hero h1 { font-size: 48px; }
    .hero-heading { font-size: 23px; line-height: 1.45; }
    .hero-copy { font-size: 13px; line-height: 1.8; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .button { width: 100%; }
    .hero-surfaces { gap: 7px 0; }
    .hero-surfaces span { padding: 0 8px; font-size: 8px; }
    .intro-grid > p { font-size: 15px; }
    .intro-grid dl > div { padding: 4px 10px; }
    .intro-grid dl > div:first-child { padding-left: 0; border-left: 0; }
    .intro-grid dt { font-size: 12px; }
    .intro-grid dd { font-size: 8px; }
    .section { padding: 68px 0; }
    .section-heading h2, .workflow-heading h2, .cta-layout h2 { font-size: 29px; }
    .surface-card { padding: 23px; }
    .workflow-list li { grid-template-columns: 44px 1fr; gap: 13px; padding: 23px 0; }
    .workflow-list li > span { width: 38px; height: 38px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit-grid article { min-height: 0; }
    .cta-section { padding: 58px 0; }
    .cta-actions { display: grid; }
    .footer-layout { grid-template-columns: 1fr; gap: 16px; }
    .footer-layout p:last-child { text-align: left; }
}

@media (max-width: 370px) {
    .hero { min-height: 620px; }
    .hero h1 { font-size: 42px; }
    .hero-heading { font-size: 20px; }
    .hero-surfaces span { width: 100%; padding: 0; border: 0; }
    .intro-grid dl { grid-template-columns: 1fr; gap: 10px; }
    .intro-grid dl > div { padding: 0; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
