/* Alphaworks AI Technologies LLP */

:root {
  --navy: #1c2b55;
  --navy-900: #0f1a38;
  --navy-700: #2a3d73;
  --orange: #f28a1e;
  --orange-600: #e0760a;
  --ink: #1a2238;
  --muted: #5b6480;
  --line: #e4e8f1;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(16, 26, 56, .06);
  --shadow: 0 18px 50px -18px rgba(16, 26, 56, .25);
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 138, 30, .7); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn-ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: .55em 1.15em; font-size: .9rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--orange); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 56px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  text-decoration: none; font-weight: 500; color: var(--muted);
  font-size: .95rem; transition: color .2s;
}
.nav-links a:not(.btn):hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 110px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(242, 138, 30, .14), transparent 70%),
    radial-gradient(700px 500px at 5% 90%, rgba(28, 43, 85, .10), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg-alt));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(28, 43, 85, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -.02em; }
.accent {
  background: linear-gradient(90deg, var(--orange), #f7a94b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; color: var(--navy); font-weight: 600; font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--orange); margin-right: 8px; font-weight: 800; }

.hero-visual { position: relative; padding: 30px 20px; }
.window {
  background: var(--navy-900);
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4670; }
.window-bar i:first-child { background: var(--orange); }
.window-bar span { margin-left: 10px; font-size: .78rem; color: #8b95b8; font-family: ui-monospace, Menlo, monospace; }
.code {
  margin: 0; padding: 26px 26px 32px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .92rem; line-height: 1.8; color: #dfe5f7;
  white-space: pre; overflow-x: auto;
}
.code .c { color: #6f7aa3; }
.code .k { color: #f7a94b; }
.code .f { color: #8fb7ff; }
.code .b { color: #f28a1e; }
.code .s { color: #9be3b4; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: .85rem; line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); color: var(--navy-900); }
.float-card small { color: var(--muted); }
.fc-1 { top: 0; right: 0; }
.fc-2 { bottom: -22px; left: -10px; animation-delay: -3s; }
.fc-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(28, 43, 85, .1); }
.fc-icon svg { width: 20px; height: 20px; fill: var(--navy); }
.fc-icon.orange { background: rgba(242, 138, 30, .14); }
.fc-icon.orange svg { fill: var(--orange-600); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2, .why h2, .about h2, .contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.015em; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card:nth-child(even) .card-icon { background: linear-gradient(135deg, var(--orange), #f7a94b); }

/* Product */
.product {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
  background: #fff; border-radius: 24px; padding: 56px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(242, 138, 30, .12); color: var(--orange-600);
  font-size: .78rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .04em;
  margin-bottom: 14px;
}
.product h3 { font-size: 2.4rem; font-weight: 800; margin-bottom: .1em; }
.product-sub { font-family: var(--font-head); font-weight: 600; color: var(--navy-700); font-size: 1.1rem; }
.product-copy > p:not(.product-sub) { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: .75rem; font-weight: 800;
  display: grid; place-items: center;
}
.product-visual {
  position: relative; border-radius: 20px; padding: 36px 30px 90px;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
}
.product-visual::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242, 138, 30, .35), transparent 70%);
}
.tree svg { width: 100%; height: auto; position: relative; }
.tree .lines path { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 2; }
.tree .n1 { fill: var(--orange); }
.tree .n2 { fill: #8fb7ff; }
.tree .n3 { fill: #fff; }
.tree circle { stroke: rgba(255, 255, 255, .25); stroke-width: 6; paint-order: stroke; }
.album {
  position: absolute; right: 22px; bottom: 22px;
  display: grid; grid-template-columns: repeat(2, 54px); gap: 8px;
  padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
}
.album span { height: 42px; border-radius: 8px; background: linear-gradient(135deg, #f7a94b, #f28a1e); }
.album span:nth-child(2) { background: linear-gradient(135deg, #8fb7ff, #4c6fd1); }
.album span:nth-child(3) { background: linear-gradient(135deg, #9be3b4, #3fa36b); }
.album span:nth-child(4) { background: linear-gradient(135deg, #f2c7d6, #c56a8c); }
.more-soon { text-align: center; margin-top: 30px; color: var(--muted); }
.more-soon strong { color: var(--navy); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--bg-alt); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -18px; width: 12px; height: 12px;
  border-top: 2px solid var(--orange); border-right: 2px solid var(--orange);
  transform: rotate(45deg); z-index: 1;
}
.step-num {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--navy), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Why (dark) */
.section-dark {
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(242, 138, 30, .22), transparent 70%),
    linear-gradient(150deg, var(--navy-900), var(--navy));
  color: #c9d1ea;
}
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.why h2 { color: #fff; }
.why-copy p { font-size: 1.07rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item {
  padding: 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.why-item h4 { color: #fff; font-size: 1.05rem; margin-bottom: .4em; }
.why-item h4::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 10px; vertical-align: middle; }
.why-item p { margin: 0; font-size: .93rem; }

/* About */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.company-card {
  background: #fff; border-radius: 20px; padding: 34px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.company-card h3 { font-size: 1.15rem; margin-bottom: 1.2em; }
.company-card dl { margin: 0; display: grid; gap: 18px; }
.company-card dl div { padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.company-card dl div:last-child { border: 0; padding: 0; }
.company-card dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.company-card dd { margin: 0; font-weight: 600; color: var(--navy-900); }

/* Contact */
.contact {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center;
  background: #fff; border-radius: 24px; padding: 56px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.contact-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.contact-details { display: grid; gap: 22px; }
.cd-item { display: flex; gap: 16px; align-items: flex-start; }
.cd-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(28, 43, 85, .08); display: grid; place-items: center; }
.cd-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cd-item small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.cd-item a, .cd-item span { font-weight: 600; color: var(--navy-900); text-decoration: none; }
.cd-item a:hover { color: var(--orange-600); }

/* Footer */
.site-footer { background: var(--navy-900); color: #9aa5c7; padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 8px 14px; display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 48px; width: auto; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer a { display: block; text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* Legal pages */
.legal { padding: 70px 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: #3d4663; }
.legal .updated { color: var(--muted); font-size: .9rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .why, .about { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px 20px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 60px 0 80px; }
  .hero-grid, .product, .contact { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .window { transform: none; }
  .product, .contact { padding: 32px 24px; }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .brand img { height: 38px; }
  .cards, .steps, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .code { font-size: .78rem; padding: 20px; }
  .float-card { display: none; }
  .hero-visual { padding: 0; }
  .btn { white-space: normal; }
}

/* Keep grid children from overflowing (long code lines) */
.hero-grid > *, .product > *, .contact > *, .about > *, .why > * { min-width: 0; }

/* Vamsh highlight */
.announce {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 6px 16px 6px 6px; margin-bottom: 22px;
  border-radius: 999px; background: #fff; border: 1px solid rgba(242, 138, 30, .35);
  box-shadow: 0 6px 20px -10px rgba(242, 138, 30, .6);
  text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--navy);
  transition: border-color .2s, transform .2s;
}
.announce:hover { border-color: var(--orange); transform: translateY(-1px); }
.announce-tag {
  padding: 4px 10px; border-radius: 999px; background: var(--orange); color: #fff;
  font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.announce-arrow { color: var(--orange-600); }

.phone {
  position: relative; width: 290px; margin: 0 auto;
  padding: 14px; border-radius: 44px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow), 0 40px 80px -30px rgba(242, 138, 30, .45);
  transform: rotate(-3deg);
}
.phone-notch { position: absolute; top: 22px; left: 50%; width: 80px; height: 20px; margin-left: -40px; border-radius: 12px; background: var(--navy-900); z-index: 2; }
.phone-screen { border-radius: 32px; background: linear-gradient(180deg, #fff, #f3f6fc); padding: 52px 18px 22px; overflow: hidden; }
.app-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.app-top strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.app-top small { color: var(--orange-600); font-weight: 600; font-size: .78rem; }
.app-tree { width: 100%; height: auto; }
.app-tree .lines path { fill: none; stroke: #c8d0e4; stroke-width: 2; }
.app-tree .n1 { fill: var(--orange); }
.app-tree .n2 { fill: var(--navy-700); }
.app-tree .n3 { fill: #8fb7ff; }
.app-label { margin: 10px 0 8px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--navy); }
.app-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.app-album span { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #f7a94b, #f28a1e); }
.app-album span:nth-child(2), .app-album span:nth-child(6) { background: linear-gradient(135deg, #8fb7ff, #4c6fd1); }
.app-album span:nth-child(3) { background: linear-gradient(135deg, #9be3b4, #3fa36b); }
.app-album span:nth-child(4) { background: linear-gradient(135deg, #f2c7d6, #c56a8c); }
.app-album span:nth-child(5) { background: linear-gradient(135deg, #2a3d73, #1c2b55); }
.hero-visual .fc-1 { top: 40px; right: 0; }
.hero-visual .fc-2 { bottom: 50px; left: 0; }

.product-highlight { border: 2px solid rgba(242, 138, 30, .45); box-shadow: var(--shadow), 0 30px 70px -35px rgba(242, 138, 30, .55); }

@media (max-width: 560px) {
  .phone { width: 250px; }
  .announce { font-size: .82rem; }
}
