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

/* Web Font — Pretendard (KO/EN/JA coverage) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

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

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #141414;
  --bg-elevated-hover: #1a1a1a;
  --bg-deep: #080808;
  --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);
  --accent-purple-border: rgba(200, 162, 255, 0.15);
  --accent-purple-border-soft: rgba(200, 162, 255, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-primary: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-light: 'Pretendard Variable', 'Pretendard', '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 Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

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

.lang-btn.active {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  font-weight: 600;
}

/* 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-alt {
  background: var(--bg-secondary);
}

.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 {
  position: relative;
  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;
}

/* Hero tagline — minimal, muted */
.hero-tagline {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  animation: scrollDrop 2.4s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { top: -100%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ========================================
   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;
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
}

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

.card-tagline {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

.card-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  transition: opacity var(--transition);
}

.card:hover .card-link {
  opacity: 0.7;
}

/* Disabled card state */
.card--disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

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

/* Image placeholder (for cards without real images) */
.card-img-placeholder {
  width: 100%;
  height: 240px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.card-img-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Coming Soon badge */
.badge-coming-soon {
  display: inline-block;
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}

/* 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);
}

/* Store Badges
======================================== */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
  min-width: 148px;
}

.store-badge:hover {
  border-color: var(--text-primary);
  background: var(--bg-elevated);
}

.store-badge-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.store-badge-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.store-badge-sub {
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  line-height: 1;
}

.store-badge-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* 링크 미준비 상태 */
.store-badge[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

/* 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: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  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: var(--bg-elevated-hover);
  border-color: var(--accent-purple-border);
  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: 3 / 4;
  overflow: hidden;
  background: var(--bg-deep);
}

.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: 16 / 9;
}

/* 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: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  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: var(--bg-elevated-hover);
  border-color: var(--accent-purple-border);
  transform: translateY(-4px);
}

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

.feature-card:hover .feature-icon {
  background: var(--accent-purple-soft);
  border-color: var(--accent-purple-border);
}

.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;
  white-space: pre-wrap;
}

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

.notice-item--pinned {
  background: var(--bg-alt, #f8f8f8);
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 6px;
  border-bottom: 1px solid var(--border);
}

.notice-pin-badge {
  margin-right: 6px;
  font-size: 0.9em;
}

/* ========================================
   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 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-card-icon svg {
  stroke: var(--text-secondary);
}

.contact-email-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.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 Landscape
   ======================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

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

  .two-col {
    gap: 40px;
  }

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

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

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

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

  .app-hero {
    gap: 48px;
  }

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

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

/* ========================================
   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-scroll {
    display: none;
  }

  .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: 16 / 9;
  }

  .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; }
