/* --- Fonts --- */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/JetBrainsMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/JetBrainsMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* --- Theme Variables --- */
:root {
  --bg-dark: #000000;
  --bg-dark-card: rgba(12, 10, 8, 0.6);
  --border-glow: rgba(229, 169, 59, 0.12);
  --border-glow-hover: rgba(229, 169, 59, 0.32);
  
  --text-primary: #FFFFFF;
  --text-secondary: #A0AEC0;
  --text-tertiary: #4A5568;
  
  --accent-gold: #E5A93B;
  --accent-gold-hover: #F9D976;
  --accent-gold-dark: #B58F22;
  --accent-blue: #3B82F6;
  --accent-red: #EF4444;
  --accent-green: #10B981;
  
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-apple: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.2, 0, 0.2, 1);
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-mono) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background-color: #000000;
  min-height: 100vh;
  font-family: var(--font-mono) !important;
}

code, pre, .mono-text, #simTextField, .key-cap, span, p, a, button, input, textarea, div {
  font-family: var(--font-mono) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-family: var(--font-mono) !important;
}

/* --- Layout Containers --- */
.section-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(229, 169, 59, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 169, 59, 0.3);
}

/* --- Glassmorphism Card Style Base --- */
.glass-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-apple);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  border-color: var(--border-glow-hover);
  box-shadow: 0 10px 40px rgba(229, 169, 59, 0.08);
  transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.logo-img {
  width: 32px;
  height: 32px;
}
.logo-text {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFF 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-gold);
}

.nav-btn {
  background: var(--accent-gold);
  color: #000;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(229, 169, 59, 0.2);
  transition: var(--transition-fast);
}
.nav-btn:hover {
  background: var(--accent-gold-hover);
  transform: scale(1.03);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- Language Toggle --- */
.lang-switch-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}
.lang-switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
  cursor: pointer;
}
.lang-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.lang-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: .3s;
  border-radius: 20px;
}
.lang-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: var(--text-primary);
  transition: .3s;
  border-radius: 50%;
}
input:checked + .lang-slider {
  background-color: var(--accent-gold);
}
input:checked + .lang-slider:before {
  transform: translateX(14px);
}

/* --- Badge Style --- */
.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold-hover);
  border: 1px solid rgba(229, 169, 59, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  background: rgba(229, 169, 59, 0.05);
  letter-spacing: 1px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}
.section-title {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle strong {
  color: var(--accent-gold);
  font-weight: 600;
}

.section-title-left {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 100px;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.hero-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.hero-content {
  max-width: 750px;
  margin-bottom: 60px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  font-weight: 700;
}
.accent-gradient {
  background: linear-gradient(135deg, var(--accent-gold) 30%, var(--accent-gold-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-cta-wrapper {
  display: flex;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #000;
  border: none;
  padding: 14px 44px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(229, 169, 59, 0.2);
  transition: var(--transition-apple);
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(229, 169, 59, 0.35);
  filter: brightness(1.1);
}
.cta-button:active {
  transform: translateY(0);
}
.cta-version {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.8;
}

/* --- Dashboard / App Simulator --- */
.dashboard-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
}

.simulator-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
  transition: var(--transition-apple);
}
.simulator-card:hover {
  border-color: var(--border-glow-hover);
}

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
}

.header-left-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--accent-red); }
.dot.yellow { background: #FFB302; }
.dot.green { background: var(--accent-green); }

.simulator-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.8px;
}

.header-right-icons {
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
}

