/* ========================================
   AI Headshots — Landing Page Styles
   Clean, modern, mobile-responsive
   No CSS framework — pure flexbox/grid
   ======================================== */

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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --green: #16a34a;
  --red: #dc2626;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--blue);
}

.btn-white:hover {
  background: var(--gray-100);
  color: var(--blue-dark);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
}

/* Hero */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-sub strong {
  color: #fff;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-cta .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.hero-cta .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.trust-line {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Hero Visual */
.hero-visual {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  backdrop-filter: blur(10px);
  width: 160px;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.selfie-avatar {
  background: rgba(148, 163, 184, 0.15);
  border: 2px dashed rgba(148, 163, 184, 0.3);
}

.headshot-avatar {
  background: rgba(37, 99, 235, 0.15);
  border: 2px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.arrow-icon {
  animation: pulse-right 2s ease-in-out infinite;
}

@keyframes pulse-right {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(6px); opacity: 1; }
}

/* Social Proof Bar */
.social-proof {
  padding: 2rem 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.proof-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

/* Comparison Section */
.comparison {
  padding: 5rem 0;
  background: #fff;
}

.comparison h2, .examples h2, .how-it-works h2, .pricing h2, .use-cases h2, .faq h2 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.comp-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.comp-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.comp-card ul {
  list-style: none;
  margin-top: 1.5rem;
}

.comp-card li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.comp-old {
  background: var(--gray-50);
}

.comp-new {
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border-color: var(--blue);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.comp-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.comp-price {
  font-size: 2rem;
  font-weight: 800;
}

.price-red {
  color: var(--red);
}

.price-green {
  color: var(--green);
}

.check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.x {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* Examples */
.examples {
  padding: 5rem 0;
  background: var(--gray-50);
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.example-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.example-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.example-before, .example-after {
  position: relative;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.example-before {
  background: var(--gray-100);
}

.example-after {
  background: var(--blue-light);
}

.img-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  background: rgba(255,255,255,0.8);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.badge-after {
  color: var(--blue);
}

.placeholder-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.before-img {
  background: var(--gray-200);
}

.after-img {
  background: rgba(37, 99, 235, 0.1);
  border: 2px solid rgba(37, 99, 235, 0.3);
}

.example-info {
  padding: 1.25rem;
}

.example-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.example-info p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* How It Works */
.how-it-works {
  padding: 5rem 0;
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  margin: 1.5rem auto 1rem;
  width: 80px;
  height: 80px;
  background: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* Pricing */
.pricing {
  padding: 5rem 0;
  background: var(--gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.price-desc {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.price-card li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-card-featured {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border: none;
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.price-card-featured .price-amount {
  color: #fff;
}

.price-card-featured .price-desc {
  color: rgba(255,255,255,0.7);
}

.price-card-featured .check {
  color: #86efac;
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Use Cases */
.use-cases {
  padding: 5rem 0;
  background: #fff;
}

.uses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.use-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.use-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.use-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.use-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* FAQ */
.faq {
  padding: 5rem 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}

.faq-q:hover {
  color: var(--blue);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-a p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.final-cta p {
  color: #94a3b8;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  background: var(--gray-900);
  color: var(--gray-400);
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.25rem;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-700);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-grid {
    gap: 0.75rem;
  }

  .hero-card {
    width: 120px;
    padding: 1rem;
  }

  .avatar-placeholder {
    width: 70px;
    height: 70px;
  }

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

  .comp-new {
    transform: none;
    order: -1;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .price-card-featured {
    transform: none;
    order: -1;
  }

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

  .proof-stats {
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

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

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

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

  .comparison h2, .examples h2, .how-it-works h2, .pricing h2, .use-cases h2, .faq h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-cta {
    flex-direction: column;
    padding: 0 1rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .hero-grid {
    flex-direction: column;
  }

  .arrow-icon {
    transform: rotate(90deg);
  }

  @keyframes pulse-right {
    0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.7; }
    50% { transform: rotate(90deg) translateX(6px); opacity: 1; }
  }
}
