/* ═══════════════════════════════════════════════════════════
   Akrion One — Marketing Website Stylesheet
   Brand: Dark theme · #54c7ff · #8b7bff · #22d3a7
   Fonts: Space Grotesk (display) · Inter (body) · JetBrains Mono (code)
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --primary:       #54c7ff;
  --primary-hover: #3ab8f5;
  --secondary:     #8b7bff;
  --accent:        #22d3a7;
  --warn:          #fbbf24;
  --bg-base:       #070b14;
  --bg-mid:        #0d1424;
  --bg-accent:     #151f38;
  --surface:       rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --card-border:   rgba(255, 255, 255, 0.10);
  --text-main:     #e8edf5;
  --text-dim:      #8c99b3;
  --text-muted:    #5a6a82;
  --font-display:  'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, monospace;
  --radius:        14px;
  --radius-lg:     20px;
  --max-width:     1200px;
  --section-pad:   6rem 2rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: #f3f7ff; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.3; }
p { color: var(--text-dim); font-size: 1.05rem; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #070b14;
  box-shadow: 0 4px 20px rgba(84, 199, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(84, 199, 255, 0.35);
  color: #070b14;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: rgba(84, 199, 255, 0.1);
  transform: translateY(-2px);
  color: var(--primary);
}

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img { height: 36px; }
.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #f3f7ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.nav-links li { white-space: nowrap; }
.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

/* Tighter gap on mid-size viewports so 7 nav links + bigger logo fit on one line */
@media (max-width: 1200px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.85rem; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Hero ─────────────────────────────────────────────────── */
/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  /* Full-bleed: section spans 100vw so the gradient/orbs cover the whole
     viewport, while .hero-inner caps content width and centres it. */
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  /* CSS Grid — cleaner than flex for the side-by-side / stacked switch.
     Wide:    text (auto) | image (1.3fr, takes more width)
     Narrow:  single column, image stacks under text
     minmax(0, ...) keeps long words like "Autonomous" from forcing overflow. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 600px at 20% 30%, rgba(84, 199, 255, 0.08) 0%, transparent 70%),
    radial-gradient(600px 500px at 80% 60%, rgba(139, 123, 255, 0.06) 0%, transparent 70%),
    radial-gradient(400px 400px at 50% 80%, rgba(34, 211, 167, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Background orbs container — pulled out of the grid flow so it doesn't
   become a third grid child and push the layout sideways. */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 620px;
}

.hero-content p {
  /* Cap measure so long lines don't overshoot when text wins extra width. */
  max-width: 56ch;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(84, 199, 255, 0.1);
  border: 1px solid rgba(84, 199, 255, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Below 1080px viewport — collapse to a single column so the image stacks
   below the text instead of squeezing into a narrow sidecar. */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    max-width: 720px;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    width: 100%;
    max-width: 820px;
  }
}

