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

:root {
  --bg: #000000;
  --bg-elev: #0A0A0A;
  --bg-card: #0D0D0D;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #FFFFFF;
  --text-muted: #8A8F98;
  --text-faint: #5A5F68;
  --accent: #2DD4BF;
  --accent-hover: #5EEAD4;
  --accent-ink: #04211E;
  --accent-soft: rgba(45, 212, 191, 0.08);
  --accent-line: rgba(45, 212, 191, 0.2);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   AMBIENT BACKGROUND (nivalogs-style)
   Layered radial glows + animated noise + grid
   ============================================ */

/* Layer 1 — base ambient glows (slow drift, cursor-reactive) */
.bg-glow {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 700px at 15% 12%, rgba(45, 212, 191, 0.22), transparent 60%),
    radial-gradient(600px 600px at 85% 20%, rgba(96, 165, 250, 0.14), transparent 60%),
    radial-gradient(900px 700px at 50% 85%, rgba(45, 212, 191, 0.12), transparent 65%),
    radial-gradient(500px 500px at 5% 70%, rgba(139, 92, 246, 0.07), transparent 60%),
    radial-gradient(500px 500px at 95% 65%, rgba(45, 212, 191, 0.08), transparent 60%);
  transform: translate3d(
    calc(var(--mx, 0) * 24px),
    calc(var(--my, 0) * 24px),
    0
  );
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  filter: blur(20px) saturate(120%);
  animation: glowPulse 14s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0%   { opacity: 0.85; }
  50%  { opacity: 1; }
  100% { opacity: 0.9; }
}

/* Layer 2 — animated gradient sweep (nivalogs-style diagonal shimmer) */
.bg-sweep {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(45, 212, 191, 0.06) 60deg,
      transparent 120deg,
      rgba(96, 165, 250, 0.04) 200deg,
      transparent 260deg,
      rgba(45, 212, 191, 0.05) 320deg,
      transparent 360deg
    );
  animation: sweepRotate 40s linear infinite;
  transform: translate3d(
    calc(var(--mx, 0) * 18px),
    calc(var(--my, 0) * 18px),
    0
  );
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  opacity: 0.6;
  mix-blend-mode: screen;
}

@keyframes sweepRotate {
  from { transform: rotate(0deg) translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 18px), 0); }
  to   { transform: rotate(360deg) translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 18px), 0); }
}

/* Layer 3 — subtle animated grid (cursor-reactive, slow drift) */
.bg-grid {
  position: fixed;
  inset: -20%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 15%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 15%, #000 12%, transparent 78%);
  transform: translate3d(
    calc(var(--mx, 0) * 44px),
    calc(var(--my, 0) * 44px),
    0
  );
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Layer 4 — floating particles (nivalogs-style ambient dots) */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.bg-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 12px 2px rgba(45, 212, 191, 0.35);
  animation: floatUp linear infinite;
  opacity: 0;
}

.bg-particles span:nth-child(1) { left: 8%;  bottom: -10%; animation-duration: 22s; animation-delay: 0s; }
.bg-particles span:nth-child(2) { left: 22%; bottom: -10%; animation-duration: 28s; animation-delay: 4s; width: 2px; height: 2px; }
.bg-particles span:nth-child(3) { left: 38%; bottom: -10%; animation-duration: 32s; animation-delay: 8s; }
.bg-particles span:nth-child(4) { left: 54%; bottom: -10%; animation-duration: 26s; animation-delay: 2s; background: rgba(96, 165, 250, 0.5); box-shadow: 0 0 12px 2px rgba(96, 165, 250, 0.3); }
.bg-particles span:nth-child(5) { left: 68%; bottom: -10%; animation-duration: 30s; animation-delay: 6s; }
.bg-particles span:nth-child(6) { left: 82%; bottom: -10%; animation-duration: 24s; animation-delay: 10s; width: 2px; height: 2px; }
.bg-particles span:nth-child(7) { left: 92%; bottom: -10%; animation-duration: 34s; animation-delay: 3s; }
.bg-particles span:nth-child(8) { left: 15%; bottom: -10%; animation-duration: 36s; animation-delay: 12s; background: rgba(96, 165, 250, 0.5); box-shadow: 0 0 12px 2px rgba(96, 165, 250, 0.3); }

