/* WORDPINC Design System
   Aesthetic: Dark luxe with hot pink / rose / magenta gradients
   Typography: Sora (display) + Source Sans 3 (body)
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --color-bg: #0C0810;
  --color-bg-elevated: #130E18;
  --color-bg-card: #1A1222;
  --color-bg-card-hover: #221A2E;
  --color-surface: #241C30;
  --color-border: #352845;
  --color-border-light: #4A3660;
  --color-text-primary: #F0EAF4;
  --color-text-secondary: #A898B8;
  --color-text-muted: #6E5A82;
  --color-accent: #FF3C8E;
  --color-accent-light: #FF7EB5;
  --color-accent-dark: #D42872;
  --color-wp-blue: #818CF8;
  --color-shopify-green: #5CBB5C;
  --color-success: #5CEBB5;
  --color-gradient-1: linear-gradient(135deg, #FF3C8E 0%, #FF6EC7 50%, #D946EF 100%);
  --color-gradient-2: linear-gradient(135deg, #818CF8 0%, #D946EF 100%);
  --color-gradient-3: linear-gradient(135deg, #FF3C8E 0%, #818CF8 100%);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-elevated: 0 8px 32px rgba(0,0,0,0.4);
  --max-width: 1200px;
  --header-height: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-light); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-height);
  background: rgba(12,8,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s;
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--color-gradient-1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #0C0810;
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #FFD0E5; letter-spacing: -0.5px; }
.logo-text span { background: linear-gradient(135deg, #FF3C8E, #D946EF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 800; }

.nav-desktop { display: flex; align-items: center; gap: 8px; }
.nav-desktop a {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  color: var(--color-text-secondary); padding: 8px 14px; border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-desktop a:hover, .nav-desktop a.active { color: #FFF; background: var(--color-surface); }
.nav-dropdown { position: relative; }
.nav-dropdown-content {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--color-bg-elevated); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 8px;
  box-shadow: var(--shadow-elevated);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.25s;
}
.nav-dropdown:hover .nav-dropdown-content { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-content a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); font-size: 13px;
}
.nav-dropdown-content a:hover { background: var(--color-surface); color: #FFF; }
.nav-dropdown-content .dd-icon { font-size: 18px; flex-shrink: 0; }
.nav-dropdown-content .dd-label { font-weight: 600; color: var(--color-text-primary); display: block; }
.nav-dropdown-content .dd-desc { font-size: 11px; color: var(--color-text-muted); display: block; }

.nav-cta {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  background: var(--color-gradient-1); color: #0C0810 !important;
  padding: 9px 20px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,60,142,0.35); color: #0C0810 !important; }

.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #FFF;
  margin: 5px 0; transition: all 0.3s;
}
.mobile-nav {
  display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--color-bg); z-index: 99; padding: 24px; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; font-family: var(--font-display); font-size: 16px; font-weight: 500;
  color: var(--color-text-secondary); padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:hover { color: var(--color-accent); }
.mobile-nav .sub-link { padding-left: 20px; font-size: 14px; }

/* ── HERO ── */
.hero {
  padding: 140px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,60,142,0.1) 0%, rgba(217,70,239,0.05) 40%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 100px; padding: 6px 16px 6px 8px;
  font-size: 12px; color: var(--color-text-secondary); margin-bottom: 24px;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 20px; max-width: 800px; }
