/* ============================================================
   ЭЛЕКТРОПРО — Styles
   Converted from Tailwind/React to plain CSS
   ============================================================ */

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

/* ---- CSS Variables (Theme) ---- */
:root {
  --background: 0 0% 98%;
  --foreground: 220 15% 15%;
  --card: 0 0% 100%;
  --card-foreground: 220 15% 15%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 15% 15%;
  --primary: 54 100% 50%;
  --primary-foreground: 220 15% 10%;
  --secondary: 220 10% 92%;
  --secondary-foreground: 220 15% 15%;
  --muted: 220 10% 94%;
  --muted-foreground: 220 10% 45%;
  --accent: 54 100% 50%;
  --accent-foreground: 220 15% 10%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 10% 88%;
  --input: 220 10% 88%;
  --ring: 54 100% 50%;
  --radius: 0.5rem;

  --font-sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

.dark {
  --background: 220 15% 8%;
  --foreground: 0 0% 95%;
  --card: 220 15% 11%;
  --card-foreground: 0 0% 95%;
  --popover: 220 15% 11%;
  --popover-foreground: 0 0% 95%;
  --primary: 54 100% 50%;
  --primary-foreground: 220 15% 8%;
  --secondary: 220 12% 18%;
  --secondary-foreground: 0 0% 90%;
  --muted: 220 12% 16%;
  --muted-foreground: 220 10% 55%;
  --accent: 54 100% 50%;
  --accent-foreground: 220 15% 8%;
  --destructive: 0 62% 30%;
  --destructive-foreground: 0 0% 100%;
  --border: 220 12% 18%;
  --input: 220 12% 18%;
  --ring: 54 100% 50%;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: hsl(var(--border));
}

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

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Utility Colors ---- */
.text-foreground { color: hsl(var(--foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-destructive { color: hsl(var(--destructive)); }
.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-primary { background-color: hsl(var(--primary)); }

/* ---- Utility Classes ---- */
.glow-sm { box-shadow: 0 0 15px hsl(54 100% 50% / 0.15); }
.glow-md { box-shadow: 0 0 30px hsl(54 100% 50% / 0.2); }
.glow-lg { box-shadow: 0 0 50px hsl(54 100% 50% / 0.3); }
.glow-border { box-shadow: 0 0 0 1px hsl(54 100% 50% / 0.3), 0 0 20px hsl(54 100% 50% / 0.1); }

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

/* ---- Keyframes ---- */
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes spotlight {
  0% { transform: translate(-20%, -20%) scale(1); }
  50% { transform: translate(20%, 10%) scale(1.1); }
  100% { transform: translate(-20%, -20%) scale(1); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.animate-fade-up { animation: fade-up 0.6s ease-out forwards; }
.animate-fade-in { animation: fade-in 0.5s ease-out forwards; }
.animate-spotlight { animation: spotlight 8s ease-in-out infinite; }
.animate-glow-pulse { animation: glow-pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 1.5s ease-in-out infinite; }

/* ---- Scroll Animation ---- */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s;
}
.site-header .header-inner {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .site-header .header-inner { height: 80px; }
}

.header-logo img {
  height: 36px;
  width: auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}
.desktop-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: hsl(var(--primary));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  position: relative;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}
.theme-toggle:hover { background-color: hsl(var(--muted)); }
.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s;
}
.dark .theme-toggle svg {
  color: hsl(var(--muted-foreground));
  fill: none;
}
:root:not(.dark) .theme-toggle svg,
html:not(.dark) .theme-toggle svg {
  color: hsl(var(--primary));
  fill: hsl(54, 100%, 50%);
  filter: drop-shadow(0 0 8px hsl(54, 100%, 50%));
}
.theme-toggle .glow-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.1);
  animation: glow-pulse 2s ease-in-out infinite;
  display: none;
}
html:not(.dark) .theme-toggle .glow-ring { display: block; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover {
  background-color: hsl(var(--primary) / 0.9);
  box-shadow: 0 0 30px hsl(54, 100%, 50%, 0.3);
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 12px 32px; font-size: 1.125rem; }

.header-cta-btn {
  display: none;
}
@media (min-width: 768px) {
  .header-cta-btn { display: inline-flex; }
}

/* ---- Burger ---- */
.burger-btn {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) {
  .burger-btn { display: none; }
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  padding: 8px 16px 24px;
  animation: fade-in 0.3s ease-out;
}
.mobile-menu.open { display: block; }
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu nav a {
  display: block;
  padding: 12px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s, background-color 0.2s;
}
.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  color: hsl(var(--primary));
  background-color: hsl(var(--muted));
}
.mobile-menu .btn {
  margin-top: 12px;
  width: 100%;
}

/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: hsl(var(--background));
  padding-top: 80px;
}
.hero-spotlight {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.hero-spotlight .spot1 {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 600px;
  width: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.05);
  filter: blur(120px);
  animation: spotlight 8s ease-in-out infinite;
}
.hero-spotlight .spot2 {
  position: absolute;
  right: 25%;
  top: 33%;
  height: 300px;
  width: 300px;
  border-radius: 50%;
  background-color: hsl(var(--primary) / 0.03);
  filter: blur(80px);
  animation: spotlight 8s ease-in-out infinite;
  animation-delay: 3s;
}
.hero-texture {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  display: flex;
  min-height: calc(100vh - 80px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-inner {
  max-width: 900px;
}
.hero-inner h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
@media (min-width: 640px) { .hero-inner h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero-inner h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-inner h1 { font-size: 4.5rem; } }

.hero-inner .subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .hero-inner .subtitle { font-size: 1.25rem; } }
@media (min-width: 768px) { .hero-inner .subtitle { font-size: 1.5rem; } }
.hero-inner .subtitle strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.hero-inner .desc {
  margin-top: 1rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 768px) { .hero-inner .desc { font-size: 1.125rem; } }

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 2rem;
}
.hero-cta .btn { padding: 16px 40px; }
.hero-microtrust {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-hint-icon {
  display: flex;
  height: 32px;
  width: 20px;
  align-items: flex-start;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid hsl(var(--muted-foreground) / 0.3);
  padding: 4px;
}
.scroll-hint-dot {
  height: 8px;
  width: 4px;
  border-radius: 9999px;
  background-color: hsl(var(--muted-foreground) / 0.5);
  animation: bounce 1.5s ease-in-out infinite;
}

/* ---- Section Common ---- */
.section-padding { padding: 80px 0; }
@media (min-width: 768px) { .section-padding { padding: 112px 0; } }
.section-muted-bg { background-color: hsl(var(--muted) / 0.3); }

.section-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-align: center;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

.section-subtitle {
  max-width: 560px;
  margin: 0 auto 3.5rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

/* ---- Trust Cards ---- */
.trust-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-card {
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 24px;
  transition: all 0.5s;
}
.trust-card:hover {
  box-shadow: 0 0 0 1px hsl(54 100% 50% / 0.3), 0 0 20px hsl(54 100% 50% / 0.1);
}
.trust-card .icon {
  width: 32px;
  height: 32px;
  color: hsl(var(--primary));
  margin-bottom: 16px;
  transition: transform 0.3s;
}
.trust-card:hover .icon { transform: scale(1.1); }
.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.trust-card p {
  margin-top: 4px;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ---- Segmentation Cards ---- */
.segment-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .segment-grid { grid-template-columns: repeat(2, 1fr); } }

.segment-card {
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 24px;
  text-align: left;
  width: 100%;
  transition: all 0.5s;
}
.segment-card:hover,
.segment-card.open {
  box-shadow: 0 0 0 1px hsl(54 100% 50% / 0.3), 0 0 20px hsl(54 100% 50% / 0.1);
}
.segment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.segment-card-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.segment-card-header-left svg {
  width: 24px;
  height: 24px;
  color: hsl(var(--primary));
}
.segment-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.segment-chevron {
  width: 20px;
  height: 20px;
  color: hsl(var(--muted-foreground));
  transition: transform 0.3s;
}
.segment-card.open .segment-chevron { transform: rotate(180deg); }

.segment-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.3s, opacity 0.3s, margin-top 0.3s;
  margin-top: 0;
}
.segment-card.open .segment-details {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 16px;
}
.segment-details-inner {
  overflow: hidden;
}
.segment-details-inner p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.segment-meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.875rem;
}
.segment-meta .time { color: hsl(var(--foreground)); font-weight: 500; }
.segment-meta .budget { color: hsl(var(--primary)); font-weight: 500; }

