/* ==========================================================================
   Slide Remote landing page CSS
   Theme: Futuristic Slate, Glassmorphism, Neon Cyan & Indigo Accents
   ========================================================================== */

:root {
  --bg-dark: #050814;
  --bg-surface: #0a0f24;
  --bg-card: rgba(15, 23, 42, 0.55);
  --bg-card-hover: rgba(30, 41, 59, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  
  --primary: #f97316; /* Orange */
  --primary-rgb: 249, 115, 22;
  --primary-hover: #ea580c;
  --accent: #eab308; /* Yellow */
  --accent-rgb: 234, 179, 8;
  --accent-hover: #ca8a04;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --danger: #ef4444;
  
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
  
  --shadow-glow-indigo: 0 0 20px rgba(var(--primary-rgb), 0.3);
  --shadow-glow-cyan: 0 0 20px rgba(var(--accent-rgb), 0.25);
  --shadow-device: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 20% 15%, rgba(var(--primary-rgb), 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(var(--accent-rgb), 0.12) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(5, 8, 20, 0.7), rgba(5, 8, 20, 0.95)),
    url('assets/bg.webp');
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px, cover, cover;
  background-position: center, center, 0 0, 0 0, center, center;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

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

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-rgb), 0.3);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-rgb), 0.5);
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #fef08a 0%, #f97316 50%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  color: var(--accent);
}

/* ==========================================================================
   Background Orbs (Glow Effects)
   ========================================================================== */

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(var(--primary-rgb),0) 70%);
  top: -10%;
  right: -5%;
  animation: float-slow 20s infinite ease-in-out alternate;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent) 0%, rgba(var(--accent-rgb),0) 70%);
  top: 40%;
  left: -10%;
  animation: float-slow 25s infinite ease-in-out alternate-reverse;
}

.orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(var(--primary-rgb),0) 70%);
  bottom: 5%;
  right: -10%;
  animation: float-slow 30s infinite ease-in-out alternate;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(-20px, -40px) scale(0.95); }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 8, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-title);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition-smooth);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--text-main);
  box-shadow: var(--shadow-glow-indigo);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.5);
}

.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.badge-container {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

/* App Badges CTA */
.cta-group {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 28px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-store-btn:not(.disabled):hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-indigo);
}

.store-icon {
  width: 28px;
  height: 28px;
  color: var(--text-main);
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-tagline {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-name {
  font-size: 18px;
  font-weight: 700;
}

/* Coming Soon Badge */
.android-btn {
  position: relative;
  opacity: 0.65;
  cursor: not-allowed;
  border-style: dashed;
}

.coming-soon-badge {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  font-weight: 600;
}

.compatibility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.comp-tag {
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-glass);
}

/* ==========================================================================
   Hero Visual / Interactive Presentation Simulator
   ========================================================================== */

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

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding-bottom: 60px;
}

/* Projector Screen */
.projector-mockup {
  width: 100%;
  background: var(--bg-surface);
  border: 4px solid #1e293b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-device);
  position: relative;
}

.screen-header {
  background: #1e293b;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

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

.screen-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.screen-title {
  font-family: var(--font-title);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.screen-badge {
  background: rgba(var(--primary-rgb), 0.2);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.screen-content {
  height: 220px;
  position: relative;
  background: #070b19;
  overflow: hidden;
}

.screen-content.blackout .slide,
.screen-content.show-ended .slide {
  opacity: 0 !important;
  visibility: hidden !important;
}

.screen-content.blackout::after {
  content: 'BLACK SCREEN ACTIVE';
  position: absolute;
  inset: 0;
  background: #000000;
  color: #475569;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: fade-in-blackout 0.25s ease-out;
}

.screen-content.show-ended::after {
  content: 'PRESENTATION ENDED';
  position: absolute;
  inset: 0;
  background: #070b19;
  color: #f97316;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  animation: fade-in-blackout 0.25s ease-out;
}

@keyframes fade-in-blackout {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.slide.active-slide {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slide-inner {
  text-align: center;
  max-width: 320px;
}

.slide-tag {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}

.slide-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* Graphics inside Simulator */
.slide-graphic {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 16px auto 0;
}

.circle-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-ring 2s infinite linear;
}

.circle-core {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.slide-graphic-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 11px;
}

.grid-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 6px;
}

.grid-line {
  color: var(--accent);
  letter-spacing: 2px;
  animation: flow-connect 1.5s infinite linear;
}

@keyframes flow-connect {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.platform-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 20px;
}

.features-bars {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
}

.bar-fill {
  background: rgba(255,255,255,0.06);
  padding: 4px 8px;
  border-radius: 4px;
  text-align: left;
  border-left: 3px solid #475569;
}

.bar-fill.active {
  border-left-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.screen-footer {
  background: #1e293b;
  padding: 8px 16px;
}

.presentation-controls-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}

.progress-bar-container {
  flex-grow: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 16px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}

/* Phone Mockup overlay */
.phone-mockup {
  position: absolute;
  bottom: 0;
  right: -10px;
  width: 200px;
  height: 380px;
  background: #0f172a;
  border: 6px solid #334155;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  z-index: 10;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 14px;
  background: #334155;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #050814;
  padding: 18px 10px 10px;
  display: flex;
  flex-direction: column;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
  padding: 0 4px;
}

.phone-header-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-main);
}

.phone-icon-item {
  opacity: 0.85;
}

.phone-app-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.phone-app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 2px;
}

