/* ============================================================
   KAIRO WORKS — Global Stylesheet v2.0
   Identity: Black / White / Kairo Red — premium tech studio
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --kw-black:          #050507;
  --kw-charcoal:       #111114;
  --kw-card-dark:      #16161a;
  --kw-card-dark-2:    #1a1a1f;
  --kw-white:          #F7F7F4;
  --kw-soft-gray:      #E9E9E4;
  --kw-ink:            #6E737A;
  --kw-ink-light:      #9A9FA6;

  --kw-red:            #C9161D;
  --kw-red-deep:       #8F0F14;
  --kw-red-accent:     #E1262E;
  --kw-red-glow:       rgba(201, 22, 29, 0.3);
  --kw-red-subtle:     rgba(201, 22, 29, 0.08);

  --kw-border-dark:    rgba(255,255,255,0.07);
  --kw-border-light:   rgba(0,0,0,0.1);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 380ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--kw-black);
  color: var(--kw-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.05rem; font-weight: 600; }

p { font-size: 1rem; line-height: 1.78; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Decorative SVG Background Elements ─────────────────── */
.kw-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.kw-bg-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.btn-primary {
  background: var(--kw-red);
  color: #fff;
  border-color: var(--kw-red);
}
.btn-primary:hover {
  background: var(--kw-red-accent);
  border-color: var(--kw-red-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--kw-red-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--kw-white);
  border-color: rgba(247, 247, 244, 0.2);
}
.btn-secondary:hover {
  border-color: var(--kw-red);
  color: var(--kw-red);
  transform: translateY(-1px);
}
.btn-green {
  background: #2F8F46;
  color: #fff;
  border-color: #2F8F46;
}
.btn-green:hover {
  background: #1E5C2D;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(47,143,70,0.3);
}
.btn-outline-dark {
  background: transparent;
  color: var(--kw-charcoal);
  border-color: rgba(17, 17, 20, 0.25);
}
.btn-outline-dark:hover {
  border-color: var(--kw-red);
  color: var(--kw-red);
}
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Sora', sans-serif;
}
.badge-red   { background: var(--kw-red); color: #fff; }
.badge-green { background: #2F8F46; color: #fff; }
.badge-outline { border: 1px solid var(--kw-border-dark); color: var(--kw-ink); background: transparent; }

/* ── Header ─────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 7, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--kw-border-dark);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 34px; width: auto; }
.brand-text strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--kw-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-text span {
  font-size: 0.62rem;
  color: var(--kw-ink);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--kw-ink);
  transition: color var(--transition);
  font-family: 'Sora', sans-serif;
}
.nav-links a:hover { color: var(--kw-white); }
.nav-links a.active { color: var(--kw-red); }
.nav-links .nav-cta {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--kw-red);
  color: var(--kw-red);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition);
}
.nav-links .nav-cta:hover {
  background: var(--kw-red);
  color: #fff;
}

/* ── Section Utilities ──────────────────────────────────── */
.section { padding: 104px 0; position: relative; }
.section-dark  { background: var(--kw-black); color: var(--kw-white); }
.section-dark-2 { background: var(--kw-charcoal); color: var(--kw-white); }
.section-light { background: var(--kw-white); color: var(--kw-charcoal); }
.section-light-2 { background: var(--kw-soft-gray); color: var(--kw-charcoal); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kw-red);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--kw-red);
  border-radius: 2px;
}
.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 52px;
  color: var(--kw-ink);
  line-height: 1.8;
}
.text-muted-dark  { color: var(--kw-ink); }
.text-muted-light { color: #555; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  padding: 110px 0 88px;
  background: var(--kw-black);
  overflow: hidden;
  position: relative;
}

/* Decorative grid for hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,22,29,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,22,29,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -160px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,22,29,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(201, 22, 29, 0.3);
  background: rgba(201, 22, 29, 0.07);
  color: var(--kw-red);
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--kw-red);
  display: block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--kw-red);
}
.hero p {
  color: var(--kw-ink);
  font-size: 1.07rem;
  max-width: 460px;
  line-height: 1.8;
}
.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* Decorative ring behind video */
.hero-media::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(201,22,29,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-media::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(201,22,29,0.07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-media video, .hero-media img {
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 460px;
  object-fit: cover;
}
.hero-video-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--kw-border-dark);
  box-shadow:
    0 0 0 1px rgba(201,22,29,0.15),
    0 40px 100px rgba(0,0,0,0.7),
    0 0 80px rgba(201,22,29,0.08);
  z-index: 1;
}

