/* ========================================
   Studio Peace - Dark B&W Theme (Vista-style)
   ======================================== */

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

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --border: #222222;
  --text-primary: #ffffff;
  --text-secondary: #8a8a8a;
  --text-muted: #5a5a5a;
  --accent: #ffffff;
  --accent-purple: #c8a2ff;
  --accent-purple-soft: rgba(200, 162, 255, 0.08);

  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-light: 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-secondary);
  background: var(--bg-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  opacity: 0.7;
}

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

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-primary);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

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

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
  opacity: 1;
}

.nav-menu a::after {
  display: none;
}

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

.nav-menu .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 180px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 20px 0 8px;
  z-index: 100;
}

.nav-menu .dropdown-content::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-menu .dropdown:hover .dropdown-content {
  display: block;
}

.nav-menu .dropdown-content a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.nav-menu .dropdown-content a:hover {
  color: var(--text-primary);
  opacity: 1;
  background: rgba(255,255,255,0.03);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.05em;
}

.lang-toggle-switch {
  width: 36px;
  height: 20px;
  background: var(--text-muted);
  border-radius: 10px;
  position: relative;
  transition: background var(--transition);
}

.lang-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: transform var(--transition);
}

.lang-toggle-switch.active {
  background: var(--text-secondary);
}

.lang-toggle-switch.active::after {
  transform: translateX(16px);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ========================================
   Main Content
   ======================================== */
main {
  flex: 1;
  margin-top: var(--header-height);
}

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

.section {
  padding: 100px 0;
}

.section-divider {
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 56px;
  line-height: 1.8;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-primary);
}

.hero-content {
  max-width: 900px;
}

.hero-logo-main {
  width: 360px;
  height: auto;
  margin: 0 auto 48px;
  filter: invert(1);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 200;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.8;
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  background: transparent;
  color: var(--text-primary);
}

.btn:hover {
  opacity: 1;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
}

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

.btn-outline:hover {
  border-color: var(--text-primary);
}

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

.btn-secondary:hover {
  border-color: var(--text-primary);
}

.btn-danger {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--text-muted);
}

.btn-danger:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* ========================================
   Two Column Layout (Vista-style)
   ======================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.two-col-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ========================================
   Feature Cards (Vista-style)
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.card {
  background: var(--bg-primary);
  padding: 48px 32px;
  transition: background var(--transition);
  border: none;
}

.card:hover {
  background: var(--bg-secondary);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 24px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Vertical card (Vista feature card with divider) */
.feature-card {
  padding: 40px 28px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
}

.feature-card:first-child {
  border-left: none;
}

.feature-card-divider {
  width: 40px;
  height: 1px;
  background: var(--text-muted);
  margin: 20px 0;
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background: var(--bg-secondary);
}

.product-card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ========================================
   Stats Row (Vista-style)
   ======================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 48px 20px;
  background: var(--bg-primary);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ========================================
   App Detail Page
   ======================================== */
.app-hero {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 80px 0;
}

.app-hero-image {
  flex: 0 0 240px;
}

.app-hero-image img {
  width: 240px;
  border-radius: 40px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.app-hero-content {
  flex: 1;
}

.app-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.app-hero-content .app-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.app-hero-content .app-description {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.app-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.app-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.app-meta-value {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}

/* Screenshots */
/* Screenshots Section */
.screenshots-header {
  text-align: center;
  margin-bottom: 64px;
}

.screenshots-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.screenshots-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.screenshots-sub {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
}

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

.screenshot-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: featureFadeUp 0.5s ease forwards;
}

.screenshot-card:nth-child(1) { animation-delay: 0.05s; }
.screenshot-card:nth-child(2) { animation-delay: 0.1s; }
.screenshot-card:nth-child(3) { animation-delay: 0.15s; }
.screenshot-card:nth-child(4) { animation-delay: 0.2s; }
.screenshot-card:nth-child(5) { animation-delay: 0.25s; }

.screenshot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.screenshot-card:hover {
  background: #1a1a1a;
  border-color: rgba(200, 162, 255, 0.15);
  transform: translateY(-4px);
}

.screenshot-card:hover::before {
  opacity: 1;
}

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

.screenshot-card:hover .screenshot-number {
  color: var(--accent-purple);
}

.screenshot-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0d0d;
}

.screenshot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.screenshot-info {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.screenshot-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.screenshot-caption {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.2px;
}

.screenshot-card.wide {
  grid-column: span 2;
}

.screenshot-card.wide .screenshot-img {
  aspect-ratio: 8 / 3;
}

/* Features Grid */
.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.features-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.features-sub {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
}

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

.feature-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 40px 28px 36px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: featureFadeUp 0.5s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.2s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes featureFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  background: #1a1a1a;
  border-color: rgba(200, 162, 255, 0.15);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover .feature-icon {
  background: var(--accent-purple-soft);
  border-color: rgba(200, 162, 255, 0.2);
}

.feature-card:hover .feature-icon svg {
  stroke: var(--accent-purple);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.35s ease;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--text-secondary);
  stroke-width: 1.75;
  fill: none;
  transition: stroke 0.35s ease;
}

.feature-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.pricing-table th {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--text-primary);
}

