/* =========================================
   1. ROOT VARIABLES
========================================= */
:root {
  --primary: #4a6cf7;
  --primary-dark: #3151d3;
  --primary-light: #8fa8ff;
  --primary-soft: rgba(74, 108, 247, 0.14);

  --bg: #0b1020;
  --bg-soft: #11182d;
  --bg-deep: #090d18;

  --card: rgba(20, 27, 48, 0.88);
  --card-soft: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);

  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted-2: rgba(255, 255, 255, 0.55);

  --shadow-lg: 0 24px 70px rgba(4, 10, 28, 0.45);
  --shadow-md: 0 14px 40px rgba(4, 10, 28, 0.28);
  --shadow-sm: 0 8px 24px rgba(4, 10, 28, 0.18);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 30px;

  --container: 1180px;
  --transition: all 0.3s ease;
}

/* =========================================
   2. RESET / BASE
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(74, 108, 247, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(74, 108, 247, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 45%, #0d1222 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

/* =========================================
   3. LAYOUT
========================================= */
.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-head {
  max-width: 760px;
  margin-bottom: 60px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2,
.solution-copy h2,
.contact-card h2,
.cta-box h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head p,
.solution-copy p,
.contact-card p,
.cta-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================================
   4. REUSABLE COMPONENTS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6d89ff);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(74, 108, 247, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(74, 108, 247, 0.42);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.badge,
.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.badge {
  background: rgba(74, 108, 247, 0.16);
  color: #99b0ff;
  border: 1px solid rgba(74, 108, 247, 0.2);
}

.section-tag {
  padding: 8px 14px;
  background: var(--primary-soft);
  color: var(--primary-light);
  border: 1px solid rgba(74, 108, 247, 0.24);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}