.hero-dashboard-img {
  width: 100%;
  height: auto;
  /* Cap to image's native width so we never upscale and blur the bitmap. */
  max-width: 1092px;
  display: block;
  /* PNG already has transparent rounded corners (~18px alpha mask) so no
     CSS border-radius needed — would just clip inside the alpha edge. */
  cursor: zoom-in;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.55));
  transition: transform 0.4s ease;
  animation: hero-float 9s ease-in-out infinite;
}
.hero-dashboard-img:hover {
  transform: translateY(-4px) scale(1.005);
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Animated glow orbs (background atmosphere behind hero image) */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-float 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
.glow-orb-1 {
  width: 300px; height: 300px;
  background: rgba(84, 199, 255, 0.15);
  top: 5%; right: 10%;
}
.glow-orb-2 {
  width: 250px; height: 250px;
  background: rgba(139, 123, 255, 0.12);
  bottom: 10%; right: 25%;
  animation-delay: -3s;
}
.glow-orb-3 {
  width: 200px; height: 200px;
  background: rgba(34, 211, 167, 0.10);
  top: 35%; right: -5%;
  animation-delay: -5s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  padding: 3rem 2rem;
  background: var(--bg-mid);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

/* ── Section common ───────────────────────────────────────── */
section { padding: var(--section-pad); }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-header p { margin-top: 0.75rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(84, 199, 255, 0.2);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card-icon.blue   { background: rgba(84, 199, 255, 0.12); }
.card-icon.purple { background: rgba(139, 123, 255, 0.12); }
.card-icon.green  { background: rgba(34, 211, 167, 0.12); }
.card-icon.amber  { background: rgba(251, 191, 36, 0.12); }

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; }

/* ── Feature Grid ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Differentiators ──────────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.diff-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
}
.diff-card .diff-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  flex-shrink: 0;
}

/* ── Screenshots / Glass Effect ───────────────────────────── */
.screenshots-section {
  background:
    radial-gradient(600px at 50% 0%, rgba(139, 123, 255, 0.06), transparent),
    var(--bg-base);
}

.screenshot-showcase {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.device-frame {
  position: relative;
  transition: transform 0.4s ease;
}
.device-frame:hover { transform: scale(1.03); }

.device-desktop {
  width: 600px;
  perspective: 1000px;
}
.device-desktop .screen {
  background: var(--bg-mid);
  border-radius: 12px;
  border: 2px solid var(--card-border);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.device-desktop:hover .screen { transform: rotateY(-2deg) rotateX(1deg); }

.device-mobile {
  width: 280px;
  perspective: 800px;
}
.device-mobile .screen {
  background: var(--bg-mid);
  border-radius: 24px;
  border: 3px solid var(--card-border);
  overflow: hidden;
  transform: rotateY(8deg) rotateX(2deg);
  transition: transform 0.4s;
  padding: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
/* When the mobile slot contains a real screenshot (e.g. a phone-render PNG
   with its own bezel), strip the frame chrome so the image floats clean. */
.device-mobile .screen:has(img) {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.device-mobile:hover .screen { transform: rotateY(4deg) rotateX(1deg); }

/* Glass overlay effect — kept for placeholder slots; suppressed when the
   slot contains a real screenshot so the image stays sharp. */
.glass-overlay {
  position: relative;
}
.glass-overlay:not(:has(img))::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(255, 255, 255, 0.06) 100%
  );
  backdrop-filter: blur(1px);
  border-radius: inherit;
  pointer-events: none;
}

.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, var(--bg-accent) 0%, var(--bg-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
  border-radius: 8px;
}
.screenshot-placeholder.mobile { aspect-ratio: 9/16; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section {
  background: var(--bg-mid);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-avatar.acme     { background: rgba(217, 119, 6, 0.2); color: #d97706; }
.testimonial-avatar.pacific  { background: rgba(26, 82, 118, 0.3); color: #54a5d4; }
.testimonial-avatar.coastal  { background: rgba(8, 145, 178, 0.2); color: #0891b2; }

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── Case Study ───────────────────────────────────────────── */
.case-study-section {
  background:
    radial-gradient(700px at 0% 50%, rgba(8, 145, 178, 0.06), transparent),
    var(--bg-base);
}

.case-study-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.metric-card .metric-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}
.metric-card .metric-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.case-study-timeline {
  border-left: 2px solid var(--card-border);
  padding-left: 1.5rem;
  margin-top: 1rem;
}
.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}
.timeline-item::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: -1.88rem;
  top: 0.25rem;
}
.timeline-item h4 {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.timeline-item p {
  font-size: 0.88rem;
}

/* ── Software Box ─────────────────────────────────────────── */
.box-section {
  background: var(--bg-mid);
}

.box-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.software-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-info { max-width: 400px; }
.box-info h3 { margin-bottom: 1rem; }
.box-features {
  list-style: none;
  margin-top: 1rem;
}
.box-features li {
  padding: 0.5rem 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.box-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

/* ── Swag / Merchandise ───────────────────────────────────── */
.swag-section {
  background:
    radial-gradient(600px at 80% 0%, rgba(139, 123, 255, 0.05), transparent),
    var(--bg-base);
}

.swag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.swag-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.swag-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.swag-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.swag-info {
  padding: 1rem;
}
.swag-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.swag-info p {
  font-size: 0.82rem;
}

.swag-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ── Demo Videos ──────────────────────────────────────────── */
.demo-section {
  background: var(--bg-mid);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.demo-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
}
.demo-card:hover { transform: translateY(-4px); }

.demo-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-accent), var(--bg-base));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.play-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(84, 199, 255, 0.2);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.play-button::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}
.demo-card:hover .play-button {
  background: rgba(84, 199, 255, 0.35);
  transform: scale(1.1);
}

.demo-info {
  padding: 1.25rem;
}
.demo-info h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.demo-info p { font-size: 0.82rem; }

.demo-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}
.demo-tag.acme     { background: rgba(217, 119, 6, 0.15); color: #d97706; }
.demo-tag.pacific  { background: rgba(26, 82, 118, 0.2); color: #54a5d4; }
.demo-tag.coastal  { background: rgba(8, 145, 178, 0.15); color: #0891b2; }

/* ── Roadmap ──────────────────────────────────────────────── */
.roadmap-section {
  background:
    radial-gradient(700px at 80% 0%, rgba(139, 123, 255, 0.08), transparent),
    radial-gradient(600px at 0% 100%, rgba(34, 211, 167, 0.06), transparent),
    var(--bg-base);
}

.roadmap-figure {
  margin: 2.5rem auto 0;
  max-width: 1000px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.roadmap-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.roadmap-img:hover { transform: scale(1.01); }
.roadmap-figure figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

.upcoming-header {
  text-align: center;
  margin: 4rem auto 1.75rem;
  max-width: 720px;
}
.upcoming-header h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 0.5rem;
}

/* ── Carousel ─────────────────────────────────────────────── */
.carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  outline: none;
}
.carousel:focus-visible {
  box-shadow: 0 0 0 2px var(--primary);
  border-radius: var(--radius-lg);
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0.25rem;
}

.upcoming-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
}
.upcoming-thumb {
  background: linear-gradient(135deg, var(--bg-accent), var(--bg-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
}
.upcoming-thumb img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}
.upcoming-thumb img:hover { transform: scale(1.03); }

.upcoming-info {
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}
.upcoming-info h4 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.2;
}
.upcoming-info p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.upcoming-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(84, 199, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(84, 199, 255, 0.25);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.carousel-btn:hover {
  background: var(--primary);
  color: #070b14;
  transform: translateY(-50%) scale(1.05);
}
.carousel-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, width 0.2s;
}
.carousel-dot:hover { background: rgba(255, 255, 255, 0.35); }
.carousel-dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 4px;
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  text-align: center;
  background:
    radial-gradient(600px at 50% 50%, rgba(84, 199, 255, 0.08), transparent),
    var(--bg-base);
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--card-border);
  background: var(--bg-base);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img { height: 32px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; max-width: 280px; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Slogans / Marquee ────────────────────────────────────── */
.slogans-bar {
  padding: 1.25rem 0;
  background: rgba(84, 199, 255, 0.04);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}

.slogans-track {
  display: flex;
  gap: 3rem;
  animation: scroll-left 30s linear infinite;
  white-space: nowrap;
}

.slogan-item {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.slogan-item .slogan-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Image Prompt Sections ────────────────────────────────── */
.prompt-section {
  background: var(--bg-mid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
}
.prompt-section h4 {
  font-size: 0.85rem;
  color: var(--warn);
  margin-bottom: 0.5rem;
}
.prompt-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-grid, .testimonials-grid, .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; }
  .case-study-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .swag-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--card-border);
  }
  .feature-grid, .testimonials-grid, .demo-grid, .swag-grid { grid-template-columns: 1fr; }
  .upcoming-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .upcoming-thumb {
    padding: 1rem;
  }
  .upcoming-thumb img {
    max-height: 240px;
  }
  .upcoming-info {
    padding: 1.25rem 1.25rem 1.5rem;
  }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
  /* Hero — fully stacked at mobile width. The 1080px breakpoint above
     already handles this; below 768px we just tighten the H1 + spacing. */
  .hero-visual {
    display: flex;
    flex-basis: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-inner { padding: 7rem 1.5rem 3rem; gap: 2rem; }
  .hero { min-height: auto; }
  .hero-content {
    flex-basis: 100%;
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
    line-height: 1.05;
  }
  .hero p {
    font-size: 1.05rem;
    max-width: 100%;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .screenshot-showcase { flex-direction: column; }
  .device-desktop { width: 100%; }
  .device-mobile { width: 180px; }
  .box-container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .case-study-metrics { grid-template-columns: 1fr; }
}

/* ── Contact section ─────────────────────────────────────── */
.contact-section {
  padding: 5rem 2rem;
  background:
    radial-gradient(800px at 20% 30%, rgba(84, 199, 255, 0.06), transparent),
    var(--bg-base);
  border-top: 1px solid var(--card-border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-intro h2 { margin: 0.5rem 0 1rem; }
.contact-intro p { margin-bottom: 1.5rem; max-width: 480px; }
.contact-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-points li {
  font-size: 0.92rem;
  color: var(--text-dim);
}
.contact-points a { color: var(--primary); }
.contact-points a:hover { text-decoration: underline; }

.contact-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.contact-form h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-main);
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(84, 199, 255, 0.15);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { align-self: flex-start; }
.form-fineprint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}
.form-fineprint a { color: var(--primary); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  cursor: zoom-out;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: min(95vw, 1600px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
}
.lightbox-caption {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  max-width: min(95vw, 1600px);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: #f3f7ff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.05);
}
.lightbox-close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ── Product concept image (replaces 3D box render) ───────── */
.software-box .product-concept-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  cursor: zoom-in;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s ease;
}
.software-box .product-concept-img:hover {
  transform: translateY(-4px) scale(1.02);
}
