/* TailorTail Website Styles - "Playful Luxury" Design */
/* Compiled Tailwind utilities + custom styles */

/* ============================================
   Tailwind Reset (Preflight)
   ============================================ */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
::before, ::after {
  --tw-content: '';
}
html, :host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}
body {
  margin: 0;
  line-height: inherit;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button, select {
  text-transform: none;
}
button, input:where([type='button']), input:where([type='reset']), input:where([type='submit']) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
dialog {
  padding: 0;
}
textarea {
  resize: vertical;
}
input::placeholder, textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
button, [role="button"] {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}
img, video {
  max-width: 100%;
  height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* ============================================
   Tailwind Utility Classes
   ============================================ */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.top-0 { top: 0px; }
.top-20 { top: 5rem; }
.top-32 { top: 8rem; }
.top-48 { top: 12rem; }
.bottom-0 { bottom: 0px; }
.bottom-20 { bottom: 5rem; }
.bottom-32 { bottom: 8rem; }
.left-0 { left: 0px; }
.left-\[10\%\] { left: 10%; }
.left-\[15\%\] { left: 15%; }
.left-\[20\%\] { left: 20%; }
.right-0 { right: 0px; }
.right-\[15\%\] { right: 15%; }
.right-\[20\%\] { right: 20%; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.col-span-2 { grid-column: span 2 / span 2; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.flex { display: flex; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.h-4 { height: 1rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.min-h-screen { min-height: 100vh; }
.w-4 { width: 1rem; }
.w-8 { width: 2rem; }
.w-32 { width: 8rem; }
.w-full { width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-\[4px\] { border-radius: 4px; }
.rounded-\[32px\] { border-radius: 32px; }
.rounded-\[40px\] { border-radius: 40px; }
.border-t { border-top-width: 1px; }
.border-stone-700 { border-color: #44403C; }
.bg-white { background-color: #fff; }
.bg-stone-50 { background-color: #FAFAF9; }
.bg-stone-900 { background-color: #1C1917; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-gold-50 { --tw-gradient-from: #FFFBEB; --tw-gradient-to: rgb(255 251 235 / 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-white { --tw-gradient-to: rgb(255 255 255 / 0); --tw-gradient-stops: var(--tw-gradient-from), #fff, var(--tw-gradient-to); }
.to-lavender\/20 { --tw-gradient-to: rgb(196 181 253 / 0.2); }
.p-2 { padding: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-16 { padding-bottom: 4rem; }
.pt-8 { padding-top: 2rem; }
.pt-24 { padding-top: 6rem; }
.text-center { text-align: center; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.leading-tight { line-height: 1.25; }
.text-white { color: #fff; }
.text-gold-400 { color: #F7BE2C; }
.text-gold-600 { color: #CA8A04; }
.text-stone-500 { color: #78716C; }
.text-stone-700 { color: #44403C; }
.text-stone-800 { color: #292524; }
.text-stone-900 { color: #1C1917; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.aspect-square { aspect-ratio: 1 / 1; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:w-48 { width: 12rem; }
}
@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* Primary - Golden warmth */
  --gold-50: #FFFBEB;
  --gold-100: #FEF3C7;
  --gold-200: #FDE68A;
  --gold-400: #F7BE2C;
  --gold-500: #EAB308;
  --gold-600: #CA8A04;

  /* Secondary - Trust blue */
  --blue-400: #38BDF8;
  --blue-500: #0c8ae8;
  --blue-600: #0369A1;

  /* Neutrals - Warm grays */
  --stone-50: #FAFAF9;
  --stone-100: #F5F5F4;
  --stone-200: #E7E5E4;
  --stone-300: #D6D3D1;
  --stone-400: #A8A29E;
  --stone-500: #78716C;
  --stone-600: #57534E;
  --stone-700: #44403C;
  --stone-800: #292524;
  --stone-900: #1C1917;

  /* Accents */
  --coral: #FB7185;
  --lavender: #C4B5FD;
  --mint: #6EE7B7;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #E0F2FE 100%);
  --gradient-magic: linear-gradient(45deg, #F7BE2C, #FB7185, #C4B5FD);
  --gradient-cta: linear-gradient(135deg, #F7BE2C 0%, #EAB308 100%);
}

/* ============================================
   Base Styles
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--stone-50);
  color: var(--stone-800);
  line-height: 1.6;
}

/* Grain texture overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.03;
  z-index: 1000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   Typography
   ============================================ */
.font-display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}

.font-handwritten {
  font-family: 'Caveat', cursive;
  font-weight: 500;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ============================================
   Animations
   ============================================ */

/* Staggered fade-in on page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Floating animation for hero phone */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-12px) rotate(-3deg);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Gentle pulse */
@keyframes pulse-gentle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

.animate-pulse-gentle {
  animation: pulse-gentle 3s ease-in-out infinite;
}

/* Shine sweep on CTA buttons */
@keyframes shine {
  from {
    background-position: -200% center;
  }
  to {
    background-position: 200% center;
  }
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shine 3s ease-in-out infinite;
}

/* Draw-in line for steps */
@keyframes drawLine {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Sparkle animation */
@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

.animate-sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

.animate-sparkle-delayed {
  animation: sparkle 2s ease-in-out infinite;
  animation-delay: 0.5s;
}

.animate-sparkle-slow {
  animation: sparkle 3s ease-in-out infinite;
  animation-delay: 1s;
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-gradient {
  background: var(--gradient-hero);
  position: relative;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(247, 190, 44, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(196, 181, 253, 0.15) 0%, transparent 50%);
}

/* Phone mockup */
.phone-mockup {
  transform: rotate(-3deg);
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease-out;
}

.phone-mockup:hover {
  transform: rotate(-1deg) scale(1.02);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Polaroid-style image cards */
.polaroid {
  background: white;
  padding: 12px 12px 32px 12px;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.3s ease-out;
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 10;
}

/* Glassmorphism cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
}

/* Bento grid cards */
.bento-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-out;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.bento-card-gradient {
  background: linear-gradient(135deg, var(--gold-50) 0%, white 50%);
}

.bento-card-blue {
  background: linear-gradient(135deg, #E0F2FE 0%, white 50%);
}

.bento-card-purple {
  background: linear-gradient(135deg, #F3E8FF 0%, white 50%);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  background: var(--gradient-cta);
  color: var(--stone-900);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease-out;
  box-shadow: 0 4px 15px rgba(247, 190, 44, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 190, 44, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--stone-800);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 14px;
  border: 2px solid var(--stone-200);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease-out;
}

.btn-secondary:hover {
  border-color: var(--gold-400);
  background: var(--gold-50);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--stone-600);
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.2s ease-out;
}

.btn-ghost:hover {
  color: var(--stone-900);
  background: var(--stone-100);
}

/* App Store badges */
.store-badge {
  height: 48px;
  transition: all 0.3s ease-out;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.store-badge:hover {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

/* ============================================
   Style Gallery
   ============================================ */
.gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: center;
  width: 260px;
}

/* ============================================
   How It Works - Steps
   ============================================ */
.step-connector {
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--lavender));
  transform: translateY(-50%);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, var(--gold-100) 0%, white 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* ============================================
   Navigation
   ============================================ */
.nav-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============================================
   Mobile Sticky Download Bar
   ============================================ */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: none;
  z-index: 50;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  body {
    padding-bottom: 80px;
  }

  .hide-on-mobile {
    display: none !important;
  }
}

/* ============================================
   Legal Pages (Privacy/Terms)
   ============================================ */
.legal-content {
  max-width: 65ch;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--stone-900);
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--stone-800);
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--stone-600);
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--stone-600);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--blue-600);
}

/* Table of Contents */
.toc {
  background: var(--stone-50);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 2rem;
}

.toc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  color: var(--stone-700);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.toc-list a:hover {
  color: var(--gold-500);
}

/* Accordion for mobile legal pages */
.accordion-item {
  border-bottom: 1px solid var(--stone-200);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--stone-800);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--stone-400);
  transition: transform 0.3s;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--stone-900);
  color: var(--stone-400);
}

.footer a {
  color: var(--stone-300);
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

/* ============================================
   Decorative Elements
   ============================================ */
.sparkle {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.sparkle svg {
  width: 100%;
  height: 100%;
  fill: var(--gold-400);
}

.paw-print {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
}

/* ============================================
   Utilities
   ============================================ */
.text-gradient {
  background: var(--gradient-magic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-hero {
  background: var(--gradient-hero);
}

.text-balance {
  text-wrap: balance;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: var(--gold-200);
  color: var(--stone-900);
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 640px) {
  .hero-headline {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }

  .section-headline {
    font-size: 2rem !important;
  }

  .bento-card {
    padding: 20px;
  }

  .gallery-item {
    width: 220px;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 4rem !important;
  }

  .section-headline {
    font-size: 3rem !important;
  }
}
