/* ===== Variables ===== */
:root {
  --bg: #060610;
  --purple: #9B6DFF;
  --purple-light: #C084FC;
  --white: #FFFFFF;
  --white-70: rgba(255,255,255,0.7);
  --white-40: rgba(255,255,255,0.4);
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.6;
}

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

/* ===== Utility ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(6,6,16,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: var(--white-70);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--purple) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(155,109,255,0.3);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  z-index: 99;
  background: rgba(6,6,16,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  flex-direction: column;
  padding: 20px 24px;
  gap: 16px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--white-70);
  font-size: 1rem;
  padding: 8px 0;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--white);
}

/* ===== Orbs (animated background) ===== */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155,109,255,0.2) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: float1 8s ease-in-out infinite;
}

.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(100,60,255,0.15) 0%, transparent 70%);
  top: 200px; right: -50px;
  animation: float2 10s ease-in-out infinite;
}

.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  bottom: 50px; left: 30%;
  animation: float3 12s ease-in-out infinite;
}

.orb4 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(155,109,255,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 30px); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 580px;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(155,109,255,0.12);
  border: 1px solid rgba(155,109,255,0.25);
  color: var(--purple-light);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--white-70);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(155,109,255,0.35);
}

.btn-primary.large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-ghost {
  display: inline-block;
  color: var(--white-70);
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--glass-border);
  color: var(--white-70);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--purple);
  color: var(--white);
}

/* ===== Phone Mockup ===== */
.hero-phone {
  flex: 0 0 320px;
  z-index: 1;
}

.phone-frame {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.phone-screen {
  background: rgba(6,6,16,0.9);
  border-radius: 30px;
  padding: 24px 20px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.phone-ui {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.phone-time {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white-40);
  text-align: center;
  margin-bottom: 8px;
}

.phone-greeting {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.phone-card {
  background: rgba(155,109,255,0.08);
  border: 1px solid rgba(155,109,255,0.2);
  border-radius: 16px;
  padding: 16px;
}

.phone-card-label {
  font-size: 0.75rem;
  color: var(--purple-light);
  margin-bottom: 6px;
  font-weight: 500;
}

.phone-card-text {
  font-size: 0.9rem;
  color: var(--white-70);
}

.phone-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 90%;
}

.phone-bubble.user {
  background: var(--purple);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.phone-bubble.ai {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--white-70);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

/* ===== Trust Bar ===== */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 60px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-70);
  font-size: 0.9rem;
  font-weight: 400;
}

.trust-item span {
  font-size: 1.1rem;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--glass-border);
}

/* ===== Sections ===== */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ===== Features Preview ===== */
.features-preview {
  padding: 100px 60px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.feature-card {
  border-radius: 24px;
  padding: 2rem;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155,109,255,0.2);
}

.feature-card.featured {
  border-color: rgba(155,109,255,0.3);
  background: rgba(155,109,255,0.06);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--white-70);
  line-height: 1.6;
}

/* ===== Privacy Callout ===== */
.privacy-callout {
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.privacy-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.privacy-icon-large {
  font-size: 3rem;
  margin-bottom: 24px;
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.privacy-content p {
  color: var(--white-70);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ===== Final CTA ===== */
.final-cta {
  text-align: center;
  padding: 100px 60px;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--white-70);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  text-align: center;
  padding: 160px 60px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.page-hero p {
  color: var(--white-70);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Content Section (inner pages) ===== */
.content-section {
  padding: 0 60px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.content-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.content-section p {
  color: var(--white-70);
  line-height: 1.7;
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--white-40);
  font-size: 0.9rem;
  margin-top: 8px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--white-40);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom span {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 120px 24px 60px;
    text-align: center;
  }

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

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

  .hero-btns {
    justify-content: center;
  }

  .hero-phone {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding: 100px 20px 40px;
  }

  .trust-bar {
    padding: 24px 20px;
    gap: 16px;
  }

  .trust-divider {
    display: none;
  }

  .features-preview {
    padding: 60px 20px;
  }

  .privacy-callout {
    padding: 60px 20px;
  }

  .final-cta {
    padding: 60px 20px;
  }

  .page-hero {
    padding: 120px 24px 60px;
  }

  .content-section {
    padding: 0 24px 60px;
  }

  .footer {
    padding: 40px 24px;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
