/* ============================================
   ITEMMAP LANDING PAGE - COMPONENT STYLES
   Buttons, cards, forms, and page sections
   ============================================ */

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(var(--color-bg-rgb, 255, 255, 255), 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-primary);
}

/* Magic header */
[data-theme="magic"] .site-header {
  background: rgba(255, 252, 245, 0.85);
  border-bottom-color: rgba(74, 44, 106, 0.1);
}

[data-theme="magic"] .logo {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cozy header */
[data-theme="cozy"] .site-header {
  background: rgba(250, 247, 242, 0.9);
  border-bottom-color: rgba(61, 79, 74, 0.08);
}

[data-theme="cozy"] .logo {
  font-family: var(--font-display);
  font-weight: 500;
}

/* High-tech header */
[data-theme="hightech"] .site-header {
  background: rgba(10, 12, 16, 0.9);
  border-bottom-color: rgba(0, 102, 255, 0.15);
}

[data-theme="hightech"] .logo {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.25rem;
}

/* Offset body for fixed header */
body {
  padding-top: 72px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--gradient-accent, var(--color-accent));
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Magic theme button */
[data-theme="magic"] .btn-primary {
  color: #1A1420;
  position: relative;
  overflow: hidden;
}

[data-theme="magic"] .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s infinite;
}

/* Cozy theme button */
[data-theme="cozy"] .btn-primary {
  color: white;
  border-radius: var(--radius-sm);
}

/* High-tech theme button */
[data-theme="hightech"] .btn-primary {
  color: var(--color-bg);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

[data-theme="hightech"] .btn-primary::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, rgba(255,255,255,0.2), transparent);
  animation: scanBtn 2s linear infinite;
}

@keyframes scanBtn {
  to { top: 100%; }
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: 1.1rem;
}

.btn-sm {
  padding: var(--space-3) var(--space-6);
  font-size: 0.875rem;
}

/* ============================================
   EMAIL CAPTURE FORM
   ============================================ */
.email-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
  max-width: 480px;
}

@media (min-width: 640px) {
  .email-form {
    flex-direction: row;
  }
}

.email-form input[type="email"] {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-card, var(--color-bg));
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}

.email-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.1);
}

/* Magic theme input */
[data-theme="magic"] .email-form input[type="email"] {
  background: rgba(255, 252, 245, 0.9);
  backdrop-filter: blur(8px);
}

/* High-tech theme input */
[data-theme="hightech"] .email-form input[type="email"] {
  background: var(--color-bg-elevated);
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
  font-family: var(--font-mono);
}

[data-theme="hightech"] .email-form input[type="email"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.2);
}

/* ============================================
   VALUE PROPOSITION CARDS
   ============================================ */
.value-card {
  padding: var(--space-8);
  background: var(--color-bg-card, var(--color-bg-alt));
  border-radius: var(--radius-lg);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.value-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: var(--radius-md);
}

.value-card-title {
  margin-bottom: var(--space-3);
}

.value-card-text {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Magic theme cards */
[data-theme="magic"] .value-card {
  background: rgba(255, 252, 245, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 168, 83, 0.2);
}

[data-theme="magic"] .value-card:hover {
  box-shadow: var(--shadow-float), 0 0 30px rgba(212, 168, 83, 0.1);
}

[data-theme="magic"] .value-card-icon {
  background: var(--gradient-accent);
  color: #1A1420;
  box-shadow: 0 4px 12px var(--color-accent-glow);
}

/* Cozy theme cards */
[data-theme="cozy"] .value-card {
  background: var(--color-bg-card);
  border: var(--border-editorial);
  border-radius: var(--radius-md);
}

[data-theme="cozy"] .value-card:hover {
  border-color: var(--color-accent);
}

[data-theme="cozy"] .value-card-icon {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
}

/* High-tech theme cards */
[data-theme="hightech"] .value-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  position: relative;
  overflow: hidden;
}

