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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --text-primary: #e8dcc8;
  --text-secondary: #9a9a9a;
  --text-heading: #f5f0e8;
  --green: #4caf50;
  --green-dark: #388e3c;
  --green-glow: rgba(76, 175, 80, 0.15);
  --accent: #c77dba;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

/* =====================
   NAVBAR
   ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 24px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(199, 125, 186, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-version {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.6;
}

.hero-phone {
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-secondary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =====================
   PHONE FRAME
   ===================== */
.phone-frame {
  width: 300px;
  height: 620px;
  background: #1c1c1e;
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(76, 175, 80, 0.05);
  overflow: hidden;
}

.phone-frame-light {
  background: #e8e8ed;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 80px rgba(76, 175, 80, 0.05);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 20px;
  z-index: 10;
}

.notch-light {
  background: #1c1c1e;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

.phone-frame-sm {
  width: 260px;
  height: 540px;
  border-radius: 38px;
  padding: 10px;
}

.phone-frame-sm .phone-notch {
  top: 10px;
  width: 100px;
  height: 24px;
}

.phone-frame-sm .phone-screenshot {
  border-radius: 30px;
}

/* =====================
   SECTIONS COMMON
   ===================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* =====================
   FEATURES
   ===================== */
.features {
  padding: 120px 0;
  position: relative;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.feature-card.visible:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-heading);
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.7;
}

/* =====================
   SHOWCASE / HOW IT WORKS
   ===================== */
.showcase {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.showcase-steps {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.showcase-step {
  display: flex;
  align-items: center;
  gap: 80px;
  opacity: 0;
  transform: translateY(40px);
}

.showcase-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-reverse {
  flex-direction: row-reverse;
}

.step-content {
  flex: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--green);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-heading);
  margin-bottom: 16px;
  font-weight: 700;
}

.step-content p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 400px;
}

.step-phone {
  flex-shrink: 0;
}

/* =====================
   THEMES SECTION
   ===================== */
.themes-section {
  padding: 120px 0;
}

.themes-showcase {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.theme-phone {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.theme-phone.visible {
  opacity: 1;
  transform: translateY(0);
}

.theme-label {
  display: block;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* =====================
   PHILOSOPHY
   ===================== */
.philosophy {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 60%);
  pointer-events: none;
}

.philosophy-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
}

.philosophy-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.philosophy-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 32px;
}

.philosophy-text {
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.philosophy-accent {
  margin-top: 48px;
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 500;
}

/* =====================
   PRIVACY
   ===================== */
.privacy {
  padding: 120px 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.privacy-content {
  opacity: 0;
  transform: translateY(30px);
}

.privacy-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.privacy-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-top: 16px;
}

.privacy-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0;
  transform: translateY(30px);
}

.privacy-features.visible {
  opacity: 1;
  transform: translateY(0);
}

.privacy-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.privacy-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}

.privacy-feature h4 {
  font-size: 16px;
  color: var(--text-heading);
  margin-bottom: 4px;
  font-weight: 600;
}

.privacy-feature p {
  font-size: 14px;
  line-height: 1.6;
}

/* =====================
   CTA
   ===================== */
.cta {
  padding: 120px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.cta-content {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
}

.cta-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 17px;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 24px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* =====================
   ANIMATIONS
   ===================== */
[data-animate] {
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-text {
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-phone {
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .showcase-step {
    gap: 40px;
  }

  .privacy-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 20px;
    color: var(--text-heading);
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    padding: 100px 24px 80px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .showcase-step,
  .step-reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .step-content p {
    max-width: 100%;
  }

  .themes-showcase {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 48px;
  }

  .phone-frame {
    width: 260px;
    height: 540px;
    border-radius: 38px;
    padding: 10px;
  }

  .phone-frame .phone-notch {
    top: 10px;
    width: 100px;
    height: 24px;
  }

  .phone-frame .phone-screenshot {
    border-radius: 30px;
  }

  .phone-frame-sm {
    width: 240px;
    height: 500px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .step-number {
    font-size: 48px;
  }

  .step-content h3 {
    font-size: 26px;
  }

  .phone-frame,
  .phone-frame-sm {
    width: 220px;
    height: 460px;
    border-radius: 34px;
  }
}
