/* ==========================================================================
   MUSDKTOP OFFICIAL LANDING PAGE — MODERN CSS3 ARCHITECTURE
   Developer: Aghatis Studio | Palette Matched to Official Logo & App UI
   Target: Google Lighthouse 100/100 (Performance, Accessibility, Best Practices, SEO)
   ========================================================================== */

:root {
  /* Official Brand Color Palette (Extracted from logo.png & App UI) */
  --bg-base: #141a20;
  --bg-darker: #0f1419;
  --bg-card: #1a222a;
  --bg-card-alt: #202b35;
  --bg-glass: rgba(20, 26, 32, 0.85);

  /* Crimson Red Brand Accent (Equalizer & Musical Note in Logo) */
  --accent: #eb444c;
  --accent-hover: #ff565e;
  --accent-active: #d3363e;
  --accent-glow: rgba(235, 68, 76, 0.35);
  --accent-soft: rgba(235, 68, 76, 0.12);
  --accent-border: rgba(235, 68, 76, 0.45);

  /* Typography Colors ("Mus" Slate & "destop" Pure White) */
  --text-main: #ffffff;
  --text-secondary: #8b9ca8;
  --text-muted: #6c7f8e;

  /* Status & Borders */
  --success: #2ecc71;
  --success-soft: rgba(46, 204, 113, 0.14);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);

  /* Layout & Spacing */
  --container-max: 1220px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-card: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 10px 30px -4px var(--accent-glow);
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(235, 68, 76, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(32, 43, 53, 0.65) 0%, transparent 45%);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Focus-Visible Accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Zero CLS Responsive Images & SVGs */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ==========================================================================
   HEADER & STICKY NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-sm);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  aspect-ratio: 802 / 190;
  border-radius: 6px;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-main);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher (ID, EN, JA) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--accent-glow);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(235, 68, 76, 0.5);
}

.btn-secondary {
  background: var(--bg-card-alt);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: #283643;
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--accent);
}

.btn-disabled,
.btn[disabled] {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-color: var(--border-subtle);
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

/* ==========================================================================
   HERO SECTION (SINGLE H1 & LCP OPTIMIZED)
   ========================================================================== */
.hero-section {
  padding: 64px 0 84px;
  position: relative;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-crimson {
  background: var(--accent-soft);
  color: #ff8086;
  border: 1px solid var(--accent-border);
}

.badge-freeware {
  background: var(--success-soft);
  color: #58e690;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(235, 68, 76, 0.25);
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.text-crimson {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-secondary);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.hero-meta-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-list svg {
  color: var(--accent);
}

/* Hero App Mockup Frame */
.hero-mockup-wrapper {
  position: relative;
}

.hero-glow-backdrop {
  position: absolute;
  inset: -16px;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.app-window-frame {
  position: relative;
  z-index: 1;
  background: var(--bg-darker);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(235, 68, 76, 0.2);
}

.window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0d1217;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.window-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-main);
}

.window-controls {
  display: inline-flex;
  gap: 8px;
}

.win-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c3945;
}

.win-dot.close {
  background: var(--accent);
}

.hero-screenshot-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 645;
  object-fit: cover;
  display: block;
}

