/* ============================================================
   Variables & Reset
   ============================================================ */
:root {
  --pink:        #be125c;
  --pink-light:  #eb3181;
  --pink-dark:   #8c0d44;
  --dark:        #0d0d16;
  --dark-2:      #161622;
  --light:       #f7f6fb;
  --white:       #ffffff;
  --text:        #1a1a2e;
  --text-muted:  #666680;
  --radius:      14px;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.18);
  --transition:  0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; border-style: none; }

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

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: 1060px;
  padding: 0 24px;
  margin: 0 auto;
}

.container--narrow { max-width: 600px; }

.centred { text-align: center; }

/* ============================================================
   Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,22,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

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

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--dark);
  padding: 100px 0 90px;
  color: #fff;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--pink-light);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 36px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--pink);
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--pink-light);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

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

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

.btn-light {
  background: #fff;
  color: var(--pink);
}

.btn-light:hover {
  background: var(--light);
  transform: translateY(-1px);
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section {
  padding: 90px 0;
}

.section--alt {
  background: var(--light);
}

.section--dark {
  background: var(--dark-2);
  color: #fff;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: inherit;
}

.section--dark .section-title { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 52px;
}

.section--dark .section-sub { color: rgba(255,255,255,0.55); }
.section--dark p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ============================================================
   App Cards
   ============================================================ */
.app-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.app-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}

.app-card--soon {
  background: #fdf7fa;
}

.app-card-inner {
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(190,18,92,0.2);
}

.app-icon-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pink), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  color: #fff;
}

.app-card-title h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--text);
}

.app-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.app-card-inner p {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 28px;
  flex: 1;
}

.app-card-footer { margin-top: auto; }

.app-store-badge {
  height: 44px;
  width: auto;
}

.read-more {
  color: var(--pink);
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition);
}

.read-more:hover { color: var(--pink-light); }

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--pink), #7c3aed);
  color: #fff;
}

.app-card-screenshot {
  background: linear-gradient(160deg, #f9e0ec 0%, #fce7f3 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 24px 0;
  overflow: hidden;
}

.app-card-screenshot img {
  max-width: 180px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 20px rgba(190,18,92,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.app-card-screenshot:hover img {
  transform: translateY(-8px);
  box-shadow: 0 -12px 32px rgba(190,18,92,0.28);
}

.app-card-screenshot--placeholder {
  background: linear-gradient(160deg, #1a0a3a 0%, #2d1060 100%);
  padding: 0;
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.15;
  color: #fff;
}

/* ============================================================
   WordPress Cards
   ============================================================ */
.wp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wp-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.wp-thumb { height: 160px; overflow: hidden; }

.wp-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
}

.wp-thumb--mono {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 100%);
}

.wp-thumb--folio {
  background: linear-gradient(135deg, #0f3d2e 0%, #1a6b50 100%);
}

.wp-thumb--strand {
  background: linear-gradient(135deg, var(--pink-dark) 0%, var(--pink) 100%);
}

.wp-thumb-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.wp-card-body {
  padding: 24px;
}

.wp-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.wp-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 28px 0;
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .app-card {
    grid-template-columns: 1fr;
  }

  .app-card-screenshot {
    padding: 24px 24px 0;
    max-height: 220px;
  }

  .app-card-screenshot img {
    max-width: 120px;
  }

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

@media (max-width: 560px) {
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
  .nav-links { gap: 18px; }
  .app-card-inner { padding: 28px 24px; }
}
