/* Import Google Fonts - Outfit for Headings, Inter for Body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- DESIGN TOKENS & SYSTEM VARIABLES --- */
:root {
  --bg-color: #05050a;
  --bg-gradient: radial-gradient(circle at 50% 0%, #151030 0%, #05050a 70%);
  --surface-color: rgba(15, 12, 30, 0.5);
  --surface-border: rgba(255, 255, 255, 0.08);
  --primary-color: #7c3aed; /* Violet */
  --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  --secondary-color: #ec4899; /* Pink */
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  
  --max-width: 1200px;
}

/* --- RESET & BASE STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
}

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #05050a;
}
::-webkit-scrollbar-thumb {
  background: #1e1b4b;
  border-radius: 5px;
  border: 2px solid #05050a;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.section {
  padding: 100px 0;
  position: relative;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-premium);
}

/* --- NAVIGATION BAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 10, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.nav-cta {
  background: var(--primary-gradient);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding-top: 180px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  align-self: flex-start;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #a78bfa;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
}

/* App Download Buttons */
.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  border-radius: 12px;
  color: white;
  transition: var(--transition-smooth);
}

.store-btn:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-text span:first-child {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-btn-text span:last-child {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* App Preview Image / Device Mockup */
.hero-preview {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-gradient);
  filter: blur(100px);
  opacity: 0.15;
  z-index: 1;
}

.device-wrapper {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 570px;
  border: 10px solid #1e1b4b;
  border-radius: 40px;
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.device-screen {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* --- FEATURES SECTION --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  font-size: 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 20px 40px -15px rgba(124, 58, 237, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.4rem;
}

/* --- SCREENSHOTS CAROUSEL --- */
.screenshots-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.screenshots-container::-webkit-scrollbar {
  height: 8px;
}

.screenshots-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.screenshots-container::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.screenshot-item {
  flex: 0 0 240px;
  height: 480px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  scroll-snap-align: center;
  transition: var(--transition-smooth);
  background: #000;
}

.screenshot-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(124, 58, 237, 0.4);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- DOWNLOAD SECTION (CTA) --- */
.download-cta {
  text-align: center;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.15) 0%, rgba(5, 5, 10, 0) 70%), var(--surface-color);
}

.download-cta h2 {
  font-size: 2.8rem;
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(3, 3, 7, 0.8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- LEGAL & CONTACT PAGES STYLING --- */
.legal-content {
  max-width: 800px;
  margin: 120px auto 80px;
  padding: 60px;
}

.legal-content h1 {
  font-size: 3rem;
  margin-bottom: 12px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.legal-body h2 {
  font-size: 1.6rem;
  margin-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.legal-body p, .legal-body li {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.legal-body ul {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Contact Form */
.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c084fc;
  flex-shrink: 0;
}

.contact-method h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.contact-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: var(--primary-gradient);
  border: none;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  
  .badge {
    align-self: center;
  }
  
  .download-buttons {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .navbar-container {
    padding: 0 16px;
  }
  
  .nav-links {
    display: none; /* Mobile menu can be added if needed, or keeping it clean and simple */
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .legal-content {
    padding: 30px 20px;
    margin-top: 100px;
  }
  
  .legal-content h1 {
    font-size: 2.2rem;
  }
  
  .contact-form {
    padding: 24px;
  }
}