[data-theme="hightech"] .value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-theme="hightech"] .value-card:hover::before {
  opacity: 1;
}

[data-theme="hightech"] .value-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.15);
}

[data-theme="hightech"] .value-card-icon {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

/* ============================================
   FEATURE ROWS
   ============================================ */
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.feature-row:hover {
  background: var(--color-bg-card, var(--color-bg-alt));
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: var(--radius-sm);
}

.feature-content h3 {
  margin-bottom: var(--space-2);
}

.feature-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* High-tech feature rows */
[data-theme="hightech"] .feature-row {
  background: var(--color-bg-alt);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

[data-theme="hightech"] .feature-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  font-family: var(--font-mono);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: 0.9rem;
  background: var(--color-bg-alt);
  border-radius: 100px;
  color: var(--color-text-muted);
}

.trust-badge-icon {
  color: var(--color-success);
  font-weight: bold;
}

/* High-tech badges */
[data-theme="hightech"] .trust-badge {
  background: var(--color-bg-elevated);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
  padding: var(--space-8);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.2;
}

.testimonial blockquote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Magic theme testimonials */
[data-theme="magic"] .testimonial {
  background: rgba(255, 252, 245, 0.6);
  backdrop-filter: blur(8px);
  border-left: 4px solid var(--color-accent);
}

/* Cozy theme testimonials */
[data-theme="cozy"] .testimonial {
  background: var(--color-bg-card);
  border: var(--border-editorial);
  border-left: 4px solid var(--color-accent);
}

/* High-tech testimonials */
[data-theme="hightech"] .testimonial {
  background: var(--color-bg-elevated);
  border: 1px solid rgba(var(--color-primary-rgb), 0.2);
  border-left: 4px solid var(--color-primary);
}

[data-theme="hightech"] .testimonial::before {
  color: var(--color-primary);
}

/* ============================================
   PHONE MOCKUP (CSS-only)
   ============================================ */
.phone-mockup {
  position: relative;
  width: 280px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

/* Phone notch */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 12px;
  z-index: 10;
}

/* AR visualization inside phone */
.phone-ar-demo {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.ar-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background:
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.2) 1px, transparent 1px),
    linear-gradient(rgba(var(--color-primary-rgb), 0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(400px) rotateX(60deg);
  transform-origin: bottom;
  opacity: 0.6;
}

.ar-marker {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent);
  border-radius: 6px;
  animation: markerPulse 2s ease-in-out infinite;
}

.ar-marker-1 { top: 35%; left: 20%; animation-delay: 0s; }
.ar-marker-2 { top: 45%; left: 55%; animation-delay: 0.5s; }
.ar-marker-3 { top: 60%; left: 35%; animation-delay: 1s; }

.ar-label {
  position: absolute;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-text);
  border-radius: 4px;
  white-space: nowrap;
}

.ar-label-1 { top: 32%; left: 18%; }
.ar-label-2 { top: 42%; left: 53%; }
.ar-label-3 { top: 57%; left: 33%; }

@keyframes markerPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--color-primary-rgb), 0.4);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 8px rgba(var(--color-primary-rgb), 0);
    opacity: 0.8;
  }
}

/* High-tech phone styling */
[data-theme="hightech"] .phone-screen {
  background: var(--color-bg);
}

[data-theme="hightech"] .phone-ar-demo {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

[data-theme="hightech"] .ar-label {
  background: var(--color-secondary);
  color: var(--color-bg);
  font-family: var(--font-mono);
  font-size: 9px;
}

/* ============================================
   SECTION BACKGROUNDS
   ============================================ */
.section-alt {
  background: var(--color-bg-alt);
}

/* Magic theme backgrounds */
[data-theme="magic"] .hero-section {
  background: var(--gradient-hero);
  position: relative;
}

[data-theme="magic"] .hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--texture-noise);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* High-tech backgrounds */
[data-theme="hightech"] body {
  background: var(--color-bg);
}

