/* ==========================================================================
   soltechin — Mobile Apps & Games
   Apple / Stripe Inspired Design System (Dark & Light Theme)
   ========================================================================== */

:root {
  /* Shared Design Tokens */
  --brand-cyan: #00d2ff;
  --brand-blue: #2563eb;
  --brand-purple: #a855f7;
  --brand-pink: #ec4899;
  --brand-orange: #f59e0b;
  --brand-gradient: linear-gradient(135deg, #00d2ff 0%, #a855f7 50%, #ec4899 78%, #f59e0b 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(0, 210, 255, 0.14) 0%, rgba(168, 85, 247, 0.14) 50%, rgba(245, 158, 11, 0.14) 100%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

  /* Dark Theme Defaults */
  --bg-primary: #020617;
  --bg-secondary: #070d24;
  --bg-elevated: rgba(15, 23, 42, 0.72);
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.82);
  --bg-glass: rgba(7, 13, 36, 0.78);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(56, 189, 248, 0.35);
  --shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 60px -15px rgba(168, 85, 247, 0.35);
  --hero-logo-bg: #010413;
  --code-bg: rgba(2, 6, 23, 0.85);
  --logo-sol: linear-gradient(135deg, #fa2032 0%, #fd742a 50%, #ffa016 100%);
  --logo-tech: linear-gradient(135deg, #00f0ff 0%, #0099ff 50%, #0066ff 100%);
  --logo-in: linear-gradient(135deg, #ffa016 0%, #fd4c5b 50%, #f809c7 100%);
  --brand-tagline-color: #94a3b8;
}

[data-theme="dark"] {
  --bg-primary: #020617;
  --bg-secondary: #070d24;
  --bg-elevated: rgba(15, 23, 42, 0.72);
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.82);
  --bg-glass: rgba(7, 13, 36, 0.78);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(56, 189, 248, 0.35);
  --shadow-sm: 0 4px 20px -2px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 60px -15px rgba(168, 85, 247, 0.35);
  --hero-logo-bg: #010413;
  --code-bg: rgba(2, 6, 23, 0.85);
  --logo-sol: linear-gradient(135deg, #fa2032 0%, #fd742a 50%, #ffa016 100%);
  --logo-tech: linear-gradient(135deg, #00f0ff 0%, #0099ff 50%, #0066ff 100%);
  --logo-in: linear-gradient(135deg, #ffa016 0%, #fd4c5b 50%, #f809c7 100%);
  --brand-tagline-color: #94a3b8;
  --brand-cyan: #00d2ff;
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-elevated: rgba(255, 255, 255, 0.88);
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.09);
  --border-highlight: rgba(168, 85, 247, 0.35);
  --shadow-sm: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 12px 45px -10px rgba(168, 85, 247, 0.18);
  --hero-logo-bg: #fefefe;
  --code-bg: #f1f5f9;
  --logo-sol: linear-gradient(135deg, #e11d48 0%, #f97316 60%, #ea580c 100%);
  --logo-tech: linear-gradient(135deg, #0284c7 0%, #0369a1 40%, #1d4ed8 100%);
  --logo-in: linear-gradient(135deg, #ea580c 0%, #e11d48 60%, #c026d3 100%);
  --brand-tagline-color: #334155;
  --brand-cyan: #0369a1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Mesh (Stripe / Apple style) */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 15%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.13) 0%, rgba(168, 85, 247, 0.1) 45%, transparent 70%);
  filter: blur(70px);
}

.ambient-glow::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, rgba(245, 158, 11, 0.08) 45%, transparent 70%);
  filter: blur(80px);
}

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

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

ul {
  list-style: none;
}

/* Typography & Gradient Text */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--brand-gradient-subtle);
  border: 1px solid var(--border-highlight);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.section-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 16px;
}

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

section {
  padding: 96px 0;
  position: relative;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.3));
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-wordmark .brand-name {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-wordmark .brand-name span {
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-image 0.3s ease;
}

.brand-wordmark .brand-name .brand-sol {
  background-image: var(--logo-sol);
}

.brand-wordmark .brand-name .brand-tech {
  background-image: var(--logo-tech);
}

.brand-wordmark .brand-name .brand-in {
  background-image: var(--logo-in);
}

.brand-wordmark .brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand-tagline-color, var(--text-secondary));
  margin-top: 2px;
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

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

.control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.control-btn:hover {
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

/* Language Combo Dropdown */
.lang-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 38px;
  padding: 0 26px 0 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.lang-select:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.lang-select:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 2px rgba(0, 210, 255, 0.25);
}

.lang-select option {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.85rem;
  padding: 8px 12px;
}

.lang-select-arrow {
  position: absolute;
  right: 10px;
  pointer-events: none;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 8px;
  cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -5px rgba(168, 85, 247, 0.6);
}

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

.btn-secondary:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Subtle, Apple/Stripe-style Beta Link in Navbar */
.nav-beta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-beta-link .beta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
}

.nav-beta-link:hover {
  background: var(--brand-gradient-subtle);
  transform: translateY(-1px);
}

/* Beta Tester Banner on Homepage */
.beta-banner {
  margin-top: 44px;
  padding: 28px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.12) 0%, rgba(168, 85, 247, 0.16) 50%, rgba(245, 158, 11, 0.12) 100%);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Beta Tester Wizard Page (beta-test.html)
   ========================================================================== */
