/* ================================
   Nodior — Modern B2B Marketing Site (Redesigned)
   ================================ */

/*------ Design Tokens ------*/
:root {
  --bg: #05070b;
  --bg-soft: #0b1018;
  --bg-alt: #0f1725;
  --surface: rgba(17, 24, 39, 0.6);
  --surface-strong: rgba(31, 41, 55, 0.8);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.35);
  --text: #f8fbff;
  --text-soft: #c7d3e0;
  --text-muted: #8697ad;
  --accent: #50f0ff;
  --accent-strong: #35a8ff;
  --accent-warm: #7affd8;
  --gradient-primary: linear-gradient(135deg, #3ed0ff 0%, #3a7bff 50%, #7affd8 100%);
  --gradient-surface: linear-gradient(140deg, rgba(80, 240, 255, 0.1), rgba(58, 123, 255, 0.08));
  --gradient-border: linear-gradient(140deg, rgba(80, 240, 255, 0.55), rgba(58, 123, 255, 0.35));
  --shadow-lg: 0 40px 110px rgba(7, 10, 18, 0.7);
  --shadow-md: 0 22px 60px rgba(7, 10, 18, 0.6);
  --shadow-soft: 0 14px 40px rgba(7, 10, 18, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --spacing-xl: clamp(72px, 12vw, 120px);
  --spacing-lg: clamp(54px, 8vw, 90px);
  --spacing-md: 40px;
  --spacing-sm: 24px;
  --spacing-xs: 16px;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

/*------ Base Styles ------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(80, 240, 255, 0.08), transparent 55%),
              radial-gradient(900px 700px at 80% 0%, rgba(58, 123, 255, 0.12), transparent 65%),
              var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.section {
  width: min(var(--max-width), 90vw);
  margin: 0 auto;
  padding-block: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--spacing-md);
}

.section__title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 var(--spacing-xs);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  color: var(--text-soft);
  margin: 0;
  line-height: 1.7;
}

/*------ Enhanced Particles ------*/
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 12px rgba(80, 240, 255, 0.6);
  animation: float 42s linear infinite;
}

@keyframes float {
  0% { 
    transform: translate3d(0, 120vh, 0) scale(0.5); 
    opacity: 0; 
  }
  5% { 
    opacity: 0.4; 
  }
  50% {
    opacity: 0.5;
    transform: translate3d(30px, 20vh, 0) scale(1);
  }
  95% { 
    opacity: 0.3; 
  }
  100% { 
    transform: translate3d(60px, -80vh, 0) scale(0.5); 
    opacity: 0; 
  }
}

/*------ Navigation ------*/
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(160%) blur(26px);
  background: rgba(5, 7, 11, 0.78);
  border-bottom: 1px solid rgba(80, 240, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav--scrolled {
  background: rgba(5, 7, 11, 0.92);
  border-bottom-color: rgba(80, 240, 255, 0.18);
  box-shadow: 0 18px 45px rgba(4, 6, 12, 0.55);
}

.nav__inner {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo__image {
  height: 40px;
  width: auto;
  max-width: 200px;
  filter: drop-shadow(0 4px 12px rgba(80, 240, 255, 0.3));
}

.nav__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  color: inherit;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #04101f;
  box-shadow: 0 14px 45px rgba(62, 208, 255, 0.35);
  border: none;
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 60px rgba(62, 208, 255, 0.5);
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn--ghost {
  border-color: rgba(80, 240, 255, 0.15);
  background: rgba(80, 240, 255, 0.05);
  color: var(--text-soft);
}

.btn--ghost:hover {
  background: rgba(80, 240, 255, 0.14);
  border-color: rgba(80, 240, 255, 0.4);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: rgba(148, 163, 184, 0.32);
  color: var(--text-soft);
}

.btn--outline:hover {
  border-color: rgba(80, 240, 255, 0.5);
  color: var(--text);
  transform: translateY(-2px);
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/*------ Hero Section ------*/
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  min-height: 80vh;
}

.hero__content {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(80, 240, 255, 0.25);
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  text-transform: uppercase;
  background: rgba(58, 123, 255, 0.1);
  box-shadow: 0 8px 24px rgba(80, 240, 255, 0.15);
  backdrop-filter: blur(10px);
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero__title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 20px 0;
  background: linear-gradient(145deg, #f8fbff 0%, #a9c0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.hero__subtitle {
  color: var(--text-soft);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 600px;
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: var(--spacing-md);
}

.hero__visual {
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-card {
  width: min(420px, 95%);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(80, 240, 255, 0.2);
  background: linear-gradient(155deg, rgba(11, 17, 27, 0.95), rgba(7, 10, 18, 0.9));
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(80, 240, 255, 0.1) inset;
  position: relative;
  backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
  transform: translateY(-8px);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-border);
  opacity: 0.5;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.4s ease;
}

.hero-card:hover::before {
  opacity: 0.8;
}

.hero-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(80, 240, 255, 0.1);
}

.hero-status {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hero-card__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.project-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.project-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.project-step:hover {
  transform: translateX(4px);
}

.project-step.completed {
  background: rgba(122, 255, 216, 0.08);
}

.project-step.completed::before {
  background: var(--accent-warm);
}

.project-step.active {
  background: rgba(80, 240, 255, 0.12);
}

.project-step.active::before {
  background: var(--accent);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(80, 240, 255, 0.15);
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.project-step.completed .step-number {
  background: rgba(122, 255, 216, 0.2);
  color: var(--accent-warm);
  border-color: rgba(122, 255, 216, 0.3);
}

.project-step.active .step-number {
  background: var(--accent);
  color: #04101f;
  box-shadow: 0 0 20px rgba(80, 240, 255, 0.6);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(80, 240, 255, 0.6); }
  50% { box-shadow: 0 0 30px rgba(80, 240, 255, 0.8); }
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.step-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-step.completed .step-status {
  color: var(--accent-warm);
}

.project-step.active .step-status {
  color: var(--accent);
}

.project-summary {
  border-top: 1px solid rgba(80, 240, 255, 0.15);
  padding-top: 20px;
  display: grid;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(80, 240, 255, 0.04);
  transition: background 0.3s ease;
}

.summary-item:hover {
  background: rgba(80, 240, 255, 0.08);
}

.summary-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/*------ Trust Strip ------*/
.trust {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.trust__title {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--spacing-sm);
  text-align: center;
  font-weight: 500;
}

.trust__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  align-items: center;
}

.trust__logo {
  padding: 20px 28px;
  border-radius: var(--radius-md);
  background: rgba(12, 18, 28, 0.7);
  border: 1px solid rgba(80, 240, 255, 0.1);
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trust__logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-surface);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trust__logo:hover {
  border-color: rgba(80, 240, 255, 0.3);
  transform: translateY(-4px);
  color: var(--text-soft);
}

.trust__logo:hover::before {
  opacity: 1;
}

/*------ Use Cases Tabs ------*/
.use-cases {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.use-cases__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: rgba(21, 28, 42, 0.9);
  border-radius: var(--radius-pill);
  padding: 8px;
  border: 1px solid rgba(80, 240, 255, 0.15);
  width: fit-content;
  margin: 0 auto 40px;
  flex-wrap: wrap;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.use-case-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.use-case-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: rgba(80, 240, 255, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.use-case-btn:hover::before {
  opacity: 1;
}

.use-case-btn[aria-selected="true"] {
  background: var(--gradient-primary);
  color: #04101f;
  box-shadow: 0 12px 30px rgba(80, 240, 255, 0.3);
  transform: scale(1.05);
}

.use-case-btn:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.use-case-btn[aria-selected="true"]:hover {
  color: #04101f;
}

.use-cases__panel {
  margin-top: var(--spacing-md);
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
}

.use-case__visual {
  --visual-color-start: rgba(80, 240, 255, 0.18);
  --visual-color-end: rgba(58, 123, 255, 0.16);
  min-height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(9, 14, 24, 0.95), rgba(5, 7, 11, 0.92));
  border: 1px solid rgba(80, 240, 255, 0.15);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease;
}

.use-case__visual:hover {
  transform: scale(1.02);
}

.use-case__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 55%, rgba(4, 10, 18, 0.9)),
    repeating-linear-gradient(90deg, rgba(80, 240, 255, 0.08) 0, rgba(80, 240, 255, 0.08) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(0deg, rgba(80, 240, 255, 0.04) 0, rgba(80, 240, 255, 0.04) 1px, transparent 1px, transparent 24px);
  opacity: 0.4;
  pointer-events: none;
}

.use-case__visual::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at center, var(--visual-color-start), transparent 70%);
  animation: pulse-visual 12s ease-in-out infinite;
}

@keyframes pulse-visual {
  0%, 100% { 
    transform: scale(0.9) rotate(0deg); 
    opacity: 0.4; 
  }
  50% { 
    transform: scale(1.1) rotate(180deg); 
    opacity: 0.6; 
  }
}

.use-case-visual--event {
  --visual-color-start: rgba(80, 240, 255, 0.35);
  --visual-color-end: rgba(62, 208, 255, 0.22);
}

.use-case-visual--market {
  --visual-color-start: rgba(111, 145, 255, 0.32);
  --visual-color-end: rgba(162, 109, 255, 0.22);
}

.use-case-visual--pipeline {
  --visual-color-start: rgba(82, 255, 207, 0.35);
  --visual-color-end: rgba(58, 189, 255, 0.2);
}

.use-case-visual--partner {
  --visual-color-start: rgba(255, 180, 123, 0.35);
  --visual-color-end: rgba(80, 197, 255, 0.2);
}

.use-case-visual__content {
  position: absolute;
  inset: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.use-case-visual__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.use-case-visual__stat-number {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(80, 240, 255, 0.5);
}

.use-case-visual__stat-label {
  font-size: 0.9rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.use-case-visual__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-case-tag {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(80, 240, 255, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(80, 240, 255, 0.25);
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.use-case-tag:hover {
  background: rgba(80, 240, 255, 0.2);
  transform: translateY(-2px);
}

.use-case__content h3 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
}

.use-case__content p {
  margin: 0 0 24px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.use-case__details {
  display: grid;
  gap: 20px;
  background: rgba(11, 18, 29, 0.7);
  border: 1px solid rgba(80, 240, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.use-case__details > div {
  transition: transform 0.3s ease;
}

.use-case__details > div:hover {
  transform: translateX(4px);
}

.label {
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: inline-block;
  font-weight: 700;
}

.use-case__details ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text-soft);
  line-height: 1.8;
}

.use-case__details ul li {
  margin-bottom: 8px;
}

/*------ Process Timeline ------*/
.process {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.process__timeline {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(80, 240, 255, 0), rgba(80, 240, 255, 0.5), rgba(80, 240, 255, 0));
  z-index: -1;
}

@media (max-width: 720px) {
  .process__timeline::before {
    display: none;
  }
}

.process-step {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(9, 14, 23, 0.8);
  border: 1px solid rgba(80, 240, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-surface);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(80, 240, 255, 0.3);
  box-shadow: var(--shadow-soft);
}

.process-step:hover::before {
  opacity: 1;
}

.process-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(80, 240, 255, 0.14);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 18px;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(80, 240, 255, 0.2);
  transition: all 0.3s ease;
}

.process-step:hover .process-step__index {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(80, 240, 255, 0.4);
}

.process-step h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  font-weight: 700;
}

.process-step p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

/*------ Principles ------*/
.principles {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.principles__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.principle-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(15, 22, 32, 0.75);
  border: 1px solid rgba(80, 240, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.principle-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-surface);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(80, 240, 255, 0.3);
  box-shadow: var(--shadow-soft);
}

.principle-card:hover::before {
  opacity: 1;
}

.principle-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
}

.principle-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  position: relative;
}

/*------ Testimonials ------*/
.testimonials {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.testimonials__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(12, 19, 30, 0.7);
  border: 1px solid rgba(80, 240, 255, 0.12);
  font-size: 1.05rem;
  color: var(--text-soft);
  position: relative;
  line-height: 1.8;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(80, 240, 255, 0.15);
  font-weight: 900;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-6px);
  border-color: rgba(80, 240, 255, 0.25);
  box-shadow: var(--shadow-soft);
}

.testimonial p {
  position: relative;
  margin: 0 0 20px;
}

.testimonial__author {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

/*------ FAQ ------*/
.faq {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.faq__list {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(13, 20, 30, 0.7);
  border: 1px solid rgba(80, 240, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.faq-item:hover {
  border-color: rgba(80, 240, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.faq-item summary {
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 300;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 28px 28px;
  color: var(--text-muted);
  line-height: 1.8;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*------ Contact Section ------*/
.contact {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.contact__form {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(80, 240, 255, 0.15);
}

/*------ Footer ------*/
.cta__footer {
  width: min(var(--max-width), 90vw);
  margin: 40px auto 0;
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(80, 240, 255, 0.1);
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer__company {
  margin: 0;
  font-weight: 600;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__separator {
  color: rgba(80, 240, 255, 0.3);
  user-select: none;
}

.cta__footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.cta__footer a:hover {
  color: var(--accent);
  background: rgba(80, 240, 255, 0.08);
}

@media (max-width: 640px) {
  .footer__content {
    gap: 12px;
  }
  
  .footer__company {
    font-size: 0.85rem;
  }
  
  .footer__links {
    font-size: 0.85rem;
    gap: 8px;
  }
}

/*------ Reveal Animation ------*/
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/*------ Mobile Responsive ------*/
@media (max-width: 1080px) {
  :root {
    --spacing-xl: clamp(60px, 10vw, 100px);
    --spacing-lg: clamp(48px, 7vw, 80px);
  }

  .nav__actions {
    gap: 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero-card {
    width: min(400px, 100%);
  }
}

@media (max-width: 880px) {
  .nav__actions .btn--ghost {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--spacing-lg);
  }

  .hero__visual {
    order: 2;
  }

  .hero__content {
    order: 1;
  }

  .use-cases__controls {
    width: 100%;
    padding: 10px;
  }

  .use-case-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .use-cases__panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process__timeline::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: var(--spacing-md);
  }

  .section__title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero {
    padding-top: var(--spacing-md);
    gap: 40px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-card {
    padding: 24px;
    width: 100%;
  }

  .trust__logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust__logo {
    padding: 16px 20px;
    font-size: 0.8rem;
  }

  .use-cases__controls {
    gap: 8px;
  }

  .use-case-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .use-case__visual {
    min-height: 280px;
  }

  .use-case__details {
    padding: 20px;
  }

  .process__timeline,
  .principles__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    padding: 22px;
  }

  .faq-item summary {
    padding: 18px 20px;
    font-size: 0.98rem;
  }

  .faq-item p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
  }

  .nav__inner {
    padding: 14px 0;
  }

  .logo__image {
    height: 36px;
  }

  .btn--large {
    padding: 14px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__badge {
    font-size: 0.7rem;
    padding: 8px 14px;
  }

  .project-step {
    padding: 10px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .use-case-visual__content {
    padding: 20px;
  }

  .use-case-tag {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

/*------ Accessibility & Motion ------*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .particle {
    display: none;
  }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Smooth text rendering */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*------ Legal Pages ------*/
.legal-content {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  min-height: 70vh;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(15, 22, 32, 0.7);
  border: 1px solid rgba(80, 240, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.legal-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 40px;
  font-style: italic;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(80, 240, 255, 0.2);
}

.legal-section h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--text-soft);
  margin: 24px 0 12px;
}

.legal-section p {
  color: var(--text-soft);
  line-height: 1.8;
  margin: 0 0 16px;
  font-size: 1rem;
}

.legal-section ul {
  margin: 16px 0;
  padding-left: 28px;
  color: var(--text-soft);
  line-height: 1.8;
}

.legal-section li {
  margin-bottom: 12px;
  position: relative;
}

.legal-section li::marker {
  color: var(--accent);
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

.legal-back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(80, 240, 255, 0.15);
  text-align: center;
}

@media (max-width: 640px) {
  .legal-container {
    padding: clamp(24px, 4vw, 40px);
  }

  .legal-section h2 {
    font-size: 1.4rem;
  }

  .legal-section h3 {
    font-size: 1.2rem;
  }

  .legal-section ul {
    padding-left: 20px;
  }
}

/* Print styles */
@media print {
  .nav,
  .particles,
  .hero__visual {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
  
  .legal-container {
    background: white;
    border: none;
    box-shadow: none;
  }
  
  .legal-back {
    display: none;
  }
}