[data-theme="hightech"] .hero-section {
  position: relative;
  overflow: hidden;
}

[data-theme="hightech"] .hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(var(--color-primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="hightech"] .hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 60%;
  background: radial-gradient(ellipse at center top, rgba(var(--color-primary-rgb), 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-8) 0;
  background: var(--color-bg-alt);
  text-align: center;
}

.footer a {
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--color-accent);
}

[data-theme="hightech"] .footer {
  background: var(--color-bg-elevated);
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

/* ============================================
   MAGIC THEME - ENHANCED STYLES
   Enchanted grimoire aesthetic
   ============================================ */

/* Magic hero enhancements */
[data-theme="magic"] .hero-section {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(74, 44, 106, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(45, 90, 90, 0.06) 0%, transparent 50%),
    var(--gradient-hero);
}

[data-theme="magic"] .heading-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="magic"] .heading-section {
  position: relative;
  display: inline-block;
}

/* Gold underline accent on section headings */
[data-theme="magic"] .heading-section::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* Magic phone mockup - floating effect */
/* Note: Must include heroReveal to preserve the reveal animation from .hero-animate
   The .hero-animate-delay-3 class adds 0.3s delay, so magicFloat starts at 1.2s (0.3s + 0.9s) */
[data-theme="magic"] .phone-mockup.hero-animate {
  animation:
    heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards,
    magicFloat 6s ease-in-out 1.2s infinite;
  box-shadow:
    0 50px 100px rgba(74, 44, 106, 0.2),
    0 0 60px rgba(212, 168, 83, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

@keyframes magicFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

/* Magic phone screen - mystical purple interior */
[data-theme="magic"] .phone-screen {
  background: #3D2E5A;
}

[data-theme="magic"] .phone-ar-demo {
  background: linear-gradient(180deg, #4A3968 0%, #2D2442 100%);
}

[data-theme="magic"] .ar-grid {
  background:
    linear-gradient(90deg, rgba(212, 168, 83, 0.4) 1px, transparent 1px),
    linear-gradient(rgba(212, 168, 83, 0.4) 1px, transparent 1px);
  opacity: 0.9;
}

[data-theme="magic"] .ar-marker {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px var(--color-accent-glow);
}

[data-theme="magic"] .ar-label {
  background: var(--gradient-accent);
  color: #1A1420;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--color-accent-glow);
}

/* Magic sparkles - enhanced */
[data-theme="magic"] .sparkle {
  position: absolute;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow:
    0 0 10px var(--color-accent-glow),
    0 0 20px var(--color-accent-glow);
  animation: sparkle 3s ease-in-out infinite;
  pointer-events: none;
}

/* Star-shaped sparkles */
[data-theme="magic"] .sparkle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  transform: translate(-50%, -50%);
}

[data-theme="magic"] .sparkle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 200%;
  background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
  transform: translate(-50%, -50%);
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

/* Cozy sparkles - gentle floating dots */
.sparkle {
  position: absolute;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(214, 104, 83, 0.5);
  animation: sparkleCozy 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sparkleCozy {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5) translateY(0);
  }
  50% {
    opacity: 0.7;
    transform: scale(1) translateY(-10px);
  }
}

/* Magic feature icons - glowing */
[data-theme="magic"] .feature-icon {
  background: var(--gradient-accent);
  color: #1A1420;
  box-shadow: 0 4px 15px var(--color-accent-glow);
  border-radius: var(--radius-md);
}

/* Magic trust badges */
[data-theme="magic"] .trust-badge {
  background: rgba(255, 252, 245, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 168, 83, 0.2);
}

[data-theme="magic"] .trust-badge-icon {
  color: var(--color-accent);
  text-shadow: 0 0 8px var(--color-accent-glow);
}

/* Magic testimonial quote marks */
[data-theme="magic"] .testimonial::before {
  color: var(--color-accent);
  opacity: 0.4;
}

/* Hero section base - needed for absolute positioning of decorations */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Hero grid layout - text left, phone right */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-text {
    text-align: left;
  }
}

