@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #06060a;
  --bg-secondary: #0c0c13;
  --bg-card: rgba(18, 18, 28, 0.5);
  --accent-cyan: #00f0ff;
  --accent-purple: #7b2cbf;
  --accent-cyan-rgb: 0, 240, 255;
  --accent-purple-rgb: 123, 44, 191;
  --text-primary: #f2f2f7;
  --text-secondary: #9a9ab0;
  --text-muted: #5c5c76;
  --border-color: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(0, 240, 255, 0.1);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --card-radius: 20px;
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(123, 44, 191, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.07) 0%, transparent 40%);
  background-attachment: fixed;
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
}

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

/* Glow Background Orbs */
.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(150px);
  z-index: 0;
  opacity: 0.5;
}

.orb-purple {
  background: radial-gradient(circle, rgba(123, 44, 191, 0.25) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.orb-cyan {
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, transparent 70%);
  top: 40%;
  right: -100px;
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 6, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(5, 5, 8, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-primary);
  position: relative;
}

.logo-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.logo:hover .logo-symbol {
  transform: rotate(30deg) scale(1.08);
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.45));
}

.logo-text span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

nav ul li a:hover {
  color: var(--text-primary);
}

nav ul li a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
}

.btn-qr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.btn-qr::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: 0.5s;
}

.btn-qr:hover::before {
  left: 100%;
}

.btn-qr:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 24px;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-subtitle-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-purple);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-purple);
}

.hero-subtitle-top {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--accent-cyan);
}

.hero-title {
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: revealWord 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) { animation-delay: 0.25s; }
.hero-title .word:nth-child(3) { animation-delay: 0.4s; }
.hero-title .word:nth-child(4) { animation-delay: 0.55s; }

.word-e { background: linear-gradient(135deg, #fff 40%, var(--accent-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.word-a { background: linear-gradient(135deg, #fff 40%, var(--accent-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.word-s { background: linear-gradient(135deg, #fff 40%, var(--accent-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.word-h { background: linear-gradient(135deg, #fff 40%, var(--accent-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-desc {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #571da1);
  color: var(--text-primary);
  border: 1px solid rgba(123, 44, 191, 0.5);
  box-shadow: 0 4px 20px rgba(123, 44, 191, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(123, 44, 191, 0.6), 0 0 15px rgba(0, 240, 255, 0.2);
  border-color: var(--accent-cyan);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 24px;
}

/* Bento Cards base */
.bento-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  z-index: 1;
}

/* Dynamic glow effect setup */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--card-radius);
  background: radial-gradient(
    400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(255, 255, 255, 0.05),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  pointer-events: none;
}

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

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 240, 255, 0.05);
}

/* Specific Bento Grid Areas */
.col-span-2 {
  grid-column: span 2;
}

.row-span-2 {
  grid-row: span 2;
}

/* Bento Content Internals */
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-icon {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.bento-purple:hover .bento-icon {
  background: rgba(123, 44, 191, 0.15);
  color: #a352ff;
  border-color: rgba(123, 44, 191, 0.4);
  box-shadow: 0 0 15px rgba(123, 44, 191, 0.2);
}

.bento-card-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bento-card-info p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.bento-preview {
  margin-top: 24px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  height: 140px;
}

/* Mobile OS Mockup Widget */
.mockup-os {
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 90%;
  border-radius: 8px 8px 0 0;
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.mockup-os-header {
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10px;
  color: var(--text-muted);
}

.mockup-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.mockup-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

.mockup-dot.active {
  background: var(--accent-cyan);
}

.mockup-os-body {
  flex: 1;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mockup-os-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mockup-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
}

.mockup-label {
  font-size: 8px;
  color: var(--text-secondary);
}

/* Gaming HUD Teaser */
.mockup-hud {
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at center, rgba(123, 44, 191, 0.15) 0%, transparent 80%);
}

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

.hud-badge {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.hud-fps {
  font-size: 10px;
  color: #4cd964;
  font-weight: 700;
}

.hud-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hud-crosshair {
  width: 30px;
  height: 30px;
  border: 1px dashed rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  position: relative;
}

.hud-crosshair::before, .hud-crosshair::after {
  content: '';
  position: absolute;
  background: var(--accent-cyan);
}

.hud-crosshair::before {
  top: 50%;
  left: -5px;
  right: -5px;
  height: 1px;
}

.hud-crosshair::after {
  left: 50%;
  top: -5px;
  bottom: -5px;
  width: 1px;
}

.hud-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-secondary);
}

