/* ============================================================
   Kismat Technologies — styles
   Palette (locked): navy #0B0F1F · gold #D4AF37 · purple #6E5BA8
   · off-white #EDEAE2 · muted #9AA0B4
   ============================================================ */

:root {
  --navy: #0B0F1F;
  --navy-deep: #070A16;
  --gold: #D4AF37;
  --gold-soft: #E5C96B;
  --purple: #6E5BA8;
  --ink: #EDEAE2;
  --muted: #9AA0B4;
  --line: rgba(237, 234, 226, 0.10);
  --card: rgba(237, 234, 226, 0.03);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle radial ambience behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 75% -5%, rgba(110, 91, 168, 0.14), transparent 65%),
    radial-gradient(ellipse 50% 35% at 15% 100%, rgba(110, 91, 168, 0.08), transparent 60%);
  z-index: 0;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
h1 em, h2 em, .hero-sub em, .brand-name em { font-style: italic; color: var(--gold-soft); }

a { color: var(--gold-soft); text-decoration-color: rgba(212, 175, 55, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }

/* Visible focus states */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 31, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 26px; height: 26px;
  color: var(--gold);
  flex: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0; padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-links .nav-cta {
  color: var(--navy);
  background: var(--gold);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-links .nav-cta:hover { background: var(--gold-soft); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.starfield { position: absolute; inset: 0; pointer-events: none; }

.star {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.35;
  animation: twinkle 5s ease-in-out infinite;
}
.star.s1  { top: 18%; left: 12%; animation-delay: 0s; }
.star.s2  { top: 30%; left: 78%; animation-delay: 1.1s; background: var(--gold); }
.star.s3  { top: 12%; left: 55%; animation-delay: 2.3s; }
.star.s4  { top: 55%; left: 8%;  animation-delay: 0.7s; }
.star.s5  { top: 68%; left: 88%; animation-delay: 1.8s; }
.star.s6  { top: 42%; left: 92%; animation-delay: 3s; background: var(--gold); }
.star.s7  { top: 75%; left: 30%; animation-delay: 2s; }
.star.s8  { top: 22%; left: 88%; animation-delay: 4s; }
.star.s9  { top: 60%; left: 68%; animation-delay: 0.4s; }
.star.s10 { top: 85%; left: 55%; animation-delay: 2.7s; background: var(--gold); }
.star.s11 { top: 8%;  left: 30%; animation-delay: 3.4s; }
.star.s12 { top: 38%; left: 22%; animation-delay: 1.4s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.18; transform: scale(0.85); }
  50%      { opacity: 0.75; transform: scale(1.1); }
}

.constellation {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  color: var(--purple);
  opacity: 0.5;
}

.constellation-dots circle { fill: var(--gold); opacity: 0.8; }
.constellation-dots circle:nth-child(even) { fill: var(--purple); }

.hero-inner { position: relative; max-width: 820px; }

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin: 1.75rem auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 300;
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.85rem 2.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost {
  color: var(--ink);
  border: 1px solid rgba(237, 234, 226, 0.28);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ---------- Sections ---------- */
.section { padding: 7rem 1.5rem; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--navy-deep); }

.section-inner { max-width: var(--max); margin: 0 auto; }

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}

.section h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  line-height: 1.12;
}

.section-intro {
  max-width: 42rem;
  color: var(--muted);
  font-weight: 300;
  margin: 1.5rem 0 0;
  font-size: 1.15rem;
}

.subhead {
  font-size: 1.45rem;
  margin: 3.5rem 0 1.5rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
  align-items: start;
}

.about-lede p { margin: 0 0 1.25rem; color: var(--ink); font-weight: 300; }
.about-lede strong { font-weight: 600; color: var(--gold-soft); }

.fact-list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }

.fact {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}

.fact dd { margin: 0; color: var(--ink); font-weight: 300; }

/* ---------- Product ---------- */
.product-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.proof-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  background: var(--card);
}

.proof-number {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}

.proof-text {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2.5rem;
}

.feature {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.9rem;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
}

.feature::before {
  content: "";
  position: absolute;
  left: 0; top: 1.35rem;
  width: 10px; height: 10px;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.product-columns {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  margin-top: 1rem;
  align-items: start;
}

.language-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.language-list li {
  font-size: 0.85rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  background: var(--card);
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  background: var(--card);
  text-align: center;
}

.plan-featured { border-color: rgba(212, 175, 55, 0.55); background: rgba(212, 175, 55, 0.06); }

.plan-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--gold-soft);
}

.plan-price { font-size: 1.35rem; font-weight: 600; margin: 0; }
.plan-price span { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.plan .plan-price:first-letter { font-family: var(--sans); }

.plan-note { font-size: 0.82rem; color: var(--muted); margin: 0.6rem 0 0; }

.disclaimer {
  margin: 3.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
}

.product-link { margin-top: 2rem; }

/* ---------- Built with Claude ---------- */
.claude-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.claude-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  background: var(--card);
}

.claude-icon { width: 30px; height: 30px; color: var(--purple); margin-bottom: 1.25rem; }

.claude-card h3 { font-size: 1.4rem; margin-bottom: 0.85rem; color: var(--gold-soft); }
.claude-card p { margin: 0; color: var(--muted); font-weight: 300; font-size: 0.98rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 780px;
}

.team-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  background: var(--card);
}

.avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: radial-gradient(circle at 30% 25%, var(--gold-soft), var(--gold) 70%);
  margin-bottom: 1.5rem;
}

/* Photo variant: same circle, thin gold ring. */
.avatar-photo {
  width: 120px; height: 120px;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  overflow: hidden;
}
.avatar-photo picture { display: block; width: 100%; height: 100%; }
.avatar-photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.team-card h3 { font-size: 1.6rem; }
.team-role { color: var(--gold-soft); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0.4rem 0 1rem; }
.team-aka { color: var(--muted); font-style: italic; font-size: 0.9rem; margin: -0.6rem 0 1rem; }
.team-bio { color: var(--muted); font-weight: 300; margin: 0; font-size: 0.98rem; }

/* ---------- Contact ---------- */
.section-contact { text-align: center; border-bottom: none; }
.contact-inner { max-width: 640px; }
.contact-lede { color: var(--muted); font-weight: 300; margin: 1.5rem auto 0; max-width: 28rem; }

.contact-email {
  display: inline-block;
  margin-top: 2.25rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-style: italic;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 0.2rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-email:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); border-top: 1px solid var(--line); }

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
}

.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.footer-legal { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }

.footer-facts {
  list-style: none;
  margin: 0 0 2.5rem; padding: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
}

.footer-facts a { color: var(--muted); }
.footer-facts a:hover { color: var(--gold-soft); }

.footer-copy { margin: 0; color: var(--muted); font-size: 0.82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; justify-content: center; row-gap: 0.4rem; }
  .nav-links { gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
  .about-grid, .product-columns, .claude-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .product-proof { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .plan-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 100%; }
  .fact { grid-template-columns: 1fr; gap: 0.25rem; }
  .section { padding: 5rem 1.25rem; }
  .hero { min-height: 80vh; }
}

/* Phones: one clean row — brand left, Contact right; section links hidden
   (the page is a single scroll, so they add clutter, not navigation). */
@media (max-width: 640px) {
  .nav { flex-wrap: nowrap; justify-content: space-between; }
  .nav-links { flex-wrap: nowrap; gap: 0; }
  .nav-links li:not(:last-child) { display: none; }
}

@media (max-width: 400px) {
  .nav-links a { font-size: 0.8rem; }
  .brand-name { font-size: 1.15rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .star { animation: none; opacity: 0.4; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
