/* Modern 2025 Design System */
:root {
  /* Core Colors */
  --primary: #4285F4;
  --primary-dark: #1a73e8;
  --primary-light: #669df6;
  --primary-subtle: #e8f0fe;
  
  /* Neutrals */
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  
  /* Semantic Colors */
  --success: #10b981;
  --white: #ffffff;
  --black: #000000;
  
  /* Modern Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --space-48: 12rem;
  --space-56: 14rem;
  
  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  line-height: var(--leading-normal);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--gray-900);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-8xl));
  font-weight: var(--font-extrabold);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl));
  font-weight: var(--font-bold);
}

h3 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--font-bold);
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
}

p {
  color: var(--gray-600);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-8);
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 var(--space-12);
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-4) 0;
  transition: all var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .nav-container {
    padding: 0 var(--space-8);
  }
}

@media (min-width: 1280px) {
  .nav-container {
    padding: 0 var(--space-12);
  }
}

/* Large Logo */
.logo-image {
  height: 40px;
  width: auto;
  transition: all var(--transition-fast);
}

@media (min-width: 768px) {
  .logo-image {
    height: 48px;
  }
}

@media (min-width: 1024px) {
  .logo-image {
    height: 56px;
  }
}

.logo-image:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Modern Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  line-height: 1;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button.primary {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.cta-button.large {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* App Store Badge Styles */
.app-store-badge {
  height: 44px;
  width: auto;
  transition: all var(--transition-fast);
}

.app-store-badge:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.app-store-badge-large {
  height: 56px;
  width: auto;
  transition: all var(--transition-fast);
}

.app-store-badge-large:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@media (min-width: 768px) {
  .app-store-badge {
    height: 48px;
  }
  
  .app-store-badge-large {
    height: 64px;
  }
}

@media (min-width: 1024px) {
  .app-store-badge {
    height: 52px;
  }
  
  .app-store-badge-large {
    height: 72px;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: var(--space-32) 0;
  background: linear-gradient(to bottom, var(--white), var(--gray-50));
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(66, 133, 244, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
  text-align: center;
}

.hero-headline {
  max-width: 950px;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  max-width: 700px;
  margin-bottom: var(--space-8);
  font-size: var(--text-xl);
  color: var(--gray-600);
  font-weight: var(--font-normal);
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: var(--space-20);
  }
  
  .hero-text {
    flex: 1;
    max-width: 600px;
  }
  
  .hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  background: linear-gradient(145deg, #1f2937, #111827);
  border-radius: 42px;
  padding: 6px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.1),
    var(--shadow-2xl);
  transition: all var(--transition-slow);
}

.phone-mockup:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 40px 60px -12px rgba(0, 0, 0, 0.4);
}

/* Notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 28px;
  background: #111827;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

/* Dynamic Island */
.phone-mockup::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 16px;
  background: var(--black);
  border-radius: 12px;
  z-index: 3;
}

.screenshot {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  object-fit: cover;
  background: var(--black);
}

/* Home indicator */
.phone-mockup .home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  z-index: 3;
}

/* Phone buttons */
.phone-mockup .volume-buttons {
  position: absolute;
  left: -3px;
  top: 120px;
  width: 3px;
  height: 60px;
  background: #374151;
  border-radius: 0 2px 2px 0;
}

.phone-mockup .volume-buttons::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 3px;
  height: 25px;
  background: #374151;
  border-radius: 0 2px 2px 0;
}

.phone-mockup .power-button {
  position: absolute;
  right: -3px;
  top: 140px;
  width: 3px;
  height: 80px;
  background: #374151;
  border-radius: 2px 0 0 2px;
}

.phone-mockup .camera-lens {
  position: absolute;
  top: 16px;
  right: 30px;
  width: 8px;
  height: 8px;
  background: #1f2937;
  border-radius: 50%;
  z-index: 4;
}

.phone-mockup .face-id-sensor {
  position: absolute;
  top: 18px;
  left: 40px;
  width: 4px;
  height: 4px;
  background: #374151;
  border-radius: 50%;
  z-index: 4;
}

.phone-mockup .speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #374151;
  border-radius: 2px;
  z-index: 4;
}

@media (min-width: 768px) {
  .phone-mockup {
    max-width: 360px;
  }
}