.wizard-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.wizard-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.wizard-step-card.active-step {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.selectable-card {
  position: relative;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  box-sizing: border-box;
}

.selectable-card strong {
  word-break: break-word;
}

.selectable-card span {
  word-break: break-word;
}

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

.selectable-card.selected {
  border-color: var(--brand-cyan);
  background: var(--brand-gradient-subtle);
  box-shadow: 0 8px 24px -6px rgba(0, 210, 255, 0.25);
}

.selectable-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.selectable-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.check-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: var(--transition);
}

.selectable-card.selected .check-indicator {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  color: #ffffff;
  font-weight: 800;
}

[data-theme="dark"] .selectable-card.selected .check-indicator {
  color: #020617;
}

.platform-req-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 210, 255, 0.06);
  border: 1px solid var(--border-highlight);
  cursor: pointer;
  font-size: 0.88rem;
}

.checkbox-row input {
  margin-top: 4px;
  transform: scale(1.2);
  accent-color: var(--brand-cyan);
}

#submitBetaBtn {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  padding: 16px 20px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Beta Tester Email Invitation Cards
   ========================================================================== */
.beta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.beta-email-box {
  background: var(--bg-secondary);
  border: 2px dashed var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.beta-email-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.beta-email-address {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-cyan);
  background: rgba(0, 210, 255, 0.08);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-highlight);
  word-break: break-all;
}

.beta-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.beta-copy-feedback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #10b981;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.beta-copy-feedback.show {
  opacity: 1;
}

.beta-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.beta-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.beta-checklist-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.15);
  color: var(--brand-cyan);
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.beta-notice-banner {
  background: rgba(0, 210, 255, 0.05);
  border-left: 4px solid var(--brand-cyan);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 20px;
}

.beta-legal-card {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 28px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 72px 0 88px;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 560px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 360px;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

/* Hero Logo Showcase Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-showcase-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  padding: 20px;
  background: var(--hero-logo-bg);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}

.logo-showcase-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.logo-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.floating-pill {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

/* ==========================================================================
   Apps Showcase & Category Tabs
   ========================================================================== */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.tab-btn.active {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px -4px rgba(168, 85, 247, 0.45);
}

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

@media (max-width: 1024px) {
  .apps-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.app-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.35);
}

.app-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-icon-utilities {
  background: linear-gradient(135deg, #00d2ff 0%, #2563eb 100%);
}

.app-icon-lifestyle {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #0d9488 100%);
}

.app-icon-games {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 55%, #f59e0b 100%);
}

.app-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.app-category-tag.coming-soon {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.35);
}

.app-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  min-height: 2.8em;
  display: flex;
  align-items: flex-start;
}

.app-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.app-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.feature-chip {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 52px;
  height: auto;
  padding: 10px 16px;
  border-radius: 12px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.store-badge.badge-accent-cyan {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.16) 0%, #000000 100%);
  border-color: rgba(56, 189, 248, 0.4);
}

