/* ============================================
   SippyClips - DISRUPTIVE Stylesheet
   Napkin scribbles + Bold tech + Purple chaos
   Jokula marquee + Slush vibes + DGB boldness
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Caveat:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

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

/* --- Accessibility --- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

:root {
  --purple: #7B2FBE;
  --purple-dark: #5B1F9E;
  --purple-light: #A855F7;
  --purple-glow: rgba(123, 47, 190, 0.25);
  --purple-neon: #c084fc;
  --orange: #FF6B35;
  --yellow: #ffd93d;
  --dark: #0a0a0f;
  --dark-card: #131318;
  --ink: #1a1a2e;
  --napkin: #faf6f0;
  --white: #ffffff;
  --gray: #888;
  --green: #22c55e;
  --font-main: 'Space Grotesk', -apple-system, sans-serif;
  --font-tech: 'JetBrains Mono', 'Fira Code', monospace;
  --font-hand: 'Caveat', cursive;
}

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

body {
  font-family: var(--font-main);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-color: var(--napkin);
  cursor: default;
}

::selection {
  background: var(--purple);
  color: #fff;
}

a { color: var(--purple); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: #666;
  margin-bottom: 3rem;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }

.highlight {
  background-image: linear-gradient(120deg, rgba(123,47,190,0.2) 0%, rgba(168,85,247,0.2) 100%);
  background-repeat: no-repeat;
  background-position: 0 85%;
  background-size: 100% 35%;
  padding: 0 6px;
}

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

/* ═══════════════════════════════════════════
   NAVIGATION - Slush-inspired color hovers
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(250,246,240,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(123,47,190,0.06);
  padding: 10px 32px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.4rem; color: var(--ink);
  cursor: pointer; transition: transform 0.3s;
}
.nav-logo:hover { transform: rotate(-3deg) scale(1.05); }
.nav-logo img { height: 40px; width: auto; border-radius: 8px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }

.nav-links a {
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  position: relative; transition: all 0.3s; padding: 4px 0;
}

/* Rolling text nav links - Jokula inspired */
.nav-roll {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  height: 1.4em;
  line-height: 1.4em;
}

.nav-roll-top,
.nav-roll-bottom {
  display: block;
  transition: transform 0.35s cubic-bezier(0.65, 0.05, 0, 1);
  min-height: 1.4em;
}

.nav-roll:hover .nav-roll-top,
.nav-roll:hover .nav-roll-bottom {
  transform: translateY(-100%);
}

/* Color-coded bottom text */
.nav-links li:nth-child(1) .nav-roll-bottom { color: var(--purple); }
.nav-links li:nth-child(2) .nav-roll-bottom { color: var(--orange); }
.nav-links li:nth-child(3) .nav-roll-bottom { color: var(--green); }
.nav-links li:nth-child(4) .nav-roll-bottom { color: #E84855; }

/* Active nav class */
.nav-links a.nav-active { color: var(--purple); }

.nav-links a.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple) !important; color: #fff !important;
  padding: 14px 40px !important; border-radius: 50px; font-weight: 700;
  font-size: 1.05rem !important; letter-spacing: 0.3px;
  border: 2px solid var(--purple); transition: all 0.3s !important;
  white-space: nowrap; line-height: 1;
}
.nav-links a.nav-cta:hover {
  background: var(--dark) !important; border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.nav-links a.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 6px;
  cursor: pointer; padding: 4px; z-index: 1001;
}
.nav-hamburger span {
  width: 28px; height: 3px; background: var(--ink);
  transition: all 0.3s; display: block; border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* ═══════════════════════════════════════════
   HERO - DGB-inspired giant text, no logo image
   ═══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
  overflow: visible;
}

.hero-content { max-width: 1000px; position: relative; z-index: 2; }

/* Giant brand name - DGB style */
.hero-brand {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: -4px;
  color: var(--ink);
  line-height: 0.9;
  margin-bottom: 16px;
  position: relative;
}

.hero-brand .brand-outline {
  -webkit-text-stroke: 3px var(--purple);
  color: transparent;
}