@media (min-width: 1024px) {
  .phone-mockup {
    max-width: 400px;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-20);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
  font-weight: var(--font-normal);
  margin-top: var(--space-4);
}

/* Problem Section */
.problem-section {
  padding: var(--space-32) 0;
  background: var(--gray-50);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }
}

.problem-item {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.problem-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-subtle);
}

.problem-icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-6);
  display: block;
}

.problem-item h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
  color: var(--gray-900);
}

.problem-item p {
  font-size: var(--text-base);
  color: var(--gray-600);
}

/* Features Section */
.features-section {
  padding: var(--space-32) 0;
  background: var(--white);
}

.feature-item {
  margin-bottom: var(--space-24);
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
}

.feature-text {
  text-align: center;
  max-width: 600px;
}

.feature-text h3 {
  margin-bottom: var(--space-4);
  color: var(--gray-900);
}

.feature-text p {
  margin-bottom: var(--space-6);
  font-size: var(--text-lg);
}

.feature-benefits {
  text-align: left;
  margin-top: var(--space-6);
}

.feature-benefits li {
  padding: var(--space-2) 0;
  position: relative;
  padding-left: var(--space-6);
  color: var(--gray-600);
}

.feature-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: var(--font-bold);
}

@media (min-width: 1024px) {
  .feature-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: var(--space-20);
  }
  
  .feature-item.reverse .feature-content {
    flex-direction: row-reverse;
  }
  
  .feature-text {
    flex: 1;
    text-align: left;
  }
  
  .feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

/* Security Section */
.security-section {
  padding: var(--space-32) 0;
  background: linear-gradient(to bottom, var(--primary-subtle), var(--white));
}

.security-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.security-content h2 {
  margin-bottom: var(--space-6);
}

.security-content > p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-12);
}

.security-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.security-feature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-xl);
  text-align: left;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.security-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.security-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  background: var(--primary-subtle);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-feature h4 {
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.security-feature p {
  margin: 0;
  color: var(--gray-600);
  font-size: var(--text-base);
}

/* Contact Section */
.contact-section {
  padding: var(--space-32) 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact-content h2 {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.contact-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xl);
  margin-bottom: var(--space-10);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-section .cta-button {
  background: var(--white);
  color: var(--primary);
  margin-bottom: var(--space-6);
}

.contact-section .cta-button:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.contact-note {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: var(--space-20) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

/* Large Footer Logo */
.footer-logo-image {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: all var(--transition-fast);
}

@media (min-width: 768px) {
  .footer-logo-image {
    height: 44px;
  }
}

.footer-logo-image:hover {
  opacity: 1;
  transform: scale(1.05);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 var(--space-4);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-lg);
}

.footer-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus states */
a:focus,
button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .feature-item,
  .problem-item,
  .security-feature {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
  }
  
  .feature-item:nth-child(1) { animation-delay: 0.1s; }
  .feature-item:nth-child(2) { animation-delay: 0.2s; }
  .feature-item:nth-child(3) { animation-delay: 0.3s; }
  .feature-item:nth-child(4) { animation-delay: 0.4s; }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading states */
img {
  transition: opacity var(--transition);
}

img.loading {
  opacity: 0.7;
}

img.loaded {
  opacity: 1;
}

/* High contrast support */
@media (prefers-contrast: high) {
  :root {
    --gray-900: #000000;
    --gray-600: #333333;
    --gray-200: #000000;
  }
  
  .cta-button {
    border: 2px solid currentColor;
  }
}

/* Privacy Policy Page Styles */
.privacy-main {
  /* No longer used */
  display: unset;
  flex-direction: unset;
  align-items: unset;
  min-height: unset;
  padding: unset;
  background: unset;
}

/* Refine privacy-policy-section for minor adjustments only */
.privacy-policy-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  max-width: 100%;
  width: 100%;
  padding: 2.5rem 2rem;
  margin: 2rem 0;
  color: #1a202c;
}
.privacy-policy-section h1 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: #2b6cb0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
.privacy-policy-section h2 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  color: #3182ce;
  font-weight: 600;
}
.privacy-policy-section ul {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}
.privacy-policy-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.privacy-policy-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .privacy-policy-section {
    padding: 1.2rem 0.7rem;
    font-size: 1rem;
  }
  .privacy-policy-section h1 {
    font-size: 1.4rem;
  }
} 