/* AI Photo Lab — static site styles */
:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(0, 0%, 15%);
  --card: hsl(0, 0%, 96%);
  --primary: hsl(0, 0%, 30%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(0, 0%, 94%);
  --muted-foreground: hsl(0, 0%, 45%);
  --accent: hsl(0, 0%, 25%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(0, 0%, 85%);
  --radius: 0.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-mark {
  width: 1.75rem; height: 1.75rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
}
.logo-text { font-size: 1.125rem; font-weight: 700; letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { font-size: 0.875rem; color: rgba(0,0,0,0.7); transition: color 0.2s; }
.nav a:hover { color: var(--foreground); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 0.875rem;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  background: var(--primary); color: var(--primary-foreground);
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: hsl(0, 0%, 25%); }
.btn-lg { padding: 0.875rem 3rem; font-size: 1rem; }

/* Hero */
.hero { padding: 5rem 1.5rem; background: var(--background); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.badge {
  display: inline-block;
  background: var(--accent); color: var(--accent-foreground);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.25rem 0.75rem; border-radius: 0.25rem;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 2.25rem; font-weight: 700;
  line-height: 1.2; margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
.text-primary { color: var(--primary); }
.hero p { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.hero p.small { font-size: 1rem; margin-bottom: 2rem; }
.hero-card {
     border-radius: 1rem;
    text-align: center;

}
.hero-card .stat { font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.hero-card .label { color: var(--muted-foreground); }

/* Features */
.features { background: var(--secondary); padding: 4rem 1.5rem; }
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: box-shadow 0.2s;
}
.feature:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.feature-icon {
  flex-shrink: 0;
  width: 3.5rem; height: 3.5rem;
  background: hsla(0, 0%, 30%, 0.1);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.feature h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.feature p { font-size: 0.875rem; color: var(--muted-foreground); }

/* Steps */
.steps {
  padding: 4rem 1.5rem;
  background: var(--background);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.75rem; }
.steps .lead { color: var(--muted-foreground); margin-bottom: 2.5rem; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--card);
  border-left: 4px solid var(--primary);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.step .num { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.step h3 { font-size: 1.125rem; font-weight: 600; }

/* Contact */
.contact { padding: 4rem 1.5rem; background: var(--background); text-align: center; }
.contact h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-card {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
}
.contact-card svg { color: var(--primary); width: 1.25rem; height: 1.25rem; }
.contact-card a { font-weight: 500; transition: color 0.2s; }
.contact-card a:hover { color: var(--primary); }

/* Footer */
.footer {
  background: var(--secondary);
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) { .footer-inner { flex-direction: row; } }
.footer p { font-size: 0.875rem; color: var(--muted-foreground); }
.footer nav { display: flex; align-items: center; gap: 1.5rem; }
.footer nav a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
.footer nav a:hover { color: var(--foreground); }

/* Article (Terms / Privacy) */
.article { padding: 4rem 1.5rem; }
.article h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.article .subtitle { color: var(--muted-foreground); margin-bottom: 2.5rem; }
.article .lede { color: var(--muted-foreground); margin-bottom: 2rem; line-height: 1.7; }
.article section { margin-bottom: 2rem; }
.article section h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.article section .body { color: var(--muted-foreground); line-height: 1.7; }
.article section .body > * + * { margin-top: 0.75rem; }
.article section .body strong { color: var(--foreground); font-weight: 600; }
.article section .body a { color: var(--primary); }
.article section .body a:hover { text-decoration: underline; }
.article ul { padding-left: 1.5rem; }
.article ul li + li { margin-top: 0.5rem; }

/* About */
.about { padding: 5rem 1.5rem; text-align: center; }
.about h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.about p { font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; }


/* Hamburger + mobile menu */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.375rem;
}
.hamburger:hover { background: rgba(0,0,0,0.06); }
.hamburger .icon-close { display: none; }
.hamburger.open .icon-menu { display: none; }
.hamburger.open .icon-close { display: inline-block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mobile-menu a {
  padding: 0.625rem 0;
  font-size: 0.95rem;
  color: rgba(0,0,0,0.75);
}
.mobile-menu a:hover { color: var(--foreground); }
.mobile-menu.open { display: flex; }

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .header { padding: 0.875rem 1rem; }
  .header-inner { gap: 0.5rem; }
  .header-right { gap: 0.5rem; }
  .nav { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .logo-text { font-size: 1rem; }
  .btn-subscribe { padding: 0.45rem 0.95rem; font-size: 0.85rem; }
}


/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: rgba(0,0,0,0.7);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 0.375rem;
  transition: color 0.2s, background 0.2s;
}
.lang-toggle:hover { color: var(--foreground); background: rgba(0,0,0,0.06); }
.lang-toggle .lang-label { font-weight: 600; }
.lang-toggle.mobile { padding: 0.625rem 0; justify-content: flex-start; }
