/* ─────────────────────────────────────────────
   Clearlyst — styles.css
   Apple Liquid Glass UI · Dark Theme
───────────────────────────────────────────── */

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

:root {
  --bg:            #07071a;
  --bg-alt:        #09091f;
  --glass:         rgba(255, 255, 255, 0.065);
  --glass-hover:   rgba(255, 255, 255, 0.1);
  --glass-border:  rgba(255, 255, 255, 0.12);
  --glass-high:    rgba(255, 255, 255, 0.22);
  --blur:          blur(28px) saturate(200%);
  --blur-sm:       blur(16px) saturate(180%);

  --accent-1:  #5ba4ff;
  --accent-2:  #b06fff;
  --accent-3:  #00e5c3;
  --grad:      linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 60%, var(--accent-3) 100%);

  --text:      #f0f0f7;
  --text-sub:  rgba(240, 240, 247, 0.58);
  --text-dim:  rgba(240, 240, 247, 0.35);

  --radius:    20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.64, 0, 0.78, 0);
  --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }


/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; }


/* ── Background Orbs ── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  animation: orbFloat 0.8s var(--ease-out) forwards;
}

.orb-1 {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(91,164,255,0.22) 0%, transparent 70%);
  animation-delay: 0s;
  animation: orbFloat 0.8s var(--ease-out) forwards, orb1Move 25s ease-in-out 0.8s infinite;
}
.orb-2 {
  width: 600px; height: 600px;
  top: 30%; right: -100px;
  background: radial-gradient(circle, rgba(176,111,255,0.2) 0%, transparent 70%);
  animation-delay: 0.15s;
  animation: orbFloat 0.8s var(--ease-out) 0.15s forwards, orb2Move 30s ease-in-out 0.95s infinite;
}
.orb-3 {
  width: 500px; height: 500px;
  bottom: 10%; left: 20%;
  background: radial-gradient(circle, rgba(0,229,195,0.15) 0%, transparent 70%);
  animation-delay: 0.3s;
  animation: orbFloat 0.8s var(--ease-out) 0.3s forwards, orb3Move 20s ease-in-out 1.1s infinite;
}
.orb-4 {
  width: 400px; height: 400px;
  top: 60%; right: 25%;
  background: radial-gradient(circle, rgba(91,164,255,0.12) 0%, transparent 70%);
  animation-delay: 0.45s;
  animation: orbFloat 0.8s var(--ease-out) 0.45s forwards, orb4Move 35s ease-in-out 1.25s infinite;
}

@keyframes orbFloat {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes orb1Move {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-60px) scale(1.08); }
  66%     { transform: translate(-30px, 30px) scale(0.95); }
}
@keyframes orb2Move {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-50px, 40px) scale(1.1); }
  70%     { transform: translate(20px,-30px) scale(0.92); }
}
@keyframes orb3Move {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(60px,-40px) scale(1.06); }
}
@keyframes orb4Move {
  0%,100% { transform: translate(0,0) scale(1); }
  45%     { transform: translate(-40px, 50px) scale(1.12); }
}


/* ── Glass Utility ── */
.glass {
  position: relative;
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.09) 0%,
    rgba(255,255,255,0) 50%,
    rgba(255,255,255,0.04) 100%
  );
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.glass:hover {
  background: var(--glass-hover);
  border-color: var(--glass-high);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.12) inset;
}