.phone-app-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 11px;
  color: #ffffff;
}

.phone-settings-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.phone-settings-btn:hover {
  color: #ffffff;
}

.phone-connection-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 6px;
  padding: 6px 4px;
  color: #10b981;
  font-size: 8px;
  font-weight: 600;
  margin-bottom: 12px;
}

.phone-utility-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.phone-util-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 4px;
  color: #e2e8f0;
  font-size: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.phone-util-btn svg {
  color: #f97316;
}

.phone-util-btn:hover {
  background: #273549;
  border-color: rgba(255, 255, 255, 0.15);
}

.phone-util-btn.active {
  background: rgba(249, 115, 22, 0.1);
  border-color: #f97316;
  color: #f97316;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.2);
}

.phone-nav-blocks {
  flex-grow: 1;
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.phone-nav-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.phone-nav-prev {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.phone-nav-prev svg {
  color: #ffffff;
}

.phone-nav-prev:hover {
  background: #2d3d54;
  transform: translateY(-2px);
}

.phone-nav-prev:active {
  transform: translateY(0) scale(0.96);
}

.phone-nav-next {
  background: #f97316;
  border: none;
  color: #000000;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.phone-nav-next svg {
  color: #000000;
}

.phone-nav-next:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.35);
}

.phone-nav-next:active {
  transform: translateY(0) scale(0.96);
}

.nav-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.visual-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  font-style: italic;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
  padding: 100px 0;
  position: relative;
  background: rgba(10, 15, 36, 0.4);
  border-y: 1px solid var(--border-glass);
}

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

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

.section-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--accent-rgb), 0.15) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

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

.feature-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
  padding: 100px 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  position: relative;
}

.step-card {
  position: relative;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 40px 32px;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.55);
}

.step-num {
  font-family: var(--font-title);
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.3) 0%, rgba(var(--primary-rgb),0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-muted);
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px dashed var(--accent);
}

.text-link:hover {
  color: var(--accent-hover);
  border-bottom-style: solid;
}

/* ==========================================================================
   Call To Action (CTA) Box
   ========================================================================== */

.download-cta {
  padding: 80px 0 120px;
}

.cta-card {
  background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.15), transparent 60%), 
              radial-gradient(circle at bottom left, rgba(var(--accent-rgb), 0.12), transparent 50%),
              rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cta-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.cta-title {
  font-size: 42px;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #02040a;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

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

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

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

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

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

.disabled-link:hover {
  color: var(--text-muted);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.attribution {
  font-size: 13px;
  color: var(--text-muted);
}

.conversantech-link {
  color: var(--text-main);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
}

.conversantech-link:hover {
  color: var(--accent);
  border-color: var(--primary);
}

/* ==========================================================================
   Modals Configuration
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2, 4, 10, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

/* Text Modals (Privacy & Terms) */
.text-modal-container {
  max-width: 700px;
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.modal-close {
  font-size: 28px;
  color: var(--text-muted);
  transition: var(--transition-fast);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-main);
  transform: scale(1.1);
}

.text-modal-body {
  padding: 32px;
  overflow-y: auto;
}

.text-modal-body h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.text-modal-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.6;
}

.text-modal-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

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

.last-updated {
  font-size: 12px !important;
  color: var(--accent) !important;
  font-weight: 600;
  margin-bottom: 24px !important;
}

/* Conversantech Iframe Modal (Simulated Mac Browser) */
.iframe-modal-container {
  max-width: 1080px;
  height: 80vh;
  overflow: hidden;
  background: #0d1222;
}

.modal-chrome {
  background: #181f38;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
}

.chrome-address-bar {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
}

.chrome-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chrome-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.chrome-dots .dot.close {
  background: var(--danger);
  cursor: pointer;
}

.chrome-dots .dot.close:hover {
  filter: brightness(0.8);
}

.chrome-dots .dot.minimize {
  background: #eab308;
}

.chrome-dots .dot.maximize {
  background: var(--success);
}

.chrome-url-field {
  background: rgba(5, 8, 20, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.chrome-btn-external {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.chrome-btn-external:hover {
  color: var(--text-main);
}

.iframe-wrapper {
  flex-grow: 1;
  position: relative;
  background: #fff;
  height: calc(100% - 50px);
}

#conversantech-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
  display: block;
}

.iframe-loader {
  position: absolute;
  inset: 0;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.iframe-loader.hidden {
  opacity: 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(var(--primary-rgb), 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

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

/* ==========================================================================
   Responsive Design & Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    margin: 0 auto 32px;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .compatibility-tags {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 16px;
    justify-content: space-between;
  }
  
  .logo {
    font-size: 18px;
    gap: 8px;
  }
  
  .logo-icon {
    width: 24px;
    height: 24px;
  }

  .nav-links {
    display: none;
  }

  .btn-nav {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .btn-nav svg {
    display: none;
  }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-visual {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .cta-title {
    font-size: 28px;
  }
  
  .cta-card {
    padding: 32px 16px;
  }
  
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
  
  .modal-container {
    max-height: 95vh;
  }
  
  .text-modal-body {
    padding: 20px;
  }
  
  .iframe-modal-container {
    height: 90vh;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .app-store-btn {
    justify-content: center;
  }
  
  .visual-wrapper {
    max-width: 100%;
  }
  
  .phone-mockup {
    display: none; /* Hide phone overlay on extremely small screens to maintain layout integrity */
  }
}