/* Stats Mockup Widget */
.mockup-stats {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.stat-value {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent-cyan);
}

.stat-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
}

/* VR Simulation Grid Card content */
.mockup-vr {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.vr-grid {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(123, 44, 191, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 44, 191, 0.05) 1px, transparent 1px);
  background-size: 15px 15px;
  transform: perspective(100px) rotateX(60deg);
  animation: gridMove 20s linear infinite;
}

.vr-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.vr-planet {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  top: 50%;
  left: -6px;
  transform: translateY(-50%);
  animation: orbitRotate 6s linear infinite;
  transform-origin: 36px center;
}

/* Ecosystem Stats widget */
.mockup-ecosystem {
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

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

.eco-val {
  font-size: clamp(24px, 3.5vw, 36px);
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eco-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Waitlist Section */
.waitlist-card {
  background: linear-gradient(135deg, rgba(18, 18, 28, 0.7) 0%, rgba(10, 10, 15, 0.7) 100%);
  border: 1px solid rgba(123, 44, 191, 0.2);
  border-radius: 24px;
  padding: 56px 40px;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(123, 44, 191, 0.05);
}

.waitlist-card::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.waitlist-desc {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 16px auto 32px auto;
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.form-group {
  flex: 1;
  position: relative;
}

.waitlist-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(6, 6, 10, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(123, 44, 191, 0.45);
  background: rgba(6, 6, 10, 0.6);
}

.waitlist-submit {
  border: none;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 0 32px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.25);
}

.waitlist-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(123, 44, 191, 0.5), 0 0 25px rgba(0, 240, 255, 0.35);
}

.waitlist-security {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 18px;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.form-message {
  margin-top: 16px;
  font-size: 13px;
  display: none;
  font-weight: 500;
}

.form-message.success {
  color: #4cd964;
  display: block;
}

.form-message.error {
  color: #ff3b30;
  display: block;
}

/* Success Card Animation overlay */
.waitlist-success-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  animation: fadeInUp 0.5s ease forwards;
}

.success-check-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(76, 217, 100, 0.1);
  border: 1px solid #4cd964;
  color: #4cd964;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 20px rgba(76, 217, 100, 0.2);
}

.waitlist-success-container h3 {
  font-size: 24px;
  font-weight: 700;
}

.waitlist-success-container p {
  color: var(--text-secondary);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 24px;
  width: 90%;
  max-width: 440px;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.05);
  text-align: center;
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Styled QR Code Mockup */
.qr-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto 32px auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.qr-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 18px;
  border: 2px solid var(--accent-cyan);
  clip-path: polygon(0 0, 20px 0, 20px 100%, 0 100%);
  pointer-events: none;
}

.qr-frame::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 18px;
  border: 2px solid var(--accent-cyan);
  clip-path: polygon(100% 0, calc(100% - 20px) 0, calc(100% - 20px) 100%, 100% 100%);
  pointer-events: none;
}

.qr-image-svg {
  width: 100%;
  height: 100%;
  color: #fff;
}

.qr-corner-glow {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  border-radius: 50%;
}

.qr-glow-1 { top: -5px; left: -5px; }
.qr-glow-2 { top: -5px; right: -5px; }
.qr-glow-3 { bottom: -5px; left: -5px; }
.qr-glow-4 { bottom: -5px; right: -5px; }