/* Tech font for "We make..." */
.hero-make {
  font-family: var(--font-tech);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero-make .typed-text {
  color: var(--purple);
  position: relative;
}

.typing-cursor::after {
  content: '|';
  animation: typing 0.8s step-end infinite;
  color: var(--purple);
  font-weight: 300;
}

.hero-tagline {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   FLOATING NAPKIN SCRIBBLES
   Scattered handwritten notes across the page
   ═══════════════════════════════════════════ */
.napkin-scribble {
  position: absolute;
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: rgba(123, 47, 190, 0.35);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  line-height: 1.3;
  transition: opacity 0.5s, transform 0.5s;
}

.napkin-scribble.dark-text {
  color: rgba(255,255,255,0.15);
}

/* Purple ink manchones */
.ink-manchon {
  position: absolute;
  border-radius: 43% 57% 70% 30% / 46% 40% 60% 54%;
  pointer-events: none;
  z-index: 0;
}

.ink-manchon.purple {
  background: radial-gradient(circle, rgba(123,47,190,0.28) 0%, rgba(123,47,190,0.12) 45%, rgba(123,47,190,0.04) 70%, transparent 85%);
}

.ink-manchon.purple-light {
  background: radial-gradient(circle, rgba(168,85,247,0.22) 0%, rgba(168,85,247,0.10) 40%, rgba(168,85,247,0.03) 65%, transparent 80%);
  border-radius: 63% 37% 40% 60% / 56% 30% 70% 44%;
}

.ink-manchon.orange {
  background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, rgba(255,107,53,0.07) 40%, rgba(255,107,53,0.02) 60%, transparent 75%);
  border-radius: 33% 67% 50% 50% / 66% 50% 50% 34%;
}

/* ═══════════════════════════════════════════
   MARQUEE TICKER - Jokula-inspired
   ═══════════════════════════════════════════ */
.marquee-section {
  overflow: hidden;
  background: var(--dark);
  padding: 18px 0;
  position: relative;
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  padding: 0 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  transition: color 0.3s;
}

.marquee-item:hover { color: var(--purple-neon); }

.marquee-dot {
  color: var(--purple);
  padding: 0 10px;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════
   BUTTONS - Slush 3D flip inspired
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border-radius: 50px;
  font-weight: 700; font-size: 1.05rem;
  font-family: var(--font-main);
  cursor: pointer;
  border: 3px solid transparent;
  text-decoration: none;
  position: relative;
  perspective: 600px;
  overflow: visible;
  background: transparent;
}

.btn-front,
.btn-back {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  backface-visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.btn-front {
  position: relative;
}

.btn-back {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  transform: rotateX(180deg);
}

.btn:hover .btn-front {
  transform: rotateX(-180deg);
}

.btn:hover .btn-back {
  transform: rotateX(0deg);
}

/* Primary button */
.btn-primary {
  border-color: var(--purple);
}
.btn-primary .btn-front {
  background: var(--purple); color: #fff;
}
.btn-primary .btn-back {
  background: var(--dark); color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Secondary button */
.btn-secondary {
  border-color: var(--ink);
}
.btn-secondary .btn-front {
  background: transparent; color: var(--ink);
}
.btn-secondary .btn-back {
  background: var(--ink); color: #fff;
}

/* Ghost button (non-flip fallback) */
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.3);
  padding: 16px 36px;
}
.btn-ghost:hover {
  background: #fff; color: var(--dark);
  border-color: #fff;
  transform: translateY(-3px);
}

/* Sticky notes */
.hero-sticky {
  position: absolute; padding: 18px 22px; max-width: 200px;
  font-family: var(--font-hand); font-size: 1.15rem;
  font-weight: 600; color: #333; z-index: 1; line-height: 1.4;
}
.hero-sticky.note-1 { top: 18%; right: 5%; transform: rotate(4deg); }
.hero-sticky.note-2 { bottom: 22%; left: 3%; transform: rotate(-6deg); }

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */
.stats-bar {
  display: flex; justify-content: center; gap: 60px;
  padding: 50px 24px; flex-wrap: wrap; background: var(--white);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 3.5rem; font-weight: 700; color: var(--purple); line-height: 1;
  font-family: var(--font-tech);
}
.stat-label { font-size: 0.9rem; color: #666; margin-top: 6px; font-weight: 600; }

/* ═══════════════════════════════════════════
   SERVICES - Clean cards with bold hover
   ═══════════════════════════════════════════ */
#services { padding: 100px 24px; position: relative; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}

.service-card {
  background: var(--white); border-radius: 20px;
  padding: 36px 28px; position: relative;
  transition: all 0.5s cubic-bezier(0.65,0.05,0,1);
  border: 3px solid #e8e4de; overflow: hidden;
}

.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--purple);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.65,0.05,0,1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(123,47,190,0.15);
  border-color: var(--purple-light);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon { font-size: 3rem; margin-bottom: 18px; display: block; }

.service-card h3 {
  font-size: 1.5rem; margin-bottom: 10px; font-weight: 700;
}

.service-card p {
  font-size: 1rem; color: #666; line-height: 1.7;
}

.service-tag {
  display: inline-block; margin-top: 16px;
  padding: 6px 16px; background: rgba(123,47,190,0.08);
  border-radius: 50px; font-size: 0.8rem; font-weight: 700;
  color: var(--purple);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS - DARK section (DGB vibe)
   ═══════════════════════════════════════════ */
#process {
  padding: 120px 24px;
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: visible;
}

#process .section-title {
  color: #fff;
  font-size: 4rem;
}

