/* ============================================================
   SUMMITWAVE TECHNOLOGY LLC — Corporate site stylesheet
   Dark, tech-forward. No frameworks, no external dependencies
   other than Google Fonts.
   ============================================================ */

:root {
  --bg: #07070c;
  --bg-2: #0b0b14;
  --bg-3: #10101c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #eef0f6;
  --text-dim: #a5aabd;
  --text-faint: #767b94;

  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --grad: linear-gradient(100deg, #a78bfa 0%, #22d3ee 100%);

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Ambience ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(45, 212, 191, 0.10), transparent 60%),
    radial-gradient(800px 460px at 92% 8%, rgba(34, 211, 238, 0.09), transparent 62%),
    radial-gradient(1000px 600px at 50% 110%, rgba(139, 92, 246, 0.07), transparent 60%);
}

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

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
  max-width: 620px;
  font-weight: 300;
}

.lead-sm {
  font-size: 1.06rem;
  color: var(--text-dim);
  font-weight: 300;
}

.section-sub {
  color: var(--text-dim);
  max-width: 640px;
  margin-top: 16px;
  font-weight: 300;
}

/* ---------- Section scaffolding ---------- */
.section { padding: 110px 0; position: relative; }

.section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, rgba(255,255,255,0.005) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 760px; margin-bottom: 58px; }
.section-head h2 { margin-bottom: 4px; }

/* ---------- Frame (concept-art image wrapper) ----------
   Images are decorative concept art. We scale them inside an
   overflow-hidden frame so the generator watermark in the source
   corner is never visible, and add a soft tint. */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  transform-origin: 50% 25%; /* crops off the bottom-right watermark */
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.10), transparent 55%, rgba(253, 186, 116, 0.10));
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--grad);
  color: #05060a;
  box-shadow: 0 12px 34px -12px rgba(139, 92, 246, 0.75);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(34, 211, 238, 0.6); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); transform: translateY(-2px); }

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  padding: 11px 0;
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__text em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}
.brand--footer .brand__text { font-size: 1rem; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  transition: color 0.2s ease;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 1.5px;
  background: var(--grad);
  transition: right 0.25s ease;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a:not(.btn):hover::after { right: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.frame--hero {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
}
.frame--hero img { transform: scale(1.3); transform-origin: 50% 22%; opacity: 0.5; }
.frame--hero::after {
  mix-blend-mode: normal;
  background: linear-gradient(180deg, rgba(7,7,12,0.45) 0%, rgba(7,7,12,0.8) 55%, var(--bg) 100%);
}

.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 20% 40%, rgba(7,7,12,0.82), transparent 70%),
    linear-gradient(90deg, rgba(7,7,12,0.9) 0%, rgba(7,7,12,0.35) 65%, rgba(7,7,12,0.75) 100%);
}

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 75%);
}

.hero__content { position: relative; z-index: 2; }

.hero__content .eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.07);
  margin-bottom: 26px;
}

.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 38px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.hero__tags li {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(6px);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: var(--cyan);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: start;
}

.about__copy p + p { margin-top: 18px; }
.about__copy strong { color: var(--text); font-weight: 600; }

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.value {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.value:hover { border-color: rgba(139, 92, 246, 0.4); transform: translateY(-3px); }
.value h4 { font-size: 0.98rem; margin-bottom: 8px; }
.value p { font-size: 0.85rem; color: var(--text-faint); line-height: 1.6; }

.about__side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.frame--card { aspect-ratio: 4 / 5; }

.side-note {
  padding: 18px 20px;
  border-left: 2px solid var(--violet);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.side-note p { font-size: 0.83rem; color: var(--text-faint); line-height: 1.65; }
.side-note strong { color: var(--text-dim); }

/* ============================================================
   WHAT WE DO — pillars
   ============================================================ */
.pillars { display: flex; flex-direction: column; gap: 26px; }

.pillar {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar:hover {
  border-color: rgba(139, 92, 246, 0.42);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar--flip { grid-template-columns: 1.1fr 0.9fr; }
.pillar--flip .pillar__media { order: 2; }
.pillar--flip .pillar__body { order: 1; }

.pillar__media { position: relative; min-height: 320px; }
.pillar__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  transform-origin: 50% 25%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.pillar:hover .pillar__media img { transform: scale(1.3) translateX(-2%); }
.pillar__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(94, 234, 212, 0.10), transparent 55%, rgba(253, 186, 116, 0.12));
  mix-blend-mode: screen;
}

.pillar__body { padding: 42px 46px; position: relative; }

.pillar__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  display: block;
  margin-bottom: 14px;
}

.pillar__body h3 { font-size: 1.35rem; margin-bottom: 14px; }
.pillar__body > p { color: var(--text-dim); font-weight: 300; margin-bottom: 22px; }

.pillar__body ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.pillar__body li {
  font-size: 0.87rem;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}
.pillar__body li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0.85;
}

