/* ============================================
   CSS Variables (Design System)
   ============================================ */
:root {
  --background: hsl(222, 47%, 6%);
  --foreground: hsl(210, 40%, 98%);
  --card: hsl(222, 47%, 8%);
  --card-foreground: hsl(210, 40%, 98%);
  --primary: hsl(213, 94%, 56%);
  --primary-foreground: hsl(222, 47%, 6%);
  --secondary: hsl(222, 47%, 12%);
  --secondary-foreground: hsl(210, 40%, 98%);
  --muted: hsl(222, 47%, 14%);
  --muted-foreground: hsl(215, 20%, 55%);
  --border: hsl(222, 47%, 16%);
  --ring: hsl(213, 94%, 56%);
  --radius: 0.75rem;

  --gradient-primary: linear-gradient(135deg, hsl(213, 94%, 56%), hsl(250, 80%, 60%));
  --glass-bg: hsla(222, 47%, 10%, 0.7);
  --glass-border: hsla(222, 47%, 20%, 0.5);
  --shadow-glow: 0 0 60px hsla(213, 94%, 56%, 0.3);
}

/* ============================================
   Base Reset & Typography
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden {
  display: none !important;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
}

.btn-primary:hover {
  background: hsl(213, 94%, 50%);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--secondary);
  color: var(--foreground);
}

/* Standalone button variants (for use without .btn base class) */
a.btn-primary,
a.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hero {
  background: var(--gradient-primary);
  color: var(--foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 80px hsla(213, 94%, 56%, 0.4);
}

.btn-hero-outline {
  background: transparent;
  color: var(--foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
}

.btn-hero-outline:hover {
  background: var(--secondary);
  border-color: var(--muted-foreground);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(222, 47%, 6%, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(222, 47%, 16%, 0.5);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-ctas {
  display: none;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
}

.mobile-menu-btn:hover {
  color: var(--foreground);
}

.mobile-nav {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--foreground);
}

.mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .nav-links, .nav-ctas {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, hsla(213, 94%, 56%, 0.12), transparent 60%);
}

.hero-bg-pulse {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, hsla(213, 94%, 56%, 0.08), transparent 50%);
  animation: pulse-slow 4s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    linear-gradient(var(--foreground) 1px, transparent 1px),
    linear-gradient(90deg, var(--foreground) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(213, 94%, 56%, 0.2);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-in 0.6s ease forwards;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.badge span:last-child {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}

.hero-title span {
  display: block;
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.trust-badges {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(222, 47%, 16%, 0.5);
  opacity: 0;
  animation: fade-in 0.6s ease forwards;
}

.trust-badges > p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  opacity: 0.6;
}

.trust-logos span {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.trust-logos span:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .trust-logos {
    gap: 3rem;
  }
}

/* ============================================
   Stats Section
   ============================================ */
.stats {
  padding: 5rem 0;
}

.stats-card {
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(222, 47%, 16%, 0.5);
  padding: 2rem;
}

@media (min-width: 768px) {
  .stats-card {
    padding: 3rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-value {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 1rem;
  }
}

/* ============================================
   Features Section
   ============================================ */
.features {
  position: relative;
  padding: 6rem 0;
}

.features-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, hsla(222, 47%, 12%, 0.3), transparent);
}

.features-content {
  position: relative;
  z-index: 10;
}

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

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: hsla(213, 94%, 56%, 0.3);
  box-shadow: 0 10px 30px hsla(213, 94%, 56%, 0.05);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsla(213, 94%, 56%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.2s;
}

.feature-card:hover .feature-icon {
  background: hsla(213, 94%, 56%, 0.2);
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, hsla(213, 94%, 56%, 0.15), transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-content > p:first-of-type {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  background: hsla(222, 47%, 8%, 0.5);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--foreground);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fade-in 0.6s ease forwards;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fade-in-up 0.6s ease forwards;
}

/* ============================================
   About Page Styles
   ============================================ */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

.nav-links a.active {
  color: var(--foreground);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.story-section {
  padding: 6rem 0;
}

.story-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.story-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.story-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.story-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/3;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--foreground);
}

.visual-card span {
  font-weight: 600;
  font-size: 1.25rem;
}

.values-section {
  padding: 6rem 0;
  background: hsla(222, 47%, 8%, 0.5);
}

.values-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: hsla(213, 94%, 56%, 0.3);
  transform: translateY(-4px);
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: hsla(213, 94%, 56%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.team-section {
  padding: 6rem 0;
}

.team-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: hsla(213, 94%, 56%, 0.3);
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.team-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.timeline-section {
  padding: 6rem 0;
  background: hsla(222, 47%, 8%, 0.5);
}

.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  border: 3px solid var(--background);
}

.timeline-content {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.timeline-date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.timeline-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   Features Page Styles
   ============================================ */
.features-hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  text-align: center;
}

.features-hero .container {
  position: relative;
  z-index: 10;
}

.features-hero-content {
  max-width: 48rem;
  margin: 0 auto;
}

.features-hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.features-hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.glow-orb-1 {
  top: 10%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: hsla(213, 94%, 56%, 0.3);
}

.glow-orb-2 {
  bottom: 0;
  right: 10%;
  width: 300px;
  height: 300px;
  background: hsla(250, 80%, 60%, 0.2);
}

/* Features Grid Section */
.features-grid-section {
  padding: 4rem 0;
}

.features-grid-section .features-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features-grid-section .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid-section .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card-large {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .feature-card-large {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .feature-card-large {
    grid-column: span 2;
  }
}

.feature-icon-large {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: hsla(213, 94%, 56%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.feature-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 600;
}

/* Detailed Features Section */
.detailed-features {
  padding: 6rem 0;
  background: hsla(222, 47%, 8%, 0.5);
}

.feature-row {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.feature-row.reverse .feature-content {
  order: 1;
}

@media (min-width: 768px) {
  .feature-row.reverse .feature-content {
    order: 2;
  }
  
  .feature-row.reverse .feature-visual {
    order: 1;
  }
}

.feature-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: hsla(213, 94%, 56%, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.feature-content h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.feature-content > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
}

.check-list li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

/* Performance Card */
.performance-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 400px;
}

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

.perf-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.perf-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Automation Visual */
.automation-visual {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.automation-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.automation-node span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.node-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-icon.trigger {
  background: hsla(45, 90%, 50%, 0.15);
  color: hsl(45, 90%, 50%);
}

.node-icon.action {
  background: hsla(213, 94%, 56%, 0.15);
  color: var(--primary);
}

.node-icon.notify {
  background: hsla(150, 70%, 45%, 0.15);
  color: hsl(150, 70%, 45%);
}

.automation-line {
  width: 2rem;
  height: 2px;
  background: var(--border);
}

/* Security Visual */
.security-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.shield-icon {
  color: var(--primary);
  animation: pulse-slow 3s ease-in-out infinite;
}

.security-badges {
  display: flex;
  gap: 0.75rem;
}

.sec-badge {
  padding: 0.5rem 1rem;
  background: hsla(150, 70%, 45%, 0.1);
  color: hsl(150, 70%, 45%);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.25rem;
}

/* Integrations Section */
.integrations-section {
  padding: 6rem 0;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .integration-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.integration-item {
  padding: 1.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.integration-item:hover {
  border-color: var(--primary);
  color: var(--foreground);
}

/* CTA Section (Features Page) */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background: radial-gradient(ellipse at center, hsla(213, 94%, 56%, 0.1), transparent 70%);
}

.cta-section .cta-content {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.cta-section .cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-section .cta-buttons {
    flex-direction: row;
  }
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--secondary);
  border-color: var(--muted-foreground);
}

/* Navbar Styles (Features Page) */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-container .nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-container .nav-links {
    display: flex;
  }
}

.nav-container .nav-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-container .nav-links a:hover,
.nav-container .nav-links a.active {
  color: var(--foreground);
}

.nav-buttons {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-buttons {
    display: flex;
  }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--muted-foreground);
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-hero {
  position: relative;
  padding: 10rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

.contact-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

.contact-content {
  padding: 4rem 0 6rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(213, 94%, 56%, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8599' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--card);
  color: var(--foreground);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-foreground);
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-full:hover {
  background: hsl(213, 94%, 50%);
  transform: translateY(-1px);
}

.btn-full svg {
  width: 18px;
  height: 18px;
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.info-card:hover {
  border-color: hsla(213, 94%, 56%, 0.3);
  transform: translateY(-2px);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 12px;
  margin-bottom: 1rem;
  color: var(--primary);
}

.info-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.info-card p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.social-card h3 {
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  border-radius: 10px;
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-2px);
}

/* FAQ Section */
.contact-faq {
  padding: 4rem 0 6rem;
  background: var(--secondary);
}

.contact-faq .section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Success Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(222, 47%, 6%, 0.9);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

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

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  max-width: 400px;
  margin: 1rem;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: hsla(142, 76%, 36%, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: hsl(142, 76%, 46%);
}

.modal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.modal-content p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.modal-content .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
}

/* ============================================
   Pricing Page Styles
   ============================================ */

/* Pricing Hero */
.pricing-hero {
  position: relative;
  padding: 10rem 0 4rem;
  text-align: center;
  overflow: hidden;
}

.pricing-hero-content {
  position: relative;
  z-index: 10;
}

.pricing-hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-hero > .container > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.billing-label {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s;
}

.toggle-switch:hover {
  border-color: var(--primary);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--foreground);
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
  transform: translateX(28px);
}

.toggle-switch.active {
  background: var(--primary);
}

.save-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: hsla(142, 76%, 36%, 0.15);
  color: hsl(142, 76%, 46%);
  border-radius: 9999px;
}

/* Pricing Cards */
.pricing-cards {
  padding: 2rem 0 6rem;
}

.pricing-grid {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.pricing-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: hsla(213, 94%, 56%, 0.3);
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: linear-gradient(180deg, hsla(213, 94%, 56%, 0.1), transparent);
  border-color: var(--primary);
  box-shadow: 0 0 40px hsla(213, 94%, 56%, 0.15);
}

@media (min-width: 768px) {
  .pricing-card.featured {
    transform: scale(1.05);
    z-index: 10;
  }
  
  .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
  }
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  background: var(--gradient-primary);
  color: var(--foreground);
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.pricing-card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-card-header p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.pricing-card-price {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--foreground);
  padding: 0.5rem 0;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--primary);
}

