/* SimpleIP Design System — global.css (V1 Final Brief) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  /* Typography — Inter (V1 system font) */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  /* ===== Design System Colors ===== */
  --headline: #262b32;
  --body: #637381;
  --muted: #919eab;
  --primary: #264d5a;
  --primary-light: #698a95;
  --primary-dark: #0f2c35;
  --accent: #ff6c2d;
  --accent-light: #ff8a57;
  --secondary: #004ed8;
  --secondary-light: #3371e0;
  --green: #17b26a;
  --green-bg: #edfaf4;
  --teal: #264d5a;
  --orange: #ff6c2d;
  --info: #00b9f0;
  --warning: #ffa800;
  --error: #ff303c;
  --bg-light: #f7f9fa;
  --bg-lighter: #f9fafb;
  --border: #dfe3e8;
  --border-input: #c4cdd5;
  --white: #ffffff;
  --dark: #0f2c35;
  --dark-card: #002832;
  --hero-from: #0d2330;
  --hero-to: #1a3540;

  /* Elevation */
  --shadow-sm: 0 1px 2px 0 #264d5a0a;
  --shadow-md: 0 4px 12px 0 #264d5a1f;
  --shadow-lg: 0 4px 16px 0 #264d5a29;
  --shadow-xl: 0 4px 24px 0 #264d5a29;

  /* Radii */
  --radius-btn: 10px;
  --radius-card: 16px;
  --radius-lg: 24px;

  /* Easings */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--headline);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
body.reg-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(38, 77, 90, 0.4);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius-btn);
  background: var(--white);
  color: var(--headline);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

#content-start { scroll-margin-top: 96px; }
#content-start:focus { outline: none; }

/* Utility */
.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--primary); margin-bottom: 16px;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #1a3540, #ff6c2d);
  z-index: 200;
  transition: width 0.05s linear;
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
  50% { box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 0 20px rgba(38,77,90,0.12); }
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 15px) scale(0.95); }
  66% { transform: translate(20px, -25px) scale(1.05); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, 25px) scale(1.03); }
  66% { transform: translate(-20px, -10px) scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
