/* ===========================
   PILLARS – Website Styles
   =========================== */

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

:root {
  --green:   #34C759;
  --teal:    #30D5C8;
  --orange:  #FF9F0A;
  --purple:  #BF5AF2;
  --bg:      #060c0a;
  --surface: rgba(255,255,255,0.05);
  --border:  rgba(255,255,255,0.10);
  --text:    #f0f0f0;
  --muted:   rgba(255,255,255,0.55);
  --radius:  20px;
  --font:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── GLASS ── */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 30px rgba(52,199,89,.35);
}
.btn-primary:hover {
  background: #3de069;
  transform: translateY(-2px);
  box-shadow: 0 4px 40px rgba(52,199,89,.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  width: 100%;
  justify-content: center;
}
.btn-outline:hover { background: rgba(52,199,89,.1); }
.btn-primary.full { width: 100%; justify-content: center; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .3s;
}
.nav.scrolled {
  background: rgba(6,12,10,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all .2s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--green); }

/* ── GLOWS ── */
.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}
.glow-green  { background: var(--green);  top: -100px; left: -100px; }
.glow-teal   { background: var(--teal);   top: 100px;  right: -100px; }
.glow-purple { background: var(--purple); bottom: 0;   left: 30%; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1120px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52,199,89,.15);
  border: 1px solid rgba(52,199,89,.3);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.accent { color: var(--green); }
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 13px;
  color: var(--muted);
}

/* ── PHONE MOCKUP ── */
.phone-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  position: relative;
  width: 260px;
  background: #111;
  border-radius: 42px;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 40px 80px rgba(0,0,0,.6),
    0 0 60px rgba(52,199,89,.15);
  overflow: hidden;
  padding-top: 16px;
}
.phone-frame img {
  width: 100%;
  display: block;
  border-radius: 0 0 40px 40px;
}
.phone-mockup.small .phone-frame {
  width: 180px;
  border-radius: 32px;
}
.phone-mockup.small .phone-notch {
  width: 65px;
  height: 20px;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--muted);
  font-size: 18px;
}

/* ── FEATURES ── */
.features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon.green  { background: rgba(52,199,89,.15);  color: var(--green); }
.feature-icon.teal   { background: rgba(48,213,200,.15); color: var(--teal); }
.feature-icon.orange { background: rgba(255,159,10,.15); color: var(--orange); }
.feature-icon.purple { background: rgba(191,90,242,.15); color: var(--purple); }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ── SCREENSHOTS ── */
.screenshots { padding: 100px 0; overflow: hidden; }
.screenshot-scroll { overflow-x: auto; padding-bottom: 20px; -webkit-overflow-scrolling: touch; }
.screenshot-scroll::-webkit-scrollbar { display: none; }
.screenshot-track {
  display: flex;
  gap: 28px;
  padding: 20px 24px 10px;
  width: max-content;
  margin: 0 auto;
}
.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.screenshot-item p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* ── PRIVACY ── */
.privacy { padding: 40px 0 100px; }
.privacy-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
}
.privacy-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(52,199,89,.12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.privacy-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.privacy-text p { color: var(--muted); font-size: 15px; }
.privacy-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.badge {
  background: rgba(52,199,89,.12);
  border: 1px solid rgba(52,199,89,.25);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── PRICING ── */
.pricing { padding: 100px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.pricing-card {
  padding: 40px;
  position: relative;
}
.pricing-card.featured {
  border-color: rgba(52,199,89,.4);
  box-shadow: 0 0 40px rgba(52,199,89,.12);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #000;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-header { margin-bottom: 28px; }
.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.pricing-price { display: flex; align-items: baseline; gap: 6px; }
.price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
}
.period { color: var(--muted); font-size: 14px; }
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.check { font-size: 14px; font-weight: 700; }
.check.green { color: var(--green); }
.check.teal  { color: var(--teal); }

/* ── DOWNLOAD ── */
.download {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}
.download-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.download-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.download h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
}
.download p { color: var(--muted); font-size: 18px; }
.download-btn-group { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.appstore-btn {
  display: block;
  transition: transform .2s, opacity .2s;
  opacity: 0.75;
}
.appstore-btn:hover { transform: scale(1.04); opacity: 1; }
.download-coming {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.footer-icon { width: 28px; height: 28px; border-radius: 7px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom p {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* ── RESPONSIVE ── */

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero .container { gap: 40px; }
  .phone-frame { width: 230px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Nav */
  .nav { padding: 12px 0; }
  .nav-logo span { font-size: 16px; }
  .btn-sm { padding: 9px 16px; font-size: 13px; }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-phone { order: -1; }
  .phone-frame { width: 200px; border-radius: 36px; }
  .phone-frame img { border-radius: 0 0 34px 34px; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-title { font-size: clamp(30px, 7vw, 44px); }
  .hero-sub { font-size: 16px; margin: 0 auto 28px; max-width: 100%; }
  .hero-cta { justify-content: center; gap: 10px; }
  .hero-note { text-align: center; }

  /* Sections */
  .features  { padding: 70px 0; }
  .screenshots { padding: 70px 0; }
  .privacy   { padding: 20px 0 70px; }
  .pricing   { padding: 70px 0; }
  .download  { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header p { font-size: 16px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-card { padding: 24px; }
  .feature-icon { width: 44px; height: 44px; margin-bottom: 14px; }

  /* Privacy */
  .privacy-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
    gap: 20px;
  }
  .privacy-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .pricing-card { padding: 32px 28px; }
  .pricing-card.featured { margin-top: 16px; }

  /* Download */
  .download-icon { width: 80px; height: 80px; }
  .download h2 { font-size: clamp(26px, 7vw, 40px); }
  .download p { font-size: 16px; }

  /* Footer */
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { gap: 16px; }
}

/* Mobile */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Nav */
  .lang-toggle { padding: 7px 12px; font-size: 12px; }

  /* Hero */
  .hero { padding: 90px 0 50px; }
  .phone-frame { width: 170px; border-radius: 30px; }
  .phone-frame img { border-radius: 0 0 28px 28px; }
  .hero-title { letter-spacing: -1px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  .btn-ghost { padding: 14px 20px; font-size: 14px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 20px; }
  .feature-card h3 { font-size: 16px; }
  .feature-card p { font-size: 14px; }

  /* Screenshots – kleinere Phones */
  .phone-mockup.small .phone-frame {
    width: 140px;
    border-radius: 26px;
  }
  .phone-mockup.small .phone-frame img {
    border-radius: 0 0 24px 24px;
  }
  .screenshot-track { gap: 16px; padding: 16px 16px 8px; }

  /* Pricing */
  .pricing-card { padding: 28px 20px; }
  .price { font-size: 34px; }
  .pricing-features li { font-size: 14px; }

  /* Privacy */
  .privacy-card { padding: 24px 16px; }
  .badge { font-size: 12px; padding: 5px 12px; }

  /* Footer */
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-bottom p { font-size: 11px; }

  /* Scroll hint for screenshots */
  .screenshots::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 12px auto 0;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .phone-frame { width: 150px; }
  .hero-title { font-size: 26px; }
  .nav-logo span { display: none; }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
