:root {
  --primary: #10B981; /* Professional Emerald Green */
  --primary-hover: #059669;
  --bg: #0F172A; /* Slate dark background */
  --bg-light: #1E293B;
  --glass: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #F8FAFC;
  --text-muted: #94A3B8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, .logo-text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.accent-text {
  color: var(--primary);
}

/* Backgrounds */
#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  opacity: 0.5;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  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;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  /* Removed glow for cleaner render */
}

.logo-text {
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background: var(--glass);
  color: #fff;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--bg-light);
  transform: translateY(-1px);
}

/* Sections */
main {
  padding-top: 100px;
}

/* Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-content {
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 3rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--glass-border);
  padding-top: 3rem;
}

.stat-val {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.05em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Interactive Demo / Mockup */
.demo-section {
  padding: 6rem 2rem;
  background: linear-gradient(to bottom, #0F172A, #1E293B);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-container {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.1rem;
}

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  height: 650px;
  background: #000;
  border-radius: 45px;
  border: 4px solid #334155;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  z-index: 10;
  transform: translateY(0);
  animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

.phone-screen {
  position: absolute;
  inset: 0 0 0 0;
  border-radius: 40px;
  overflow: hidden;
  background: var(--bg);
}

.trailer-iframe {
  width: 100%;
  height: 100%;
  border: none;
  transform: scale(0.65);
  transform-origin: top left;
  width: 153.8%;
  height: 153.8%;
  pointer-events: none;
}

.floating-panel {
  position: absolute;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 1.5rem;
  z-index: 5;
  color: var(--text);
}

.panel-left {
  top: 20%;
  left: 0;
  transform: translateX(40px);
}

.panel-right {
  bottom: 20%;
  right: 0;
  transform: translateX(-40px);
}

.panel-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Features Bento Grid */
.features {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.bento-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.2s, background 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-4px);
  background: rgba(30, 41, 59, 0.9);
}

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

.card-wide {
  grid-column: span 3;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.card-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card-content p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Requirements */
.requirements {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.req-box {
  background: var(--bg-light);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
  max-width: 800px;
  width: 100%;
}

.req-list {
  list-style: none;
}

.req-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.req-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.list-icon {
  color: var(--primary);
  flex-shrink: 0;
  display: inline-flex;
}

/* Base Formats inside text pages */
.text-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}
.text-content h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.faq-section {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.faq-item h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Footer / CTA */
.cta-footer {
  padding: 6rem 2rem;
  background: var(--bg-light);
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

.footer-links a:hover {
  color: #fff;
}

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

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpAnim 0.6s forwards ease-out;
}

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* Responsive */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .card-large, .card-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hero-stats {
    gap: 2.5rem;
  }
  .panel-left, .panel-right {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav {
    display: none;
  }
  .header-container {
    justify-content: center;
  }
}
