/* ============================================================
   ProfilePicture.AI Clone — CSS
   Design system: Neo-brutalism
   Colors: white bg | #93C5FD blue | #86EFAC green | #000 borders
   Typography: system-ui, sans-serif
============================================================ */

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

:root {
  /* Colors */
  --bg: #ffffff;
  --bg-grid: #f9fafb;
  --text-900: #111827;
  --text-700: #374151;
  --text-500: #6B7280;
  --text-400: #9CA3AF;
  --black: #000000;

  --blue-300: rgba(147, 197, 253, 0.8);
  --blue-300-solid: #93C5FD;
  --blue-400: #60A5FA;
  --green-300: rgba(134, 239, 172, 0.8);
  --yellow-300: #FDE047;
  --red-200: #fecaca;
  --orange-200: rgba(254, 215, 170, 0.8);
  --purple-200: #e9d5ff;
  --pink-200: #fbcfe8;
  --teal-200: #99f6e4;
  --blue-200: #bae6fd;
  --green-200: #bbf7d0;

  /* Typography */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --container-w: 1280px;
  --header-h: 64px;

  /* Neo-brutalism shadows */
  --shadow: 3px 3px 0 0 #000;
  --shadow-sm: 2px 2px 0 0 #000;
  --shadow-lg: 4px 4px 0 0 #000;
  --shadow-hover: 5px 5px 0 0 #000;

  /* Border */
  --border: 1px solid #000;
  --border-2: 2px solid #000;

  --radius: 0px;
  --transition: 0.15s ease;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

/* Grid background pattern */
.hero {
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---- UTILITY ---- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.6rem 1.25rem;
  border: var(--border-2);
  cursor: pointer;
  background: var(--bg);
  color: var(--black);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-primary {
  background-color: var(--blue-300);
}

.btn-primary:hover {
  background-color: var(--blue-400);
}

.btn-blue {
  background-color: #3B82F6;
  color: #fff;
  border-color: #000;
  box-shadow: var(--shadow-sm);
}

.btn-blue:hover {
  background-color: #2563EB;
}

.btn-green {
  background-color: var(--green-300);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
}

.btn-xl {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

/* ---- BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border: var(--border-2);
}

.badge-outline {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.badge-trending {
  background: var(--yellow-300);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
}

.verified-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: #22C55E;
  color: white;
  padding: 0 0.3rem;
  font-weight: 700;
  border-radius: 3px;
  margin-left: 0.25rem;
}

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-500);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: var(--border-2);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  gap: 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

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

.logo-text {
  font-size: 0.9rem;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-link {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-700);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  padding: 0.4rem;
  border: var(--border);
  cursor: pointer;
  background: none;
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  border-top: var(--border);
  padding: 1rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.6rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  color: var(--text-700);
}

.mobile-cta {
  margin-top: 0.75rem;
  width: fit-content;
}

.hidden { display: none !important; }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: var(--border-2);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-badges {
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-900);
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 1rem;
}

.hero-body {
  font-size: 1rem;
  color: var(--text-500);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-right: -10px;
  background: var(--blue-300-solid);
}

.avatar:last-child {
  margin-right: 0;
}

.social-proof-text {
  margin-left: 14px;
  display: flex;
  flex-direction: column;
}

.proof-stars {
  color: var(--yellow-300);
  filter: drop-shadow(0 0 0px #000);
  font-size: 1rem;
  -webkit-text-stroke: 1px #888;
  text-shadow: none;
  letter-spacing: 1px;
}

.proof-count {
  font-size: 0.8rem;
  color: var(--text-500);
}

.hero-footer-note {
  font-size: 0.8rem;
  color: var(--text-400);
}

/* Hero image grid */
.hero-image-grid {
  position: relative;
}

.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.img-card {
  border: var(--border-2);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  aspect-ratio: 3/4;
}

.img-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

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

.img-card--red    { background: var(--red-200); }
.img-card--orange { background: var(--orange-200); }
.img-card--green  { background: var(--green-200); }
.img-card--purple { background: var(--purple-200); }
.img-card--yellow { background: #fef9c3; }
.img-card--blue   { background: var(--blue-200); }

/* ============================================================
   STUDIO SECTION
============================================================ */
.studio-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background-color: #f9fafb;
  border-bottom: var(--border-2);
}

.studio-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.studio-badge {
  margin-bottom: 1rem;
}

.studio-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.studio-body {
  font-size: 1rem;
  color: var(--text-500);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.studio-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-500);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(0,0,0,0.2);
}

.studio-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 1rem;
}

.studio-img-card {
  border: var(--border-2);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1;
}

.studio-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-testimonial-card {
  border: var(--border-2);
  padding: 1.25rem;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.stc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-300-solid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: var(--border);
  flex-shrink: 0;
}

.stc-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.stc-stars {
  color: var(--yellow-300);
  -webkit-text-stroke: 1px #888;
  font-size: 0.85rem;
}

.stc-quote {
  font-size: 0.875rem;
  color: var(--text-700);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================================
   REVIEWS
============================================================ */
.reviews-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background-color: var(--bg);
  border-bottom: var(--border-2);
}

.reviews-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.reviews-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.reviews-stars {
  font-size: 2rem;
  color: var(--yellow-300);
  -webkit-text-stroke: 1.5px #888;
  margin-bottom: 0.35rem;
  letter-spacing: 3px;
}

.reviews-count {
  font-size: 0.9rem;
  color: var(--text-500);
}

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

.review-card {
  border: var(--border-2);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.review-card--red    { background: var(--red-200); }
.review-card--orange { background: var(--orange-200); }
.review-card--green  { background: var(--green-200); }
.review-card--purple { background: var(--purple-200); }
.review-card--yellow { background: #fef9c3; }
.review-card--blue   { background: var(--blue-200); }
.review-card--pink   { background: var(--pink-200); }
.review-card--teal   { background: var(--teal-200); }

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.3;
}

.review-stars {
  color: var(--yellow-300);
  -webkit-text-stroke: 0.5px #888;
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.875rem;
  color: #111;
  line-height: 1.65;
}

/* ============================================================
   STYLES SECTION
============================================================ */
.styles-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background-color: #f9fafb;
  border-bottom: var(--border-2);
}

.styles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.style-pill {
  padding: 0.4rem 1rem;
  border: var(--border-2);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.style-pill:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow);
  background: var(--yellow-300);
}

.styles-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.showcase-img-card {
  position: relative;
  border: var(--border-2);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3/4;
  transition: transform var(--transition), box-shadow var(--transition);
}

.showcase-img-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.showcase-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.styles-cta {
  text-align: center;
}

/* ============================================================
   FAQ
============================================================ */
.faq-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background-color: var(--bg);
  border-bottom: var(--border-2);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.12);
  padding-bottom: 1.5rem;
}

.faq-q {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  color: var(--text-900);
}

.faq-a {
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.7;
}

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--black);
  color: #fff;
  border-bottom: var(--border-2);
}

.final-cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.final-cta .btn-primary {
  background-color: var(--blue-300);
  color: var(--black);
  border-color: var(--black);
  box-shadow: 3px 3px 0 0 rgba(255,255,255,0.4);
}

.final-cta .btn-primary:hover {
  background-color: var(--blue-400);
}

.final-cta-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background-color: var(--black);
  color: rgba(255,255,255,0.7);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
  border-top: var(--border-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.footer-links-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s ease;
}

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

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

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

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

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s ease;
}

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

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .studio-inner {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .styles-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .img-grid {
    grid-template-columns: 1fr 1fr;
  }
  .studio-img-grid {
    grid-template-columns: 1fr 1fr;
  }
  .styles-showcase {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