.segment-note {
  margin-top: 40px;
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}

/* ---- Process Timeline ---- */
.process-timeline-desktop {
  display: none;
  position: relative;
}
@media (min-width: 768px) { .process-timeline-desktop { display: block; } }

.timeline-line {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: hsl(var(--border));
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.timeline-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.timeline-step-icon {
  position: relative;
  z-index: 10;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid hsl(var(--border));
  background-color: hsl(var(--background));
  color: hsl(var(--muted-foreground));
  transition: all 0.3s;
}
.timeline-step-icon svg { width: 20px; height: 20px; }
.timeline-step:hover .timeline-step-icon {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 15px hsl(54 100% 50% / 0.15);
}
.timeline-step h4 {
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.timeline-step .desc {
  margin-top: 8px;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  opacity: 0.6;
  transition: opacity 0.3s;
}
.timeline-step:hover .desc { opacity: 1; }

/* Mobile vertical timeline */
.process-timeline-mobile {
  display: block;
  margin-left: 16px;
  border-left: 2px solid hsl(var(--border));
  padding-left: 32px;
}
@media (min-width: 768px) { .process-timeline-mobile { display: none; } }

.timeline-mobile-step {
  position: relative;
  padding-bottom: 32px;
}
.timeline-mobile-step:last-child { padding-bottom: 0; }
.timeline-mobile-step .mobile-step-icon {
  position: absolute;
  left: calc(-32px - 21px);
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid hsl(var(--primary));
  background-color: hsl(var(--background));
  color: hsl(var(--primary));
}
.timeline-mobile-step .mobile-step-icon svg { width: 18px; height: 18px; }
.timeline-mobile-step h4 {
  font-weight: 600;
  color: hsl(var(--foreground));
}
.timeline-mobile-step p {
  margin-top: 4px;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ---- Cases ---- */
.cases-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(4, 1fr); } }

.case-card {
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 24px;
  text-align: left;
  width: 100%;
  transition: all 0.5s;
  cursor: pointer;
}
.case-card:hover {
  box-shadow: 0 0 0 1px hsl(54 100% 50% / 0.3), 0 0 20px hsl(54 100% 50% / 0.1);
}
.case-thumb {
  margin-bottom: 16px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  background-color: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.case-card:hover .case-thumb img { transform: scale(1.05); }
.case-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: hsl(var(--foreground));
}
.case-meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.case-meta .price {
  font-weight: 500;
  color: hsl(var(--primary));
}

/* ---- Modal / Dialog ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fade-in 0.2s ease-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background-color: hsl(var(--card));
  border-radius: 12px;
  max-width: 512px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal-overlay.open .modal-content { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: hsl(var(--muted-foreground));
  transition: background-color 0.2s;
}
.modal-close:hover { background-color: hsl(var(--muted)); }
.modal-close svg { width: 18px; height: 18px; }

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 4px;
}
.modal-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
}

.modal-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.modal-photo-btn {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  cursor: pointer;
}
.modal-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.modal-photo-btn:hover img { transform: scale(1.1); }
.modal-photo-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: transparent;
  transition: background-color 0.3s;
}
.modal-photo-btn:hover::after { background-color: rgba(0,0,0,0.3); }
.modal-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.6);
  padding: 6px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  text-align: center;
  z-index: 1;
}

.modal-details {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
}
.modal-review {
  border-left: 2px solid hsl(var(--primary));
  padding-left: 16px;
  font-size: 0.875rem;
  font-style: italic;
  color: hsl(var(--foreground));
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.9);
  padding: 16px;
  animation: fade-in 0.3s ease-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.2s;
}
.lightbox-close:hover { background-color: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 24px; height: 24px; }
.lightbox-content {
  max-height: 90vh;
  max-width: 90vw;
  text-align: center;
}
.lightbox-content img {
  max-height: 85vh;
  max-width: 100%;
  border-radius: 8px;
  object-fit: contain;
  margin: 0 auto;
}
.lightbox-content p {
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

/* ---- Designers Section ---- */
.designers-section {
  position: relative;
  overflow: hidden;
}
.designers-section .section-bg {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--card));
}
.designers-section .section-content {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.benefits-list {
  max-width: 448px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
}
.benefit-item svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
  flex-shrink: 0;
}
.benefit-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

