/* Base Styles */
:root {
  --primary: #FF6B00;
  --secondary: #0088FF;
  --dark: #1A1A2E;
  --light: #F5F5F7;
  --gray: #888;
  --radius: 15px;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

section {
  padding: 4rem 0;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  margin: 15px auto 30px;
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  color: white;
}

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

.btn-outline:hover {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Header */
.header {
  background-color: var(--dark);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: white;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--dark);
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 107, 0, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 136, 255, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  background-color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 5px;
  background: var(--gradient);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Demo Section */
.demo {
  background-color: var(--dark);
  color: white;
  position: relative;
}

.demo-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.demo-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.demo-item:hover {
  transform: translateY(-5px);
}

.demo-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  padding: 1.5rem;
}

.demo-info {
  padding: 1.5rem;
  text-align: center;
}

.demo-info h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.demo-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

/* How It Works */
.how-it-works {
  background-color: white;
}

.steps-container {
  margin-top: 3rem;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 2px);
  width: 4px;
  background: var(--gradient);
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 5rem;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step:nth-child(even) {
  direction: rtl;
}

.step:nth-child(even) .step-content {
  direction: ltr;
}

.step-content {
  padding: 1rem 0;
}

.step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Reviews */
.reviews {
  background-color: #f8f8f8;
  position: relative;
}

.reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: var(--gradient);
  opacity: 0.05;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.review-text::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -2rem;
  left: -1rem;
  opacity: 0.1;
  font-family: Georgia, serif;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.review-name {
  font-weight: 600;
}

.review-meta {
  color: var(--gray);
  font-size: 0.9rem;
}

/* CTA */
.cta {
  position: relative;
  background: var(--dark);
  padding: 5rem 0;
  color: white;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(255, 107, 0, 0.3) 0%, rgba(0, 136, 255, 0.3) 100%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="1" fill="white" opacity="0.2"/></svg>');
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta h2::after {
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: #121212;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gradient);
  margin-top: 10px;
  border-radius: 1.5px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.section-subtitle {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    width: 95%;
  }
  
  .steps-container::before {
    left: 25px;
  }
  
  .step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .step:nth-child(even) {
    direction: ltr;
  }
  
  .step-content {
    padding-left: 60px;
  }
  
  .step-number {
    position: absolute;
    left: 0;
    top: 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--dark);
    transition: right 0.3s ease;
    padding: 5rem 2rem;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
  }
  
  .nav-toggle {
    display: block;
    z-index: 100;
  }
  
  .nav-toggle.active span {
    content: '✕';
  }
}