/* ============================================================
   PROCESS
   ============================================================ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 7px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}

.step { position: relative; padding-top: 34px; }
.step__dot {
  position: absolute;
  top: 0; left: 0;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}
.step h3 { font-size: 1.02rem; margin-bottom: 9px; }
.step p { font-size: 0.85rem; color: var(--text-faint); line-height: 1.65; }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.platform__copy .lead-sm { margin: 8px 0 32px; max-width: 520px; }

.platform__note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

.platform__visual { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 250px;
  padding: 12px 10px 16px;
  border-radius: 34px;
  background: linear-gradient(165deg, #1a1a2b, #0c0c16);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 -20px 60px -30px rgba(139, 92, 246, 0.6);
}

.phone__notch {
  width: 78px; height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.14);
  margin: 2px auto 12px;
}

.frame--phone {
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  border-color: rgba(255,255,255,0.08);
}
.frame--phone img { transform: scale(1.35); transform-origin: 50% 20%; }

.phone__bar {
  width: 54%; height: 4px;
  margin: 14px auto 0;
  border-radius: 99px;
  background: rgba(255,255,255,0.14);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact__card {
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.contact__card:hover { border-color: rgba(34, 211, 238, 0.38); transform: translateY(-4px); }
.contact__card h3 { font-size: 1rem; margin-bottom: 16px; color: var(--text-dim); font-weight: 600; }

.contact__link {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyan);
  word-break: break-all;
  transition: color 0.2s ease;
}
.contact__link:hover { color: var(--violet); }

.contact__hint {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-faint);
  font-style: italic;
}

.contact__addr {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.85;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 62px 0 34px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__nav a {
  font-size: 0.85rem;
  color: var(--text-faint);
  transition: color 0.2s ease;
}
.footer__nav a:hover { color: var(--text); }

.footer__notice {
  margin: 30px 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.footer__notice p { font-size: 0.81rem; color: var(--text-faint); line-height: 1.7; }
.footer__notice strong { color: var(--text-dim); }
.notice-link { color: var(--cyan); font-weight: 500; }
.notice-link:hover { color: var(--violet); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__side { position: static; flex-direction: row; align-items: stretch; }
  .frame--card { flex: 1; aspect-ratio: auto; min-height: 260px; }
  .side-note { flex: 1; display: flex; align-items: center; }

  .pillar, .pillar--flip { grid-template-columns: 1fr; }
  .pillar--flip .pillar__media { order: 0; }
  .pillar__media { min-height: 240px; }
  .pillar__body { padding: 32px 30px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .steps::before { display: none; }

  .platform { grid-template-columns: 1fr; gap: 46px; }
  .platform__visual { justify-content: flex-start; }

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

@media (max-width: 900px) {
  /* Tablet / small desktop: collapse nav into hamburger early to avoid crowding */
  .nav__links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    height: 100vh;
    height: 100svh;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(7, 7, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.3, 0.8, 0.3, 1);
    z-index: 99;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a:not(.btn) { font-size: 1.25rem; font-family: var(--font-display); }
  .nav__toggle { display: flex; position: relative; z-index: 101; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .br-m { display: none; }

  .hero { padding: 130px 0 90px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .value-row { grid-template-columns: 1fr; }
  .about__side { flex-direction: column; }

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

  .platform__visual { justify-content: center; }

  .footer__top, .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
.policy { padding: 150px 0 110px; }
.policy__head { max-width: 760px; margin-bottom: 46px; }

.policy__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-faint);
  margin-bottom: 34px;
  transition: color 0.2s ease;
}
.policy__back:hover { color: var(--cyan); }
.policy__back svg { width: 15px; height: 15px; }

.policy h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); margin-bottom: 12px; }

.policy__meta {
  font-size: 0.85rem;
  color: var(--text-faint);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.policy__body { max-width: 760px; }

.policy__body h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 40px 0 14px;
  color: var(--text);
}
.policy__body h2:first-child { margin-top: 0; }

.policy__body p {
  color: var(--text-dim);
  font-weight: 300;
  font-size: 0.96rem;
}
.policy__body p + p { margin-top: 14px; }

.policy__body ul {
  list-style: none;
  margin: 16px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.policy__body li {
  font-size: 0.93rem;
  color: var(--text-dim);
  font-weight: 300;
  padding-left: 22px;
  position: relative;
}
.policy__body li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0.85;
}

.policy__addr {
  margin-top: 18px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.93rem;
}
.policy__addr .contact__link { display: inline-block; margin-top: 6px; }

@media (max-width: 760px) {
  .policy { padding: 120px 0 80px; }
}
