/* ============================================================
   LASER CLEANING BULGARIA — Complete Stylesheet
   Replicates all Tailwind v4 utilities used in the original
   TanStack React application as plain CSS.
   ============================================================ */

/* -------------------------------------------
   1. FONTS
   ------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

/* -------------------------------------------
   2. CSS CUSTOM PROPERTIES (from styles.css)
   ------------------------------------------- */
:root {
  --radius: 0.25rem;
  /* Industrial dark palette */
  --background: oklch(0.14 0.005 240);
  --foreground: oklch(0.97 0 0);
  --card: oklch(0.18 0.006 240);
  --card-foreground: oklch(0.97 0 0);
  --primary: oklch(0.7 0.19 45); /* signature orange */
  --primary-foreground: oklch(0.14 0.005 240);
  --secondary: oklch(0.22 0.006 240);
  --secondary-foreground: oklch(0.97 0 0);
  --muted: oklch(0.22 0.006 240);
  --muted-foreground: oklch(0.7 0.01 240);
  --accent: oklch(0.7 0.19 45);
  --accent-foreground: oklch(0.14 0.005 240);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.98 0 0);
  --border: oklch(0.28 0.008 240);
  --input: oklch(0.28 0.008 240);
  --ring: oklch(0.7 0.19 45);
  --steel: oklch(0.75 0.005 240);
  --steel-dark: oklch(0.45 0.005 240);

  --gradient-hero: linear-gradient(135deg, oklch(0.12 0.005 240) 0%, oklch(0.18 0.01 30) 100%);
  --gradient-orange: linear-gradient(135deg, oklch(0.72 0.2 55), oklch(0.62 0.22 35));
  --gradient-steel: linear-gradient(135deg, oklch(0.85 0.005 240), oklch(0.5 0.005 240));
  --shadow-glow: 0 0 40px oklch(0.7 0.19 45 / 0.35);
  --shadow-hard: 8px 8px 0 oklch(0.7 0.19 45);

  /* Radius tokens (from @theme inline) */
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  /* Color tokens (from @theme inline) */
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-steel: var(--steel);
  --color-steel-dark: var(--steel-dark);

  --font-display: "Oswald", "Impact", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* -------------------------------------------
   3. BASE / RESET
   ------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--color-border);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* -------------------------------------------
   4. LAYOUT — Container
   ------------------------------------------- */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.w-auto { width: auto; }

/* -------------------------------------------
   5. FLEXBOX
   ------------------------------------------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* -------------------------------------------
   6. GRID
   ------------------------------------------- */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-\[1fr_auto\] { grid-template-columns: 1fr auto; }

/* -------------------------------------------
   7. POSITION
   ------------------------------------------- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

/* -------------------------------------------
   8. SPACING — Padding
   ------------------------------------------- */
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-36 { padding-top: 9rem; padding-bottom: 9rem; }
.pt-16 { padding-top: 4rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pl-3 { padding-left: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

/* -------------------------------------------
   9. SPACING — Margin
   ------------------------------------------- */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }

/* -------------------------------------------
   10. TYPOGRAPHY
   ------------------------------------------- */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-sans { font-family: var(--font-body); }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.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; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.whitespace-nowrap { white-space: nowrap; }
.leading-\[0\.9\] { line-height: 0.9; }

.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.35em\] { letter-spacing: 0.35em; }

.block { display: block; }
.hidden { display: none; }
.inline-block { display: inline-block; }

/* -------------------------------------------
   11. COLORS — Text
   ------------------------------------------- */
