/* ===========================
   TOKENS & RESET
   =========================== */
:root {
  --c-bg: #07091a;
  --c-bg-2: #0d1225;
  --c-surface: #111b35;
  --c-border: rgba(255,255,255,.08);
  --c-border-strong: rgba(255,255,255,.16);
  --c-text: #e2e8f9;
  --c-text-muted: #6e82a8;
  --c-accent: #6366f1;
  --c-accent-2: #4f46e5;
  --c-accent-light: rgba(99,102,241,.14);
  --c-accent-medium: rgba(99,102,241,.28);
  --c-success: #34d399;
  --gradient: linear-gradient(135deg, #6366f1 0%, #2563eb 100%);
  --shadow-sm: 0 1px 6px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.6), 0 8px 24px rgba(0,0,0,.4);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Inter', system-ui, sans-serif;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

.accent-text {
  background: linear-gradient(135deg, #818cf8 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-light);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--c-accent-medium);
  margin-bottom: 16px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  white-space: nowrap;
}
.btn--sm { padding: 8px 18px; font-size: .85rem; }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 16px rgba(99,102,241,.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99,102,241,.5);
}

.btn--ghost {
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.8);
  border: 1.5px solid rgba(255,255,255,.16);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
}


@keyframes spin {
  to { transform: rotate(360deg); }
}
.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn--loading::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
}

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(7,9,26,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07), 0 4px 24px rgba(0,0,0,.4);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: rgba(255,255,255,.9);
}
.logo-mark { font-size: 1.25rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.nav__links a:hover { color: rgba(255,255,255,.9); }
.nav__links .btn { margin-left: 8px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all .3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: #0d1225;
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  padding: 16px 24px 24px;
}
.nav__mobile a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.55);
}
.nav__mobile a:last-child { border-bottom: none; color: var(--c-accent); font-weight: 600; }
.nav__mobile.open { display: flex; }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--c-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg::before {
  content: '';
  position: absolute;
  top: -180px; right: -100px;
  width: 900px; height: 900px;
  background: radial-gradient(circle at 50% 50%, rgba(99,102,241,.28), transparent 58%);
  border-radius: 50%;
}
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle at 50% 50%, rgba(37,99,235,.18), transparent 58%);
  border-radius: 50%;
}

.hero__inner {
  position: relative;
  padding: 80px 24px 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}


.hero__title { color: #fff; }
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  max-width: 480px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
}

/* ===========================
   BROWSER MOCK
   =========================== */