.pricing-table td {
  color: var(--text-secondary);
}

/* ========================================
   Notices
   ======================================== */
.notice-list {
  display: flex;
  flex-direction: column;
}

.notice-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.notice-item:first-child {
  border-top: 1px solid var(--border);
}

.notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.notice-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.notice-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.notice-content {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
}

.notice-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========================================
   Contact
   ======================================== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.contact-card {
  text-align: center;
  padding: 64px 32px;
  background: var(--bg-primary);
}

.contact-card-icon {
  font-size: 2rem;
  margin-bottom: 24px;
}

.contact-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 40px;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.legal-content .legal-date {
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 0.85rem;
}

.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-content p,
.legal-content ul {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========================================
   Footer (Vista-style)
   ======================================== */
.site-footer {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 48px 0 24px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.footer-info {
  font-size: 0.8rem;
  line-height: 2.2;
  color: var(--text-secondary);
}

.footer-info span {
  margin-right: 24px;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

.footer-legal-links {
  margin-top: 12px;
}

.footer-legal-links a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.8rem;
}

.footer-legal-links a:hover {
  color: var(--text-primary);
}

.footer-divider {
  margin: 0 10px;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========================================
   Admin
   ======================================== */
.admin-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.admin-login {
  max-width: 360px;
  margin: 100px auto;
  text-align: center;
}

.admin-login h2 {
  margin-bottom: 24px;
  font-weight: 300;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-header h2 {
  color: var(--text-primary);
  font-weight: 300;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  transition: border-color var(--transition);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-input:focus {
  outline: none;
  border-color: var(--text-primary);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

select.form-input {
  cursor: pointer;
}

.admin-notice-form {
  background: var(--bg-secondary);
  padding: 28px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}

.admin-notice-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  background: var(--bg-secondary);
}

.admin-notice-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ========================================
   Video / Film
   ======================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

.video-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-card-body {
  padding: 20px;
}

.video-card-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.video-card-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.breadcrumb a:hover {
  color: var(--text-primary);
  opacity: 1;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
  background: var(--bg-primary);
  padding: 64px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 200;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 8px 24px 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-menu li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    font-size: 0.95rem;
  }

  .nav-menu .dropdown-content {
    position: static;
    display: block;
    border: none;
    padding: 8px 0 0 16px;
  }

  .nav-menu .dropdown-content::before {
    display: none;
  }

  .container {
    padding: 0 24px;
  }

  .header-inner {
    padding: 0 24px;
  }

  .hero {
    padding: 60px 24px;
  }

  .hero-logo-main {
    width: 240px;
    margin-bottom: 32px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .feature-card {
    padding: 32px 20px 28px;
  }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .screenshot-card.wide {
    grid-column: span 2;
  }

  .screenshot-info {
    padding: 16px 18px;
  }

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

  .app-hero {
    flex-direction: column;
    text-align: center;
    padding: 48px 0;
    gap: 32px;
  }

  .app-hero-image {
    flex: none;
  }

  .app-hero-image img {
    width: 160px;
    margin: 0 auto;
  }

  .app-hero-content h1 {
    font-size: 1.8rem;
  }

  .app-meta {
    justify-content: center;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer-logo {
    order: -1;
  }

  .page-header {
    padding: 48px 0 32px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .footer-inner {
    padding: 0 24px;
  }

  .legal-content {
    padding: 48px 24px;
  }
}

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 16px;
    min-height: calc(80vh - var(--header-height));
  }

  .hero-logo-main {
    width: 180px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding: 48px 0;
  }

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

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

  .screenshot-card.wide {
    grid-column: span 1;
  }

  .screenshot-card.wide .screenshot-img {
    aspect-ratio: 4 / 3;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 32px 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .app-hero-content h1 {
    font-size: 1.5rem;
  }

  .legal-content {
    padding: 40px 16px 60px;
  }

  .legal-content h1 {
    font-size: 1.4rem;
  }

  .contact-card {
    padding: 40px 20px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .footer-info {
    font-size: 0.75rem;
  }

  .footer-info span {
    display: block;
    margin-right: 0;
  }

  .notice-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .admin-notice-item {
    flex-direction: column;
    gap: 12px;
  }

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

/* ========================================
   Responsive — Small Mobile
   ======================================== */
@media (max-width: 360px) {
  .hero-logo-main {
    width: 140px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .app-hero-image img {
    width: 120px;
  }

  .nav-menu {
    padding: 8px 16px 16px;
  }
}

/* ========================================
   Safe area (iPhone notch)
   ======================================== */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .header-inner {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
