/* ============================================================
   NAME GENIE — Global Stylesheet
   Fonts: Montserrat Alternates (headings), DM Sans (body)
   Self-hosted in /fonts/ — no external requests needed.
   ============================================================ */

/* ── Self-hosted fonts ── */
@font-face {
  font-family: 'Montserrat Alternates';
  src: url('fonts/MontserratAlternates-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Alternates';
  src: url('fonts/MontserratAlternates-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Alternates';
  src: url('fonts/MontserratAlternates-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Alternates';
  src: url('fonts/MontserratAlternates-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ── */
:root {
  --bg:           #120630;
  --surface:      #1c0a42;
  --card:         #220d50;
  --border:       rgba(255, 236, 156, 0.12);
  --purple:       #300C81;
  --purple-light: #6D0094;
  --beige:        #FFEC9C;
  --beige-light:  #FFFAE6;
  --text:         #FFFAE6;
  --muted:        rgba(255, 250, 230, 0.55);
  --radius:       18px;
  --font-heading: 'Montserrat Alternates', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background atmosphere ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 5%  0%,  rgba(109,0,148,0.4)  0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 95% 85%, rgba(48,12,129,0.3)  0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 50% 100%, rgba(255,236,156,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 68px;
  background: rgba(18, 6, 48, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: none; }

.nav-links { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--beige); }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  background: var(--beige);
  color: var(--purple) !important;
  border-radius: 50px;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: var(--beige-light) !important;
  color: var(--purple) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,236,156,0.25) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--beige); border-radius: 2px; }

/* ── Shared typography ── */
h1, h2, h3 { font-family: var(--font-heading); }

/* ── Shared button ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  background: var(--beige);
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(255,236,156,0.18);
}
.btn-primary:hover {
  background: var(--beige-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,236,156,0.28);
}
.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 6vw, 5rem);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand { display: none; }

.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--beige); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,250,230,0.2);
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}
.footer-copy a { color: rgba(255,250,230,0.3); text-decoration: none; transition: color 0.2s; }
.footer-copy a:hover { color: var(--muted); }

/* ── Animations ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.35; } }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Responsive: mobile nav ── */
@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(18,6,48,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a { font-size: 1rem; }
  .hamburger { display: flex; position: absolute; right: 1.5rem; }
}


/* ============================================================
   INDEX PAGE
   ============================================================ */

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 5rem);
  min-height: calc(100vh - 68px);
  max-width: 1300px;
  margin: 0 auto;
}

.hero-text { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255,236,156,0.3);
  border-radius: 50px;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--beige);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  background: rgba(255,236,156,0.07);
  animation: fadeSlideUp 0.6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--beige);
  box-shadow: 0 0 8px var(--beige);
  animation: pulse 2s infinite;
}

.hero-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.6s 0.15s ease both;
}

.hero-logos img.hero-icon-logo {
  height: 56px;
  width: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,236,156,0.3));
}

.hero-logos img.hero-name-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,236,156,0.2));
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
  color: var(--beige-light);
  animation: fadeSlideUp 0.6s 0.1s ease both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--beige), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeSlideUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  animation: fadeSlideUp 0.6s 0.3s ease both;
}
.hero-note { font-size: 0.8rem; color: var(--muted); padding-left: 4px; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}
.hero-glow-ring {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,0,148,0.28) 0%, transparent 70%);
  animation: rotateSlow 20s linear infinite;
}
.hero-glow-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,236,156,0.12);
}
.hero-glow-ring::after {
  content: '';
  position: absolute;
  inset: 55px;
  border-radius: 50%;
  border: 1px dashed rgba(255,236,156,0.07);
}
.hero-app-img {
  position: relative;
  z-index: 2;
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 24px 80px rgba(109,0,148,0.65));
  transition: transform 0.4s ease;
}
.hero-app-img:hover { transform: translateY(-8px) scale(1.02); }

/* Features */
.features {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  max-width: 1300px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 3.5rem;
  color: var(--beige-light);
}

