/* NirooRemote Website — Dark Tech Theme
   Vanilla CSS, no external assets, no frameworks. */

:root {
  --bg: #0a0a0f;
  --bg-2: #06060a;
  --surface: #141420;
  --surface-2: #1c1c2a;
  --border: #2a2a3d;
  --border-strong: #3a3a55;
  --text: #e7e7ef;
  --text-dim: #8b8ba3;
  --text-faint: #5a5a72;
  --accent: #2dd4bf;
  --accent-hot: #22d3ee;
  --accent-glow: rgba(45, 212, 191, 0.22);
  --danger: #f87171;
  --warn: #fbbf24;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset,
                 0 10px 30px rgba(0, 0, 0, 0.35);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(45, 212, 191, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(34, 211, 238, 0.06), transparent 60%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hot);
}

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  color: var(--text);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ---------- Layout shell ---------- */

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--text);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  box-shadow: 0 0 24px var(--accent-glow);
  display: inline-grid;
  place-items: center;
  color: #06202b;
  font-weight: 900;
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}

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

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.lang-toggle a {
  padding: 6px 12px;
  color: var(--text-dim);
}

.lang-toggle a.active {
  background: var(--surface-2);
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 700px;
  background: radial-gradient(ellipse at 30% 10%, var(--accent-glow), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-hot));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0 0 28px;
  max-width: 52ch;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: transform 0.1s ease, border-color 0.15s ease, background 0.15s ease;
}

.btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #06202b;
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.3), 0 10px 40px -10px var(--accent-glow);
}

.btn.primary:hover {
  color: #06202b;
  filter: brightness(1.05);
}

.btn .badge-soon {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
}

.hero-note {
  font-size: 13px;
  color: var(--text-faint);
}

/* Phone mockup (CSS only) */

.phone-stack {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.phone {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a3d, #141420);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px var(--border);
}

.phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
}

.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone .notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 999px;
  background: #0a0a0f;
  z-index: 2;
}

.phone.behind {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-90%) rotate(-6deg);
  filter: brightness(0.7);
  z-index: 0;
}

.phone.front {
  position: relative;
  transform: translateX(10%) rotate(3deg);
  z-index: 1;
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--text-dim);
  margin: 0;
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Features grid */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--text);
}

.feature p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}

/* Split showcase */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase .phone {
  width: 240px;
  margin: 0 auto;
}

.showcase h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 16px;
}

.showcase p {
  color: var(--text-dim);
}

.showcase ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.showcase li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text);
  font-size: 15px;
}

.showcase li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 60%);
}

/* Privacy teaser */

.privacy-teaser {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.privacy-teaser .seal {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), #0e6d61);
  display: grid;
  place-items: center;
  color: #06202b;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.1), 0 0 30px var(--accent-glow);
}

.privacy-teaser h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.privacy-teaser p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

/* Disclaimer */

.disclaimer {
  margin-top: 48px;
  padding: 20px 24px;
  border-left: 3px solid var(--warn);
  background: rgba(251, 191, 36, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.disclaimer strong { color: var(--text); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 80px;
  padding: 48px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: flex-end;
}

.site-footer nav a {
  color: var(--text-dim);
}

.site-footer nav a:hover { color: var(--text); }

.site-footer .copy {
  color: var(--text-faint);
  font-size: 13px;
  margin-top: 14px;
}

/* ---------- Content pages (privacy / terms / support / impressum) ---------- */

.page {
  padding: 60px 0 20px;
}

.page .container {
  max-width: 780px;
}

.page h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.page .updated {
  color: var(--text-faint);
  font-size: 13px;
  margin-bottom: 40px;
  font-family: var(--font-mono);
}

.page h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  color: var(--text);
}

.page h3 {
  font-size: 17px;
  margin: 28px 0 8px;
  color: var(--text);
}

.page p,
.page li {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}

.page strong { color: var(--text); }

.page ul { padding-left: 22px; }
.page li { margin: 4px 0; }

.page .callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
}

.page .callout p { margin: 0; color: var(--text); }

/* FAQ (support.html) */

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  padding: 6px 0;
  position: relative;
  padding-right: 30px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 10px 0 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { padding: 48px 0 24px; }
  .hero-grid,
  .showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .phone-stack { min-height: 480px; margin-top: 20px; }
  .privacy-teaser {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .privacy-teaser .seal { margin: 0 auto; }
  .site-footer .container {
    grid-template-columns: 1fr;
  }
  .site-footer nav { justify-content: flex-start; }
  .nav { display: none; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero h1 { font-size: 38px; }
  .phone { width: 220px; }
  .phone.behind { display: none; }
  .phone.front { transform: none; }
}

/* Accessibility */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