/* ── Layout ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section { padding: 120px 0; }
.section-alt { background: rgba(255,255,255,0.018); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.65;
}


/* ── Gradient Text ── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(91,164,255,0.3), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(91,164,255,0.45), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  background: var(--glass);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--glass-hover);
  border-color: var(--glass-high);
  transform: translateY(-2px);
}
.btn-ghost .arrow { transition: transform 0.3s var(--spring); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-nav {
  background: var(--glass);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 14px;
  padding: 10px 20px;
}
.btn-nav:hover {
  background: var(--glass-hover);
  border-color: var(--glass-high);
}


/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(7, 7, 26, 0.6);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 16px rgba(91,164,255,0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid var(--glass-border);
  background: rgba(7,7,26,0.8);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.nav-mobile a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text); }
.nav-mobile .btn-nav { width: fit-content; margin-top: 8px; }


/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 36px;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(0,229,195,0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,229,195,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(0,229,195,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,195,0); }
}

.hero-headline {
  font-size: clamp(44px, 7.5vw, 86px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-ctas .btn-primary { padding: 15px 32px; font-size: 16px; }
.hero-ctas .btn-ghost   { padding: 15px 28px; font-size: 16px; }

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%     { opacity: 0.9; transform: scaleY(1.2); }
}


/* ── Stats ── */
.stats-section {
  padding: 0 0 80px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius);
}
.stat-card:hover { transform: translateY(-4px); }

.stat-num {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}


/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  padding: 40px 36px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: default;
}
.service-card:hover { transform: translateY(-6px); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--accent-1);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card > p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.65;
  flex: 1;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.service-list li {
  font-size: 13.5px;
  color: var(--text-sub);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}


/* ── Industries ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.industry-col {
  padding: 44px 40px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.industry-col-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.industry-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.industry-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent-2);
}

.industry-col h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--glass-border);
  color: var(--text-sub);
  transition: all 0.25s var(--ease-out);
}
.tag:hover {
  background: rgba(91,164,255,0.12);
  border-color: rgba(91,164,255,0.4);
  color: var(--accent-1);
}

.industry-note {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
  margin-top: auto;
}


/* ── Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(33.33% - 10px);
  right: calc(33.33% - 10px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), var(--glass-border), transparent);
  pointer-events: none;
  z-index: 0;
}

.process-card {
  padding: 44px 36px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.process-card:hover { transform: translateY(-6px); }

.process-num {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.process-card h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process-card p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.65;
  flex: 1;
}

.process-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(91,164,255,0.1);
  border: 1px solid rgba(91,164,255,0.25);
  color: var(--accent-1);
  width: fit-content;
  margin-top: auto;
}


/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.about-text { position: relative; z-index: 2; }
.about-text .section-tag { display: block; }
.about-text .section-title { text-align: left; margin-bottom: 28px; }

.about-body {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
}

.about-stat span {
  display: block;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat p {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

.about-card {
  padding: 44px 36px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 24px rgba(91,164,255,0.35);
  flex-shrink: 0;
}

.about-info h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.about-info p {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 2px;
}

.about-divider {
  height: 1px;
  background: var(--glass-border);
}

.about-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-sub);
  line-height: 1.65;
  border-left: 2px solid rgba(91,164,255,0.5);
  padding-left: 16px;
  margin-top: 4px;
}


/* ── Contact Form ── */
.form-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 56px;
  border-radius: calc(var(--radius) + 4px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.01em;
}