/* ---- Filter Section ---- */
.filter-box {
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  background-color: hsl(var(--card));
  padding: 32px;
  text-align: center;
}
@media (min-width: 768px) { .filter-box { padding: 48px; } }
.filter-box .text {
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) { .filter-box .text { font-size: 1.25rem; } }
.filter-box .price {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
}
@media (min-width: 768px) { .filter-box .price { font-size: 1.875rem; } }
.filter-box .note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ---- CTA Form ---- */
.cta-section {
  background-color: hsl(var(--card));
}
.cta-form-wrapper {
  max-width: 576px;
  margin: 0 auto;
}
.cta-form-title {
  text-align: center;
  margin-bottom: 40px;
}

/* Progress bar */
.progress-bar-wrap {
  margin-bottom: 24px;
}
.progress-bar-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.progress-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background-color: hsl(var(--muted));
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  background-color: hsl(var(--primary));
  transition: width 0.3s;
}

/* Form elements */
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 6px;
}
.form-input,
.form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input::placeholder { color: hsl(var(--muted-foreground)); }
.form-input:focus,
.form-select:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}
.form-error {
  margin-top: 4px;
  font-size: 0.75rem;
  color: hsl(var(--destructive));
}

/* Toggle switch */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background-color: hsl(var(--background));
}
.toggle-row label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  cursor: pointer;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  -webkit-appearance: none;
  appearance: none;
  background-color: hsl(var(--muted));
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
  outline: none;
}
.toggle-switch:checked {
  background-color: hsl(var(--primary));
}
.toggle-switch::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch:checked::before {
  transform: translateX(20px);
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 16px;
}