.hero-text .body-large {
  max-width: 500px;
}

@media (min-width: 768px) {
  .hero-text .body-large {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-visual {
    justify-content: flex-end;
  }
}

/* Decorations container - scoped to phone area */
.hero-decorations {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 600px;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .hero-decorations {
    left: auto;
    right: 0;
    transform: translate(0, -50%);
  }
}

/* Ensure content is above decorations */
.hero-section .container {
  position: relative;
  z-index: 1;
}

/* Phone needs highest z-index in hero */
.hero-section .phone-mockup {
  position: relative;
  z-index: 2;
}

/* ============================================
   COZY THEME - ENHANCED STYLES
   Editorial sanctuary aesthetic
   ============================================ */

/* Cozy hero enhancements */
[data-theme="cozy"] .hero-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 60%, var(--color-secondary) 100%);
  position: relative;
}

[data-theme="cozy"] .heading-hero {
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* Handwritten-style underline on hero */
[data-theme="cozy"] .heading-hero::after {
  content: '';
  display: block;
  width: 120px;
  height: 6px;
  margin: 16px auto 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2,4 Q30,1 60,4 T118,4' stroke='%23D66853' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  [data-theme="cozy"] .heading-hero::after {
    margin: 16px 0 0;
  }
}

[data-theme="cozy"] .heading-section {
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Cozy phone mockup - subtle tilt */
[data-theme="cozy"] .phone-mockup {
  transform: rotate(-2deg);
  box-shadow:
    0 40px 80px rgba(61, 79, 74, 0.15),
    0 15px 30px rgba(61, 79, 74, 0.1);
}

[data-theme="cozy"] .phone-mockup:hover {
  transform: rotate(0deg);
}

[data-theme="cozy"] .ar-marker {
  border-color: var(--color-accent);
  border-width: 3px;
  border-radius: 4px;
}

[data-theme="cozy"] .ar-label {
  background: var(--color-accent);
  color: white;
  font-weight: 600;
  border-radius: 3px;
}

/* Cozy feature rows - editorial lines */
[data-theme="cozy"] .feature-row {
  background: transparent;
  border-bottom: 1px solid rgba(61, 79, 74, 0.1);
  border-radius: 0;
  padding: var(--space-6) 0;
}

[data-theme="cozy"] .feature-row:last-child {
  border-bottom: none;
}

[data-theme="cozy"] .feature-icon {
  background: var(--color-bg-alt);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

/* Cozy trust badges - pill style */
[data-theme="cozy"] .trust-badge {
  background: white;
  border: 1px solid rgba(61, 79, 74, 0.15);
  font-weight: 500;
}

[data-theme="cozy"] .trust-badge-icon {
  color: var(--color-accent);
}

/* Cozy testimonials - editorial quote style */
[data-theme="cozy"] .testimonial {
  background: white;
  border: none;
  border-left: none;
  position: relative;
  padding-left: var(--space-10);
}

[data-theme="cozy"] .testimonial::before {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--color-secondary);
  opacity: 1;
  left: var(--space-4);
  top: 0;
}

[data-theme="cozy"] .testimonial blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
}

/* Cozy section titles - editorial caps */
[data-theme="cozy"] .value-card-title {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-primary);
}

/* Cozy organic blobs */
[data-theme="cozy"] .blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
  opacity: 0.4;
  animation: blobMorph 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  33% { border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%; }
  66% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* Cozy CTA section - warm gradient */
[data-theme="cozy"] .section-alt:last-of-type {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-secondary) 100%);
}

/* ============================================
   HIGH-TECH THEME - ENHANCED STYLES
   Mission control noir aesthetic
   ============================================ */

/* High-tech hero - cinematic depth */
[data-theme="hightech"] .hero-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 102, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 107, 44, 0.08) 0%, transparent 40%),
    var(--color-bg);
}