#process .section-subtitle { color: rgba(255,255,255,0.5); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px; max-width: 1100px; margin: 0 auto;
}

.process-step {
  text-align: center; padding: 40px 24px;
  position: relative;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  background: var(--dark-card);
  transition: all 0.5s cubic-bezier(0.65,0.05,0,1);
}

.process-step:hover {
  border-color: var(--purple);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(123,47,190,0.2);
}

.process-number {
  font-family: var(--font-hand);
  font-size: 5rem; font-weight: 700;
  color: var(--purple-light);
  line-height: 1; margin-bottom: 16px;
}

.process-step h3 {
  color: #fff; font-size: 1.4rem; margin-bottom: 12px;
}

.process-step p {
  color: rgba(255,255,255,0.5); font-size: 1rem; line-height: 1.6;
}

/* ═══════════════════════════════════════════
   SOCIAL PLANNER
   ═══════════════════════════════════════════ */
#social-planner {
  padding: 100px 24px;
  position: relative;
}

/* ═══════════════════════════════════════════
   SOCIAL PROOF / TESTIMONIALS
   ═══════════════════════════════════════════ */
#proof {
  padding: 100px 24px;
  background: var(--white);
  position: relative;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}

.proof-card {
  background: var(--napkin); border-radius: 20px;
  padding: 32px; border: 3px solid #e8e4de;
  transition: all 0.4s cubic-bezier(0.65,0.05,0,1);
  position: relative;
}

.proof-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 16px 50px rgba(123,47,190,0.1);
  border-color: var(--purple-light);
}

.proof-quote {
  font-family: var(--font-hand);
  font-size: 1.4rem; color: var(--ink);
  margin-bottom: 20px; line-height: 1.4;
}

.proof-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 12px; }
.proof-author { font-size: 0.95rem; font-weight: 700; color: var(--purple); }
.proof-role { font-size: 0.85rem; color: var(--gray); }

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
#contact { padding: 100px 24px; position: relative; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; max-width: 1000px; margin: 0 auto; align-items: start;
}

.contact-info h3 { font-size: 1.8rem; margin-bottom: 16px; }
.contact-info p { color: #555; margin-bottom: 28px; line-height: 1.8; font-size: 1.05rem; }

.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px; font-size: 1rem; color: var(--ink);
}
.contact-detail-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.contact-form {
  background: var(--white); border-radius: 20px;
  padding: 36px; box-shadow: 0 8px 40px rgba(123,47,190,0.08);
  border: 3px solid #e8e4de;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 700;
  color: var(--ink); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px;
  border: 3px solid #e0dbd4; border-radius: 12px;
  font-family: var(--font-main); font-size: 1rem;
  color: var(--ink); background: var(--napkin);
  transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--purple-glow);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%; padding: 16px;
  background: var(--purple); color: #fff;
  border: none; border-radius: 50px;
  font-family: var(--font-main); font-size: 1.05rem; font-weight: 700;
  cursor: pointer; transition: all 0.4s cubic-bezier(0.65,0.05,0,1);
}
.form-submit:hover {
  background: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success {
  text-align: center; padding: 24px; color: var(--green);
  font-weight: 700; font-size: 1.1rem; display: none;
}
.form-success.show { display: block; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 70px 24px 24px;
  background: var(--dark);
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; max-width: 1200px; margin: 0 auto 40px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 40px; border-radius: 8px; }
.footer-brand span { font-weight: 700; font-size: 1.3rem; color: #fff; }
.footer-desc { font-size: 0.95rem; line-height: 1.7; max-width: 380px; }

.footer h4 {
  color: #fff; font-size: 0.95rem; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 18px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--purple-neon); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; font-size: 0.85rem;
}

.footer-social { display: flex; gap: 18px; }
.footer-social a { font-size: 1.3rem; transition: all 0.3s; }
.footer-social a:hover { transform: scale(1.3); color: var(--purple-neon); }

/* ═══════════════════════════════════════════
   DIVIDERS
   ═══════════════════════════════════════════ */
.napkin-fold {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(123,47,190,0.15) 20%, rgba(123,47,190,0.25) 50%, rgba(123,47,190,0.15) 80%, transparent 100%);
  border: none; margin: 0 auto; max-width: 50%;
}

/* ═══════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════ */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; background: var(--purple); color: #fff;
  border: none; border-radius: 50%; font-size: 1.3rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999;
  box-shadow: 0 4px 16px var(--purple-glow);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--dark); transform: translateY(-3px); }

/* ═══════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════ */
[data-theme="dark"] {
  --ink: #e2ddd5;
  --napkin: #0f0f1a;
  --white: #1a1a2e;
  --dark-card: #12121e;
  --purple-glow: rgba(155, 95, 222, 0.35);
  --purple-neon: #d4a5ff;
}

