/* ═══════════════════════════════════════════════════════════════
   AppsDoPanel Marketing Website — style.css
   Mobile-first, modern, animated, brand-aligned
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Variables ── */
:root {
  --red: #F20000;
  --red-dark: #BC0000;
  --red-light: #FF4444;
  --red-glow: rgba(242, 0, 0, 0.15);
  --slate: #1A1A2E;
  --slate-light: #252542;
  --text: #231F20;
  --text-light: #6B7280;
  --text-muted: #9CA3AF;
  --bg: #FFFFFF;
  --bg-alt: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-dark: #0D0D1A;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.12);
  --shadow-red: 0 8px 30px rgba(242, 0, 0, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Skip Link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

code {
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--red);
}

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--text-light); }
.text-gradient {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section ── */
.section {
  padding: 60px 0;
}
.section-lg {
  padding: 80px 0;
}
@media (min-width: 641px) {
  .section { padding: 80px 0; }
  .section-lg { padding: 120px 0; }
}
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark p { color: rgba(255,255,255,0.6); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .feature-row-content p { color: rgba(255,255,255,0.65); }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-header .badge,
.feature-row-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--red-glow);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(242, 0, 0, 0.12);
  backdrop-filter: blur(4px);
}
.section-header h2 { margin-bottom: 16px; color: var(--text); }
.section-dark .section-header h2 { color: #fff; }
.section-header p { font-size: 1.1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(242, 0, 0, 0.35);
}
.btn-secondary {
  background: var(--slate);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--slate-light);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--border);
  color: var(--text);
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--text);
}
.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}
.btn-icon {
  width: 20px;
  height: 20px;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo span {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-links {
  display: none;
  list-style: none;
  gap: 8px;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  background: var(--red-glow);
}
.nav-cta {
  display: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 32px 32px;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 16px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-mobile a:hover { background: var(--bg-alt); color: var(--red); }
.nav-mobile .btn { margin-top: 16px; text-align: center; justify-content: center; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 26, 46, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--red-glow);
  color: var(--red);
  margin-bottom: 24px;
  animation: fade-up 0.8s ease both;
  border: 1px solid rgba(242, 0, 0, 0.15);
  letter-spacing: 0.02em;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero-title {
  margin-bottom: 20px;
  color: var(--text);
  animation: fade-up 0.8s 0.1s ease both;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.8;
  animation: fade-up 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  animation: fade-up 0.8s 0.3s ease both;
}
.hero-stats {
  display: flex;
  gap: 20px;
  animation: fade-up 0.8s 0.4s ease both;
}
.hero-stat h4 { font-size: 1.2rem; color: var(--text); }
@media (min-width: 641px) {
  .hero-stats { gap: 32px; }
  .hero-stat h4 { font-size: 1.5rem; }
}
.hero-stat p { font-size: 0.8rem; color: var(--text-muted); }

.hero-visual {
  position: relative;
  animation: fade-up 1s 0.3s ease both;
}

@media (min-width: 1024px) {
  .hero { padding: 160px 0 100px; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

/* ── Browser Mockup ── */
.browser-mockup {
  background: var(--bg-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.08);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot.red { background: #FF5F57; }
.browser-dot.yellow { background: #FFBD2E; }
.browser-dot.green { background: #28CA41; }
.browser-url {
  flex: 1;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}
.browser-body {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

/* ── Dashboard Mockup (CSS-only) ── */
.mock-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  background: #f8f9fa;
}
.mock-sidebar {
  background: var(--slate);
  padding: 16px 12px;
  display: none;
}
@media (min-width: 641px) {
  .mock-dashboard { grid-template-columns: 200px 1fr; }
  .mock-sidebar { display: block; }
}
.mock-sidebar-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--red);
  margin-bottom: 20px;
}
.mock-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
}
.mock-sidebar-item.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.mock-sidebar-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.3;
}
.mock-sidebar-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.15;
}
.mock-content {
  padding: 20px;
  overflow: hidden;
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mock-header-title {
  width: 140px;
  height: 16px;
  border-radius: 4px;
  background: var(--text);
  opacity: 0.15;
}
.mock-header-btn {
  width: 80px;
  height: 28px;
  border-radius: 6px;
  background: var(--red);
}
.mock-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 641px) {
  .mock-stats-row { grid-template-columns: repeat(4, 1fr); }
}
.mock-stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.mock-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.mock-stat-icon.blue { background: #dbeafe; }
.mock-stat-icon.green { background: #dcfce7; }
.mock-stat-icon.purple { background: #ede9fe; }
.mock-stat-icon.orange { background: #ffedd5; }
.mock-stat-val {
  width: 50px;
  height: 14px;
  border-radius: 3px;
  background: var(--text);
  opacity: 0.12;
  margin-bottom: 4px;
}
.mock-stat-label {
  width: 70px;
  height: 8px;
  border-radius: 3px;
  background: var(--text);
  opacity: 0.06;
}
.mock-chart {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  height: 120px;
  position: relative;
  overflow: hidden;
}
.mock-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding-top: 20px;
}
.mock-chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--red);
  opacity: 0.15;
  animation: chart-grow 1.5s ease both;
}
.mock-chart-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.mock-chart-bar:nth-child(2) { height: 65%; animation-delay: 0.2s; }
.mock-chart-bar:nth-child(3) { height: 45%; animation-delay: 0.3s; }
.mock-chart-bar:nth-child(4) { height: 80%; animation-delay: 0.4s; }
.mock-chart-bar:nth-child(5) { height: 55%; animation-delay: 0.5s; }
.mock-chart-bar:nth-child(6) { height: 90%; opacity: 0.3; animation-delay: 0.6s; }
.mock-chart-bar:nth-child(7) { height: 70%; animation-delay: 0.7s; }
.mock-chart-bar:nth-child(8) { height: 50%; animation-delay: 0.8s; }
@keyframes chart-grow {
  from { height: 0; }
}

/* ── Feature Cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .feature-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }

.section-dark .feature-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.section-dark .feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--red-glow);
  color: var(--red);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.blue { background: #dbeafe; color: #2563eb; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-icon.amber { background: #fef3c7; color: #d97706; }
.feature-icon.cyan { background: #cffafe; color: #0891b2; }
.feature-icon.rose { background: #ffe4e6; color: #e11d48; }
.feature-icon.indigo { background: #e0e7ff; color: #4f46e5; }
.feature-icon.emerald { background: #d1fae5; color: #059669; }

.feature-card h4 {
  margin-bottom: 8px;
  color: var(--text);
}
.section-dark .feature-card h4 { color: #fff; }
.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Tech Logos ── */
.tech-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 40px 0;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.tech-item:hover { color: var(--text); }
.tech-item:hover .tech-logo { opacity: 0.85; }
.tech-item svg { width: 28px; height: 28px; opacity: 0.5; }
.tech-logo { width: 24px; height: 24px; opacity: 0.55; transition: var(--transition); }

/* ── Pricing Card ── */
.pricing-wrapper {
  max-width: 480px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
}
@media (min-width: 641px) {
  .pricing-card { padding: 48px 40px; }
}
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 6px 24px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 24px 0 8px;
}
.pricing-price .dollar { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.pricing-price .amount { font-size: 3rem; font-weight: 800; color: var(--text); line-height: 1; }
@media (min-width: 641px) {
  .pricing-price .amount { font-size: 4rem; }
}
.pricing-price .period { font-size: 1rem; color: var(--text-muted); }
.pricing-desc { font-size: 0.95rem; margin-bottom: 32px; }
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child { border: none; }
.pricing-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pricing-check svg { width: 12px; height: 12px; }

/* ── Comparison Table ── */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.compare-table thead th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.compare-table thead th:first-child { border-radius: var(--radius-xs) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-xs) 0 0; }
.compare-table tbody td:first-child { font-weight: 600; color: var(--text); }
.compare-highlight { background: rgba(242, 0, 0, 0.03); }
.compare-check { color: #16a34a; font-weight: 700; }
.compare-cross { color: #dc2626; }

/* ── Screenshot Gallery ── */
.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .screenshot-grid { grid-template-columns: repeat(2, 1fr); } }

.screenshot-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.screenshot-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.screenshot-label {
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid var(--border-light);
}
.screenshot-label h4 { font-size: 0.95rem; margin-bottom: 2px; }
.screenshot-label p { font-size: 0.8rem; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--slate) 0%, #0f0f23 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 641px) {
  .cta-section { padding: 100px 0; }
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,0,0,0.15), transparent 70%);
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.5);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.footer-logo-wrap img { height: 36px; width: auto; }
.footer-logo-suffix {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.02em;
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-coming-soon {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.3);
}
.footer-coming-soon em {
  font-style: normal;
  font-size: 0.7rem;
  background: rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--red);
  color: #fff;
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-legal a:hover { color: #fff; }

/* ── Legal Content Pages ── */
.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  font-size: 0.8rem;
}
@media (min-width: 641px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 16px;
  }
}

/* ── Contact Form ── */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border-light);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ── Floating elements ── */
.float-badge {
  position: absolute;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 4s ease-in-out infinite;
  z-index: 5;
}
.float-badge svg { width: 16px; height: 16px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].revealed { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.95); }
[data-reveal="scale"].revealed { transform: scale(1); }

/* Stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.2s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.25s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.3s; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 0.35s; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 0.4s; }
[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── Marquee for tech logos ── */
.marquee-wrap {
  overflow: hidden;
  position: relative;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(90deg, transparent, var(--bg)); }
.section-dark .marquee-wrap::before { background: linear-gradient(90deg, var(--bg-dark), transparent); }
.section-dark .marquee-wrap::after { background: linear-gradient(90deg, transparent, var(--bg-dark)); }

/* ── Feature Detail Rows ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}
@media (min-width: 768px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row.reverse .feature-row-visual { order: -1; }
}
.feature-row-content h3 { margin-bottom: 16px; }
.feature-row-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
}
.section-dark .feature-list li {
  color: rgba(255,255,255,0.85);
}
.feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 120px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  position: relative;
}
@media (min-width: 641px) {
  .page-hero { padding: 140px 0 60px; }
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ── Utilities ── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.hidden { display: none; }
@media (min-width: 768px) { .md-show { display: block; } }

/* ── Counters / Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  text-align: center;
  padding: 32px 16px;
}
.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.section-dark .stat-item h3 { color: var(--red); }
.stat-item p { font-size: 0.9rem; }

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 1fr; }
}
.contact-form {
  max-width: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--text);
}
.contact-form > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.form-submit-btn {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.info-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.info-card:hover::before { transform: scaleY(1); }
.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.info-card-icon svg { width: 22px; height: 22px; }
.info-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}
.info-card .info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.info-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}
.info-card a {
  color: var(--red);
  font-weight: 600;
}
.info-card a:hover { text-decoration: underline; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success svg {
  width: 56px;
  height: 56px;
  color: #16a34a;
  margin-bottom: 16px;
}
.form-success h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.form-success p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ── Mockups Page ── */
.screenshot-card .browser-body {
  aspect-ratio: 16/10;
  background: #f8f9fa;
  overflow: hidden;
}
.ss-dashboard { display: grid; grid-template-columns: 1fr; height: 100%; }
.ss-mini-sidebar { background: var(--slate); padding: 10px 8px; display: none; flex-direction: column; align-items: center; gap: 10px; }
.ss-mini-sidebar .dot { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.08); }
.ss-mini-sidebar .dot.active { background: var(--red); }
.ss-main { padding: 16px; overflow: hidden; }
.ss-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.ss-stat { background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.ss-stat-label { font-size: 9px; color: var(--text-muted); margin-bottom: 4px; }
.ss-stat-value { font-size: 16px; font-weight: 700; color: var(--text); }
.ss-stat-bar { height: 3px; border-radius: 2px; margin-top: 6px; background: var(--border-light); }
.ss-stat-bar span { display: block; height: 100%; border-radius: 2px; }
.ss-chart-area { background: #fff; border-radius: 8px; padding: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); margin-bottom: 12px; height: 90px; }
.ss-chart-title { font-size: 10px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.ss-chart-line { height: 50px; position: relative; overflow: hidden; }
.ss-chart-line svg { width: 100%; height: 100%; }
.ss-activity { background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.ss-activity-title { font-size: 10px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.ss-activity-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 9px; color: var(--text-light); }
.ss-activity-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ss-table-wrap { padding: 16px; height: 100%; }
.ss-table-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ss-table-header h3 { font-size: 13px; font-weight: 700; color: var(--text); }
.ss-add-btn { background: var(--red); color: #fff; font-size: 10px; font-weight: 600; padding: 6px 14px; border-radius: 6px; }
.ss-table { width: 100%; font-size: 10px; border-collapse: collapse; }
.ss-table th { text-align: left; padding: 8px 10px; font-size: 9px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; background: var(--bg-alt); }
.ss-table td { padding: 10px; border-bottom: 1px solid var(--border-light); color: var(--text); }
.ss-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 9px; font-weight: 600; }
.ss-badge.green { background: #dcfce7; color: #16a34a; }
.ss-badge.blue { background: #dbeafe; color: #2563eb; }
.ss-badge.amber { background: #fef3c7; color: #d97706; }
.ss-badge.red { background: #ffe4e6; color: #e11d48; }
.ss-badge.purple { background: #ede9fe; color: #7c3aed; }
.ss-ssl-icon { color: #16a34a; font-weight: 700; font-size: 12px; }
.ss-filemanager { display: grid; grid-template-columns: 1fr; height: 100%; }
.ss-filetree { background: #fff; border-right: 1px solid var(--border-light); padding: 12px; overflow: hidden; display: none; }
.ss-filetree-title { font-size: 10px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.ss-tree-item { display: flex; align-items: center; gap: 6px; padding: 4px 6px; font-size: 9px; color: var(--text-light); border-radius: 4px; margin-bottom: 2px; }
.ss-tree-item.active { background: var(--red-glow); color: var(--red); font-weight: 600; }
.ss-tree-icon { font-size: 11px; width: 14px; text-align: center; }
.ss-filelist { padding: 12px; overflow: hidden; }
.ss-filelist-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ss-filelist-header h3 { font-size: 11px; font-weight: 600; color: var(--text); }
.ss-filelist-path { font-size: 9px; color: var(--text-muted); margin-bottom: 8px; font-family: 'SF Mono', Monaco, Consolas, monospace; }
.ss-db-wrap { padding: 16px; height: 100%; }
.ss-db-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ss-db-card { background: #fff; border-radius: 8px; padding: 12px; border: 1px solid var(--border-light); }
.ss-db-name { font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.ss-db-name .icon { font-size: 14px; }
.ss-db-meta { font-size: 9px; color: var(--text-muted); display: flex; gap: 12px; }
.ss-db-bar { height: 4px; border-radius: 2px; background: var(--border-light); margin-top: 8px; }
.ss-db-bar span { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.ss-email-wrap { padding: 16px; height: 100%; }
.ss-email-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ss-email-row { background: #fff; border-radius: 8px; padding: 12px 14px; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.ss-email-domain { font-size: 11px; font-weight: 700; color: var(--text); }
.ss-email-info { display: flex; gap: 16px; font-size: 9px; color: var(--text-muted); }
.ss-docker-wrap { padding: 16px; height: 100%; }
.ss-docker-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ss-docker-card { background: #fff; border-radius: 8px; padding: 12px; border: 1px solid var(--border-light); }
.ss-docker-name { font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ss-docker-image { font-size: 9px; color: var(--text-muted); font-family: 'SF Mono', Monaco, Consolas, monospace; margin-bottom: 6px; }
.ss-docker-footer { display: flex; align-items: center; justify-content: space-between; }
.ss-docker-ports { font-size: 9px; color: var(--text-muted); }
.ss-ssl-wrap { padding: 16px; height: 100%; }
.ss-ssl-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ss-ssl-card { background: #fff; border-radius: 8px; padding: 12px 14px; border: 1px solid var(--border-light); display: grid; grid-template-columns: 1fr; gap: 4px; align-items: center; }
.ss-ssl-domain { font-size: 11px; font-weight: 700; color: var(--text); }
.ss-ssl-issuer { font-size: 9px; color: var(--text-muted); }
.ss-ssl-expiry { font-size: 9px; color: var(--text-muted); }
.ss-settings-wrap { padding: 16px; height: 100%; }
.ss-user-grid { display: grid; grid-template-columns: 1fr; gap: 6px; }
.ss-user-row { background: #fff; border-radius: 8px; padding: 10px 14px; border: 1px solid var(--border-light); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.ss-avatar { width: 28px; height: 28px; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.ss-user-name { font-size: 11px; font-weight: 600; color: var(--text); }
.ss-user-email { font-size: 9px; color: var(--text-muted); }
.ss-user-status { font-size: 9px; color: var(--text-muted); display: none; }
.ss-terminal { background: #0d0d1a; height: 100%; padding: 14px; font-family: 'SF Mono', Monaco, Consolas, monospace; font-size: 11px; overflow: hidden; }
.ss-terminal-line { margin-bottom: 4px; line-height: 1.6; }
.ss-prompt { color: #16a34a; }
.ss-cmd { color: #e2e8f0; }
.ss-output { color: rgba(255,255,255,0.5); }
.ss-cursor { display: inline-block; width: 7px; height: 14px; background: #16a34a; animation: blink-cursor 1s step-end infinite; vertical-align: text-bottom; }
@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.ss-firewall-wrap { padding: 16px; height: 100%; }

/* ── Desktop enhancements (min-width breakpoints) ── */
@media (min-width: 641px) {
  /* Mockup desktop layouts */
  .ss-dashboard { grid-template-columns: 48px 1fr; }
  .ss-mini-sidebar { display: flex; }
  .ss-stats { grid-template-columns: repeat(4, 1fr); }
  .ss-filemanager { grid-template-columns: 160px 1fr; }
  .ss-filetree { display: block; }
  .ss-db-grid { grid-template-columns: repeat(2, 1fr); }
  .ss-docker-grid { grid-template-columns: repeat(2, 1fr); }
  .ss-ssl-card { grid-template-columns: 1fr auto auto auto; gap: 16px; }
  .ss-user-row { grid-template-columns: 28px 1fr auto auto; }
  .ss-avatar { display: flex; }
  .ss-user-status { display: block; }
}
