/* KombinOn Landing — mobil uygulama tasarım dili */

:root {
  --lime: #7FFF00;
  --lime-dark: #5ACC00;
  --lime-text: #1A2E00;
  --lime-10: rgba(127, 255, 0, 0.1);
  --lime-20: rgba(127, 255, 0, 0.2);
  --lime-45: rgba(127, 255, 0, 0.45);

  --bg: #1C1C1E;
  --surface: #2C2C2E;
  --surface-2: #252528;
  --surface-3: #3A3A3C;
  --dark: #0A0A0B;
  --hero-grad-1: #213E03;
  --hero-grad-2: #2C2C2E;
  --hero-grad-3: #0E0404;

  --pink: #FF8FD8;
  --cream: #F5F5EE;
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.62);

  --font-body: 'Nunito', system-ui, sans-serif;
  --font-display: 'Cabin', 'Nunito', sans-serif;
  --font-detail: 'Plus Jakarta Sans', sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --container: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--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 {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Ambient glows */
.glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}
.glow--lime {
  width: 520px; height: 520px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(127,255,0,0.18) 0%, transparent 70%);
}
.glow--pink {
  width: 400px; height: 400px;
  bottom: 20%; left: -100px;
  background: radial-gradient(circle, rgba(255,143,216,0.1) 0%, transparent 70%);
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header--scrolled {
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(127, 255, 0, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand__icon { border-radius: 6px; }
.brand__name {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.brand__on { color: var(--lime); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav a {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }
.nav__cta {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  color: var(--lime-text) !important;
  font-weight: 800 !important;
}
.nav__cta:hover { filter: brightness(1.08); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-btn--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn--open span:nth-child(2) { opacity: 0; }
.menu-btn--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Typography helpers */
.eyebrow {
  font-family: var(--font-detail);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}
.text-lime { color: var(--lime); }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  color: var(--lime-text);
  box-shadow: 0 8px 32px rgba(127, 255, 0, 0.25);
}
.btn--ghost {
  border: 1px solid var(--lime-45);
  background: var(--lime-10);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  background: linear-gradient(155deg, var(--hero-grad-1) 0%, var(--hero-grad-2) 45%, var(--hero-grad-3) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 7rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.hero__desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat__value {
  display: block;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--lime);
}
.stat__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Phone mockup */
.phone {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone__frame {
  width: min(280px, 80vw);
  aspect-ratio: 9 / 19.5;
  background: var(--dark);
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 0 0 2px var(--surface-3),
    0 24px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(127,255,0,0.08);
}
.phone__notch {
  width: 100px; height: 24px;
  background: var(--dark);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 6px;
}
.phone__screen {
  border-radius: 28px;
  overflow: hidden;
  height: calc(100% - 30px);
  background: var(--bg);
}
.phone__shot {
  width: 100%; height: 100%;
  object-fit: cover;
}
.phone__float {
  position: absolute;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--lime-20);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  animation: float 5s ease-in-out infinite;
}
.phone__float--avatar {
  bottom: 8%; left: -8%;
  padding: 8px;
}
.phone__float--ortam {
  top: 12%; right: -6%;
  padding: 10px;
  animation-delay: -2.5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Pillars */
.pillars {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  background: var(--bg);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.pillar-card:hover {
  border-color: var(--lime-20);
  transform: translateY(-4px);
}
.pillar-card__num {
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.pillar-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Feature rows */
.features {
  position: relative;
  z-index: 1;
  padding: 4rem 0 6rem;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row--reverse .feature-row__text { order: 1; }
.feature-row__text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}
.feature-row__text > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.feature-visual {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
}
.feature-visual--lime {
  background: linear-gradient(145deg, var(--hero-grad-1), var(--surface));
  border: 1px solid var(--lime-20);
}
.feature-visual--lime img { max-height: 280px; }
.feature-visual--dual {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
}
.feature-visual__main { max-height: 200px; }
.feature-visual__sub {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  max-height: 80px;
  border-radius: 12px;
  border: 1px solid var(--lime-20);
  background: var(--surface-2);
  padding: 8px;
}
.feature-visual--dark {
  background: var(--dark);
  border: 1px solid var(--surface-3);
}
.feature-visual__logo {
  border-radius: var(--radius);
  max-width: 220px;
}

/* Tabs */
.tabs-section {
  position: relative;
  z-index: 1;
  padding: 4rem 0 6rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%);
}
.tabs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.tab-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.tab-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime-20);
}
.tab-card--highlight {
  border-color: var(--lime-45);
  background: linear-gradient(180deg, rgba(127,255,0,0.08), var(--surface));
}
.tab-card img { margin: 0 auto 0.75rem; opacity: 0.9; }
.tab-card h4 {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.tab-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* CTA */
.cta {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}
.cta__inner {
  text-align: center;
  background: linear-gradient(155deg, var(--hero-grad-1), var(--surface) 50%, var(--hero-grad-3));
  border: 1px solid var(--lime-20);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
}
.cta__logo {
  border-radius: 24px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.cta__inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.cta__inner > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-inline: auto;
}
.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 700;
  transition: border-color 0.2s, transform 0.2s;
}
.store-btn:hover {
  border-color: var(--lime-45);
  transform: translateY(-2px);
}
.store-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.store-btn small {
  font-family: var(--font-detail);
  font-weight: 300;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cta__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer__links h5 {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}
.footer__links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text); }
.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal--visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

/* Responsive */
@media (max-width: 1024px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .tabs-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    background: rgba(28,28,30,0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    border-bottom: 1px solid var(--lime-10);
  }
  .nav--open {
    transform: translateY(0);
    opacity: 1;
  }
  .menu-btn { display: flex; }

  .hero__grid,
  .feature-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__desc { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { margin-top: 2rem; overflow: visible; padding: 0 0.5rem 2rem; }
  .phone { overflow: visible; }
  .phone__float--avatar { left: 2%; }
  .phone__float--ortam { right: 2%; }

  .feature-row--reverse .feature-row__media { order: unset; }
  .feature-row--reverse .feature-row__text { order: unset; }
  .feature-row__text { text-align: left; }

  .pillars__grid { grid-template-columns: 1fr; }
  .tabs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }

  /* Yasal detay: mobil menü içeriğin üstüne binmesin */
  body.legal-page .header__inner {
    flex-wrap: wrap;
    align-content: center;
    padding-bottom: 0;
  }
  body.legal-page .nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    display: none;
    width: 100%;
    order: 3;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    padding: 0.5rem 0 1rem;
    background: transparent;
    border-bottom: none;
  }
  body.legal-page .nav--open {
    display: flex;
  }
  body.legal-page .menu-btn {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .tabs-grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 1rem; align-items: center; }
}

/* Yasal sayfalar — içerik menünün altında kalmasın */
html:has(body.legal-page) {
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
}

body.legal-page .header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: auto;
  min-height: var(--header-h);
  background: rgba(28, 28, 30, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(127, 255, 0, 0.08);
}

body.legal-page main {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4rem;
}

.legal-hero {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem);
  margin-bottom: 2.5rem;
  padding-top: 0.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 1.25rem;
  transition: opacity 0.2s;
}

.legal-hero__back:hover { opacity: 0.8; }

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.legal-hero__meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lime);
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0.5rem 0 1rem 1.25rem;
}

.legal-content li { margin-bottom: 0.45rem; }

.legal-content a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content strong { color: var(--text); font-weight: 700; }

.legal-card {
  background: var(--surface);
  border: 1px solid rgba(127, 255, 0, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.legal-card p:last-child { margin-bottom: 0; }

.footer__links a.is-active {
  color: var(--text);
  font-weight: 700;
}