.simulator-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Simulator Status Bar */
.simulator-overlay-bar {
  width: auto;
  align-self: center;
  height: 36px;
  background: #0C0A08;
  border-radius: 9999px;
  border: 1px solid rgba(229, 169, 59, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  gap: 12px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.overlay-visualizer {
  display: none;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.sim-bar {
  width: 3px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 1px;
  transition: height 0.1s ease;
}

.overlay-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Simulator States Styling */
.simulator-overlay-bar.state-idle {
  border-color: rgba(255, 255, 255, 0.1);
}
.simulator-overlay-bar.state-idle .overlay-status {
  color: var(--text-secondary);
}

.simulator-overlay-bar.state-listening {
  border-color: var(--accent-gold);
  background: rgba(229, 169, 59, 0.05);
}
.simulator-overlay-bar.state-listening .overlay-visualizer {
  display: flex;
}
.simulator-overlay-bar.state-listening .sim-bar {
  background: var(--accent-gold);
  animation: sim-bar-pulse 1s infinite ease-in-out;
}
.simulator-overlay-bar.state-listening .sim-bar:nth-child(1) { animation-delay: 0.1s; }
.simulator-overlay-bar.state-listening .sim-bar:nth-child(2) { animation-delay: 0.3s; }
.simulator-overlay-bar.state-listening .sim-bar:nth-child(3) { animation-delay: 0.5s; }
.simulator-overlay-bar.state-listening .sim-bar:nth-child(4) { animation-delay: 0.2s; }
.simulator-overlay-bar.state-listening .sim-bar:nth-child(5) { animation-delay: 0.4s; }
.simulator-overlay-bar.state-listening .sim-bar:nth-child(6) { animation-delay: 0.15s; }
.simulator-overlay-bar.state-listening .sim-bar:nth-child(7) { animation-delay: 0.25s; }

.simulator-overlay-bar.state-recording {
  border-color: var(--accent-gold-hover);
  background: rgba(229, 169, 59, 0.05);
}
.simulator-overlay-bar.state-recording .overlay-visualizer {
  display: flex;
}
.simulator-overlay-bar.state-recording .sim-bar {
  background: var(--accent-gold-hover);
  animation: sim-bar-pulse 0.7s infinite ease-in-out;
}
.simulator-overlay-bar.state-recording .sim-bar:nth-child(1) { animation-delay: 0.05s; }
.simulator-overlay-bar.state-recording .sim-bar:nth-child(2) { animation-delay: 0.2s; }
.simulator-overlay-bar.state-recording .sim-bar:nth-child(3) { animation-delay: 0.4s; }
.simulator-overlay-bar.state-recording .sim-bar:nth-child(4) { animation-delay: 0.1s; }
.simulator-overlay-bar.state-recording .sim-bar:nth-child(5) { animation-delay: 0.3s; }
.simulator-overlay-bar.state-recording .sim-bar:nth-child(6) { animation-delay: 0.08s; }
.simulator-overlay-bar.state-recording .sim-bar:nth-child(7) { animation-delay: 0.15s; }

.simulator-overlay-bar.state-thinking {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.05);
}
.simulator-overlay-bar.state-thinking .overlay-status {
  color: var(--accent-blue);
}

.simulator-overlay-bar.state-polishing {
  border-color: var(--accent-green);
  background: rgba(16, 185, 129, 0.05);
}
.simulator-overlay-bar.state-polishing .overlay-status {
  color: var(--accent-green);
}

@keyframes sim-bar-pulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.8); }
}

/* Typing field */
.typing-field-container {
  width: 100%;
}
.field-label {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.typing-field {
  width: 100%;
  min-height: 100px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  color: var(--text-primary);
  font-size: 13.5px;
  line-height: 1.6;
  transition: var(--transition-fast);
}
.placeholder-text {
  color: var(--text-tertiary);
}
.sim-diff-original {
  color: var(--accent-red);
  text-decoration: line-through;
  margin-right: 6px;
  opacity: 0.8;
}
.sim-diff-corrected {
  color: var(--accent-green);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

/* Sim Controls */
.sim-controls {
  display: flex;
  justify-content: center;
}
.sim-action-btn {
  background: rgba(229, 169, 59, 0.04);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.sim-action-btn:hover {
  background: rgba(229, 169, 59, 0.1);
  border-color: rgba(229, 169, 59, 0.35);
  box-shadow: 0 0 15px rgba(229, 169, 59, 0.15);
}

/* --- 2. Superpowers Section --- */
.superpowers-section {
  position: relative;
  background: #000000;
}

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

.power-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-apple);
}
.power-card:hover {
  border-color: var(--border-glow-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(229, 169, 59, 0.05);
}

.power-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(229, 169, 59, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(229, 169, 59, 0.1);
}

.power-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}
.power-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- 3. Preview Section --- */
.preview-section {
  position: relative;
}

.preview-card-wrapper {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: var(--transition-apple);
}
.preview-card-wrapper:hover {
  border-color: var(--border-glow-hover);
}

.preview-widget {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 320px;
}

.widget-sidebar {
  background: rgba(0, 0, 0, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 24px;
}

.sidebar-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.style-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.style-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}
.style-btn:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}
.style-btn.active {
  background: rgba(229, 169, 59, 0.08);
  border-color: rgba(229, 169, 59, 0.2);
  color: var(--accent-gold-hover);
}