.hero h1 .highlight { background: var(--color-gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p.lead { font-size: 18px; color: var(--color-text-secondary); max-width: 600px; margin-bottom: 36px; line-height: 1.7; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  background: var(--color-gradient-1); color: #0C0810; padding: 14px 28px;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,60,142,0.35); color: #0C0810; }
.btn-secondary {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  background: transparent; color: var(--color-text-primary); padding: 14px 28px;
  border-radius: var(--radius-sm); border: 1px solid var(--color-border); cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-label {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--color-accent); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--color-text-secondary); max-width: 600px; margin-bottom: 48px; }

/* ── PRODUCT CARDS ── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.product-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 28px; position: relative;
  transition: all 0.3s; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--color-gradient-1); opacity: 0; transition: opacity 0.3s;
}
.product-card:hover { border-color: var(--color-border-light); transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.product-card:hover::before { opacity: 1; }

.card-icon { font-size: 32px; margin-bottom: 16px; }
.card-badges { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-display); font-size: 10px; font-weight: 600;
  padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-wp { background: rgba(129,140,248,0.15); color: var(--color-wp-blue); }
.badge-shopify { background: rgba(92,187,92,0.15); color: var(--color-shopify-green); }
.badge-soon { background: rgba(255,60,142,0.15); color: var(--color-accent); }
.badge-category { background: var(--color-surface); color: var(--color-text-secondary); }

.card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card-subtitle { font-size: 13px; color: var(--color-text-muted); margin-bottom: 12px; }
.card-desc { font-size: 14px; color: var(--color-text-secondary); margin-bottom: 20px; line-height: 1.6; }
.card-price { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--color-accent); margin-bottom: 16px; }
.card-link {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--color-accent); display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { gap: 10px; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.feature-item {
  padding: 24px; background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--color-text-secondary); line-height: 1.6; }

/* ── STATS ── */
.stats-bar {
  display: flex; justify-content: center; gap: 48px; padding: 40px 0;
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--color-accent); }
.stat-label { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }

/* ── PRODUCT PAGE ── */
.product-hero { padding: 120px 0 60px; }
.product-hero .breadcrumb {
  font-size: 13px; color: var(--color-text-muted); margin-bottom: 24px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.product-hero .breadcrumb a { color: var(--color-text-secondary); }
.product-hero .breadcrumb .sep { color: var(--color-text-muted); }

.product-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
.product-sidebar {
  position: sticky; top: 96px;
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 28px;
}
.product-sidebar .price-tag {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  color: var(--color-accent); margin-bottom: 4px;
}
.product-sidebar .price-note { font-size: 13px; color: var(--color-text-muted); margin-bottom: 20px; }
.sidebar-cta { width: 100%; padding: 14px; font-size: 15px; margin-bottom: 12px; }
.sidebar-features { list-style: none; padding: 0; }
.sidebar-features li {
  font-size: 13px; color: var(--color-text-secondary); padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-features li::before { content: '✓'; color: var(--color-success); font-weight: 700; }

.content-section { margin-bottom: 48px; }
.content-section h2 { font-size: 22px; margin-bottom: 16px; }
.content-section h3 { font-size: 17px; margin-bottom: 10px; margin-top: 24px; }
.content-section p { color: var(--color-text-secondary); margin-bottom: 14px; }
.content-section ul { list-style: none; padding: 0; }
.content-section ul li {
  padding: 8px 0 8px 24px; color: var(--color-text-secondary); font-size: 14px;
  position: relative;
}
.content-section ul li::before {
  content: '→'; position: absolute; left: 0; color: var(--color-accent);
  font-weight: 700;
}

/* ── FAQ (Schema) ── */
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--color-border); padding: 20px 0;
}
.faq-q {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--color-text-primary);
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--color-accent); transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  color: var(--color-text-secondary); font-size: 14px; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 12px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--color-text-muted); font-size: 13px; margin-top: 12px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--color-text-muted);
  margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 14px; color: var(--color-text-secondary); padding: 4px 0; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--color-border); padding-top: 24px;
  font-size: 12px; color: var(--color-text-muted); flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--color-text-muted); }
.footer-legal a:hover { color: var(--color-accent); }

/* ── CONTACT FORM ── */
.contact-form { max-width: 560px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: var(--font-display); font-size: 13px;
  font-weight: 600; color: var(--color-text-secondary); margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; font-family: var(--font-body);
  font-size: 14px; color: var(--color-text-primary);
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--color-accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── LEGAL PAGES ── */
.legal-content { max-width: 800px; }
.legal-content h1 { margin-bottom: 8px; }
.legal-content .last-updated { font-size: 13px; color: var(--color-text-muted); margin-bottom: 32px; }
.legal-content h2 { font-size: 20px; margin-top: 36px; margin-bottom: 12px; }
.legal-content p { color: var(--color-text-secondary); margin-bottom: 14px; font-size: 15px; }
.legal-content ul { margin: 12px 0 12px 24px; }
.legal-content ul li { color: var(--color-text-secondary); margin-bottom: 6px; font-size: 14px; }

/* ── CATEGORY PAGE ── */
.category-hero { padding: 120px 0 40px; text-align: center; }
.category-hero h1 { max-width: 700px; margin: 0 auto 16px; }
.category-hero p { max-width: 560px; margin: 0 auto 40px; color: var(--color-text-secondary); }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeIn 0.6s ease forwards; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-desktop { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 24px; }
  .hero-actions { flex-direction: column; }
  .hero h1 { font-size: 2rem; }
}
