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

:root {
  --bg: #0a0a0f;
  --bg-2: #111118;
  --bg-3: #1a1a26;
  --surface: #16161f;
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f8;
  --text-muted: #8888a8;
  --accent: #7c6fff;
  --accent-2: #a78bfa;
  --accent-glow: rgba(124, 111, 255, 0.25);
  --green: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: #fff; }

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

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg-3);
}
.nav-cta {
  background: var(--bg-3) !important;
  border: 1px solid var(--border) !important;
  color: var(--accent-2) !important;
}
.nav-cta:hover {
  border-color: var(--accent) !important;
  background: var(--accent-glow) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,111,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(124,111,255,0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(124,111,255,0.25);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #7c6fff 0%, #a78bfa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px rgba(124,111,255,0.35);
}
.btn-primary:hover {
  background: #9080ff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(124,111,255,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 240px;
  height: 480px;
  background: var(--surface);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 8px rgba(255,255,255,0.03),
    0 40px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #12121c 0%, #1a1a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.app-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  animation: pulse-icon 3s ease-in-out infinite;
}
.app-icon:nth-child(2) { animation-delay: 0.5s; }
.app-icon:nth-child(3) { animation-delay: 1s; }
.app-icon:nth-child(4) { animation-delay: 1.5s; }

.icon-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.icon-2 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.icon-3 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.icon-4 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}
.blob-1 {
  width: 280px; height: 280px;
  background: rgba(124,111,255,0.18);
  top: -40px; right: -40px;
}
.blob-2 {
  width: 200px; height: 200px;
  background: rgba(167,139,250,0.12);
  bottom: 0; left: 0;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
}

/* =============================================
   ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.about-card:hover {
  border-color: rgba(124,111,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

.about-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   APPS
   ============================================= */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.app-card:hover {
  border-color: rgba(124,111,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.app-card-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}

.app-card-body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-platform {
  font-size: 0.78rem;
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.app-card-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.app-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2);
  transition: all var(--transition);
}
.app-link:hover {
  color: #fff;
  letter-spacing: 0.3px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  width: 40px; height: 40px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-2);
  flex-shrink: 0;
}

.contact-list a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-list a:hover { color: var(--text); }

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #44445a;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-sep {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--text); }

/* =============================================
   PRIVACY PAGE
   ============================================= */
.page-hero {
  padding: 130px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 10px 0;
}

.page-hero-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Prose styles */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.prose-intro p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.prose-intro strong { color: var(--text); }

.prose-section {
  margin-bottom: 44px;
}

.prose-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.prose-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-2);
  margin: 20px 0 8px;
}

.prose-section p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.prose-section ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose-section ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.7;
}

.prose-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

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

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-top: 16px;
}

.contact-box p {
  margin-bottom: 6px !important;
  font-size: 0.95rem;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 10px 16px;
    width: 100%;
  }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-desc { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup {
    width: 180px;
    height: 360px;
  }
  .app-icon { width: 48px; height: 48px; }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