/* Photo cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  cursor: default;
}

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--card); /* fallback when no image */
  transition: transform 0.55s ease;
  will-change: transform;
}
.card:hover .card-bg { transform: scale(1.07); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,4,50,0.93) 0%,
    rgba(18,4,50,0.52) 45%,
    rgba(18,4,50,0.12) 100%
  );
  transition: background 0.35s;
}
.card:hover .card-overlay {
  background: linear-gradient(
    to top,
    rgba(48,12,129,0.9) 0%,
    rgba(48,12,129,0.48) 45%,
    rgba(48,12,129,0.08) 100%
  );
}

.card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(255,236,156,0.12);
  border: 1px solid rgba(255,236,156,0.22);
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
  transition: background 0.3s, border-color 0.3s;
}
.card:hover .card-icon {
  background: rgba(255,236,156,0.22);
  border-color: rgba(255,236,156,0.42);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--beige-light);
}

.card p {
  font-size: 0.875rem;
  color: rgba(255,250,230,0.68);
  line-height: 1.55;
  font-weight: 300;
}
.card p strong { color: var(--beige); font-weight: 500; }

/* CTA section */
.cta-section {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 5rem);
  max-width: 1300px;
  margin: 0 auto;
}

.cta-card {
  position: relative;
  border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(109,0,148,0.35) 0%, rgba(48,12,129,0.45) 100%);
  border: 1px solid rgba(255,236,156,0.14);
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(109,0,148,0.28), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(48,12,129,0.28), transparent 50%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  position: relative;
  color: var(--beige-light);
}
.cta-card > p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.cta-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  position: relative;
}
.cta-note { font-size: 0.8rem; color: var(--muted); }

/* Hero responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    min-height: auto;
  }
  .hero-actions { align-items: center; }
  .hero-text { max-width: 100%; }
  .hero-logos { align-items: center; }
  .hero-visual { order: -1; }
  .hero-glow-ring { width: 340px; height: 340px; }
  .hero-app-img { max-width: 280px; }
  .cards-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   LEGAL PAGES (Privacy Policy & Terms of Use)
   ============================================================ */

.page-header {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 6vw, 5rem) 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.page-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--beige-light);
  margin-bottom: 0.75rem;
}

.page-header .effective {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 6px 14px;
  background: rgba(255,236,156,0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  display: inline-block;
  margin-top: 0.5rem;
}

.doc-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem);
}

.doc-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.doc-section { margin-bottom: 2.5rem; }

.doc-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--beige-light);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--beige);
  opacity: 0.7;
  background: rgba(255,236,156,0.08);
  border: 1px solid rgba(255,236,156,0.18);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: var(--font-body);
  white-space: nowrap;
}

.doc-section p,
.doc-section li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}
.doc-section p { margin-bottom: 0.75rem; }
.doc-section strong { color: var(--beige-light); font-weight: 500; }
.doc-section em { color: var(--beige-light); font-style: italic; }
.doc-section ul,
.doc-section ol { padding-left: 1.5rem; margin-top: 0.5rem; margin-bottom: 0.75rem; }
.doc-section li { margin-bottom: 0.4rem; }
.doc-section a { color: var(--beige); opacity: 0.8; text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; }
.doc-section a:hover { opacity: 1; }

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

/* Imprint box (Privacy Policy only) */
.imprint-box {
  background: rgba(255,236,156,0.05);
  border: 1px solid rgba(255,236,156,0.18);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 2.75rem;
}

.imprint-box h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--beige);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.85;
  display: block; /* override flex from doc-section h2 */
}

.imprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 2rem;
}

.imprint-item dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--beige);
  opacity: 0.55;
  margin-bottom: 0.25rem;
}

.imprint-item dd {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 300;
}

.imprint-item dd a { color: var(--beige); opacity: 0.8; text-decoration: none; transition: opacity 0.2s; }
.imprint-item dd a:hover { opacity: 1; }
