:root {
  /* Colors */
  --bg-color: #0B0F19;
  /* Very deep blue-black */
  --surface-dark: #111827;
  /* Slightly lighter surface for cards */
  --surface-light: rgba(30, 41, 59, 0.7);
  /* Glassmorphism surface */
  --primary-color: #38BDF8;
  /* Electric Blue */
  --primary-glow: rgba(56, 189, 248, 0.4);
  --secondary-color: #10B981;
  /* Emerald Green */
  --secondary-glow: rgba(16, 185, 129, 0.3);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Glowing Effects */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-glow);
  top: -200px;
  left: -200px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary-glow);
  bottom: 10%;
  right: -100px;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.2);
  /* Purple accent */
  top: 40%;
  left: 30%;
}

/* Glassmorphism Panel Utility */
.glass-panel {
  background: var(--surface-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Gradient Text Utility */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #0284C7);
  color: white;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
  background: linear-gradient(135deg, #7DD3FC, var(--primary-color));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Main Layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 80px;
  /* Offset for navbar */
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  padding: 1rem;
  border-radius: 24px;
  position: relative;
  /* Glowing effect behind image */
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.15), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.hero-image img {
  max-width: 100%;
  border-radius: 16px;
  display: block;
}

/* Floating animation for image */
.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Typography Headings */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections margin */
section {
  padding: 6rem 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.feature-icon {
  width: 28px;
  height: 28px;
}

.feature-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.feature-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}


/* Workflow Section */
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.step {
  padding: 2rem;
  text-align: center;
  flex: 1;
  min-width: 180px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem auto;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.step-connector {
  color: var(--text-muted);
  opacity: 0.5;
  display: flex;
  align-items: center;
}


/* Preview Section */
.preview-showcase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem;
  gap: 4rem;
}

.preview-showcase.reverse-layout {
  flex-direction: row-reverse;
}

.preview-info {
  flex: 1;
}

.preview-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.preview-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.tech-stack-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-stack-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 1.1rem;
}

.tech-stack-list i {
  color: var(--secondary-color);
}

.preview-mockup {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mockup-frame {
  padding: 0.5rem;
  background: #1E293B;
  border-radius: 24px;
  border: 4px solid #334155;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.app-screenshot {
  border-radius: 18px;
  max-width: 250px;
  height: auto;
  display: block;
}


/* Footer */
footer {
  margin: 4rem 2rem 2rem 2rem;
  padding: 2rem;
  border-radius: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 40px;
  border-radius: 8px;
}

.footer-brand h4 {
  font-family: var(--font-heading);
}

.footer-brand p {
  color: var(--primary-color);
  font-size: 0.85rem;
}

.footer-links p {
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1) 0.3s;
}

.reveal-delay.active {
  opacity: 1;
  transform: translateY(0);
}


/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    max-width: 100%;
  }

  .nav-links {
    display: none;
    /* simple mobile nav override for pure UI */
  }

  .preview-showcase,
  .preview-showcase.reverse-layout {
    flex-direction: column;
    padding: 2rem;
    text-align: center;
  }

  .tech-stack-list {
    align-items: center;
  }

  .steps-container {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  section {
    padding: 4rem 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}