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

:root {
  --bg-color: #0b0b0f;
  --bg-secondary: #121218;
  --surface-color: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-primary: #FF8C00;
  --accent-secondary: #FF5722;
  --gradient-text: linear-gradient(135deg, #FDE047 0%, #FF8C00 50%, #FF5722 100%);
  --gradient-bg: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 87, 34, 0.15) 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Outfit', sans-serif;
}

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

/* Typography & Utilities */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-darker {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 0;
  z-index: 100;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-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.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--text-secondary);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Buttons */
.btn-signup {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-signup:hover {
  background: var(--surface-hover);
  border-color: var(--text-secondary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.2);
}

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

.w-full {
  width: 100%;
}

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

.mt-6 {
  margin-top: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12rem 0 4rem;
  overflow: hidden;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  mix-blend-mode: screen;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5,5,7,0.4) 0%, var(--bg-color) 100%),
              linear-gradient(to bottom, rgba(5,5,7,0.2) 0%, var(--bg-color) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.badge {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.stat-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.stat-card:hover, .glass-card:hover, .use-case-item:hover, .glass-panel:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(255, 140, 0, 0.2);
  z-index: 10;
}

.stat-card:hover {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.05), var(--surface-color));
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.stat-header svg {
  color: var(--accent-primary);
}

.stat-body {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.stat-body h3 {
  font-size: 3rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.stat-unit {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-footer {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 500;
}

/* Grid Layouts */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Glass Cards */
.glass-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-bg);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

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

.glass-card > * {
  position: relative;
  z-index: 1;
}

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

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.glass-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Use Cases */
.use-cases-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.use-case-item {
  position: relative;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.use-case-content {
  background: var(--bg-secondary);
  border-radius: 19px;
  padding: 2rem;
  height: 100%;
}

.use-case-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #e4e4e7;
}

.use-case-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Two Col Layout */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-list {
  list-style: none;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.feature-list svg {
  color: var(--accent-primary);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.glass-panel {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.glass-panel::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, var(--accent-primary), transparent);
  border-radius: 32px;
  z-index: -1;
  opacity: 0.2;
}

.glass-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

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

/* CTA Section */
.cta-section {
  padding: 8rem 0;
}

.cta-box {
  background: linear-gradient(rgba(11, 11, 15, 0.94), rgba(11, 11, 15, 0.94)), url('./cta-bg.jpg') center/cover no-repeat;
  border: 1px solid rgba(255, 140, 0, 0.4);
  backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(255, 140, 0, 0.15);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 140, 0, 0.3) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(255, 87, 34, 0.3) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.link-group h4 {
  font-size: 1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

.link-group a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-div {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-div.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .stats-row {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 300px;
  }
  .two-col-layout {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
