/* ==========================================================================
   PGRM Studio - Modern Design System & Stylesheet
   Crafted with precision: Glassmorphism, Ambient Glow, Fluid Typography
   ========================================================================== */

:root {
  /* Color Palette - Dark Theme (Default) */
  --bg-primary: #090a0f;
  --bg-secondary: #10121b;
  --bg-card: rgba(18, 21, 33, 0.7);
  --bg-card-hover: rgba(26, 30, 48, 0.85);
  --bg-glass: rgba(14, 17, 27, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  --border-focus: rgba(129, 140, 248, 0.8);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --amber-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 50px -10px var(--primary-glow);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #edf2f7;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.8);
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(99, 102, 241, 0.45);
  --border-focus: rgba(99, 102, 241, 0.8);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px -5px rgba(99, 102, 241, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Lighting */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  transition: opacity var(--transition-base);
  animation: floatOrb 20s infinite alternate ease-in-out;
}

[data-theme="light"] .ambient-orb {
  opacity: 0.2;
  filter: blur(120px);
}

.ambient-orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  top: -100px;
  left: 15%;
}

.ambient-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #a855f7 0%, rgba(168, 85, 247, 0) 70%);
  top: 35%;
  right: -100px;
  animation-duration: 25s;
  animation-delay: -5s;
}

.ambient-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(6, 182, 212, 0) 70%);
  bottom: -50px;
  left: 5%;
  animation-duration: 22s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Subtle Interactive Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  border-bottom-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-icon-box {
  transform: scale(1.08) rotate(4deg);
}

.brand-icon-box svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

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

.nav-item a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-item a:hover {
  color: var(--text-primary);
}

.nav-item a:hover::after,
.nav-item a.active::after {
  width: 100%;
}

.nav-item a.active {
  color: var(--text-primary);
}

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

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.btn-cta-nav {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
  transition: all var(--transition-fast);
}

.btn-cta-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

/* Mobile Menu Toggle */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle-btn svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero-section {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
  animation: pulsePill 3s infinite ease-in-out;
}

[data-theme="light"] .hero-pill-badge {
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
}

@keyframes pulsePill {
  0%, 100% { transform: scale(1); border-color: rgba(99, 102, 241, 0.3); }
  50% { transform: scale(1.02); border-color: rgba(99, 102, 241, 0.6); }
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cyan-gradient-text {
  background: var(--cyan-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subhead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.68;
}

.hero-features-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.feature-chip:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.feature-chip svg {
  width: 16px;
  height: 16px;
  color: #818cf8;
}

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

.btn-primary {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.5);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 80%
  );
  transform: rotate(30deg) translate(-100%, 0);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.65);
}

.btn-primary:hover::after {
  transform: rotate(30deg) translate(100%, 0);
}

.btn-secondary {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

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

.btn-coming-soon {
  width: 100%;
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #67e8f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: default;
  transition: all var(--transition-base);
  box-shadow: 0 4px 18px -4px rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .btn-coming-soon {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.35);
  color: #0e7490;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #818cf8;
  margin-bottom: 12px;
  display: inline-block;
}

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

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

/* Glass Card Base & Interactive Spotlight (Strictly Flat, No 3D Rotation or Tilt) */
.card-3d-wrapper,
.card-3d-wrapper * {
  perspective: none !important;
  transform-style: flat !important;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transform: none !important;
  perspective: none !important;
  transform-style: flat !important;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.glass-card:hover {
  transform: none !important;
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -1000px);
  left: var(--mouse-x, -1000px);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Featured Products Single-Column Showcase */
.products-showcase {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.product-showcase-card {
  padding: 48px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.showcase-content-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-tag-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pricing-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
  letter-spacing: 0.02em;
}

.app-brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-showcase-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  object-fit: cover;
}

.webtunnel-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(8, 145, 178, 0.4));
  border: 1px solid rgba(6, 182, 212, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.2);
  flex-shrink: 0;
}

.webtunnel-icon-box svg {
  width: 32px;
  height: 32px;
}

.showcase-app-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.showcase-app-tagline {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
}

.showcase-app-summary {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 4 Feature Mini Cards Grid */
.showcase-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-mini-card {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

[data-theme="light"] .feature-mini-card {
  background: rgba(0, 0, 0, 0.02);
}

.feature-mini-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.04);
}

.feature-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-mini-icon svg {
  width: 17px;
  height: 17px;
}

.feature-mini-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.feature-mini-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Action Bar & Large Store Buttons */
.showcase-action-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.btn-store-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.btn-store-primary:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-store-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.85;
  text-transform: uppercase;
}

.btn-store-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.btn-store-disabled {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  opacity: 0.6;
  cursor: not-allowed;
  user-select: none;
}

.pricing-guarantee-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Phone Mockup Frame & Interactive Multi-Screenshot Gallery */
.screenshot-gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.gallery-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}

.gallery-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.gallery-tab:hover {
  color: var(--text-primary);
}

.gallery-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Modern Android Device Shell */
.phone-mockup-frame {
  width: 280px;
  height: 622px;
  max-width: 100%;
  border-radius: 36px;
  border: 8px solid #1e293b;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(99, 102, 241, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #000000;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.phone-screen-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #090d16;
}

.gallery-screen-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.97);
}

.gallery-screen-img.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.gallery-footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 320px;
  text-align: center;
}

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--primary);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.gallery-caption-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  min-height: 2.8em;
}

