:root {
  --navy: #05101f;
  --navy-2: #091b31;
  --navy-3: #0f2948;
  --blue: #00b9ff;
  --blue-2: #247dff;
  --cyan: #35d8ff;
  --white: #ffffff;
  --off-white: #f4f8fc;
  --text: #17283b;
  --muted: #637589;
  --line: #d9e4ee;
  --shadow: 0 22px 55px rgba(4, 20, 38, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(4, 14, 27, .74);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(4, 14, 27, .96); box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; font-family: Manrope, sans-serif; font-size: 27px; font-weight: 800; letter-spacing: -1.5px; color: white; }
.brand-four { color: var(--blue); font-size: 1.27em; margin: 0 1px; }
.brand-domain { margin-left: 2px; font-size: .62em; font-weight: 500; letter-spacing: -.5px; }

.hero-brand { display: none; align-items: baseline; margin-bottom: 18px; font-family: Manrope, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -1.5px; color: white; }
.hero-brand .brand-domain { margin-left: 2px; font-size: .62em; font-weight: 500; letter-spacing: -.5px; }
.headline-ai { color: var(--cyan); text-shadow: 0 0 24px rgba(53,216,255,.22); }
.main-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.84); font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: white; }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(65,207,255,.58); border-radius: 999px; color: white !important; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 9px; }
.menu-toggle span { display: block; height: 2px; background: white; margin: 5px 0; }

