@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --brand: #1E5FE8;
  --brand-light: #60A5FA;
  --brand-dark: #1E40AF;
  --dark-bg: #111111;
  --text-primary: #111111;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --card-bg: #f5f5f5;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.site-header .logo { height: 72px; }
.site-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.site-header nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--brand); text-decoration: none; }
.header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--text-primary);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.header-cta:hover { background: #333; text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--text-primary); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 24px 24px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 72px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: #fff !important;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #333; text-decoration: none; transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary) !important;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: #999; text-decoration: none; transform: translateY(-1px); }

/* ── Bento Grid ── */
.bento {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 56px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.bento-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--card-bg);
}
.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-row-2 { grid-row: span 2; }
.bento-card.accent-yellow { background: #FDE68A; }
.bento-card.accent-green { background: #BBF7D0; }
.bento-card.accent-blue { background: #BFDBFE; }
.bento-card.accent-purple { background: #DDD6FE; }
.bento-card.accent-pink { background: #FBCFE8; }
.bento-card.accent-orange { background: #FED7AA; }

.bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
}
.bento-overlay .label {
  font-size: 14px;
  font-weight: 700;
}

.bento-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.bento-stat .number {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.bento-stat .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── Section shared ── */
.section {
  padding: 56px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-full {
  padding: 0;
  max-width: 100%;
}
.section-gray { background: #fafafa; }
.section-dark { background: var(--dark-bg); color: #fff; }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-badge {
  display: inline-block;
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-dark .section-badge { background: #222; color: #999; }
.section-header h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-dark .section-header p { color: #888; }

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .icon {
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 0;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Art Styles Gallery ── */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.style-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  transition: transform 0.2s;
  cursor: default;
}
.style-card:hover { transform: scale(1.04); }
.style-card img { width: 100%; height: 100%; object-fit: cover; }
.style-card .label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ── Products ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card-bg);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-card .name {
  padding: 16px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

/* ── Pricing ── */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--text-primary); border-width: 2px; }
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.pricing-card .price {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.pricing-card .desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.pricing-card .free-tag {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 64px 24px;
  max-width: 800px;
  margin: 0 auto;
}
.cta-section h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.store-badges img {
  height: 52px;
  border-radius: 12px;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  text-align: center;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.footer-links a:hover { color: var(--text-primary); text-decoration: none; }
.site-footer .copyright {
  font-size: 13px;
  color: #aaa;
}

/* ── Legal Pages (Terms / Privacy) ── */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.legal h1 { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.legal .last-updated { font-size: 14px; color: var(--text-secondary); margin-bottom: 48px; }
.legal h2 { font-size: 22px; font-weight: 700; margin-top: 48px; margin-bottom: 12px; color: var(--text-primary); }
.legal h3 { font-size: 17px; font-weight: 700; margin-top: 24px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 16px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--text-primary); }
.legal a { color: var(--brand); }

/* ── FAQ ── */
.faq { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.faq h1 { font-size: 42px; font-weight: 800; letter-spacing: -1px; text-align: center; margin-bottom: 48px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--brand); }
.faq-question .chevron {
  transition: transform 0.3s;
  font-size: 14px;
  color: #ccc;
  flex-shrink: 0;
  margin-left: 24px;
}
.faq-item.open .faq-question .chevron { transform: rotate(180deg); color: var(--text-primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  white-space: pre-line;
}

/* ── 404 ── */
.not-found {
  text-align: center;
  padding: 140px 24px;
}
.not-found h1 { font-size: 120px; font-weight: 900; color: var(--text-primary); letter-spacing: -4px; }
.not-found p { font-size: 18px; color: var(--text-secondary); margin: 16px 0 40px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .site-header { padding: 16px 20px; position: sticky; top: 0; background: #fff; z-index: 200; }
  .site-header nav {
    display: none;
    position: static;
    transform: none;
  }
  .site-header nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 100;
    gap: 16px;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .hero { padding: 20px 20px 24px; }
  .hero h1 { font-size: 42px; letter-spacing: -1px; }
  .hero p { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }

  .bento { padding-bottom: 8px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .bento-card.span-2 { grid-column: span 2; }

  .section { padding: 28px 20px; }
  .section-header { margin-bottom: 28px; }
  .section-header h2 { font-size: 32px; }
  .cta-section { padding: 40px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-cards { grid-template-columns: 1fr 1fr !important; max-width: 100%; margin: 0 auto; }
  .styles-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .cta-section h2 { font-size: 32px; }
  .store-badges img { height: 44px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
}