.store-badge.badge-accent-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, #000000 100%);
  border-color: rgba(16, 185, 129, 0.4);
}

.store-badge.badge-accent-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16) 0%, #000000 100%);
  border-color: rgba(168, 85, 247, 0.4);
}

[data-theme="light"] .store-badge {
  background: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .store-badge.badge-accent-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #0f172a 100%);
  border-color: #0284c7;
}

[data-theme="light"] .store-badge.badge-accent-green {
  background: linear-gradient(135deg, #059669 0%, #0f172a 100%);
  border-color: #059669;
}

[data-theme="light"] .store-badge.badge-accent-purple {
  background: linear-gradient(135deg, #9333ea 0%, #0f172a 100%);
  border-color: #9333ea;
}

.store-badge:hover:not(.disabled) {
  transform: translateY(-2px);
  border-color: var(--brand-cyan);
  box-shadow: 0 8px 20px rgba(0, 210, 255, 0.25);
}

.store-badge.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.25;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.store-badge-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.82);
  white-space: normal;
  word-break: break-word;
  line-height: 1.2;
}

.store-badge-main {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
}

.app-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  font-size: 0.82rem;
}

.app-meta-links {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.app-meta-links a {
  color: var(--brand-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.app-meta-links a:hover {
  text-decoration: underline;
}

.bundle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
  white-space: nowrap;
}

.bundle-badge.badge-cyan {
  background: rgba(0, 210, 255, 0.12);
  border-color: rgba(0, 210, 255, 0.32);
  color: #00d2ff;
}
[data-theme="light"] .bundle-badge.badge-cyan {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

.bundle-badge.badge-green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.32);
  color: #10b981;
}
[data-theme="light"] .bundle-badge.badge-green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}

.bundle-badge.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.32);
  color: #f59e0b;
}
[data-theme="light"] .bundle-badge.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #d97706;
}

.platform-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   Services & About Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-gradient-subtle);
  border: 1px solid var(--border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* About Section */
.about-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.highlight-item {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.highlight-item strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

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

/* ==========================================================================
   Bento Grid: Design & Quality Principles (Apple / Linear Aesthetic)
   ========================================================================== */
.bento-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.bento-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.bento-card-1:hover {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 10px 25px -5px rgba(168, 85, 247, 0.25);
}

.bento-card-2:hover {
  border-color: rgba(0, 210, 255, 0.55);
  box-shadow: 0 10px 25px -5px rgba(0, 210, 255, 0.25);
}

.bento-card-3:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.25);
}

.bento-card-4:hover {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.25);
}

.bento-icon-glow {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.bento-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  line-height: 1.3;
}

.bento-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.bento-card-1 .bento-tag {
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.08);
}

.bento-card-2 .bento-tag {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
}

.bento-card-3 .bento-tag {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.08);
}

.bento-card-4 .bento-tag {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.08);
}

@media (max-width: 580px) {
  .bento-principles {
    grid-template-columns: 1fr;
  }
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

.reviewer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.reviewer strong {
  color: var(--text-primary);
}

.reviewer span {
  color: var(--brand-cyan);
  font-weight: 600;
}

/* ==========================================================================
   Blog & News
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.blog-date {
  font-size: 0.78rem;
  color: var(--brand-cyan);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.blog-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.faq-item.open .faq-answer {
  max-height: 260px;
  padding-bottom: 20px;
}

.faq-icon {
  transition: transform 0.25s ease;
  font-size: 1.2rem;
  color: var(--brand-cyan);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 32px;
  align-items: stretch;
}

.contact-info-card,
.contact-form-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.contact-info-card::before,
.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-gradient);
  opacity: 0.7;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.contact-status-pill .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-method:hover {
  border-color: var(--border-highlight);
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-gradient-subtle);
  color: var(--brand-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.contact-beta-callout {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient-subtle);
  border: 1px solid var(--border-highlight);
  font-size: 0.86rem;
  line-height: 1.5;
}

.contact-beta-callout a {
  color: var(--brand-cyan);
  font-weight: 600;
  text-decoration: none;
}

.contact-beta-callout a:hover {
  text-decoration: underline;
}

.contact-form-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.contact-form-header h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.contact-form-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Social Media Pill Buttons */
.social-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
}