/* Floating Audio Visualizer Pill on Hero Mockup */
.floating-eq-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  z-index: 2;
  background: rgba(26, 34, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.eq-bar {
  width: 3px;
  background: linear-gradient(to top, var(--accent), #ff9f43, #2ecc71);
  border-radius: 2px;
  animation: eqBounce 1.1s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 45%; animation-delay: 0.0s; }
.eq-bar:nth-child(2) { height: 85%; animation-delay: 0.2s; }
.eq-bar:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.eq-bar:nth-child(4) { height: 100%; animation-delay: 0.1s; }
.eq-bar:nth-child(5) { height: 50%; animation-delay: 0.3s; }
.eq-bar:nth-child(6) { height: 75%; animation-delay: 0.15s; }

@keyframes eqBounce {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(1); }
}

.eq-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.eq-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================================
   STATS / TRUST RIBBON
   ========================================================================== */
.trust-ribbon {
  padding: 28px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-alt {
  background: rgba(26, 34, 42, 0.45);
  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 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  border: 1px solid var(--accent-border);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   6 PILLARS FEATURES GRID (#features)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-alt);
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.genre-pill {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-base);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   APP SCREENSHOT SHOWCASE SECTION (#showcase)
   ========================================================================== */
.showcase-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.showcase-tab-btn {
  appearance: none;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.showcase-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-border);
}

.showcase-tab-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

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

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

.showcase-card.highlighted,
.showcase-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 44px -12px rgba(235, 68, 76, 0.25);
  transform: translateY(-4px);
}

.showcase-img-wrap {
  position: relative;
  background: var(--bg-darker);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  cursor: zoom-in;
}

.showcase-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.03);
}

.showcase-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(20, 26, 32, 0.88);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.showcase-body {
  padding: 22px;
  flex: 1;
}

.showcase-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.showcase-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Lightbox Modal for Screenshots */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 14, 18, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 1080px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-close {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   DOWNLOAD HUB SECTION (#download) — WINDOWS ACTIVE, OTHERS COMING SOON
   ========================================================================== */
.download-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.download-primary-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 50px -12px rgba(235, 68, 76, 0.22);
  position: relative;
}

.os-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.os-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.os-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.os-identity h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.os-identity span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.status-available {
  background: var(--success-soft);
  color: #58e690;
  border: 1px solid rgba(46, 204, 113, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.download-desc {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 24px;
}

.download-buttons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.download-btn-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
}

.download-btn-box.exe {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.download-btn-box.exe:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.dl-btn-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.dl-btn-sub {
  font-size: 0.78rem;
  opacity: 0.88;
}

.sys-req-box {
  background: rgba(15, 20, 25, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.sys-req-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.sys-req-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Coming Soon Platforms Grid (Android, iOS, Linux, macOS) */
.coming-soon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.platform-soon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0.85;
}

.platform-soon-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.platform-soon-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-card-alt);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-soon {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.platform-soon-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.platform-soon-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

/* ==========================================================================
   FAQ SECTION (#faq)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item[open] {
  border-color: var(--accent-border);
  background: var(--bg-card-alt);
}

.faq-question {
  list-style: none;
  padding: 20px 24px;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* ==========================================================================
   ABOUT AGHATIS STUDIO SECTION (#about)
   ========================================================================== */
.about-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.about-logo-preview {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.about-logo-preview img {
  margin: 0 auto 16px;
  max-width: 280px;
  aspect-ratio: 802 / 190;
}

.about-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-brand p {
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .download-layout,
  .about-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .showcase-grid,
  .download-buttons-grid,
  .coming-soon-grid,
  .sys-req-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .download-primary-card,
  .about-card {
    padding: 24px;
  }

  .floating-eq-badge {
    position: static;
    margin-top: 14px;
  }
}

/* ==========================================================================
   OFFICIAL MIT LICENSE PAGE STYLING (/license)
   Developer: Aghatis Studio | Dark Aesthetic & Uptodown Verification Ready
   ========================================================================== */
.license-page {
  padding: 48px 0 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-separator {
  color: var(--text-muted);
}

.license-header {
  margin-bottom: 36px;
}

.license-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0;
  color: var(--text-main);
}

.license-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
}

/* Quick Permissions & Conditions Summary (Uptodown & Software Review Standard) */
.license-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.license-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: all var(--transition);
}

.license-summary-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.summary-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}

.summary-card-header.allowed {
  color: #2ecc71;
}

.summary-card-header.conditions {
  color: #3498db;
}

.summary-card-header.limitations {
  color: #e67e22;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.summary-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Official License Monospace Code Window */
.license-window {
  background: var(--bg-darker);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  position: relative;
}

.license-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0d1217;
  border-bottom: 1px solid var(--border-subtle);
}

.license-window-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.license-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.copy-license-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.copy-license-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.copy-license-btn.copied {
  background: #27ae60;
  color: #ffffff;
  border-color: #27ae60;
}

.license-pre {
  padding: 28px 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.94rem;
  line-height: 1.8;
  color: #e1e7ec;
  white-space: pre-wrap;
  word-break: break-word;
  background: #0c1015;
}

/* Uptodown & Reviewer Verification Metadata Box */
.license-verification-box {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.verification-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  font-size: 0.9rem;
}

.verification-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  background: rgba(15, 20, 25, 0.5);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.verification-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.verification-value {
  color: var(--text-main);
  font-weight: 600;
  word-break: break-all;
}

.verification-value a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .license-summary-grid,
  .verification-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