/* Success state */
.cta-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  animation: fade-up 0.6s ease-out forwards;
}
.cta-success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 30px hsl(54 100% 50% / 0.2);
}
.cta-success-icon svg { width: 32px; height: 32px; }

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: fade-up 0.4s ease-out;
  max-width: 360px;
}
.toast-title {
  font-weight: 600;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
}
.toast-desc {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}
.toast.hide { animation: fade-out 0.3s ease-out forwards; }
@keyframes fade-out {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-logo img { height: 32px; width: auto; }
.footer-desc {
  margin-top: 12px;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.footer-block h4 {
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.footer-block nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-block nav a,
.footer-block .info p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}
.footer-block nav a:hover { color: hsl(var(--primary)); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ---- Stub Pages ---- */
.stub-page {
  min-height: 100vh;
  background-color: hsl(var(--background));
}
.stub-page main {
  padding-top: 112px;
  padding-bottom: 80px;
}
.stub-page h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) { .stub-page h1 { font-size: 3rem; } }
.stub-page .stub-desc {
  margin-top: 16px;
  color: hsl(var(--muted-foreground));
}

/* ---- 404 Page ---- */
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
  text-align: center;
}
.not-found h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.not-found p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 16px;
}
.not-found a {
  color: hsl(var(--primary));
  text-decoration: underline;
}
.not-found a:hover { color: hsl(var(--primary) / 0.9); }

/* ---- Select Custom ---- */
.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