.widget-display {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.display-label {
  font-size: 11px;
  color: var(--text-tertiary);
}

.display-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  min-height: 60px;
}
.original-box {
  color: var(--text-secondary);
}
.result-box {
  color: var(--text-primary);
  border-left: 2px solid var(--accent-gold);
  transition: opacity 0.3s ease;
}

.widget-action-wrapper {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
.widget-action-btn {
  background: var(--accent-gold);
  color: #000;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(229, 169, 59, 0.2);
}
.widget-action-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}

/* --- 4. Potential Section --- */
.potential-section {
  background: #000000;
  position: relative;
}

.potential-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.potential-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

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

.stat-item {
  border-left: 1px solid rgba(229, 169, 59, 0.2);
  padding-left: 16px;
}
.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  background: linear-gradient(135deg, #FFF, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Settings visualization */
.settings-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.settings-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.settings-card-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.8px;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}
.setting-row:last-child {
  border-bottom: none;
}
.setting-name {
  font-size: 13px;
  color: var(--text-secondary);
}
.setting-val {
  font-size: 12px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 6px;
}

.toggle-switch {
  width: 36px;
  height: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: var(--transition-fast);
}
.toggle-switch.active {
  background: var(--accent-gold);
}
.toggle-switch.active::after {
  left: 18px;
}

/* --- 5. Step By Step Section --- */
.steps-section {
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(220px, auto);
}

.bento-item {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-apple);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bento-item:hover {
  border-color: var(--border-glow-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(229, 169, 59, 0.06);
}

.card-large {
  grid-column: span 2;
}
.card-medium {
  grid-column: span 1;
}

.bento-num {
  position: absolute;
  top: 10px;
  right: 15px;
  bottom: 10px;
  font-size: 110px;
  font-weight: 700;
  color: var(--accent-gold);
  opacity: 0.08;
  line-height: 1;
  display: flex;
  align-items: center;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.bento-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.bento-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* Bento Visual Placeholders */
.bento-visual-placeholder {
  margin-top: auto;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Hotkey Viz */
.hotkey-viz {
  gap: 8px;
}
.key-cap {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.key-cap.spacebar {
  width: 140px;
  text-align: center;
}
.key-plus {
  color: var(--text-tertiary);
  font-weight: 700;
}

/* Wave Viz */
.wave-viz {
  gap: 6px;
}
.wave-line {
  width: 4px;
  height: 24px;
  background: var(--accent-gold);
  border-radius: 2px;
  animation: wave-pulse 1.2s infinite ease-in-out;
}
.wave-line:nth-child(1) { height: 16px; animation-delay: 0.1s; }
.wave-line:nth-child(2) { height: 38px; animation-delay: 0.3s; }
.wave-line:nth-child(3) { height: 28px; animation-delay: 0.2s; }
.wave-line:nth-child(4) { height: 12px; animation-delay: 0.4s; }

@keyframes wave-pulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.4); }
}

/* Paste Viz */
.paste-viz {
  gap: 10px;
}
.paste-icon {
  color: var(--accent-gold);
}
.paste-done-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Tray Viz */
.tray-viz {
  justify-content: flex-end;
  padding-right: 16px;
}
.tray-bar {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-tertiary);
}
.tray-icon {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 0 5px var(--accent-gold));
}

