/* Voice Writer Website Styles */

/* ============================================
   Variables & Reset
   ============================================ */

:root {
  --color-accent: #e94560;
  --color-accent-dark: #c73550;
  --color-navy: #1a1a2e;
  --color-navy-mid: #16213e;
  --color-navy-light: #0f3460;
  --color-bg: #f8f9fb;
  --color-bg-white: #ffffff;
  --color-text: #1a1a2e;
  --color-text-light: #555770;
  --color-text-muted: #8888a0;
  --color-border: #e8e8f0;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   Container
   ============================================ */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #ffffff;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-mid) 50%, #0d1b3e 100%);
  padding: calc(64px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15, 52, 96, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(233, 69, 96, 0.15);
  border: 1px solid rgba(233, 69, 96, 0.3);
  color: #ff6b82;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
}

.hero-title .accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--spacing-lg);
  line-height: 1.75;
  max-width: 480px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--spacing-lg);
}

.pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
}

.hero-image {
  flex-shrink: 0;
}

.app-icon-large {
  width: 260px;
  height: 260px;
  border-radius: 58px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ============================================
   Store Buttons
   ============================================ */

.store-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--color-navy);
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

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

.btn-store svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-store-label {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.65;
}

.btn-store-name {
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================
   Screenshots Section
   ============================================ */

.screenshots {
  background: var(--color-bg);
  padding: var(--spacing-2xl) 0;
  overflow: hidden;
}

.section-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  letter-spacing: -0.5px;
  margin-bottom: var(--spacing-xl);
}

.screenshots-scroll {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-lg);
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
}

.screenshots-scroll::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex-shrink: 0;
  text-align: center;
}

.screenshot-item img {
  width: 200px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: block;
}

.screenshot-caption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.feature-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-white);
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: rgba(233, 69, 96, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(233, 69, 96, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ============================================
   Privacy Highlight Section
   ============================================ */

.privacy-highlight {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  padding: var(--spacing-2xl) 0;
  position: relative;
  overflow: hidden;
}

.privacy-highlight::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.privacy-highlight .container {
  display: flex;
  align-items: center;
  gap: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.privacy-text {
  flex: 1;
}

.privacy-text .section-label {
  text-align: left;
}

.privacy-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.privacy-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 460px;
}

.privacy-checklist {
  list-style: none;
  margin-top: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: white;
  font-weight: 700;
}

.privacy-visual {
  flex-shrink: 0;
}

.privacy-badge-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.privacy-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  text-align: center;
  min-width: 200px;
}

.privacy-badge .badge-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 6px;
}

.privacy-badge .badge-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}

.privacy-badge .badge-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  position: relative;
}

.step-connector {
  position: absolute;
  top: 36px;
  left: calc(33.33% + var(--spacing-sm));
  right: calc(33.33% + var(--spacing-sm));
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(233, 69, 96, 0.3));
  display: none;
}

.step-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--color-accent);
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg-white);
  text-align: center;
}

.cta h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.5px;
  margin-bottom: var(--spacing-sm);
}

.cta p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

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

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-contact {
  font-size: 0.875rem;
}

.footer-contact a {
  color: var(--color-accent);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #ff6b82;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: var(--spacing-md);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* ============================================
   Responsive — Tablet
   ============================================ */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .app-icon-large {
    width: 200px;
    height: 200px;
    border-radius: 44px;
  }

  .features-grid {
    gap: var(--spacing-md);
  }

  .privacy-highlight .container {
    gap: var(--spacing-xl);
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-title {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

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

  .hero-badge {
    display: inline-flex;
  }

  .app-icon-large {
    width: 160px;
    height: 160px;
    border-radius: 36px;
  }

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

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

  .features-grid {
    grid-template-columns: 1fr;
  }

  .privacy-highlight .container {
    flex-direction: column;
    text-align: center;
  }

  .privacy-text .section-label {
    text-align: center;
  }

  .privacy-text p {
    max-width: 100%;
  }

  .privacy-checklist li {
    justify-content: center;
  }

  .privacy-badge-group {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .privacy-badge {
    min-width: 140px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .footer-links {
    justify-content: center;
  }

  .screenshots-scroll {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(64px + var(--spacing-xl)) 0 var(--spacing-xl);
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-store {
    width: 100%;
    max-width: 240px;
    justify-content: center;
  }

  .cta h2 {
    font-size: 1.75rem;
  }

  .screenshot-item img {
    width: 160px;
  }
}