.pricing-btn {
  width: 100%;
}

/* Comparison Table */
.comparison {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, hsla(222, 47%, 12%, 0.3), transparent);
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.comparison-table thead {
  background: var(--secondary);
}

.comparison-table th {
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  padding: 1.25rem 1rem;
}

.comparison-table th:first-child {
  text-align: left;
  padding-left: 1.5rem;
}

.comparison-table th.featured-col {
  background: hsla(213, 94%, 56%, 0.15);
  color: var(--primary);
}

.comparison-table td {
  font-size: 0.9375rem;
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table td:first-child {
  text-align: left;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
}

.comparison-table td.featured-col {
  background: hsla(213, 94%, 56%, 0.05);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.category-row td {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: hsla(222, 47%, 8%, 0.8);
  color: var(--foreground) !important;
  padding: 0.75rem 1rem !important;
  padding-left: 1.5rem !important;
}

.check-yes {
  color: hsl(142, 76%, 46%);
  margin: 0 auto;
}

.check-no {
  color: var(--muted-foreground);
  opacity: 0.4;
  margin: 0 auto;
}

/* Pricing FAQ */
.pricing-faq {
  padding: 6rem 0;
}

.pricing-faq .faq-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-faq .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.pricing-faq .faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.2s;
}

.pricing-faq .faq-item:hover {
  border-color: hsla(213, 94%, 56%, 0.3);
}

.pricing-faq .faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.pricing-faq .faq-item p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
