/* ==========================================================================
   TRENDLY SHOP — DESIGN SYSTEM
   Editorial / minimal e-commerce. White-dominant, near-black text.
   Brand purple (#1A0A2E) used only for hero, footer, header accent.
   Lime (#C6F135) used only on primary CTA button + micro-accents.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* ── Brand ── */
  --brand-deep:      #1A0A2E;
  --brand-purple:    #2D1155;
  --brand-mid:       #3D1A6E;
  --brand-gold:      #C4A231;
  --brand-gold-dim:  rgba(196, 162, 49, 0.10);
  --brand-gold-glow: rgba(196, 162, 49, 0.22);
  --brand-gold-hover:#B08E28;

  /* ── Page backgrounds (white-first) ── */
  --bg-main:            #FFFFFF;
  --bg-surface:         #FFFFFF;
  --bg-surface-elevated:#F4F4F5;
  --bg-input:           #FFFFFF;
  --bg-muted:           #F8F8F8;

  /* ── Primary CTA: gold ── */
  --primary:        var(--brand-gold);
  --primary-hover:  var(--brand-gold-hover);
  --primary-text:   #000000;
  --primary-glow:   var(--brand-gold-glow);
  --primary-light:  var(--brand-gold-dim);

  /* ── Accent colors (used sparingly) ── */
  --accent-emerald:      #22C55E;
  --accent-emerald-glow: rgba(34, 197, 94, 0.18);
  --accent-amber:        #F59E0B;
  --accent-red:          #E63B3B;

  /* ── Gradients ── */
  --grad-hero:    linear-gradient(160deg, #1A0A2E 0%, #2D1155 60%, #3D1A6E 100%);
  --grad-lime:    linear-gradient(135deg, #C6F135 0%, #A8D020 100%);
  --grad-emerald: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);

  /* ── Text ── */
  --text-primary:   #111111;
  --text-secondary: #555555;
  --text-muted:     #999999;
  --text-inverse:   #FFFFFF;

  /* ── Borders ── */
  --border-subtle:  #F0F0F0;
  --border-card:    #E5E5E5;
  --border-dark:    rgba(255, 255, 255, 0.12);

  /* ── Shadows — very light, editorial ── */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 6px 20px rgba(0,0,0,0.09);
  --shadow-lg:  0 16px 40px rgba(0,0,0,0.12);

  /* ── Typography ── */
  --font-heading: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ── Spacing ── */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* ── Border radii — editorial: smaller ── */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-xl:   12px;
  --radius-full: 9999px;

  /* ── Transitions ── */
  --transition-fast:   0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Layout ── */
  --max-width:           1280px;
  --header-height:       64px;
  --announcement-height: 36px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }

p { color: var(--text-secondary); line-height: 1.6; }

a { color: inherit; text-decoration: none; transition: var(--transition-fast); }

button, input, select, textarea {
  font-family: inherit; font-size: inherit; color: inherit;
  outline: none; border: none;
}
button { cursor: pointer; }

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

/* ── Accent text — used very sparingly ── */
.gradient-text {
  color: var(--brand-gold);
  -webkit-text-fill-color: var(--brand-gold);
}

.gradient-emerald-text {
  color: var(--accent-emerald);
  -webkit-text-fill-color: var(--accent-emerald);
}

/* ── Simple elevated card ── */
.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: #bbb; }