.req { color: var(--accent-1); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: all 0.25s var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(240,240,247,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(91,164,255,0.5);
  background: rgba(91,164,255,0.07);
  box-shadow: 0 0 0 3px rgba(91,164,255,0.12);
}

.form-group select option {
  background: #111128;
  color: var(--text);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 14px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,229,195,0.12);
  border: 1px solid rgba(0,229,195,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg {
  width: 28px; height: 28px;
  stroke: var(--accent-3);
}

.form-success h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.form-success p {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 420px;
  line-height: 1.65;
}


/* ── Footer ── */
.footer {
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand .logo { margin-bottom: 12px; }

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 260px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 28px;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 8px;
}


/* ── Work / Proof of Work ── */

/* CPL callout */
.cpl-callout {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 48px;
  border-radius: var(--radius);
  margin-bottom: 48px;
}

.cpl-left {
  flex-shrink: 0;
  text-align: center;
}

.cpl-range {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cpl-range span {
  opacity: 0.6;
}

.cpl-unit {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-top: 6px;
}

.cpl-divider {
  width: 1px;
  height: 80px;
  background: var(--glass-border);
  flex-shrink: 0;
}

.cpl-note {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* Section label */
.work-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 20px;
}

/* Video row */
.work-videos-outer {
  position: relative;
}

.work-videos-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  /* hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.work-videos-scroll::-webkit-scrollbar { display: none; }

.work-video-item {
  flex: 0 0 calc(33.333% - 14px);
  aspect-ratio: 9 / 16;
  max-height: 560px;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.work-video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  outline: none;
}

/* Arrow buttons — only shown on mobile */
.vid-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(7, 7, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.25s var(--ease-out);
}
.vid-arrow:hover {
  background: rgba(91, 164, 255, 0.22);
  border-color: rgba(91, 164, 255, 0.55);
  box-shadow: 0 4px 20px rgba(91,164,255,0.3);
}
.vid-arrow svg { width: 20px; height: 20px; pointer-events: none; }
.vid-arrow--prev { left: 8px; }
.vid-arrow--next { right: 8px; }


/* ── Nav trial highlight ── */
.nav-trial-link {
  color: var(--accent-3) !important;
  font-weight: 600 !important;
}
.nav-trial-link:hover { opacity: 0.8; }


/* ── Free Trial Section ── */
.trial-section { position: relative; z-index: 2; }

.trial-banner {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 64px;
  border-radius: calc(var(--radius) + 8px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  /* extra glow */
  box-shadow: 0 0 80px rgba(91,164,255,0.1), 0 0 160px rgba(176,111,255,0.07);
}

.trial-badge-wrap { display: flex; justify-content: center; }

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-3);
  background: rgba(0,229,195,0.08);
  border: 1px solid rgba(0,229,195,0.25);
  letter-spacing: 0.02em;
}

.trial-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.trial-sub {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
  max-width: 620px;
}

.trial-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
  text-align: left;
  width: 100%;
  max-width: 520px;
}

.trial-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.trial-list li svg {
  width: 18px; height: 18px;
  stroke: var(--accent-3);
  flex-shrink: 0;
}

.btn-trial-cta {
  padding: 17px 40px;
  font-size: 17px;
  border-radius: 14px;
  box-shadow: 0 6px 32px rgba(91,164,255,0.4), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.btn-trial-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 48px rgba(91,164,255,0.55), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.btn-trial-cta .arrow { transition: transform 0.3s var(--spring); }
.btn-trial-cta:hover .arrow { transform: translateX(5px); }

.trial-fine {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: -8px;
}


/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal:nth-child(3) { transition-delay: 0.19s; }
.reveal:nth-child(4) { transition-delay: 0.26s; }
.reveal:nth-child(5) { transition-delay: 0.33s; }


/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-card { max-width: 480px; }
}

@media (max-width: 800px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrapper { padding: 36px 28px; }
  .section { padding: 80px 0; }
  .about-grid { gap: 40px; }

  .work-video-item { flex: 0 0 72vw; max-height: none; }
  .vid-arrow { display: flex; }
  /* Push scroll content inward so arrows don't overlap first/last card */
  .work-videos-scroll { padding: 0 56px; gap: 16px; }

  .cpl-callout { flex-direction: column; gap: 24px; padding: 32px 28px; text-align: center; }
  .cpl-divider { width: 60px; height: 1px; }

  .trial-banner { padding: 48px 28px; gap: 24px; }
  .trial-list { grid-template-columns: 1fr; max-width: 100%; }
  .btn-trial-cta { width: 100%; justify-content: center; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner > .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }

  .hero { padding: 120px 24px 60px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { flex-direction: column; gap: 24px; }

  .footer-inner { flex-direction: column; }
  .footer-links { gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}

/* Prevent layout shift during load */
@supports not (backdrop-filter: blur(1px)) {
  .glass { background: rgba(10, 10, 35, 0.9); }
  .nav.scrolled { background: rgba(7,7,26,0.97); }
}
