/* ============================================================================
   AumCreate · app.aumcreate.com
   Static product site. Design tokens mirror the AUMCREATE marketing system:
   brand #e8501a on warm paper, Sora (display) + Plus Jakarta Sans (body).
   ========================================================================== */

:root {
  /* Brand scale */
  --brand: #e8501a;
  --brand-50: #fef4f0;
  --brand-100: #fde6dc;
  --brand-300: #f8a487;
  --brand-400: #f2764f;
  --brand-600: #cf3f0f;

  /* Warm surface system */
  --paper: #faf7f2;
  --surface: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4a463f;
  --ink-muted: #8a847a;
  --ink-faint: #b8b2a7;
  --line: #ece7df;

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(28, 26, 23, 0.04), 0 8px 24px rgba(28, 26, 23, 0.06);
  --shadow-raised: 0 2px 4px rgba(28, 26, 23, 0.05), 0 16px 48px rgba(28, 26, 23, 0.10);
  --shadow-brand: 0 8px 24px rgba(232, 80, 26, 0.24);

  /* Radii */
  --r-md: 12px;
  --r-xl: 14px;
  --r-2xl: 20px;
  --r-3xl: 28px;

  /* Type */
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

.accent { color: var(--brand); }

/* ─── Animated gradient orbs + grid (tech atmosphere) ──────────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.orb-1 {
  width: 520px; height: 520px; top: -160px; right: -100px;
  background: radial-gradient(circle at 30% 30%, var(--brand-400), var(--brand) 55%, transparent 72%);
  animation: drift1 22s ease-in-out infinite;
}
.orb-2 {
  width: 360px; height: 360px; top: 18%; left: -120px;
  background: radial-gradient(circle at 50% 50%, #ffb38f, var(--brand-300) 50%, transparent 72%);
  opacity: 0.4;
  animation: drift2 26s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px; top: 62%; right: 8%;
  background: radial-gradient(circle at 50% 50%, var(--brand-400), var(--brand-600) 55%, transparent 72%);
  opacity: 0.28;
  animation: drift3 30s ease-in-out infinite;
}
.orb-4 {
  width: 240px; height: 240px; top: 120%; left: 20%;
  background: radial-gradient(circle at 50% 50%, #ffc9ad, transparent 70%);
  opacity: 0.35;
  animation: drift2 24s ease-in-out infinite reverse;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 50px) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, -40px) scale(1.1); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -60px) scale(1.15); }
}

/* Faint tech grid, fading out toward the bottom */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 26, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 26, 23, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 75%);
}

/* Keep all real content above the atmosphere */
.site-header, main, .site-footer { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(236, 231, 223, 0.7);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
/* Crisp, solid CTA in the header (no diffuse glow that the orange orbs wash out) */
.site-header .btn-primary {
  box-shadow: 0 2px 10px rgba(232, 80, 26, 0.28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  align-items: center;
}
.brand-text span { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 28px; }
/* Text nav links only — the :not(.btn) guard keeps button text (white) intact */
.nav > a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.18s;
}
.nav > a:not(.btn):hover { color: var(--ink); }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--r-xl);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.btn-ghost:hover { border-color: var(--brand-300); color: var(--brand-600); transform: translateY(-1px); }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 96px 0 84px; }
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; max-width: 760px; }
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-600);
  background: var(--brand-100);
  border: 1px solid var(--brand-200, #fbc8b3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 600px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--ink-muted); display: flex; align-items: center; gap: 8px; }
.hero-note::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

/* ─── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.section-desc { margin-top: 14px; color: var(--ink-muted); font-size: 16px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
/* Product cards use centered flex-wrap so a single card looks intentional
   and additional cards fill rows neatly as the lineup grows. */
.grid-cards { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.grid-cards .card { flex: 0 1 360px; max-width: 360px; }

/* ─── Feature cards ────────────────────────────────────────────────────── */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  background: var(--brand-50);
  border-radius: var(--r-md);
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ─── Product cards ────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--brand-50);
  background-size: cover;
  background-position: center;
  /* Fallback gradient shows until assets/products/wp-studio.png is added */
  background-image: linear-gradient(135deg, var(--brand-100), var(--brand-300));
}
.card-flag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(22, 163, 74, 0.95);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
  letter-spacing: 0.02em;
}
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card-desc { color: var(--ink-soft); font-size: 15px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.card-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}
.card-actions { display: flex; gap: 10px; margin-top: auto; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand .brand-text { display: inline-flex; font-size: 18px; }
.footer-brand p { color: var(--ink-muted); font-size: 14px; margin-top: 6px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; }
.footer-meta a { color: var(--brand-600); font-weight: 600; }
.footer-meta span { color: var(--ink-faint); }

/* ─── Scroll-reveal ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { gap: 16px; }
  .nav > a:not(.btn) { display: none; }   /* keep only the CTA on small screens */
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .grid-3, .grid-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
}