/* ── Stats row ──────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
  padding: 40px 0 0;
  border-top: 1px solid var(--kw-border-dark);
  margin-top: 40px;
}
.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--kw-red);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--kw-ink);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ── Marquee strip ──────────────────────────────────────── */
.marquee-strip {
  background: var(--kw-red);
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
  position: relative;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 30s linear infinite;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.marquee-sep { margin: 0 28px; opacity: 0.45; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Positioning strip ──────────────────────────────────── */
.positioning {
  padding: 44px 0;
  background: var(--kw-charcoal);
  border-top: 1px solid var(--kw-border-dark);
  border-bottom: 1px solid var(--kw-border-dark);
  position: relative;
  overflow: hidden;
}
.positioning::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,22,29,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.positioning p {
  font-size: 1.18rem;
  color: var(--kw-ink);
  max-width: 740px;
  line-height: 1.82;
  position: relative;
  z-index: 1;
}
.positioning strong { color: var(--kw-white); font-weight: 600; }

/* ── About split ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.about-visual { position: relative; }
.about-logo-wrap {
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  border-radius: var(--radius-xl);
  background: var(--kw-soft-gray);
  border: 1px solid var(--kw-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.about-logo-wrap::before {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid rgba(201,22,29,0.15);
  pointer-events: none;
}
.about-logo-wrap::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(201,22,29,0.1);
  pointer-events: none;
}
.about-logo-wrap img { position: relative; z-index: 1; width: 100%; }

.values-list { display: flex; flex-direction: column; gap: 22px; margin-top: 40px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--kw-red);
  margin-top: 8px;
  flex-shrink: 0;
}
.value-item h4 {
  font-size: 0.97rem;
  margin-bottom: 4px;
  color: var(--kw-charcoal);
  font-family: 'Sora', sans-serif;
}
.value-item p  { font-size: 0.88rem; color: #666; line-height: 1.68; margin: 0; }

/* ── Services Grid ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--kw-border-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--kw-red);
  border-radius: 0 0 3px 3px;
  transition: height var(--transition-slow);
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  border-color: rgba(201,22,29,0.18);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.1);
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--kw-red-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--kw-red);
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: var(--kw-red);
  color: #fff;
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--kw-charcoal);
  margin-bottom: 10px;
  font-family: 'Sora', sans-serif;
}
.service-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.72;
}

/* ── Apps / Products ────────────────────────────────────── */
.kw-products { overflow: hidden; }
.kw-products .section-subtitle { max-width: 760px; }
.kw-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.kw-product-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--kw-border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.kw-product-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, var(--kw-red), transparent 45%);
  border-radius: var(--radius-xl);
  transition: opacity var(--transition);
}
.kw-product-card:hover::before { opacity: 0.18; }
.kw-product-card:hover { transform: translateY(-4px); border-color: rgba(201,22,29,0.2); }
.kw-product-card-orange::before { background: radial-gradient(circle at top left, #ff6b2b, transparent 45%); }
.kw-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 1;
}
.kw-product-media img {
  width: 142px;
  height: 142px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.kw-product-content { position: relative; z-index: 1; }
.kw-product-content h3 { margin: 14px 0 10px; font-family: 'Sora', sans-serif; }
.kw-product-content p {
  color: var(--kw-ink);
  font-size: .93rem;
  margin-bottom: 18px;
  line-height: 1.72;
}
.kw-product-content .cta-group { margin-top: 18px; }
.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.app-tag {
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--kw-border-dark);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--kw-ink);
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.02em;
}

