/* Tocky Landing Page Stylesheet - Premium Google Antigravity developer aesthetic */

/* Opt-in to Cross-Document View Transitions */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

/* Custom CSS Properties support for Border Beam effect */
@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Design Tokens & Theme Variables matching antigravity.google */
:root {
  --bg: #000000;
  --bg-surface: #0C0C0C;
  --bg-container: #16161A;
  --card-bg: #0C0C0C;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: #FFFFFF;
  
  --text-primary: #FFFFFF;
  --text-secondary: #A0A5B5;
  --text-muted: #555B66;
  
  --accent-blue: #FFFFFF;
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Google Sans Flex', 'Outfit', sans-serif;
  
  --transition-tactile: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basic Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Cybernetic Grid Overlay */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -2;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Utilities */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Header */
.glass-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  height: 72px;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.glass-nav.scrolled {
  background: rgba(12, 12, 12, 0.95);
  box-shadow: 0 8px 30px rgba(33, 34, 38, 0.03);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

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

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: var(--transition-smooth);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

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

.nav-dot {
  opacity: 0.2;
}

/* Buttons Styling - Tactile Scale */
.btn-connect {
  background: var(--text-primary);
  color: var(--bg);
  border-radius: 6px;
  padding: 0 20px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-tactile);
  border: 1px solid var(--text-primary);
}

.btn-connect:hover {
  background: transparent;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(33, 34, 38, 0.05);
}

.btn-connect:active {
  transform: scale(0.95);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s ease;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(12, 12, 12, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  width: 100%;
  text-align: center;
  padding: 12px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 140px 0 100px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -1.5px;
}

.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.active .hero-title span.stagger-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.hero-content.active .hero-title span.stagger-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.hero-content.active .hero-title span.stagger-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Typewriter container */
.typewriter-container {
  margin-bottom: 40px;
  min-height: 1.5em;
}

.typewriter-text {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

.hero-pill {
  height: 48px;
  min-width: 160px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-tactile);
  border: 1px solid transparent;
}

.hero-pill:active {
  transform: scale(0.95);
}

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

.primary-pill:hover {
  background: transparent;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.ghost-pill {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.ghost-pill:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* Hero Right Column */
.hero-right-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Hero Right: Tactile Logo Container */
.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Large Logo and Terminal cards getconic-gradient border sweep */
.large-logo-container {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(33, 34, 38, 0.03);
  position: relative;
  transition: var(--transition-smooth);
  
  background-image: linear-gradient(var(--bg-surface), var(--bg-surface)), 
                    conic-gradient(from var(--border-angle), transparent 30%, var(--border-subtle) 50%, var(--accent-blue) 80%, var(--border-subtle) 95%, transparent 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.large-logo-container::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: 0 0 60px rgba(50, 121, 249, 0.15);
  border-radius: inherit;
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.4; }
  100% { transform: scale(1.05); opacity: 0.8; }
}

.large-logo-container:hover {
  animation: border-beam 2s linear infinite;
  box-shadow: 0 16px 40px rgba(33, 34, 38, 0.06);
}

.large-brand-logo {
  width: 90px;
  height: 90px;
  filter: brightness(0) invert(1) opacity(0.85); 
  transform-origin: 50% 10%;
  animation: pendulumSwing 4s ease-in-out infinite alternate;
}

@keyframes pendulumSwing {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

/* --- High-Fidelity Agent Terminal Monitor Block --- */
.terminal-card {
  width: 100%;
  max-width: 320px;
  background: #0c0d12;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  overflow: hidden;
  text-align: left;
  transition: var(--transition-smooth);
  
  background-image: linear-gradient(#0c0d12, #0c0d12), 
                    conic-gradient(from var(--border-angle), transparent 30%, rgba(255,255,255,0.04) 50%, var(--accent-blue) 80%, rgba(255,255,255,0.04) 95%, transparent 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.terminal-card:hover {
  animation: border-beam 2s linear infinite;
}

.terminal-header {
  background: #14161f;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

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

.terminal-dots .dot.red { background: #ff5f56; }
.terminal-dots .dot.yellow { background: #ffbd2e; }
.terminal-dots .dot.green { background: #27c93f; }

.terminal-title {
  color: #7d8296;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.terminal-body {
  padding: 16px;
  height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #abb2bf;
}

.terminal-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-line .cmd {
  color: #528bff;
  font-weight: bold;
}

.terminal-line.success {
  color: #98c379;
}

.terminal-line.active {
  color: #61afef;
  font-weight: 500;
}

.terminal-line.warn {
  color: #e5c07b;
}

.terminal-line.err {
  color: #e06c75;
  font-weight: bold;
}

/* Mouse cursor spotlights on cards */
.feature-card, .terminal-card {
  position: relative;
}

.feature-card::after, .terminal-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle 120px at var(--x, 0) var(--y, 0), rgba(50, 121, 249, 0.06), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.feature-card:hover::after, .terminal-card:hover::after {
  opacity: 1;
}

/* Ensure contents stay clickable and above the pseudo border beam */
.feature-card > *, .terminal-card > *, .large-logo-container > *, .glass-form-panel > * {
  position: relative;
  z-index: 2;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
}

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

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

/* B&W Panels with laser border beam */
.feature-card {
  background: var(--card-bg);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: 0 4px 15px rgba(33, 34, 38, 0.02);
  transition: var(--transition-smooth);
  
  background-image: linear-gradient(var(--card-bg), var(--card-bg)), 
                    conic-gradient(from var(--border-angle), transparent 30%, var(--border-subtle) 50%, var(--accent-blue) 80%, var(--border-subtle) 95%, transparent 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.feature-card:hover {
  animation: border-beam 2.5s linear infinite;
  box-shadow: 0 8px 30px rgba(32, 121, 249, 0.05); /* Very soft blue hover glow */
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

.feature-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* Support Section */
.support-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
}

.support-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.text-left {
  text-align: left;
}

.support-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 40px;
}

.support-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.support-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.contact-icon {
  color: var(--text-secondary);
}

.support-detail-item a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* Form Panel with laser border beam */
.glass-form-panel {
  background: var(--card-bg);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(33, 34, 38, 0.02);
  transition: var(--transition-smooth);
  
  background-image: linear-gradient(var(--card-bg), var(--card-bg)), 
                    conic-gradient(from var(--border-angle), transparent 30%, var(--border-subtle) 50%, var(--accent-blue) 80%, var(--border-subtle) 95%, transparent 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.glass-form-panel:hover {
  animation: border-beam 3s linear infinite;
  box-shadow: 0 8px 30px rgba(33, 34, 38, 0.05);
}

.form-title {
  font-size: 1.45rem;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
  outline: none;
}

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

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

.form-textarea {
  resize: vertical;
}

/* Error/validation states */
.form-input.invalid {
  border-color: #ff453a;
  background: rgba(255, 69, 58, 0.02);
}

.error-msg {
  color: #ff453a;
  font-size: 0.75rem;
  margin-top: 6px;
  display: none;
}

.form-input.invalid + .error-msg {
  display: block;
}

/* Footer Section */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: inline-block;
}

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

.footer-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* Dedicated Legal Layouts */
.legal-page-body {
  background-color: var(--bg-surface);
}

.legal-page {
  padding: 120px 0 100px 0;
}

.legal-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
  background: var(--bg);
  padding: 60px 8%;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 20px 60px rgba(33, 34, 38, 0.03);
  position: relative;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  z-index: 10;
}

.legal-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-bottom: 24px;
}

.legal-divider {
  border: none;
  height: 1px;
  background-color: var(--border-subtle);
  margin-bottom: 40px;
}

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

.legal-body h3 {
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.legal-body p {
  margin-bottom: 20px;
}

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

.legal-body li {
  margin-bottom: 8px;
}

/* Success dialog / overlay styling */
dialog {
  margin: auto;
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  box-shadow: 0 20px 80px rgba(33, 34, 38, 0.08);
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  color: var(--text-primary);
  outline: none;
  overflow: hidden;
  
  opacity: 0;
  transform: scale(0.92);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-behavior: allow-discrete;
}

dialog[open] {
  opacity: 1;
  transform: scale(1);

  @starting-style {
    opacity: 0;
    transform: scale(0.92);
  }
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0);
  transition:
    display 0.3s allow-discrete,
    overlay 0.3s allow-discrete,
    background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

dialog[open]::backdrop {
  background-color: rgba(33, 34, 38, 0.3);
  backdrop-filter: blur(8px);

  @starting-style {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
}

.dialog-content {
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.dialog-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.text-center {
  text-align: center;
}

/* Scroll Animations: Fade In & Slide Up */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(33, 34, 38, 0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(33, 34, 38, 0.3);
}

/* View Transitions API Customizations */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: 0.25s cubic-bezier(0.16, 1, 0.3, 1) both fade-out;
  }
  ::view-transition-new(root) {
    animation: 0.35s cubic-bezier(0.16, 1, 0.3, 1) both slide-in-up;
  }
}

@keyframes fade-out {
  to { opacity: 0; }
}

@keyframes slide-in-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .support-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .text-left {
    text-align: center;
  }
  
  .support-details {
    align-items: center;
  }
  
  .glass-nav {
    padding: 0 24px;
  }
  
  .hero-right-column {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .footer-right {
    flex-direction: column;
    gap: 16px;
  }
}

/* Stepper Panel Styling (iPhone/App Store explanation guide) */
.stepper-panel {
  width: 100%;
  max-width: 440px;
  background: var(--card-bg);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(33, 34, 38, 0.02);
  transition: var(--transition-smooth);
  text-align: left;
  position: relative;
  
  background-image: linear-gradient(var(--card-bg), var(--card-bg)), 
                    conic-gradient(from var(--border-angle), transparent 30%, var(--border-subtle) 50%, var(--accent-blue) 80%, var(--border-subtle) 95%, transparent 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.stepper-panel:hover {
  animation: border-beam 2.5s linear infinite;
  box-shadow: 0 16px 40px rgba(33, 121, 249, 0.05);
}

.stepper-panel .panel-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.stepper-panel .panel-title {
  font-size: 1.45rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-item:first-of-type {
  padding-top: 0;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-blue);
  opacity: 0.8;
}

.step-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.step-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Reviews & Time Reclaim Calculator Section (Monochrome Dark Theme) */
.reviews-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg);
  color: var(--text-primary);
}

.reviews-section .section-title,
.reviews-section .panel-title {
  color: var(--text-primary);
}

.reviews-section .panel-eyebrow {
  color: var(--text-muted);
}

.reviews-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .reviews-grid-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.reclaim-calculator-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.reclaim-calculator-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 4px 40px rgba(255, 255, 255, 0.08);
}

.calculator-intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.slider-wrapper {
  margin-bottom: 40px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

#slider-val-display {
  color: var(--accent-blue);
  font-size: 1rem;
  font-weight: 700;
}

.reclaim-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--border-subtle);
  outline: none;
  transition: opacity .2s;
}

.reclaim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid var(--border-active);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.1s;
}

.reclaim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.reclaim-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000000;
  border: 2px solid var(--border-active);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: transform 0.1s;
}

.calc-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.calc-stat-item .stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.glowing-red {
  color: #e62233 !important;
  text-shadow: 0 0 10px rgba(230, 34, 51, 0.15);
}

.calc-potential-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 20px;
  margin-top: 10px;
}

.potential-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.potential-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Reviews Cards Stack */
.reviews-container-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-item-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.review-item-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.review-stars {
  color: #ffbb00;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* FAQ Accordion Section using Native HTML5 details/summary */
.faq-section {
  padding: 120px 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-accordion-item[open] {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 30px rgba(50, 121, 249, 0.03);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  outline: none;
  transition: var(--transition-smooth);
}

/* Remove default summary triangles */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--text-secondary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