/* --- 6. Connect Section --- */
.connect-section {
  background: #000000;
  position: relative;
}

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

.connect-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-apple);
}
.connect-card:hover {
  border-color: var(--border-glow-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 169, 59, 0.05);
}

.connect-icon-wrapper {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.connect-svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent-gold);
  color: var(--accent-gold);
  fill: none;
  stroke-width: 1.5;
  transition: var(--transition-fast);
}

.connect-card:hover .connect-svg {
  transform: scale(1.08);
  stroke: var(--accent-gold-hover);
  color: var(--accent-gold-hover);
  filter: drop-shadow(0 0 10px rgba(229, 169, 59, 0.5));
}

/* PNG icons for connect section */
.connect-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: var(--transition-fast);
  filter: drop-shadow(0 0 6px rgba(229, 169, 59, 0.15));
}
.connect-card:hover .connect-img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(229, 169, 59, 0.5));
}

.connect-app-name {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.connect-app-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* --- 7. Testimonials Section --- */
.testimonials-section {
  position: relative;
}

.testimonial-slider-wrapper {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  min-height: 180px;
  position: relative;
}

.testimonial-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 30px;
  font-weight: 400;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  background: rgba(229, 169, 59, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.author-name {
  font-size: 14.5px;
  font-weight: 700;
}
.author-role {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
}

.slider-arrow-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-arrow-btn:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  background: rgba(229, 169, 59, 0.05);
}

.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-dot.active {
  background: var(--accent-gold);
  width: 20px;
  border-radius: 4px;
}

/* --- 8. FAQ Section --- */
.faq-section {
  background: #000000;
  position: relative;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-item:hover {
  border-color: rgba(229, 169, 59, 0.25);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.faq-icon-arrow {
  font-size: 18px;
  color: var(--text-tertiary);
  transition: var(--transition-fast);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(45deg);
  color: var(--accent-gold);
}

/* --- 9. Pricing Section --- */
.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-apple);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-glow-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(229, 169, 59, 0.06);
}

.pricing-card.card-featured {
  border-color: var(--accent-gold);
  background: radial-gradient(circle at top right, rgba(229, 169, 59, 0.05) 0%, var(--bg-dark-card) 60%);
  box-shadow: 0 15px 35px rgba(229, 169, 59, 0.08);
}
.pricing-card.card-featured:hover {
  border-color: var(--accent-gold-hover);
  box-shadow: 0 20px 50px rgba(229, 169, 59, 0.15);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-gold);
  color: #000;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.price-header {
  margin-bottom: 32px;
}
.price-header h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.price-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
}
.price-period {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.price-discount {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

.price-description {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.price-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-features li {
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 24px;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold-hover);
  font-weight: 700;
}

.pricing-action-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.pricing-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-premium {
  background: var(--accent-gold);
  border: none;
  color: #000;
  box-shadow: 0 4px 15px rgba(229, 169, 59, 0.2);
}
.btn-premium:hover {
  background: var(--accent-gold-hover);
  box-shadow: 0 6px 20px rgba(229, 169, 59, 0.3);
}

/* --- 10. Ideas & Innovation Section --- */
.ideas-section {
  background: #000000;
  position: relative;
}

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

.idea-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-apple);
}
.idea-card:hover {
  border-color: var(--border-glow-hover);
  transform: translateY(-3px);
}

