/* ==========================================================================
   PDF Scholar: Read & Note — Design System & Theme Stylesheet
   Academic Violet & Gold Glass Visual System
   ========================================================================== */

:root {
  --bg-main: #0c0914;
  --bg-surface: #140f22;
  --bg-surface-elevated: #1e1633;
  --bg-card: rgba(30, 22, 51, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(168, 85, 247, 0.16);
  --border-highlight: rgba(168, 85, 247, 0.4);
  --border-amber: rgba(245, 158, 11, 0.4);

  --accent-purple: #7c3aed;
  --accent-purple-glow: rgba(124, 58, 237, 0.45);
  --accent-violet: #a855f7;
  --accent-violet-glow: rgba(168, 85, 247, 0.4);
  --accent-amber: #f59e0b;
  --accent-amber-glow: rgba(245, 158, 11, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #c4b5fd;
  --text-muted: #8b7ca8;
  --text-inverse: #0c0914;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-violet: 0 8px 30px rgba(168, 85, 247, 0.25);
  --shadow-amber: 0 8px 30px rgba(245, 158, 11, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1240px;
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background: 
    radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    var(--bg-main);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--accent-violet);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top var(--transition-fast);
  text-decoration: none;
}
.skip-link:focus {
  top: 20px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utility */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  overflow-wrap: break-word;
}

p {
  color: var(--text-secondary);
  overflow-wrap: break-word;
}

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

code, .pkg {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.gradient-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #a855f7 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 9, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 0 16px var(--accent-purple-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid var(--accent-violet);
  color: var(--accent-violet);
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.btn-store svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.btn-store:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: var(--accent-violet);
  box-shadow: 0 0 20px var(--accent-violet-glow);
  color: #fff;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 10px var(--accent-violet);
}

.hero-badge-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-secondary, #e9d5ff);
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-violet) 100%);
  color: #fff;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 30px var(--accent-purple-glow);
  transition: all var(--transition-fast);
}
.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-violet-glow);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.btn-outline:hover {
  border-color: var(--accent-violet);
  background: rgba(168, 85, 247, 0.08);
  color: #fff;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Mockup Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup-frame {
  position: relative;
  max-width: 360px;
  width: 100%;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.3) 0%, rgba(20, 15, 34, 0.95) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 50px var(--accent-purple-glow);
  border: 1px solid var(--border-highlight);
}

.hero-mockup-inner {
  border-radius: 34px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 992 / 1586;
}
.hero-mockup-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Feature Banner Section */
.banner-section {
  padding: 40px 0 80px;
}

.banner-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-purple-glow);
  background: var(--bg-surface);
}
.banner-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Features Grid Section */
.features-section {
  padding: 80px 0;
  background: rgba(18, 13, 30, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-violet);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-violet);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-purple-glow);
}

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

.feature-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--accent-violet);
  color: var(--accent-violet);
  margin-bottom: 14px;
}

.feature-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-thumb-preview {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 992 / 1586;
  background: #000;
}
.feature-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Screenshots Gallery */
.gallery-section {
  padding: 96px 0;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  aspect-ratio: 992 / 1586;
}
.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--accent-violet);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-purple-glow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(to top, rgba(12, 9, 20, 0.95) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
}

.gallery-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.gallery-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

/* Specifications Table */
.specs-section {
  padding: 80px 0;
  background: rgba(18, 13, 30, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th {
  padding: 18px 24px;
  background: rgba(168, 85, 247, 0.1);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}
.specs-table tr:last-child td {
  border-bottom: none;
}

.spec-name {
  font-weight: 600;
  color: var(--text-primary);
  width: 40%;
}
.spec-val {
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
  padding: 96px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-card.open {
  border-color: var(--accent-violet);
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  transition: transform var(--transition-fast);
}
.faq-card.open .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--accent-violet);
}

.faq-answer {
  display: none;
  padding: 0 26px 24px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
}
.faq-card.open .faq-answer {
  display: block;
}

/* CTA Banner Section */
.cta-banner-section {
  padding: 40px 0 96px;
}

.cta-banner-card {
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(30, 22, 51, 0.95) 0%, rgba(124, 58, 237, 0.25) 100%);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px var(--accent-purple-glow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-banner-card h2 {
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-banner-card p {
  font-size: 1.12rem;
  max-width: 620px;
  margin-bottom: 36px;
  color: var(--text-secondary);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-highlight);
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-caption {
  margin-top: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

/* Legal Pages Layout */
.legal-header {
  padding: 56px 0 40px;
  background: rgba(18, 13, 30, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-breadcrumbs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
}
.legal-breadcrumbs a {
  color: var(--text-secondary);
}

.legal-title {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 56px 0 96px;
}

.legal-sidebar {
  position: sticky;
  top: 104px;
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.legal-toc-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-violet);
  margin-bottom: 16px;
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-toc-list a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.legal-toc-list a:hover {
  color: #fff;
}

.legal-content-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-section {
  scroll-margin-top: 100px;
}
.legal-section h2 {
  font-size: 1.55rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  color: #fff;
}
.legal-section p {
  margin-bottom: 14px;
  line-height: 1.75;
}
.legal-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.legal-section li {
  margin-bottom: 8px;
}

/* Site Footer */
.site-footer {
  background: #08060e;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 40px;
}

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

.footer-brand h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #fff;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-violet);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Media Queries & Mobile Responsiveness
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-wrap {
    height: 68px;
  }
  .hero-section {
    padding: 48px 0 64px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-mockup-frame {
    max-width: 280px;
    border-radius: 36px;
  }
  .hero-stats {
    flex-direction: row;
    justify-content: space-around;
    gap: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .specs-table th, .specs-table td {
    padding: 12px 16px;
    font-size: 0.88rem;
  }
  .cta-banner-card {
    padding: 40px 24px;
  }
  .cta-banner-card h2 {
    font-size: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
  }
  .stat-num {
    font-size: 1.35rem;
    justify-content: center;
  }
  .stat-lbl {
    font-size: 0.75rem;
  }
  .btn-primary-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .specs-table thead {
    display: none;
  }
  .specs-table, .specs-table tbody, .specs-table tr, .specs-table td {
    display: block;
    width: 100%;
  }
  .specs-table tr {
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
  }
  .specs-table td {
    padding: 4px 16px;
    border: none;
  }
  .spec-name {
    font-weight: 700;
    color: var(--accent-violet);
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .container {
    padding: 0 16px;
  }
}