[data-theme="dark"] .nav.scrolled {
  background: rgba(15, 15, 26, 0.95);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .stat-label,
[data-theme="dark"] .contact-info p { color: #aaa; }

[data-theme="dark"] #process .section-subtitle { color: rgba(255,255,255,0.5); }

[data-theme="dark"] .napkin-scribble { color: rgba(168, 85, 247, 0.3); }

[data-theme="dark"] .ink-manchon.purple {
  background: radial-gradient(circle, rgba(123,47,190,0.4) 0%, rgba(123,47,190,0.18) 45%, rgba(123,47,190,0.06) 70%, transparent 85%);
}
[data-theme="dark"] .ink-manchon.purple-light {
  background: radial-gradient(circle, rgba(168,85,247,0.32) 0%, rgba(168,85,247,0.14) 40%, rgba(168,85,247,0.05) 65%, transparent 80%);
}
[data-theme="dark"] .ink-manchon.orange {
  background: radial-gradient(circle, rgba(255,107,53,0.25) 0%, rgba(255,107,53,0.1) 40%, rgba(255,107,53,0.03) 60%, transparent 75%);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .proof-card { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .proof-card:hover {
  border-color: var(--purple-light);
  box-shadow: 0 20px 50px rgba(123,47,190,0.25);
}

[data-theme="dark"] .service-tag { background: rgba(155,95,222,0.15); }

[data-theme="dark"] .contact-form {
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select { border-color: rgba(255,255,255,0.1); }

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder { color: #666; }

[data-theme="dark"] .btn-secondary { border-color: rgba(255,255,255,0.3); }
[data-theme="dark"] .btn-secondary .btn-front { color: var(--ink); }
[data-theme="dark"] .btn-secondary .btn-back { background: var(--ink); color: var(--napkin); }

[data-theme="dark"] .btn-primary .btn-back {
  background: var(--purple-light);
}
[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 10px 30px rgba(168,85,247,0.3);
}
[data-theme="dark"] .nav-links a.nav-cta:hover {
  background: var(--purple-light) !important;
  border-color: var(--purple-light) !important;
  box-shadow: 0 10px 30px rgba(168,85,247,0.3);
}

[data-theme="dark"] .form-submit:hover { background: var(--purple-light); }
[data-theme="dark"] .scroll-top:hover { background: var(--purple-light); }

[data-theme="dark"] .napkin-fold {
  background: linear-gradient(90deg, transparent 0%, rgba(155,95,222,0.2) 20%, rgba(155,95,222,0.35) 50%, rgba(155,95,222,0.2) 80%, transparent 100%);
}

[data-theme="dark"] .highlight {
  background-image: linear-gradient(120deg, rgba(155,95,222,0.3) 0%, rgba(184,117,247,0.3) 100%);
}

[data-theme="dark"] .nav-hamburger span { background: var(--ink); }

[data-theme="dark"] .footer-links a { color: rgba(255,255,255,0.5); }

/* Theme toggle button */
.theme-toggle {
  background: rgba(123,47,190,0.08); border: 2px solid rgba(123,47,190,0.2);
  cursor: pointer; padding: 10px; border-radius: 50%; color: var(--ink);
  transition: all 0.3s; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 10;
}
.theme-toggle:hover {
  background: rgba(123,47,190,0.2);
  border-color: var(--purple);
  transform: rotate(15deg) scale(1.1);
}
[data-theme="dark"] .theme-toggle {
  background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.3);
}
.theme-icon.sun { display: none; }
.theme-icon.moon { display: block; }
[data-theme="dark"] .theme-icon.sun { display: block; }
[data-theme="dark"] .theme-icon.moon { display: none; }

/* Dark mobile nav overlay */
@media (max-width: 968px) {
  [data-theme="dark"] .nav-links {
    background: rgba(15, 15, 26, 0.98);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 968px) {
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250,246,240,0.98); backdrop-filter: blur(10px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 36px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.4rem; }
  .nav-roll { height: 1.8em; line-height: 1.8em; }
  .nav-roll-top, .nav-roll-bottom { min-height: 1.8em; }
  .nav-hamburger { display: flex; }

  .hero-brand { letter-spacing: -2px; }
  .hero-sticky { display: none; }
  .section-title { font-size: 2.5rem; }
  #process .section-title { font-size: 2.8rem; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .stats-bar { gap: 30px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .napkin-scribble { font-size: 0.9rem; }
}

@media (max-width: 640px) {
  .hero-brand { font-size: 3rem; letter-spacing: -1px; }
  .hero-make { font-size: 1.5rem; }
  .section-title { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .process-grid { grid-template-columns: 1fr; }
  .marquee-item { font-size: 0.8rem; padding: 0 24px; }
  .napkin-scribble { display: none; }
}