.idea-img-wrapper {
  height: 180px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.idea-img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.idea-card:hover .idea-img-placeholder {
  transform: scale(1.05);
}

/* Procedural geometric patterns for placeholders (gold gradients) */
.design-1 {
  background: linear-gradient(135deg, rgba(229, 169, 59, 0.3) 0%, rgba(229, 169, 59, 0.05) 100%);
}
.design-2 {
  background: linear-gradient(135deg, rgba(229, 169, 59, 0.25) 0%, rgba(229, 169, 59, 0.08) 100%);
}
.design-3 {
  background: linear-gradient(135deg, rgba(229, 169, 59, 0.2) 0%, rgba(229, 169, 59, 0.03) 100%);
}

.idea-info {
  padding: 24px;
}
.idea-date {
  font-size: 11px;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 12px;
}
.idea-info h4 {
  font-size: 15.5px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.idea-info p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* --- 11. Be The First To Know Section --- */
.contacts-section {
  position: relative;
}

.contacts-card-wrapper {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 56px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-apple);
}
.contacts-card-wrapper:hover {
  border-color: var(--border-glow-hover);
}

.contacts-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.contacts-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.contacts-content p {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}
.tg-bot-link {
  color: var(--accent-gold-hover);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}
.tg-bot-link:hover {
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(229, 169, 59, 0.3);
}

.contacts-form {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.contacts-form input, .contacts-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 13.5px;
  transition: var(--transition-fast);
}

.contacts-form input:focus, .contacts-form textarea:focus {
  border-color: var(--accent-gold);
  outline: none;
  box-shadow: 0 0 15px rgba(229, 169, 59, 0.12);
  background: rgba(0, 0, 0, 0.55);
}

.contacts-form textarea {
  resize: vertical;
}

.submit-btn {
  background: var(--accent-gold);
  color: #000;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(229, 169, 59, 0.2);
}
.submit-btn:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-1px);
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner Loader */
.btn-loader {
  border: 2.5px solid rgba(0, 0, 0, 0.2);
  border-top: 2.5px solid #000;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-success-msg {
  margin-top: 20px;
  padding: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  color: var(--accent-green);
  font-size: 13.5px;
  font-weight: 600;
}
.form-error-msg {
  margin-top: 20px;
  padding: 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  color: var(--accent-red);
  font-size: 13.5px;
  font-weight: 600;
}

/* --- Footer --- */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #000000;
  padding: 48px 0;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.footer-logo-img {
  width: 24px;
  height: 24px;
}
.footer-copy {
  font-size: 11.5px;
  color: var(--text-tertiary);
}

.footer-right {
  display: flex;
  gap: 24px;
}
.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12.5px;
  transition: var(--transition-fast);
}
.footer-link:hover {
  color: var(--text-primary);
}

/* --- Modal for Privacy --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}
.modal-content {
  background-color: #080705;
  border: 1px solid var(--border-glow);
  margin: 10% auto;
  padding: 32px;
  border-radius: 20px;
  width: 80%;
  max-width: 700px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  animation: modal-anim 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-anim {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
}
.modal-header h3 {
  font-size: 18px;
}
.close-modal {
  color: var(--text-secondary);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}
.close-modal:hover {
  color: var(--text-primary);
}
.modal-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-height: 400px;
  overflow-y: auto;
}
.modal-body h4 {
  color: var(--text-primary);
  margin: 18px 0 8px 0;
}
.modal-body p {
  margin-bottom: 12px;
}

/* --- Reveal on Scroll --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  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 Adaptability --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 38px;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-large {
    grid-column: span 2;
  }
  .superpowers-grid, .connect-grid, .pricing-grid, .ideas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 16px;
  }
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 13.5px;
  }
  .preview-widget {
    grid-template-columns: 1fr;
  }
  .widget-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
  }
  .style-options {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .potential-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .card-large, .card-medium {
    grid-column: span 1;
  }
  .superpowers-grid, .connect-grid, .pricing-grid, .ideas-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
  }
  .contacts-card-wrapper {
    padding: 32px;
  }
}

/* --- Purchase Modal Styles --- */
.purchase-modal-content {
  max-width: 500px;
}
.purchase-info-box {
  background: rgba(229, 169, 59, 0.05);
  border: 1px solid rgba(229, 169, 59, 0.15);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.purchase-tariff-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}
.purchase-tariff-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold);
}
.purchase-tariff-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrainsMono-Bold', monospace;
}
.purchase-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group-email {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group-email label {
  font-size: 13px;
  color: var(--text-secondary);
}
.purchase-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition-fast);
}
.purchase-input:focus {
  border-color: var(--accent-gold);
  outline: none;
  box-shadow: 0 0 12px rgba(229, 169, 59, 0.15);
}
.purchase-btn {
  width: 100%;
  margin-top: 8px;
}
