/* ============================================
   SUPER TRADE — STYLE.CSS
   Dark Theme | Corporate Premium
   ============================================ */

/* ---------- CSS RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  /* Colors — Dark Theme */
  --c-primary: #59bbf7;
  --c-primary-light: #7dcdf9;
  --c-primary-dark: #3a9ad6;
  --c-accent: #1a1a26;
  --c-accent-light: rgba(89, 187, 247, 0.08);
  --c-accent-dark: #12121b;
  --c-bg: #0a0a10;
  --c-surface: #13131f;
  --c-surface-alt: #1a1a28;
  --c-text: #e6edf3;
  --c-text-soft: #8b949e;
  --c-text-muted: #484f58;
  --c-border: rgba(255,255,255,0.08);
  --c-success: #3fb950;
  --c-error: #f85149;

  /* Typography */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body: 'Inter', sans-serif;

  /* Spacing */
  --space-unit: clamp(1rem, 2vw, 1.5rem);
  --space-xs: calc(var(--space-unit) * 0.5);
  --space-sm: var(--space-unit);
  --space-md: calc(var(--space-unit) * 2);
  --space-lg: calc(var(--space-unit) * 3);
  --space-xl: calc(var(--space-unit) * 4);
  --space-2xl: calc(var(--space-unit) * 6);

  /* Shadows — Intense for dark */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 2px 6px rgba(0,0,0,0.2);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.3), 0 8px 16px rgba(0,0,0,0.25), 0 16px 32px rgba(0,0,0,0.2);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.3), 0 16px 32px rgba(0,0,0,0.3), 0 32px 64px rgba(0,0,0,0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-full: 50px;
}

/* ---------- BASE ---------- */
body {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 1.1vw, 1.125rem);
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: break-word;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.3; }
p { overflow-wrap: break-word; word-break: break-word; }

.text-accent { color: var(--c-primary); }
.text-soft { color: var(--c-text-soft); }
.text-muted { color: var(--c-text-muted); }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-surface-alt); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-text-muted); }

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ---------- SECTION ---------- */
.section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--bg { background: var(--c-bg); }
.section--surface-alt { background: var(--c-surface-alt); }

.section--clip-top {
  clip-path: polygon(0 clamp(30px, 4vw, 60px), 100% 0, 100% 100%, 0 100%);
  padding-top: clamp(5rem, 10vw, 9rem);
}

.section--cta {
  background: var(--c-bg);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section__tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--c-primary);
  font-weight: 600;
}

.section__tag::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--c-primary);
  flex-shrink: 0;
}

.section__title {
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
  padding-top: env(safe-area-inset-top, 0);
}

.nav--scrolled {
  background: rgba(10, 10, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  padding: var(--space-xs) 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__logo img {
  height: 38px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-soft);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-base);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--c-text);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile Menu Overlay */
.nav__menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(10, 10, 16, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}

.nav__menu-overlay.is-open {
  transform: translateX(0);
}

.nav__menu-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--c-text);
  cursor: pointer;
}

.nav__menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.nav__menu-links li { width: 100%; text-align: center; }

.nav__menu-links a {
  display: block;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-text-soft);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--c-border);
  transition: color var(--transition-base);
}

.nav__menu-links a:hover,
.nav__menu-links a.is-active {
  color: var(--c-primary);
}

.nav__menu-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 80%;
  max-width: 300px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: clamp(0.65rem, 1.5vw, 0.85rem) clamp(1.25rem, 2.5vw, 1.75rem);
  font-family: var(--f-body);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: var(--c-primary);
  color: var(--c-bg);
  border-color: var(--c-primary);
}

.btn--primary:hover {
  background: var(--c-primary-light);
  border-color: var(--c-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(89, 187, 247, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn--outline:hover {
  background: rgba(89, 187, 247, 0.1);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--c-bg);
  color: var(--c-text);
  border-color: var(--c-bg);
}

.btn--dark:hover {
  background: var(--c-surface);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--c-bg);
  border-color: rgba(10,10,16,0.4);
}

.btn--outline-dark:hover {
  background: rgba(10,10,16,0.1);
  border-color: var(--c-bg);
}

.btn--sm { min-height: 38px; padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn--lg { min-height: 50px; padding: 0.9rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: var(--space-sm);
  transition: gap var(--transition-base);
}

.link-arrow:hover {
  gap: 0.8rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(6rem, 12vw, 9rem);
  padding-bottom: var(--space-lg);
  overflow: hidden;
}

.hero__bg-decor {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(89,187,247,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__bg-decor::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(89,187,247,0.06);
  animation: heroCirclePulse 8s ease-in-out infinite;
}

.hero__bg-decor::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: -3%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89,187,247,0.04) 0%, transparent 70%);
  animation: heroCirclePulse 10s ease-in-out infinite reverse;
}

@keyframes heroCirclePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__text {
  max-width: 750px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(89,187,247,0.08);
  border: 1px solid rgba(89,187,247,0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-primary);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(8px);
}

.hero__title {
  margin-bottom: var(--space-md);
  animation: heroSlideIn 0.8s var(--ease-out) both;
}

@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero__subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--c-text-soft);
  max-width: 600px;
  margin-bottom: var(--space-md);
  line-height: 1.7;
  animation: heroFadeIn 0.8s var(--ease-out) 0.2s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  animation: heroFadeIn 0.8s var(--ease-out) 0.4s both;
}

.hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: heroFadeIn 0.8s var(--ease-out) 0.6s both;
}

.hero__reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--c-text-soft);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--c-border);
  position: relative;
  z-index: 1;
}

.hero__metric { text-align: center; }

.hero__metric-number {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero__metric-label {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.4;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--c-surface-alt);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  opacity: 0.3;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--c-text-soft);
  transition: color var(--transition-base);
}

.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb span { margin: 0 0.4rem; }

.page-hero__content {
  display: flex;
  gap: var(--space-md);
}

.page-hero__accent-line {
  width: 3px;
  min-height: 100%;
  background: var(--c-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.page-hero__content h1 { margin-bottom: var(--space-sm); }
.page-hero__content p {
  color: var(--c-text-soft);
  max-width: 600px;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* ---------- SPLIT LAYOUT ---------- */
.split {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.split--55-45 { grid-template-columns: 55% 1fr; }
.split--45-55 { grid-template-columns: 1fr 55%; }

.split__visual img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ---------- CARDS ---------- */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, min