[data-theme="hightech"] .heading-hero {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 0 80px rgba(0, 102, 255, 0.3);
}

/* Glowing accent on "search bar" */
[data-theme="hightech"] .heading-hero br + br {
  display: none;
}

[data-theme="hightech"] .heading-section {
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

/* Tech accent line */
[data-theme="hightech"] .heading-section::before {
  content: '//';
  font-family: var(--font-mono);
  font-size: 0.5em;
  color: var(--color-primary);
  margin-right: 0.5em;
  opacity: 0.6;
}

/* High-tech phone mockup - glowing frame */
[data-theme="hightech"] .phone-mockup {
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 102, 255, 0.15),
    inset 0 0 0 1px rgba(0, 102, 255, 0.2);
}

[data-theme="hightech"] .phone-screen {
  border: 1px solid rgba(0, 102, 255, 0.3);
}

[data-theme="hightech"] .ar-grid {
  background:
    linear-gradient(90deg, rgba(0, 102, 255, 0.3) 1px, transparent 1px),
    linear-gradient(rgba(0, 102, 255, 0.3) 1px, transparent 1px);
  opacity: 0.8;
}

[data-theme="hightech"] .ar-marker {
  border-color: var(--color-accent);
  box-shadow:
    0 0 10px var(--color-accent-glow),
    inset 0 0 10px rgba(0, 212, 170, 0.1);
}

/* Scan line effect on phone */
[data-theme="hightech"] .phone-ar-demo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: scanLine 3s linear infinite;
  opacity: 0.5;
}

@keyframes scanLine {
  0% { top: 0; }
  100% { top: 100%; }
}

/* High-tech value cards - terminal style */
[data-theme="hightech"] .value-card {
  position: relative;
}

[data-theme="hightech"] .value-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

[data-theme="hightech"] .value-card:hover::after {
  opacity: 1;
}

[data-theme="hightech"] .value-card-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0;
}

/* Terminal-style prefix on titles */
[data-theme="hightech"] .value-card-title::before {
  content: '>';
  color: var(--color-primary);
  margin-right: 0.5em;
  font-weight: 400;
}

/* High-tech testimonials - data panel style */
[data-theme="hightech"] .testimonial {
  position: relative;
}

[data-theme="hightech"] .testimonial::after {
  content: 'VERIFIED';
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-success);
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border: 1px solid var(--color-success);
  border-radius: 2px;
}

[data-theme="hightech"] .testimonial blockquote {
  font-style: normal;
  font-family: var(--font-body);
}

[data-theme="hightech"] .testimonial cite {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* High-tech trust badges - system status */
[data-theme="hightech"] .trust-badge-icon {
  color: var(--color-success);
  animation: pulse 2s ease-in-out infinite;
}

/* High-tech floating orbs */
[data-theme="hightech"] .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 25s ease-in-out infinite;
  pointer-events: none;
}

.orb-blue {
  width: 500px;
  height: 500px;
  background: rgba(0, 102, 255, 0.12);
}

.orb-orange {
  width: 350px;
  height: 350px;
  background: rgba(255, 107, 44, 0.1);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -40px) scale(1.08); }
  50% { transform: translate(-30px, 30px) scale(0.95); }
  75% { transform: translate(20px, 20px) scale(1.02); }
}

/* High-tech footer - terminal style */
[data-theme="hightech"] .footer {
  font-family: var(--font-mono);
}

[data-theme="hightech"] .footer::before {
  content: '> system.status: online';
  display: block;
  font-size: 0.7rem;
  color: var(--color-success);
  margin-bottom: var(--space-2);
  opacity: 0.6;
}

/* High-tech final CTA - dramatic */
[data-theme="hightech"] .section-xl.section-alt {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0, 102, 255, 0.1) 0%, transparent 60%),
    var(--color-bg-alt);
}
