@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ==========================================================================
   WESPARKSTUDIO - GLOBAL DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Harmonious Industrial Color Palette (Never Use Blue) */
  --color-primary: #FF5C00;       /* Electric Spark Orange */
  --color-primary-rgb: 255, 92, 0;
  --color-bg: #0D0D0D;            /* Charcoal Black */
  --color-bg-rgb: 13, 13, 13;
  --color-bg-card: #141414;       /* Dark Steel Card */
  --color-text-primary: #F5F5F0;  /* Off-White / Chalk */
  --color-text-secondary: #A0A0A0;/* Muted Steel */
  --color-success: #22C55E;       /* Safe Connection Green */
  --color-border: #1F1F1F;        /* Dark Slate Border */
  --color-border-bright: #333333; /* Lighter Industrial Border */
  
  /* Fonts */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Layout and Spacings */
  --container-max-width: 1280px;
  --grid-gap: 2rem;
  
  /* Transition Speeds */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Premium Industrial Mesh Grid Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 92, 0, 0.015) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(255, 92, 0, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
}

/* Subtle Industrial Ambient Glow */
.ambient-glow {
  position: absolute;
  width: 40vw;
  height: 40vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(255, 92, 0, 0.07) 0%, rgba(255, 92, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  filter: blur(40px);
}

.glow-top-right {
  top: -10%;
  right: -5%;
}

.glow-mid-left {
  top: 35%;
  left: -10%;
}

.glow-bottom-right {
  bottom: 5%;
  right: -5%;
}

/* Selection Colors */
::selection {
  background-color: var(--color-primary);
  color: #000000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #080808;
}

::-webkit-scrollbar-thumb {
  background: #222;
  border: 2px solid #080808;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--color-text-primary);
}

/* Hero Headings */
h1 {
  font-size: clamp(3.5rem, 8vw, 7rem); /* Responsive fluid scaling */
  margin-bottom: 1.5rem;
}

/* Section Headings */
h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

p.lead {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--color-text-primary);
  font-weight: 300;
}

/* Anchors */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 5;
}

section {
  padding: 7rem 0;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

/* Section tags (e.g. The Problem We Solve) */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 92, 0, 0.2);
  background-color: rgba(255, 92, 0, 0.04);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
}

/* Utility layout classes */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.text-primary-color {
  color: var(--color-primary) !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Image helper */
img.lazy {
  opacity: 0;
  transition: opacity var(--transition-normal);
}

img.lazy.loaded {
  opacity: 1;
}

/* Text highlights and symbols */
.bolt-icon {
  color: var(--color-primary);
}

.diagonal-stripe-bg {
  background: repeating-linear-gradient(
    -45deg,
    #141414,
    #141414 10px,
    #1f1f1f 10px,
    #1f1f1f 20px
  );
}
