/* ==========================================================================
   Niko — heyniko.co landing page styles
   Shared across en (/), tr (/tr/), ar (/ar/)
   Theme carried over from niko.playxix.com for brand consistency.
   ========================================================================== */

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

:root {
  --bg:       #000000;
  --surface:  #0D0D0D;
  --purple:   #5B2D8E;
  --purple2:  #8B5CF6;
  --pink:     #FF00CC;
  --green:    #00FF55;
  --text:     #F0F0F0;
  --muted:    #8a8a8a;
  --muted-dim:#666666;
  --border:   #1E1E1E;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

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

/* RTL (Arabic) ------------------------------------------------------------ */
html[dir="rtl"] body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, 'Geeza Pro', Arial, sans-serif;
}
html[dir="rtl"] .hero-tag,
html[dir="rtl"] .section-label,
html[dir="rtl"] .faq-title { letter-spacing: 0.5px; }

/* NAV ---------------------------------------------------------------------*/
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px; row-gap: 12px;
  padding: 18px 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-left { display: flex; align-items: center; gap: 14px; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 700; letter-spacing: -0.5px; text-decoration: none; color: var(--text); direction: ltr; }
.nav-logo img { width: 28px; height: 28px; border-radius: 8px; }
.nav-logo span { color: var(--purple2); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 3px; }
.lang-switch a {
  font-size: 12px; font-weight: 700; text-decoration: none; color: var(--muted);
  padding: 6px 12px; border-radius: 100px; transition: background 0.2s, color 0.2s;
}
.lang-switch a[aria-current="true"] { background: var(--purple2); color: #fff; }
.lang-switch a:hover:not([aria-current="true"]) { color: var(--text); }

.nav-cta {
  font-size: 13px; font-weight: 700; text-decoration: none;
  color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple2));
  padding: 9px 18px; border-radius: 100px; white-space: nowrap;
}

/* HERO ----------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 130px 24px 80px;
  position: relative;
}

.orb-wrap { position: relative; width: 150px; height: 150px; margin-bottom: 40px; }
.orb {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--pink) 0%, var(--purple) 45%, #1a0033 100%);
  box-shadow: 0 0 60px rgba(91,45,142,0.6), 0 0 120px rgba(255,0,204,0.2);
  animation: pulse 3s ease-in-out infinite;
}
.orb-logo {
  position: absolute; inset: 0; margin: auto;
  width: 74px; height: 74px; border-radius: 50%;
  object-fit: cover; opacity: 0.95;
}
.orb-ring { position: absolute; inset: -16px; border-radius: 50%; border: 1px solid rgba(139,92,246,0.3); animation: ring 3s ease-in-out infinite; }
.orb-ring2 { position: absolute; inset: -32px; border-radius: 50%; border: 1px solid rgba(255,0,204,0.15); animation: ring 3s ease-in-out infinite 0.4s; }
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(91,45,142,0.6), 0 0 120px rgba(255,0,204,0.2); }
  50% { transform: scale(1.06); box-shadow: 0 0 80px rgba(91,45,142,0.8), 0 0 160px rgba(255,0,204,0.35); }
}
@keyframes ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero::before {
  content: '';
  position: absolute;
  top: 16%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,45,142,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--purple2); margin-bottom: 18px; }
h1 { font-size: clamp(36px, 6.5vw, 74px); font-weight: 800; letter-spacing: -2px; line-height: 1.08; margin-bottom: 22px; max-width: 900px; }
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple2), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: clamp(16px, 2.3vw, 19px); color: var(--muted); max-width: 560px; line-height: 1.65; margin-bottom: 36px; }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple2)); color: #fff; box-shadow: 0 8px 32px rgba(91,45,142,0.4); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(91,45,142,0.6); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--purple2); }

.trust-row { margin-top: 28px; font-size: 13px; color: var(--muted-dim); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.trust-row .dot { opacity: 0.5; }

/* FEATURES --------------------------------------------------------------- */
.features { padding: 100px 24px; max-width: 1120px; margin: 0 auto; }
.section-label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--purple2); margin-bottom: 16px; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.section-sub { text-align: center; font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 auto 60px; line-height: 1.6; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 30px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--purple); transform: translateY(-4px); }
.card-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 18px; }
.card-icon.purple { background: rgba(91,45,142,0.2); }
.card-icon.pink   { background: rgba(255,0,204,0.15); }
.card-icon.green  { background: rgba(0,255,85,0.12); }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* QUOTE -------------------------------------------------------------------*/
.quote-section { padding: 70px 24px; text-align: center; }
.quote { max-width: 680px; margin: 0 auto; font-size: clamp(22px, 3.5vw, 36px); font-weight: 700; line-height: 1.4; letter-spacing: -0.5px; }
.quote em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple2), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* STATS ---------------------------------------------------------------- */
.stats { padding: 40px 24px; max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.stat { background: var(--surface); padding: 34px 20px; text-align: center; }
.stat-num { font-size: 38px; font-weight: 800; letter-spacing: -2px; background: linear-gradient(135deg, var(--purple2), var(--pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* PRICING ------------------------------------------------------------------*/
.pricing { padding: 100px 24px; max-width: 1080px; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 30px 26px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.price-card:hover { transform: translateY(-4px); border-color: var(--purple); }
.price-card.highlight { border-color: var(--purple2); box-shadow: 0 0 0 1px var(--purple2), 0 20px 50px rgba(139,92,246,0.15); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--purple), var(--pink)); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; padding: 5px 14px; border-radius: 100px; white-space: nowrap; }
.price-name { font-size: 14px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.price-amount { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin-bottom: 6px; }
.price-amount span { font-size: 14px; font-weight: 600; color: var(--muted-dim); }
.price-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* CTA ---------------------------------------------------------------------*/
.cta { padding: 120px 24px; text-align: center; position: relative; }
.cta::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(91,45,142,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.cta p  { font-size: 18px; color: var(--muted); margin-bottom: 40px; }

/* FAQ -----------------------------------------------------------------*/
.faq { max-width: 760px; margin: 0 auto; padding: 60px 24px 40px; border-top: 1px solid var(--border); }
.faq-title { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; text-align: center; }
.faq-item { margin-bottom: 22px; }
.faq-item dt { font-size: 15px; font-weight: 700; color: #ddd; margin-bottom: 7px; }
.faq-item dd { font-size: 14px; color: var(--muted); line-height: 1.7; margin-inline-start: 0; }
.faq-item dd a { color: var(--purple2); text-decoration: none; }
.faq-item dd a:hover { text-decoration: underline; }

/* FOOTER --------------------------------------------------------------*/
footer { border-top: 1px solid var(--border); padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; direction: ltr; }
.footer-logo img { width: 22px; height: 22px; border-radius: 6px; }
.footer-logo span { color: var(--purple2); }
footer p { font-size: 13px; color: var(--muted-dim); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted-dim); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  nav { padding: 14px 18px; }
  .nav-right { gap: 8px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .lang-switch a { padding: 6px 9px; }
  .stats { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .price-grid { grid-template-columns: 1fr 1fr; }
}

/* Stack the nav into two centered rows once logo + language switch + CTA
   no longer fit on one line (long CTA labels like "Niko'yu İndir"). */
@media (max-width: 480px) {
  .nav-left, .nav-right { width: 100%; justify-content: center; }
  .hero { padding-top: 150px; }
}

@media (max-width: 420px) {
  .price-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .nav-cta { padding: 8px 12px; font-size: 11px; }
  .lang-switch a { padding: 6px 8px; font-size: 11px; }
}
