/* ============================================
   Jacta Landing Page Styles
   Brand Color: #6356E5 (Jacta Purple)
   ============================================ */

:root {
  --color-primary: #6356E5;
  --color-primary-light: #9A8FFF;
  --color-primary-dark: #4A3FB3;
  --color-accent: #E5566A;
  --color-success: #39D98A;
  --color-text: #1a1a2e;
  --color-text-light: #4a4a68;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fc;
  --color-border: #e5e7eb;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --border-radius: 12px;
  --shadow-sm: 0 2px 8px rgba(99, 86, 229, 0.08);
  --shadow-md: 0 4px 20px rgba(99, 86, 229, 0.12);
  --shadow-lg: 0 8px 40px rgba(99, 86, 229, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

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

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

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  overflow: hidden;
}

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

.hero-text h1 {
  color: var(--color-text);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 500px;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-icon {
  height: 48px;
  width: auto;
  border-radius: 8px;
}

/* Hero Images */
.hero-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  background: linear-gradient(145deg, #ffffff 0%, #f0f0f5 100%);
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}

.phone-mockup-secondary {
  transform: translateY(40px);
}

.screenshot {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--color-bg);
}

.features h2 {
  text-align: center;
  margin-bottom: 60px;
}

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

.feature-card {
  background: var(--color-bg-alt);
  padding: 32px;
  border-radius: var(--border-radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--color-text);
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
  color: white;
}

.cta h2 {
  color: white;
}

.cta p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta .store-buttons {
  justify-content: center;
}

/* Footer */
.footer {
  padding: 48px 0;
  background: var(--color-text);
  color: white;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
}

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

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
}

/* Legal Pages */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--color-text-light);
  margin-bottom: 48px;
  font-size: 0.95rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--color-text-light);
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .hero-images {
    margin-top: 40px;
  }
  
  .phone-mockup {
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 16px;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-images {
    gap: 12px;
  }
  
  .phone-mockup {
    max-width: 150px;
    border-radius: 24px;
  }
  
  .phone-mockup-secondary {
    transform: translateY(20px);
  }
  
  .screenshot {
    border-radius: 20px;
  }
  
  .features, .cta {
    padding: 60px 0;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-brand {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}