@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.9; }
  50%  { transform: translateY(-50vh) translateX(20px); opacity: 0.9; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-105vh) translateX(-10px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow,
  .bg-sweep,
  .bg-grid {
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .bg-particles { display: none; }
}

/* ============================================
   REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================
   ANNOUNCEMENT
   ============================================ */

.announcement {
  padding: 14px 0 0;
  position: relative;
  z-index: 5;
}

.announcement-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.announcement .highlight {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ============================================
   NAV
   ============================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
  margin-top: 12px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo-link { display: flex; align-items: center; gap: 9px; }

.logo-image {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}
.logo-image img { width: 100%; height: 100%; object-fit: cover; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2px; }

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface-2);
}

.nav-login {
  margin-left: 6px;
  border: 1px solid var(--border-strong);
  color: var(--text) !important;
  font-weight: 600 !important;
  padding: 6px 14px;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav-login:hover {
  border-color: var(--accent-line) !important;
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}
.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

/* ============================================
   WELCOME
   ============================================ */

.welcome-banner {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border);
}
.welcome-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  font-size: 12.5px;
}
.welcome-logout { color: var(--accent); font-weight: 500; }

/* ============================================
   HERO
   ============================================ */

.hero { padding: 72px 0 40px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.title-line { display: block; }
.hero-content .highlight { color: var(--accent); }

.hero-buttons { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-secondary { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.btn-secondary:hover { border-color: var(--text-faint); background: var(--surface-2); transform: translateY(-1px); }

/* ============================================
   HERO VISUAL
   ============================================ */

.hero-visual { position: relative; }

.hero-visual-panel {
  position: relative;
  height: 300px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero-network { width: 100%; height: 100%; display: block; }
.orbit { fill: none; stroke: rgba(255, 255, 255, 0.04); stroke-width: 1; }
.node-line { fill: none; stroke: rgba(45, 212, 191, 0.2); stroke-width: 1; stroke-dasharray: 3 7; }
.node-pulse {
  stroke: var(--accent); stroke-width: 1.5; fill: none;
  stroke-dasharray: 12 400; animation: travel 3.8s linear infinite;
}
@keyframes travel { to { stroke-dashoffset: -412; } }

.node-dot circle { fill: #0F131D; stroke: var(--border-strong); stroke-width: 1; }
.node-dot.center circle { fill: var(--accent); stroke: rgba(45, 212, 191, 0.3); stroke-width: 6; }

.hero-core-icon {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  stroke: var(--accent-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  pointer-events: none;
}

/* ============================================
   FLOATING CRYPTO MARQUEE
   ============================================ */

section#payments {
  padding: 40px 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.payments-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.payments-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

.payments-marquee:hover .payments-track { animation-play-state: paused; }

.payments-slide { display: flex; align-items: center; gap: 16px; padding-right: 16px; }

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

.pay-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  flex-shrink: 0;
  white-space: nowrap;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
  box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.8);
}

.pay-icon img,
.pay-icon svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }

.pay-icon span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.pay-icon:hover {
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.12), rgba(45, 212, 191, 0.03));
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -12px rgba(45, 212, 191, 0.4);
}

/* ============================================
   PREVIEW
   ============================================ */

section#preview { padding: 48px 0 24px; position: relative; z-index: 3; }
section#preview .section-header { margin-bottom: 24px; }

.software-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.preview-window {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.3s var(--ease);
}
.preview-window:hover { border-color: var(--border-strong); transform: translateY(-2px); }

.preview-titlebar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.preview-titlebar .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.preview-titlebar .dot.red { background: #FF5F57; }
.preview-titlebar .dot.yellow { background: #FEBC2E; }
.preview-titlebar .dot.green { background: #28C840; }

.preview-title {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--text-faint);
}

.preview-body {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #06080D;
}

.preview-body img { width: 100%; height: auto; display: block; transition: transform 0.5s var(--ease); }
.preview-body:hover img { transform: scale(1.02); }

/* ============================================
   SECTION HEADERS
   ============================================ */

section#tools { padding: 56px 0 72px; position: relative; z-index: 3; }
section#about { padding: 24px 0 72px; position: relative; z-index: 3; }

.section-header { max-width: 560px; margin-bottom: 32px; }

.page-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-header h2 .accent { color: var(--accent); }

.page-subtitle { color: var(--text-muted); margin-top: 8px; font-size: 14px; }

/* ============================================
   TOOLS
   ============================================ */

.tools-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.showcase-card {
  position: relative;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--ease);
}
.showcase-card:hover {
  border-color: var(--border-strong);
  background: rgba(10, 10, 10, 0.85);
  transform: translateY(-2px);
}

.showcase-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.showcase-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
.showcase-card:hover .showcase-icon {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.icon-svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.privacy-link .icon-svg { width: 12px; height: 12px; }
.image-overlay .icon-svg { width: 20px; height: 20px; stroke: #fff; }

.showcase-content h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.showcase-content p { color: var(--text-muted); font-size: 13px; line-height: 1.55; }

.card-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  width: fit-content;
  white-space: nowrap;
}
.card-badge.available {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-line);
}

/* ============================================
   CLOUD STORAGE FEATURED
   ============================================ */

.showcase-card.available {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  border-color: var(--border);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
}
.showcase-card.available .showcase-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-card.available .showcase-icon-wrapper { justify-content: flex-start; }
.showcase-card.available .showcase-icon {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-line);
}
.showcase-card.available .showcase-content h3 { font-size: 20px; letter-spacing: -0.03em; }
.showcase-card.available .showcase-content p { font-size: 13.5px; max-width: 40ch; }

.showcase-image {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  min-height: 240px;
  border-left: 1px solid var(--border);
  background: #06080D;
}
.showcase-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.5s var(--ease);
}
.showcase-image:hover img { transform: scale(1.02); }

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.showcase-image:hover .image-overlay,
.preview-body:hover .image-overlay { opacity: 1; }

