/* ============================================
   STOMPAI.COM — Pro Audio Dark Theme
   ============================================ */

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

:root {
  --bg-primary: #141420;
  --bg-secondary: #1a1a28;
  --bg-card: #212133;
  --bg-card-hover: #2a2a40;
  --accent: #9300ff;
  --accent-glow: rgba(147, 0, 255, 0.25);
  --accent-green: #02e49b;
  --accent-green-glow: rgba(2, 228, 155, 0.2);
  --text-primary: #f5f5fa;
  --text-secondary: #b0b0c8;
  --text-muted: #707090;
  --border: #363650;
  --amazon-orange: #FFFF08;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #b44dff; }

img { max-width: 100%; height: auto; display: block; }

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

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; font-weight: 900; 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.6rem); }

.section-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: #a633ff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-amazon {
  background: var(--amazon-orange);
  color: #111;
  font-weight: 700;
}
.btn-amazon:hover {
  background: #e6e607;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 8, 0.3);
}

.btn-appstore {
  background: #fff;
  color: #111;
  font-weight: 700;
}
.btn-appstore:hover {
  background: #f0f0f0;
  color: #111;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn svg, .btn img { width: 20px; height: 20px; }

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo img { height: 36px; width: auto; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  list-style: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  border-radius: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  margin-bottom: 24px;
  position: relative;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --- How It Works --- */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-green));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card h3 {
  margin-top: auto;
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), #7000cc);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.step-card h3 { margin-bottom: 12px; }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* --- Product Cards --- */
.products-section {
  padding: 100px 0;
}

.products-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 4rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info .btn {
  margin-top: auto;
}

.product-info h3 { margin-bottom: 8px; }

.product-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.product-pitch {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.product-includes {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
  font-style: italic;
}

.bundle-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-green));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* --- App Landing Pages --- */
.app-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.app-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

.app-hero-content h1 { margin-bottom: 24px; }
.app-hero-content p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.app-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
  border: 2px solid var(--border);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--bg-primary);
  border-radius: 12px;
}

.phone-screen {
  font-size: 4rem;
  text-align: center;
}

.phone-screen .app-name {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Features Grid */
.features-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.features-section .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* --- Stompai Studio --- */
.app-hero-shot {
  width: min(100%, 820px);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.pro-overview {
  padding: 90px 0;
  background: var(--bg-secondary);
}

.pro-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pro-stat {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(147, 0, 255, 0.12), rgba(2, 228, 155, 0.05));
  border: 1px solid var(--border);
}

.pro-stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.pro-stat p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.screenshot-section {
  padding: 100px 0;
}

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

.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.screenshot-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.screenshot-card img {
  width: 100%;
  display: block;
}

.store-preview-grid .screenshot-card img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.screenshot-copy {
  padding: 24px;
}

.screenshot-copy h3 {
  margin-bottom: 10px;
}

.screenshot-copy p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.countdown-block {
  margin: 0 0 28px;
}

.countdown-label {
  margin-bottom: 14px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.countdown-unit {
  padding: 18px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.countdown-unit strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  margin-bottom: 8px;
}

.countdown-unit span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signup-modal[hidden] {
  display: none;
}

.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.signup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 12, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.signup-dialog {
  position: relative;
  width: min(92vw, 520px);
  margin: 10vh auto 0;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(33, 33, 51, 0.98), rgba(20, 20, 32, 0.98));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.5);
}

.signup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

.signup-copy {
  color: var(--text-secondary);
  margin: 14px 0 22px;
}

.signup-form {
  display: grid;
  gap: 14px;
}

.signup-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.signup-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font: inherit;
}

.signup-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.signup-submit {
  justify-content: center;
}

.signup-status {
  min-height: 1.5em;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.signup-status.error {
  color: #ff7a7a;
}

.signup-status.success {
  color: var(--accent-green);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-status {
  color: var(--text-secondary);
}

.admin-auth-card {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}

.admin-table th,
.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-source-cell {
  max-width: 260px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  word-break: break-word;
}

.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-number {
  width: 88px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font: inherit;
}

.admin-save {
  min-width: 92px;
  justify-content: center;
}

.admin-empty {
  color: var(--text-secondary);
  text-align: center;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Support Page --- */
.support-hero {
  padding: 160px 0 60px;
  text-align: center;
}

.support-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-hero h1,
.support-hero .section-subtitle {
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 380px));
  justify-content: center;
  gap: 28px;
  padding-bottom: 100px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.support-card-actions {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.support-store-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.support-card h3 { margin-bottom: 16px; }
.support-card p { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.95rem; }
.support-card ul {
  list-style: none;
  margin-bottom: 24px;
}
.support-card ul li {
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.support-card ul li::before {
  content: '→ ';
  color: var(--accent);
  font-weight: 600;
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 0 100px;
  background: var(--bg-secondary);
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  color: var(--text-secondary);
  padding-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--text-primary); }

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

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.footer-socials a:hover { color: var(--accent); }

/* --- Video Hero Background --- */
.hero-video-bg {
  position: relative;
  overflow: hidden;
}

.hero-video-bg .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-bg .video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-video-bg .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 32, 0.72);
  z-index: 1;
}

.hero-video-bg .container {
  position: relative;
  z-index: 2;
}

/* --- Image Backgrounds --- */
.bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 32, 0.68);
  z-index: 0;
}

.bg-image > .container { position: relative; z-index: 1; }

/* --- Press / Featured In --- */
.press-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.press-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.press-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
  width: 100%;
  aspect-ratio: 3 / 2;
}

.press-logo:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.press-logo img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.3);
  transition: filter var(--transition);
}

.press-logo:hover img {
  filter: brightness(1) grayscale(0);
}

/* --- Promo Image Sections --- */
.promo-section {
  padding: 100px 0;
  position: relative;
}

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

.promo-grid.reverse { direction: rtl; }
.promo-grid.reverse > * { direction: ltr; }

.promo-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.promo-image img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-content h2 { margin-bottom: 16px; }
.promo-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* --- Video Embed --- */
.video-section {
  padding: 80px 0;
}

.video-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Video Carousel --- */
.video-carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.video-carousel-track {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.video-carousel-track .video-slide {
  display: none;
}

.video-carousel-track .video-slide.active {
  display: block;
}

.video-slide iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.carousel-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .app-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-hero-content { order: 1; }
  .app-hero-visual { order: 0; margin-bottom: 20px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-grid::before { display: none; }

  .promo-grid, .promo-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }

  .press-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .pro-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open > li {
    width: 100%;
  }
  .nav-links.open > li > a {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .nav-links.open .nav-dropdown > a::after {
    display: none;
  }
  .nav-links.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 0;
    margin-top: 4px;
  }
  .nav-links.open .dropdown-menu a {
    text-align: center;
    color: var(--text-secondary);
  }
  .nav-toggle { display: flex; }

  .steps-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .phone-mockup { width: 220px; height: 440px; }

  .hero { padding: 130px 0 60px; }
  .app-hero { padding: 130px 0 60px; }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .support-hero h1 { max-width: 10ch; }
  .support-hero .section-subtitle { max-width: 22ch; }
  .pro-overview-grid { grid-template-columns: 1fr; }
  .countdown-grid { grid-template-columns: 1fr 1fr; }
  .signup-dialog { padding: 24px 18px; }
}