.social-pill-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-sm);
}

.social-pill-btn.instagram-pill:hover {
  border-color: #e1306c;
  color: #e1306c;
  background: rgba(225, 48, 108, 0.08);
}

.social-pill-btn.facebook-pill:hover {
  border-color: #1877f2;
  color: #1877f2;
  background: rgba(24, 119, 242, 0.08);
}

.social-pill-btn.github-pill:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
  background: rgba(0, 210, 255, 0.08);
}

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

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.94rem;
  transition: var(--transition);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:hover {
  border-color: rgba(148, 163, 184, 0.3);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.14);
}

textarea.form-control {
  min-height: 112px;
  resize: vertical;
}

.consent-box {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 6px 0 18px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.consent-box:hover,
.consent-box:focus-within {
  border-color: var(--border-highlight);
}

.consent-box input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--brand-cyan);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-box label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.55;
}

.consent-box label a {
  color: var(--brand-cyan);
  text-decoration: underline;
  font-weight: 500;
}

.contact-submit-btn {
  width: 100%;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 0.96rem;
}

.contact-alt-notice {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.contact-alt-notice a {
  color: var(--brand-cyan);
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 64px 0 36px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

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

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-col ul li a:hover {
  color: var(--brand-cyan);
}

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

/* ==========================================================================
   Subpages (App Detail & Privacy Policy)
   ========================================================================== */
.subpage-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

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

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

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.legal-section {
  display: block;
}

.legal-divider {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 36px 0;
}

.legal-card h2 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.app-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.app-detail-actions .store-badge,
.app-detail-actions .btn {
  width: auto;
  max-width: 100%;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 24px 20px;
  }
  .app-detail-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .app-detail-actions .store-badge,
  .app-detail-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.legal-card ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .about-box,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

/* Responsive Enhancements for Buttons & Panels across all screens */
@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }

  .beta-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    text-align: left;
  }
  .beta-banner .btn {
    width: 100%;
  }

  .review-welcome-card {
    padding: 32px 20px !important;
  }
  .review-actions-row {
    flex-direction: column;
  }
  .review-welcome-card .btn {
    width: 100%;
  }

  .legal-container {
    padding: 36px 16px 64px;
  }
  .legal-card {
    padding: 26px 18px;
  }
  .legal-card .btn,
  .legal-card .store-badge {
    width: 100%;
  }

  .game-hero-actions {
    flex-direction: column;
  }
  .game-hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .app-card {
    padding: 22px 16px;
  }

  .brand-wordmark .brand-tagline {
    display: none;
  }

  .nav-actions {
    gap: 6px;
  }

  .control-btn {
    padding: 0 9px;
    font-size: 0.8rem;
    height: 34px;
  }

  .lang-select {
    height: 34px;
    padding: 0 20px 0 9px;
    font-size: 0.78rem;
  }

  .lang-select-arrow {
    right: 6px;
  }

  .category-tabs {
    gap: 8px;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  #submitBetaBtn {
    font-size: 0.95rem !important;
    padding: 14px 14px !important;
  }

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

/* ==========================================================================
   KVKK Legal Notes & Cookie Banner
   ========================================================================== */
.form-kvkk-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 12px 0 16px;
}

.form-kvkk-note a {
  color: var(--brand-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.form-kvkk-note a:hover {
  opacity: 0.8;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 460px;
  width: calc(100% - 48px);
  z-index: 99999;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 32px -8px rgba(0, 210, 255, 0.22);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-inner {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  background: rgba(0, 210, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.cookie-icon {
  font-size: 1rem;
}

.cookie-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  line-height: 1;
}

.cookie-close-btn:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.cookie-banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.cookie-banner-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.cookie-banner-actions .btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

.cookie-policy-link {
  font-size: 0.84rem;
  color: var(--brand-cyan);
  text-decoration: none;
  font-weight: 600;
  margin-left: auto;
  transition: opacity 0.2s ease;
}

.cookie-policy-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
  .cookie-banner-inner {
    padding: 18px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .cookie-policy-link {
    margin-left: 0;
    text-align: center;
    padding-top: 4px;
  }
}