/* WebTunnel Showcase Visual */
.showcase-terminal-large {
  width: 100%;
  margin-bottom: 16px;
  font-size: 0.82rem;
}

.terminal-badge-live {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.18);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.35);
  letter-spacing: 0.05em;
}

.terminal-meta-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 0.74rem;
}

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

.meta-label {
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.meta-val {
  color: #e2e8f0;
  font-weight: 600;
}

.text-green {
  color: #34d399 !important;
}

.webtunnel-arch-card {
  width: 100%;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 12px 14px;
}

.arch-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.arch-img-wrap {
  width: 100%;
  max-height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arch-img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.arch-img:hover {
  opacity: 1;
}

.product-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.highlight-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 13px;
  height: 13px;
}

/* Interactive Interactive Live Demo Mockup */
.interactive-mockup {
  background: rgba(10, 12, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
  position: relative;
}

[data-theme="light"] .interactive-mockup {
  background: #f1f5f9;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-pill-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: var(--radius-full);
}

.pay-once-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.1);
}

.mockup-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding: 0 2px;
}

.mockup-status-tag {
  color: #818cf8;
  font-weight: 700;
}

.mockup-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mockup-toggle-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.spending-preview {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.spending-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
}

.spending-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sample-subs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.sub-item:hover {
  transform: translateX(4px);
  border-color: rgba(99, 102, 241, 0.3);
}

.sub-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sub-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}

.sub-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.sub-cycle {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.sub-right {
  text-align: right;
}

.sub-price {
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.sub-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(234, 88, 12, 0.15);
  color: #fb923c;
  display: inline-block;
}

/* WebTunnel Interactive Visual */
.terminal-visual {
  background: #050608;
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #a5f3fc;
  box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.06);
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-line {
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.terminal-prompt {
  color: #06b6d4;
  user-select: none;
}

.terminal-status {
  color: #34d399;
  font-weight: 600;
}

.product-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 10px;
}

.store-badges-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-chip {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

a.store-chip {
  cursor: pointer;
}

a.store-chip:hover {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.45);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.store-chip-primary {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.32);
  color: #10b981;
}

a.store-chip-primary:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}

.store-chip-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  user-select: none;
}

.store-badge-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

/* Why PGRM - 4 Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-base);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1) rotate(-4deg);
}

.pillar-icon-box svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.icon-purple {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.icon-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Accordion Section */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-hover);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.15);
}

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

.faq-trigger:hover {
  color: #818cf8;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #818cf8;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding: 0 28px;
}

.faq-item.active .faq-content {
  max-height: 280px;
  padding: 0 28px 24px;
}

.faq-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

/* CTA Banner Section */
.cta-banner-wrapper {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
}

.email-contact-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.email-contact-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: #818cf8;
}

/* Legal Pages (Privacy & Terms) */
.legal-header {
  padding: 80px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 60px;
}

.legal-back-nav {
  margin-bottom: 24px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all var(--transition-fast);
}

.btn-back:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  transform: translateX(-3px);
}

.legal-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 100px;
}

.legal-toc-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.toc-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 16px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toc-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: block;
}

.toc-link:hover,
.toc-link.active {
  color: #818cf8;
  font-weight: 600;
}

.legal-content {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.02rem;
}

.legal-section {
  margin-bottom: 50px;
  scroll-margin-top: 110px;
}

.legal-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section p {
  margin-bottom: 16px;
}

.legal-section ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-section li {
  margin-bottom: 10px;
}

.highlight-box {
  background: rgba(99, 102, 241, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--text-primary);
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-weight: 700;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding: 70px 0 35px;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-info {
  max-width: 360px;
}

.footer-brand-desc {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.footer-col-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col-links a:hover {
  color: #818cf8;
}

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

/* Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .product-showcase-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 36px 28px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc-sidebar {
    display: none;
  }
}

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

  .product-showcase-card {
    padding: 24px 16px;
    border-radius: 20px;
    gap: 32px;
  }

  .showcase-app-title {
    font-size: 1.65rem;
  }

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

  .phone-mockup-frame {
    width: 250px;
    height: 520px;
    border-width: 7px;
  }

  .gallery-tab {
    font-size: 0.74rem;
    padding: 5px 10px;
  }

  .terminal-meta-box {
    grid-template-columns: 1fr;
  }

  .nav-wrapper {
    height: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.mobile-open {
    display: flex;
  }

  .nav-actions {
    gap: 8px;
  }

  .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }

  .btn-cta-nav {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .mobile-toggle-btn {
    display: block;
    padding: 4px;
  }

  .brand-icon-box {
    width: 32px;
    height: 32px;
  }

  .brand-title {
    font-size: 1.05rem;
  }
  
  .hero-section {
    padding: 60px 0 50px;
  }

  .hero-pill-badge {
    max-width: 100%;
    font-size: 0.76rem;
    padding: 6px 12px;
    box-sizing: border-box;
  }
  
  .product-card {
    padding: 24px 16px;
  }

  .interactive-mockup {
    padding: 16px 12px;
  }

  .terminal-visual {
    padding: 16px 12px;
    font-size: 0.75rem;
  }
  
  .product-highlights {
    grid-template-columns: 1fr;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-banner-wrapper {
    padding: 36px 18px;
  }
}

@media (max-width: 480px) {
  .brand-subtitle {
    display: none;
  }

  .nav-actions {
    gap: 6px;
  }

  .btn-cta-nav {
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .btn-cta-nav svg {
    width: 12px;
    height: 12px;
  }
}