.hero__visual {
  flex: 0 0 520px;
  position: relative;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 50% 50%, rgba(99,102,241,.22), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.browser-mock {
  position: relative;
  z-index: 1;
  background: #111b35;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 50px 100px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.1);
  transform: perspective(1400px) rotateY(-10deg) rotateX(3deg);
  transition: transform .5s ease;
}
.browser-mock:hover {
  transform: perspective(1400px) rotateY(-5deg) rotateX(1deg);
}

.browser-mock__bar {
  background: #080f22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.browser-mock__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.browser-mock__dot:nth-child(1) { background: #ff5f57; }
.browser-mock__dot:nth-child(2) { background: #ffbd2e; }
.browser-mock__dot:nth-child(3) { background: #28ca41; }

.browser-mock__url {
  flex: 1;
  background: rgba(255,255,255,.06);
  border-radius: 5px;
  padding: 4px 12px;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  margin-left: 10px;
  font-family: var(--font);
}

.browser-mock__screen { padding: 0; }

.browser-mock__nav-fake {
  height: 38px;
  background: #080f22;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.browser-mock__nav-fake::before {
  content: '';
  width: 70px; height: 8px;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
}
.browser-mock__nav-fake::after {
  content: '';
  margin-left: auto;
  width: 48px; height: 20px;
  background: linear-gradient(135deg, #6366f1, #2563eb);
  border-radius: 5px;
  opacity: .7;
}

.browser-mock__hero-fake {
  background: linear-gradient(145deg, #0d1425 0%, #111b35 100%);
  padding: 28px 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.browser-mock__hero-fake::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,.3), transparent 65%);
  border-radius: 50%;
}

.browser-mock__hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.browser-mock__line {
  height: 9px;
  background: rgba(255,255,255,.12);
  border-radius: 5px;
}
.browser-mock__line--long  { width: 90%; }
.browser-mock__line--medium { width: 72%; }
.browser-mock__line--short { width: 50%; height: 7px; background: rgba(255,255,255,.07); }

.browser-mock__btn-fake {
  width: 90px; height: 26px;
  background: linear-gradient(135deg, #6366f1, #2563eb);
  border-radius: 6px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(99,102,241,.4);
}

.browser-mock__hero-shape {
  width: 90px; height: 90px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #2563eb);
  opacity: .5;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.browser-mock__cards-row {
  padding: 18px 20px 22px;
  display: flex;
  gap: 10px;
  background: #0a1020;
}
.browser-mock__mini-card {
  flex: 1;
  height: 64px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07);
}

/* ===========================
   SECTION
   =========================== */
.section { padding: 96px 0; position: relative; }
.section--tinted { background: var(--c-bg-2); }

/* ===========================
   ACCENT STRIP
   =========================== */
.accent-strip {
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 60%, #0ea5e9 100%);
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  padding: 110px 0;
  margin: -40px 0;
  position: relative;
  z-index: 3;
}
.accent-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.accent-strip__stat {
  text-align: center;
  padding: 0 64px;
  flex: 1;
  max-width: 280px;
}
.accent-strip__stat:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.2);
}
.accent-strip__num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: 12px;
}
.accent-strip__label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 500;
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section__header h2 { margin-bottom: 16px; }
.section__header p { color: var(--c-text-muted); font-size: 1.05rem; }

/* ===========================
   PILLARS (OM OSS)
   =========================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-accent);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.pillar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.pillar__icon { font-size: 2.2rem; margin-bottom: 18px; }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--c-text-muted); font-size: .95rem; line-height: 1.7; }


/* ===========================
   CARDS (SERVICES)
   =========================== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color: rgba(99,102,241,.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card--featured {
  border-color: rgba(99,102,241,.3);
  background: linear-gradient(145deg, rgba(99,102,241,.08), rgba(79,70,229,.04));
  box-shadow: 0 0 0 1px rgba(99,102,241,.15), var(--shadow-sm);
}
.card__icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card > p { color: var(--c-text-muted); font-size: .95rem; margin-bottom: 20px; }

/* ===========================
   CONTACT
   =========================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info { padding-top: 8px; }
.contact__info h2 { margin-bottom: 16px; }
.contact__info > p { color: var(--c-text-muted); line-height: 1.75; margin-bottom: 16px; }
.contact__note {
  color: var(--c-text-muted);
  font-size: .9rem;
  margin-bottom: 32px !important;
}
.contact__details { display: flex; flex-direction: column; gap: 20px; }
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__icon { font-size: 1.25rem; margin-top: 2px; }
.contact__detail strong { display: block; font-size: .8rem; color: var(--c-text-muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .06em; }
.contact__detail a, .contact__detail span { font-size: .95rem; font-weight: 500; }
.contact__detail a:hover { color: var(--c-accent); }

.contact__form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form__group label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-text);
}
.form__group input,
.form__group select,
.form__group textarea {
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--c-text);
  font-family: var(--font);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--c-text-muted); opacity: .7; }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
  background: var(--c-surface);
}
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236e82a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--c-bg-2);
  padding-right: 38px;
}
.form__group select option { background: var(--c-surface); color: var(--c-text); }
.form__group textarea { resize: vertical; min-height: 100px; }
.form__note {
  text-align: center;
  font-size: .8rem;
  color: var(--c-text-muted);
  margin-top: -8px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #040813;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  padding-bottom: 48px;
}
.footer .nav__logo { color: rgba(255,255,255,.9); }
.footer__brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.35);
  margin-top: 14px;
  max-width: 280px;
  line-height: 1.65;
}
.footer__links {
  display: flex;
  gap: 64px;
}
.footer__links h4 {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 16px;
}
.footer__links div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer__links a:hover { color: rgba(255,255,255,.8); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .8rem;
  color: rgba(255,255,255,.25);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: rgba(255,255,255,.6); }

/* ===========================
   TOAST
   =========================== */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--c-surface);
  border: 1px solid rgba(52,211,153,.3);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast__icon { font-size: 1.1rem; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero__inner { gap: 48px; }
  .hero__visual { flex: 0 0 420px; }
  .pillars { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px 80px;
    gap: 56px;
  }
  .hero__content { align-items: center; }
  .hero__cta { justify-content: center; }
  .hero__chips { justify-content: center; }
  .hero__sub { max-width: 500px; text-align: center; }
  .hero__visual { flex: none; width: 100%; max-width: 460px; }
  .browser-mock { transform: none; }
  .browser-mock:hover { transform: none; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero { min-height: auto; }

  .cards { grid-template-columns: 1fr; }
  .founder { flex-direction: column; gap: 16px; }
  .founder__quote { border-left: none; padding-left: 0; border-top: 2px solid var(--c-accent-medium); padding-top: 14px; }

  .pillars { grid-template-columns: 1fr; }

  .contact { grid-template-columns: 1fr; gap: 48px; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .contact__form { padding: 24px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { text-align: center; }
  .accent-strip__inner { flex-direction: column; gap: 40px; }
  .accent-strip__stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.15); padding: 0 0 40px; }
  .accent-strip__stat:last-child { border-bottom: none; padding-bottom: 0; }
}