.hero { min-height: 780px; position: relative; display: flex; align-items: center; color: white; overflow: hidden; background: var(--navy); }
.hero-image { position: absolute; inset: 0; background-image: url('assets/ai4all-hero.jpeg'); background-size: cover; background-position: center center; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #020a14 0%, rgba(2,10,20,.99) 31%, rgba(2,10,20,.86) 46%, rgba(2,10,20,.30) 72%, rgba(2,10,20,.12) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 110px; }
.hero-copy { max-width: 660px; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 13px; line-height: 1.2; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
h1,h2,h3 { font-family: Manrope, sans-serif; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(48px, 6.4vw, 78px); letter-spacing: -.055em; margin-bottom: 26px; }
h2 { font-size: clamp(36px, 4.3vw, 54px); letter-spacing: -.045em; margin-bottom: 22px; }
h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 14px; }
.hero-lead { max-width: 620px; margin: 0 0 34px; color: rgba(255,255,255,.78); font-size: 20px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 13px 22px; cursor: pointer; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #02111f; background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 13px 35px rgba(0,185,255,.26); }
.button-secondary { color: white; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.05); }
.button-secondary.dark { color: var(--navy); border-color: #a8bfd3; background: white; }
.button.full { width: 100%; }
.hero-points { display: flex; gap: 25px; margin-top: 34px; color: rgba(255,255,255,.72); font-size: 14px; font-weight: 600; flex-wrap: wrap; }
.hero-points span::before { content: "✓"; color: var(--cyan); margin-right: 8px; }

.trust-strip { background: var(--navy-2); color: white; border-top: 1px solid rgba(255,255,255,.07); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid > div { padding: 28px 34px; border-right: 1px solid rgba(255,255,255,.08); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 15px; margin-bottom: 3px; }
.trust-grid span { color: rgba(255,255,255,.58); font-size: 13px; }

.intro { background: var(--off-white); }
.section-heading { max-width: 680px; }
.section-heading.narrow { max-width: 820px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.cards { margin-top: 58px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 8px 30px rgba(18, 50, 78, .05); }
.service-card { position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -70px; bottom: -70px; background: radial-gradient(circle, rgba(0,185,255,.11), transparent 70%); }
.icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 14px; background: #eaf8ff; color: #008dc9; font-weight: 800; }
.card p { color: var(--muted); }
.card ul, .package-card ul { padding: 0; margin: 22px 0 0; list-style: none; }
.card li, .package-card li { margin: 10px 0; color: #3e5267; }
.card li::before, .package-card li::before { content: "✓"; color: #00a9e9; font-weight: 800; margin-right: 10px; }

.packages-section { background: white; }
.packages-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.package-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: white; box-shadow: 0 12px 35px rgba(11,40,68,.06); display: flex; flex-direction: column; }
.package-card.featured { border: 2px solid var(--blue); transform: translateY(-10px); box-shadow: var(--shadow); }
.popular { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: #04111e; background: var(--cyan); padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.package-label { display: inline-block; align-self: flex-start; margin-bottom: 22px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.bronze { color: #765230; background: #f3e3d4; }
.silver { color: #46586b; background: #e9eef4; }
.gold { color: #765c09; background: #fff2ba; }
.package-intro { min-height: 74px; color: var(--muted); }
.package-card ul { flex: 1; margin-bottom: 28px; }
.text-link { color: #007db9; font-weight: 800; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.package-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

.process-section { color: white; background: linear-gradient(145deg, var(--navy), #0b2440); }
.split-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.sticky-heading { align-self: start; position: sticky; top: 125px; }
.sticky-heading p:not(.eyebrow) { color: rgba(255,255,255,.6); }
.timeline article { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); }
.timeline article:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.timeline article > span { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(53,216,255,.5); border-radius: 50%; color: var(--cyan); font-weight: 800; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { margin: 0; color: rgba(255,255,255,.61); }

.about-section { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.about-panel { padding: 50px; border-radius: var(--radius); background: linear-gradient(135deg, #dff5ff, white); border: 1px solid #cfe6f1; }
.about-panel p:not(.eyebrow) { color: #50677d; font-size: 17px; }
.about-panel .button { margin-top: 16px; }
.benefits-panel { display: grid; gap: 14px; }
.benefits-panel > div { padding: 26px 28px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.benefits-panel strong, .benefits-panel span { display: block; }
.benefits-panel strong { margin-bottom: 6px; font-family: Manrope, sans-serif; font-size: 18px; }
.benefits-panel span { color: var(--muted); }

.faq-section { background: white; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.accordion details { border-top: 1px solid var(--line); padding: 22px 0; }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; list-style: none; font-family: Manrope, sans-serif; font-size: 19px; font-weight: 700; padding-right: 36px; position: relative; }
.accordion summary::-webkit-details-marker { display:none; }
.accordion summary::after { content: "+"; position: absolute; right: 0; top: -4px; color: #009fe3; font-size: 27px; font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.accordion p { color: var(--muted); margin: 14px 0 0; }

.contact-section { padding: 110px 0; background: linear-gradient(145deg, #071423, #0b2744); color: white; }
.contact-card { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.contact-card > div > p:not(.eyebrow) { color: rgba(255,255,255,.65); font-size: 18px; }
.contact-form { padding: 34px; border-radius: var(--radius); background: white; color: var(--text); display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #cbd9e5; border-radius: 11px; padding: 13px 14px; background: #fbfdff; color: var(--text); outline: none; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,185,255,.11); }
.full-field { grid-column: 1 / -1; }
.form-note { margin: -6px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.site-footer { color: rgba(255,255,255,.68); background: #020a14; padding: 65px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .9fr; gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid strong { color: white; margin-bottom: 7px; }
.footer-grid a:hover { color: var(--cyan); }
.footer-brand { margin-bottom: 7px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }


.client-login-link {
  padding: 10px 16px;
  border: 1px solid rgba(0,185,255,.45);
  border-radius: 999px;
  color: #8bdefe;
}
.client-login-link:hover { background: rgba(0,185,255,.10); color: white; }

.portal-page { min-height: 100vh; background: radial-gradient(circle at top right, rgba(0,185,255,.12), transparent 34%), #020a14; color: white; }
.portal-header { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.portal-header .container { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.portal-back { color: rgba(255,255,255,.72); font-weight:700; }
.portal-back:hover { color: white; }
.portal-main { padding: 90px 0; }
.portal-card { max-width: 760px; margin: 0 auto; padding: 48px; border: 1px solid rgba(255,255,255,.10); border-radius: 24px; background: rgba(8,27,46,.86); box-shadow: var(--shadow); }
.portal-card h1 { font-size: clamp(42px, 7vw, 72px); margin-bottom: 18px; }
.portal-card p { color: rgba(255,255,255,.70); font-size: 18px; }
.portal-status { display:inline-flex; align-items:center; gap:9px; margin-bottom:22px; padding:8px 12px; border-radius:999px; background: rgba(0,185,255,.10); color:#8bdefe; font-size:13px; font-weight:800; }
.portal-features { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; margin:30px 0; }
.portal-features div { padding:18px; border-radius:16px; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.07); }
.portal-features strong, .portal-features span { display:block; }
.portal-features span { margin-top:6px; color:rgba(255,255,255,.58); font-size:14px; }
.portal-note { margin-top:24px; font-size:14px !important; }

@media (max-width: 960px) {
  .main-nav { position: fixed; top: 78px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #071626; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .nav-cta { margin-top: 7px; text-align: center; }
  .client-login-link { margin-top: 7px; text-align:center; }
  .menu-toggle { display: block; }
  .hero { min-height: 720px; }
  .hero-image { background-position: 58% center; }
  .hero-overlay { background: linear-gradient(90deg, #020a14 0%, rgba(2,10,20,.97) 42%, rgba(2,10,20,.58) 72%, rgba(2,10,20,.24)); }
  .packages-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .package-card.featured { transform: none; }
  .split-layout, .about-grid, .faq-grid, .contact-card { grid-template-columns: 1fr; gap: 46px; }
  .sticky-heading { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 80px 0; }
  .brand { font-size: 23px; }
  .hero { min-height: 760px; align-items: flex-end; }
  .hero-content { padding-top: 130px; padding-bottom: 68px; }
  .hero-image { background-position: 72% top; opacity: .82; }
  .hero-overlay { background: linear-gradient(0deg, #020a14 0%, rgba(2,10,20,.98) 48%, rgba(2,10,20,.62) 72%, rgba(2,10,20,.25) 100%); }
  .hero-brand { display: flex; }
  .hero-copy .eyebrow { margin-top: 0; }
  h1 { font-size: clamp(42px, 13vw, 58px); line-height: .98; }
  h2 { font-size: 37px; }
  .hero-lead { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-points { gap: 12px; flex-direction: column; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-inline: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .card, .package-card { padding: 27px; }
  .about-panel { padding: 32px 26px; }
  .contact-form { grid-template-columns: 1fr; padding: 26px; }
  .contact-form label { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .portal-main { padding: 56px 0; }
  .portal-card { padding: 30px 24px; }
  .portal-features { grid-template-columns: 1fr; }
}