/* ── Process Grid ───────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: var(--kw-border-light);
}
.process-step { text-align: center; padding: 0 16px; }
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--kw-red);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--kw-white), 0 8px 24px rgba(201,22,29,0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover .process-step-num {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 0 6px var(--kw-white), 0 14px 36px rgba(201,22,29,0.4);
}
.process-step h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--kw-charcoal);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
}
.process-step p {
  font-size: 0.83rem;
  color: #666;
  line-height: 1.62;
}

/* ── Contact ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-card {
  background: var(--kw-card-dark);
  border: 1px solid var(--kw-border-dark);
  border-radius: var(--radius-lg);
  padding: 38px;
}
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list li { font-size: 0.95rem; }
.contact-list strong {
  color: var(--kw-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
  font-family: 'Sora', sans-serif;
}
.contact-list a { color: var(--kw-white); transition: color var(--transition); }
.contact-list a:hover { color: var(--kw-red); }

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  padding: 96px 0;
  background: var(--kw-black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,22,29,0.1) 0%, transparent 65%);
  pointer-events: none;
}
/* Subtle grid on cta */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,22,29,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,22,29,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { max-width: 540px; margin: 0 auto 16px; }
.cta-banner p { color: var(--kw-ink); margin-bottom: 36px; }
.cta-banner .cta-group { justify-content: center; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--kw-charcoal);
  border-top: 1px solid var(--kw-border-dark);
  padding: 64px 0 38px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}
.footer-brand strong {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kw-white);
  display: block;
  margin-bottom: 8px;
}
.footer-brand p { font-size: 0.85rem; color: var(--kw-ink); line-height: 1.72; }
.footer-brand .footer-divider {
  width: 28px;
  height: 2px;
  background: var(--kw-red);
  border-radius: 2px;
  margin: 14px 0;
}
.footer-links h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kw-ink);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a { font-size: 0.88rem; color: var(--kw-ink); transition: color var(--transition); padding: 5px 0; }
.footer-links a:hover { color: var(--kw-red); }
.footer-bottom {
  border-top: 1px solid var(--kw-border-dark);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.78rem; color: var(--kw-ink); }
.footer-bottom a { color: var(--kw-ink); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--kw-red); }

/* ── Screenshot Gallery (App Page) ─────────────────────── */
.screenshots-section {
  padding: 96px 0;
  background: var(--kw-black);
  overflow: hidden;
}
.screenshots-track {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 56px;
}
.screenshot-card {
  flex: 0 0 auto;
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: visible;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-slow), filter var(--transition-slow);
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
}
.screenshot-card:hover {
  transform: translateY(-20px) scale(1.04);
  filter: drop-shadow(0 24px 64px rgba(201,22,29,0.45)) drop-shadow(0 0 40px rgba(201,22,29,0.2));
  z-index: 2;
}
.screenshot-img {
  width: 100%;
  aspect-ratio: 9/19.5;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--kw-card-dark);
  border: 1px solid var(--kw-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 9/19.5;
  border-radius: var(--radius-lg);
  background: var(--kw-card-dark);
  border: 1px solid var(--kw-border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--kw-ink);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-align: center;
  transition: all var(--transition-slow);
  padding: 20px;
}
.screenshot-card:hover .screenshot-placeholder {
  background: var(--kw-card-dark-2);
  border-color: rgba(201,22,29,0.3);
}
.screenshot-placeholder svg { opacity: 0.3; transition: opacity var(--transition); }
.screenshot-card:hover .screenshot-placeholder svg { opacity: 0.7; }
.screenshot-label {
  text-align: center;
  font-size: 0.72rem;
  color: var(--kw-ink);
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  font-family: 'Sora', sans-serif;
}
.screenshot-card:hover .screenshot-label { color: var(--kw-red); }

/* ── App Hero (App Pages) ─────────────────────────────── */
.app-hero {
  padding: 80px 0 72px;
  background: var(--kw-black);
  position: relative;
  overflow: hidden;
}
.app-hero::after {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,22,29,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.app-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.app-hero h1 em { font-style: normal; color: var(--kw-red); }
.app-hero-sub {
  font-size: 1.1rem;
  color: var(--kw-ink);
  max-width: 520px;
  margin: 16px auto 0;
}

/* ── App Feature Card ───────────────────────────────────── */
.apps-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px;
  background: var(--kw-card-dark);
  border: 1px solid var(--kw-border-dark);
  border-radius: var(--radius-lg);
}
.apps-feature-text .badge { margin-bottom: 16px; }
.apps-feature-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  font-family: 'Sora', sans-serif;
}
.apps-feature-text p { color: var(--kw-ink); margin-bottom: 32px; }
.apps-feature-visual {
  display: flex;
  justify-content: center;
}