/* ============================================
   ABOUT
   ============================================ */

.about-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.about-content .section-header { margin-bottom: 18px; }

.about-text p { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; }
.about-text .lead {
  color: var(--text);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.6;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 20px;
  backdrop-filter: blur(6px);
}
.highlight-box p {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.7;
  margin: 0;
}

.cta-section-inline {
  position: sticky;
  top: 80px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}

.cta-line { color: var(--text-muted); font-size: 13.5px; margin-bottom: 18px; }
.cta-line a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--accent-line);
  transition: border-color 0.15s ease;
}
.cta-line a:hover { border-bottom-color: var(--accent); }

.cta-section-inline .btn { width: 100%; }

/* ============================================
   MODAL
   ============================================ */

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}
.image-modal[style*="flex"] { display: flex !important; }

.modal-content {
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
}

.modal-close {
  position: absolute;
  top: 20px; right: 26px;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}
.modal-close:hover { color: var(--text); }

/* ============================================
   FOOTER
   ============================================ */

footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  position: relative;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left { display: flex; align-items: center; gap: 8px; }
.footer-left .logo-image { width: 20px; height: 20px; border-radius: 5px; }
.footer-left .logo-text { font-size: 13px; }

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-size: 12.5px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--text); }

.privacy-link { display: flex; align-items: center; gap: 5px; }

.copy { font-size: 12px; color: var(--text-faint); white-space: nowrap; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 960px) {
  .hero { padding: 48px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual-panel { height: 240px; }
  .software-preview { grid-template-columns: 1fr; }
  .tools-showcase { grid-template-columns: repeat(2, 1fr); }
  .showcase-card.available { grid-column: span 2; grid-template-columns: 1fr; }
  .showcase-image { border-left: 0; border-top: 1px solid var(--border); min-height: 180px; }
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .cta-section-inline { position: static; }
  footer { padding: 16px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 14px; }
  .copy { width: 100%; text-align: left; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .nav-links {
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 14px;
    gap: 2px;
    transform: translateY(-150%);
    transition: transform 0.25s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 9px 12px; }
  .nav-login { margin-left: 0; margin-top: 4px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero-visual-panel { height: 200px; }
  .hero-buttons .btn { width: 100%; }
  .tools-showcase { grid-template-columns: 1fr; }
  .showcase-card.available { grid-column: span 1; }
  .showcase-card.available .showcase-content { padding: 24px 20px; }

  section#tools { padding: 40px 0 48px; }
  section#about { padding: 16px 0 48px; }
  section#preview { padding: 32px 0 12px; }
  .welcome-banner .container { padding: 8px 16px; }
  .footer-links { gap: 10px 14px; }
  .footer-links a { font-size: 12px; }

  .pay-icon { padding: 10px 18px; gap: 8px; }
  .pay-icon img,
  .pay-icon svg { width: 18px; height: 18px; }
  .pay-icon span { font-size: 12.5px; }
}