.text-primary { color: var(--color-primary); }
.text-primary-foreground { color: var(--color-primary-foreground); }
.text-foreground { color: var(--color-foreground); }
.text-foreground\/90 { color: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.text-muted-foreground { color: var(--color-muted-foreground); }
.text-white { color: #ffffff; }
.text-steel { color: var(--color-steel); }
.text-primary\/80 { color: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.text-gradient-steel {
  background: var(--gradient-steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Ensure text-gradient-steel works on inline elements */
span.text-gradient-steel {
  display: inline-block;
}

/* -------------------------------------------
   12. COLORS — Background
   ------------------------------------------- */
.bg-background { background-color: var(--color-background); }
.bg-background\/40 { background-color: color-mix(in srgb, var(--color-background) 40%, transparent); }
.bg-background\/70 { background-color: color-mix(in srgb, var(--color-background) 70%, transparent); }
.bg-card { background-color: var(--color-card); }
.bg-card\/40 { background-color: color-mix(in srgb, var(--color-card) 40%, transparent); }
.bg-card\/50 { background-color: color-mix(in srgb, var(--color-card) 50%, transparent); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary\/10 { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.bg-black { background-color: #000000; }
.bg-white { background-color: #ffffff; }
.bg-white\/\[0\.02\] { background-color: rgba(255, 255, 255, 0.02); }
.bg-red-700 { background-color: #b91c1c; }
.bg-green-700 { background-color: #15803d; }

/* Gradient backgrounds */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--stops));
}
.bg-gradient-to-l {
  background-image: linear-gradient(to left, var(--stops));
}

.from-background { --stops: var(--color-background); }
.via-background\/95 { --stops: color-mix(in srgb, var(--color-background) 95%, transparent); }
.via-background\/40 { --stops: color-mix(in srgb, var(--color-background) 40%, transparent); }
.to-transparent { --stops: transparent; }
.from-transparent { --stops: transparent; }
.to-background { --stops: var(--color-background); }

/* Backdrop */
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* -------------------------------------------
   13. BORDERS
   ------------------------------------------- */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-y {
  border-top-width: 1px; border-top-style: solid;
  border-bottom-width: 1px; border-bottom-style: solid;
}
.border-t-0 { border-top-width: 0; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }

.border-border { border-color: var(--color-border); }
.border-border\/40 { border-color: color-mix(in srgb, var(--color-border) 40%, transparent); }
.border-border\/60 { border-color: color-mix(in srgb, var(--color-border) 60%, transparent); }
.border-primary { border-color: var(--color-primary); }
.border-primary\/60 { border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.border-input { border-color: var(--color-input); }

.rounded-full { border-radius: 9999px; }
.rounded-md { border-radius: var(--radius-md); }
.rounded { border-radius: var(--radius); }

/* -------------------------------------------
   14. SIZING (width/height)
   ------------------------------------------- */
.h-full { height: 100%; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-20 { height: 5rem; }
.h-28 { height: 7rem; }
.h-32 { height: 8rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-20 { width: 5rem; }
.w-28 { width: 7rem; }
.w-1\/2 { width: 50%; }
.h-3\.5 { height: 0.875rem; }
.w-3\.5 { width: 0.875rem; }

/* -------------------------------------------
   15. EFFECTS — Transitions
   ------------------------------------------- */
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-300 { transition-duration: 300ms; }

/* -------------------------------------------
   16. EFFECTS — Transforms / Hover
   ------------------------------------------- */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

/* Hover colors */
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:border-primary:hover { border-color: var(--color-primary); }
.hover\:bg-primary\/90:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.hover\:bg-primary\/10:hover { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.group:hover .group-hover\:bg-primary\/10 { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.group:hover .group-hover\:bg-primary\/20 { background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.hover\:bg-foreground:hover { background-color: var(--color-foreground); }
.hover\:text-background:hover { color: var(--color-background); }
.hover\:bg-accent:hover { background-color: var(--color-accent); }

/* Hover shadow */
.hover\:shadow-\[var\(--shadow-glow\)\]:hover {
  box-shadow: var(--shadow-glow);
}

/* -------------------------------------------
   17. EFFECTS — Opacity
   ------------------------------------------- */
.opacity-40 { opacity: 0.4; }
.opacity-70 { opacity: 0.7; }
.opacity-20 { opacity: 0.2; }
.opacity-60 { opacity: 0.6; }
.opacity-85 { opacity: 0.85; }

/* -------------------------------------------
   18. BACKGROUND UTILITIES
   ------------------------------------------- */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

/* -------------------------------------------
   19. CUSTOM COMPONENT STYLES (from styles.css)
   ------------------------------------------- */

/* Hexagon shape */
.hex {
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0% 50%);
}
.hex-border {
  background: var(--gradient-orange);
  padding: 2px;
}
.hex-inner {
  background: var(--card);
  width: 100%;
  height: 100%;
}

/* Angled clip for banner-like elements */
.clip-arrow-r {
  clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
}
.clip-arrow-l {
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
}

/* Subtle hex pattern background */
.hex-pattern {
  background-image:
    linear-gradient(30deg, oklch(0.2 0.006 240) 12%, transparent 12.5%, transparent 87%, oklch(0.2 0.006 240) 87.5%, oklch(0.2 0.006 240)),
    linear-gradient(150deg, oklch(0.2 0.006 240) 12%, transparent 12.5%, transparent 87%, oklch(0.2 0.006 240) 87.5%, oklch(0.2 0.006 240)),
    linear-gradient(30deg, oklch(0.2 0.006 240) 12%, transparent 12.5%, transparent 87%, oklch(0.2 0.006 240) 87.5%, oklch(0.2 0.006 240)),
    linear-gradient(150deg, oklch(0.2 0.006 240) 12%, transparent 12.5%, transparent 87%, oklch(0.2 0.006 240) 87.5%, oklch(0.2 0.006 240));
  background-size: 40px 70px;
  background-position: 0 0, 0 0, 20px 35px, 20px 35px;
  background-color: var(--background);
}

/* -------------------------------------------
   20. ANIMATIONS
   ------------------------------------------- */
@keyframes spark {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.08); }
}
.spark { animation: spark 2.4s ease-in-out infinite; }

/* -------------------------------------------
   21. RESPONSIVE — md: breakpoint (≥768px)
   ------------------------------------------- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }

  .md\:w-1\/2 { width: 50%; }
  .md\:h-24 { height: 6rem; }
  .md\:h-28 { height: 7rem; }

  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }

  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .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\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-8xl { font-size: 6rem; line-height: 1; }

  .md\:py-36 { padding-top: 9rem; padding-bottom: 9rem; }
  .md\:p-12 { padding: 3rem; }

  .md\:opacity-100 { opacity: 1; }
}

/* -------------------------------------------
   22. MOBILE OVERRIDES
   ------------------------------------------- */
@media (max-width: 767px) {
  .grid-cols-\[1fr_auto\] { grid-template-columns: 1fr auto; }
}