/* ── App Features Grid ──────────────────────────────────── */
.app-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.app-feature-card {
  background: var(--kw-card-dark);
  border: 1px solid var(--kw-border-dark);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: all var(--transition);
}
.app-feature-card:hover {
  border-color: rgba(201,22,29,0.3);
  transform: translateY(-3px);
}
.app-feature-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(201,22,29,0.1);
  color: var(--kw-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.app-feature-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: 'Sora', sans-serif;
}
.app-feature-card p { font-size: 0.85rem; color: var(--kw-ink); line-height: 1.67; }

/* ── Legal ──────────────────────────────────────────────── */
.legal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--kw-border-light);
  margin-bottom: 48px;
}
.legal-tab {
  padding: 14px 28px;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  margin-bottom: -1px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.legal-tab.active, .legal-tab:hover { color: var(--kw-red); border-bottom-color: var(--kw-red); }
.legal-panel { display: none; }
.legal-panel.active { display: block; }
.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kw-charcoal);
  margin: 36px 0 10px;
  font-family: 'Sora', sans-serif;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 0.9rem; color: #555; line-height: 1.8; margin-bottom: 6px; }
.legal-content ul { padding-left: 20px; list-style: disc; margin-bottom: 12px; }
.legal-content a { color: var(--kw-red); }
.legal-notice {
  background: rgba(47,143,70,0.06);
  border: 1px solid rgba(47,143,70,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #1E5C2D;
  margin-bottom: 32px;
}
.legal-meta { font-size: 0.78rem; color: #666; margin-bottom: 24px; letter-spacing: 0.02em; }

/* ── Divider ────────────────────────────────────────────── */
.divider { height: 1px; background: var(--kw-border-dark); border: none; margin: 0; }
.divider-light { height: 1px; background: var(--kw-border-light); border: none; margin: 0; }

/* ── Mobile nav ─────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--kw-white);
  cursor: pointer;
  padding: 4px;
}

/* ── Language switcher ──────────────────────────────────── */
.kw-lang-switcher {
  position: relative;
  margin-left: 14px;
  z-index: 50;
}
.kw-lang-current,
.kw-lang-option {
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--kw-white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
  font-family: 'Sora', sans-serif;
}
.kw-lang-current:hover,
.kw-lang-option:hover,
.kw-lang-option.active {
  background: rgba(201,22,29,0.15);
  border-color: rgba(201,22,29,0.6);
  color: var(--kw-white);
}
.kw-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 130px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(5,5,7,0.98);
  border: 1px solid var(--kw-border-dark);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.kw-lang-switcher:hover .kw-lang-menu,
.kw-lang-switcher:focus-within .kw-lang-menu { display: flex; }
.kw-lang-option {
  width: 100%;
  text-align: left;
  border-radius: 10px;
  background: transparent;
}
@media (max-width: 900px) {
  .kw-lang-switcher { margin-left: auto; margin-right: 10px; }
  .kw-lang-current { padding: 7px 9px; font-size: 0.68rem; }
}

/* ── Site v1.1 extras ───────────────────────────────────── */
.narrow { max-width: 860px; }
.kw-apps-hero { padding: 120px 0 76px; background: radial-gradient(circle at 75% 0, rgba(201,22,29,.14), transparent 42%), var(--kw-black); }
.kw-app-detail-hero { padding: 118px 0 88px; background: var(--kw-black); position: relative; overflow: hidden; }
.kw-vod-hero { background: radial-gradient(circle at 75% 8%, rgba(255,42,88,.22), transparent 42%), #08080f; }
.kw-pit-hero { background: radial-gradient(circle at 75% 8%, rgba(255,107,43,.20), transparent 42%), #06111b; }
.kw-app-detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.kw-app-detail-hero h1 { font-size: clamp(2.35rem,5.4vw,4.7rem); max-width: 820px; }
.kw-app-detail-hero p { font-size: 1.06rem; max-width: 680px; }
.kw-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.kw-badge-row span { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); border-radius: 999px; padding: 8px 13px; font-weight: 700; font-size: .78rem; color: #fff; font-family: 'Sora', sans-serif; }
.kw-app-icon-showcase { display: flex; justify-content: center; align-items: center; }
.kw-app-icon-showcase img { width: min(360px,80vw); border-radius: 72px; box-shadow: 0 36px 120px rgba(255,42,88,.22); }
.kw-pit-icon img { box-shadow: 0 36px 120px rgba(255,107,43,.18); }
.kw-screenshot-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.kw-screenshot-gallery figure { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075); border-radius: var(--radius-xl); padding: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.kw-screenshot-gallery img { width: 100%; border-radius: 22px; object-fit: cover; }
.kw-screenshot-gallery figcaption { padding: 12px 4px 4px; text-align: center; color: var(--kw-ink); font-weight: 700; font-size: .82rem; font-family: 'Sora', sans-serif; }
.kw-vod-gallery img { aspect-ratio: 941/1672; }
.kw-pit-gallery img { aspect-ratio: 9/16; background: #07111c; object-fit: cover; }
.kw-pit-gallery figure:nth-child(4) img { object-fit: contain; padding: 10px; background: #06111b; }
.kw-feature-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.kw-feature-list { display: grid; gap: 16px; }
.kw-feature-list div { padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--kw-border-light); box-shadow: 0 18px 50px rgba(8,17,13,.06); }
.kw-feature-list strong { display: block; color: var(--kw-charcoal); font-family: 'Sora', sans-serif; font-size: 1.05rem; margin-bottom: 4px; font-weight: 700; }
.kw-feature-list span { display: block; color: #666; font-size: .92rem; line-height: 1.65; }
.kw-trust-grid { display: grid; grid-template-columns: 1.2fr repeat(3,1fr); gap: 18px; align-items: stretch; }
.kw-trust-card { padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.035); border: 1px solid var(--kw-border-dark); }
.kw-trust-card h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: 'Sora', sans-serif; }
.kw-trust-card p { color: var(--kw-ink); font-size: .9rem; }
.kw-final-cta { padding: 82px 0; background: linear-gradient(135deg, var(--kw-black), #130609); text-align: center; }
.kw-final-cta h2 { max-width: 760px; margin: 0 auto 12px; }
.kw-final-cta p { max-width: 680px; margin: 0 auto; color: var(--kw-ink); }
.kw-final-cta .cta-group { justify-content: center; }
.kw-legal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.kw-legal-product { background: #fff; border: 1px solid var(--kw-border-light); border-radius: var(--radius-xl); padding: 30px; box-shadow: 0 18px 48px rgba(8,17,13,.06); }
.kw-legal-product h2 { color: var(--kw-charcoal); margin-bottom: 10px; font-family: 'Sora', sans-serif; }
.kw-legal-product p { color: #666; font-size: .94rem; margin-bottom: 18px; }
.kw-legal-product a { display: block; color: var(--kw-red); font-weight: 700; margin: 10px 0; font-family: 'Sora', sans-serif; }
.kw-legal-page { padding: 112px 0; }
.legal-wrap { background: #fff; border: 1px solid var(--kw-border-light); border-radius: var(--radius-xl); padding: 52px; color: var(--kw-charcoal); box-shadow: 0 22px 60px rgba(8,17,13,.08); }
.legal-wrap h1 { margin-bottom: 12px; font-family: 'Sora', sans-serif; }
.legal-wrap h2 { margin: 32px 0 8px; color: var(--kw-charcoal); font-size: 1.25rem; font-family: 'Sora', sans-serif; }
.legal-wrap p, .legal-wrap li { color: #444; }
.legal-wrap ul { list-style: disc; padding-left: 22px; }
.legal-wrap a { color: var(--kw-red); font-weight: 700; }

/* ── Hero Accent line ─────────────────────────────────── */
.hero-line { color: var(--kw-red); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .apps-feature, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .process-grid { grid-template-columns: repeat(3,1fr); gap: 32px; }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-media { order: -1; }
  .apps-feature { padding: 36px 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .kw-product-grid, .kw-app-detail-grid, .kw-feature-columns, .kw-trust-grid, .kw-legal-grid { grid-template-columns: 1fr; }
  .kw-product-card { grid-template-columns: 1fr; }
  .kw-product-media { min-height: 170px; }
  .kw-screenshot-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kw-app-detail-hero { text-align: left; }
  .kw-app-icon-showcase { justify-content: flex-start; }
  .kw-app-icon-showcase img { width: 240px; border-radius: 48px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .section { padding: 68px 0; }
  .hero { padding: 68px 0 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .screenshots-track { gap: 16px; }
  .screenshot-card { width: 155px; }
  .stats-row { gap: 32px; }
  .cta-group { flex-direction: column; }
  .cta-group .btn { text-align: center; justify-content: center; }
  .kw-screenshot-gallery { grid-template-columns: 1fr; }
  .kw-product-card { padding: 22px; }
  .kw-app-detail-hero { padding-top: 96px; }
  .legal-wrap { padding: 28px; }
  .kw-product-media img { width: 128px; height: 128px; }
  .kw-app-icon-showcase img { width: 210px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


/* ── v2.1 contrast and brand mark fixes ────────────────── */
.brand-text span { color: #AEB4BE; }
.text-muted-dark { color: #B7BDC6; }
.positioning p { color: #C0C6CF; }
.section-apps-bg .section-title,
.section-contact-bg .section-title,
.cta-banner h2,
.kw-apps-hero h1,
.section-dark h1,
.section-dark-2 h1,
.section-dark h2,
.section-dark-2 h2 { color: var(--kw-white); }
.section-apps-bg .section-subtitle,
.section-apps-bg .kw-product-content p,
.section-apps-bg .app-tag,
.section-contact-bg .text-muted-dark,
.cta-banner p,
.contact-list strong,
.footer-brand p,
.footer-links h4,
.footer-links a,
.footer-bottom p,
.footer-bottom span,
.footer-bottom a,
.kw-apps-hero .text-muted-dark,
.section-dark-2 .text-muted-dark { color: #B7BDC6; }
.section-about-bg,
.section-services-bg,
.section-light,
.section-light-2 { color: var(--kw-charcoal); }
.section-about-bg p,
.section-services-bg p,
.section-light p,
.section-light-2 p,
.section-about-bg li,
.section-services-bg li,
.section-light li,
.section-light-2 li,
.process-step p { color: #3E444C; }
.section-about-bg .section-title,
.section-services-bg .section-title,
.section-light .section-title,
.section-light-2 .section-title,
.process-step h4 { color: #111114; }
.section-about-bg .section-subtitle,
.section-services-bg .section-subtitle,
.section-light .section-subtitle,
.section-light-2 .section-subtitle { color: #3E444C; }
.section-about-bg .btn-secondary,
.section-services-bg .btn-secondary,
.section-light .btn-secondary,
.section-light-2 .btn-secondary { 
  color: var(--kw-charcoal);
  border-color: rgba(17,17,20,0.22);
  background: rgba(255,255,255,0.6);
}
.section-about-bg .btn-secondary:hover,
.section-services-bg .btn-secondary:hover,
.section-light .btn-secondary:hover,
.section-light-2 .btn-secondary:hover {
  color: #fff;
  background: var(--kw-red);
  border-color: var(--kw-red);
}
.footer-brand img.logo-mark-only,
.brand img.logo-mark-only { object-fit: contain; }


/* ── v2.3 requested copy contrast adjustments ────────────────── */
.btn-secondary-dark {
  color: var(--kw-charcoal) !important;
  border-color: rgba(17,17,20,0.24) !important;
  background: rgba(255,255,255,0.72);
}
.btn-secondary-dark:hover {
  color: #fff !important;
  background: var(--kw-red);
  border-color: var(--kw-red) !important;
}