.modal-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.badge-store {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 11px;
  text-align: left;
  transition: var(--transition-smooth);
}

.badge-store:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.badge-icon {
  font-size: 20px;
  color: var(--text-secondary);
}

.badge-store:hover .badge-icon {
  color: #fff;
}

.badge-text span {
  display: block;
  font-size: 8px;
  color: var(--text-muted);
}

/* Footer Section */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  background: #040407;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 12px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealWord {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseCyan {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 300px;
  }
}

@keyframes orbitRotate {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Scroll reveal class setup */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  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 Breakpoints */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .col-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    z-index: 101;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(6, 6, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 99;
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .header-cta {
    display: none; /* Hide download button on tablet/mobile menu to clean up or display in menu */
  }
  
  nav.active ~ .header-cta {
    display: flex;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

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

  .col-span-2 {
    grid-column: span 1;
  }

  .row-span-2 {
    grid-row: span 1;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }

  .hero-ctas {
    flex-direction: column;
    padding: 0 20px;
  }

  .btn {
    width: 100%;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-submit {
    padding: 16px;
  }
  
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  /* Responsive for Yazılım Ekosistemi */
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-featured {
    padding: 32px !important;
  }

  .product-featured-body {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .product-details {
    align-items: center;
    text-align: center;
  }
}

/* --- Yazılım Ekosistemi Showcase --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.product-featured {
  grid-column: span 2;
  border-color: rgba(0, 240, 255, 0.2) !important;
  box-shadow: 0 4px 30px rgba(0, 240, 255, 0.03), inset 0 0 15px rgba(0, 240, 255, 0.02);
  padding: 48px !important;
}

.product-featured:hover {
  border-color: rgba(0, 240, 255, 0.4) !important;
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.08), 0 0 20px rgba(0, 240, 255, 0.05) !important;
}

.product-featured-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.product-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.product-badge-active {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

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

/* Google Play Store Glow Button */
.store-buttons-container {
  display: flex;
  gap: 16px;
}

.btn-googleplay-glow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 14px;
  color: var(--accent-cyan);
  font-family: var(--font-head);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.05);
}

.btn-googleplay-glow:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
}

.play-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.play-small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.play-large {
  font-size: 15px;
  font-weight: 700;
}

/* Phone Mockup Styling */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 210px;
  height: 380px;
  background: #000;
  border: 10px solid #1c1c24;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0, 240, 255, 0.1);
}

.phone-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #09090e;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 36px 20px 24px 20px;
}

.phone-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px 4px var(--accent-cyan);
  z-index: 10;
  animation: scanMove 3s ease-in-out infinite;
}

.phone-scanner-hud {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
  position: relative;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-cyan);
}

.scanner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.scanner-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.scanner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.scanner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.phone-qr-svg {
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.85);
}

.phone-scan-text {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.15em;
  animation: pulseScanText 1.5s infinite ease-in-out;
}

/* Coming Soon Cards Styling */
.product-coming-soon {
  background: rgba(18, 18, 28, 0.25) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.02) !important;
  opacity: 0.85;
  transition: opacity 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  padding: 40px !important;
  text-align: center;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.product-coming-soon:hover {
  opacity: 1;
  border-color: rgba(123, 44, 191, 0.3) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(123, 44, 191, 0.05) !important;
}

.coming-soon-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinner-glow {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(0, 240, 255, 0.1);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 2s linear infinite;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.purple-spin {
  border-color: rgba(123, 44, 191, 0.1);
  border-top-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(123, 44, 191, 0.15);
  color: var(--accent-purple);
}

.coming-soon-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.coming-soon-badge {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.04);
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.badge-purple {
  border-color: rgba(123, 44, 191, 0.25);
  background: rgba(123, 44, 191, 0.04);
  color: var(--accent-purple);
}

.coming-soon-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

/* Animations for new components */
@keyframes scanMove {
  0%, 100% { top: 0%; }
  50% { top: 100%; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseScanText {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
