/* Base styles and reset */
:root {
  --primary: #6C63FF;
  --secondary: #00E0FF;
  --dark: #3F3D56;
  --light: #F2F2F2;
  --white: #FFFFFF;
  --text: #222222;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.highlight {
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  background-color: var(--primary);
  opacity: 0.1;
  bottom: 0;
  left: 0;
  z-index: -1;
  border-radius: var(--radius-sm);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 0.7rem 0;
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
}

.domain {
  color: var(--primary);
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a:not(.btn-small)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover:not(.btn-small) {
  color: var(--primary);
}

.nav-links a:hover:not(.btn-small)::after {
  width: 100%;
}

.btn-small {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-small:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
#hero {
  padding: 10rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.05) 0%,
    rgba(0, 224, 255, 0.05) 100%
  );
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0) 70%);
  top: -25vw;
  right: -25vw;
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 224, 255, 0.1) 0%, rgba(0, 224, 255, 0) 70%);
  bottom: -20vw;
  left: -20vw;
  z-index: 0;
}

.hero-content {
  max-width: 550px;
  position: relative;
  z-index: 1;
}

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

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

.btn-primary {
  display: inline-block;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 0.95rem 2.45rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.hero-image {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  text-align: center;
}

/* Features Section */
#features {
  padding: 6rem 0;
  position: relative;
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, var(--primary), transparent);
  opacity: 0.05;
  transition: var(--transition);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  margin-bottom: 1.5rem;
}

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

.feature-card p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* Process Section */
#process {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    rgba(108, 99, 255, 0.05) 0%,
    rgba(0, 224, 255, 0.05) 100%
  );
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
  padding: 2rem;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.step-connector {
  position: relative;
  flex: 0.5;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  align-self: center;
  margin: 0 -1rem;
  z-index: 1;
  opacity: 0.5;
  border-radius: 3px;
}

.step-content h3 {
  margin-bottom: 0.8rem;
}

.step-content p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Stats Section */
#stats {
  padding: 4rem 0;
  background: var(--dark);
  color: var(--white);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

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

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.8;
}

/* FAQ Section */
#faq {
  padding: 6rem 0;
  background: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: var(--transition);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  background: var(--light);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.footer-site {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.footer-tag {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-column h4 {
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.link-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.link-column a {
  opacity: 0.7;
  transition: var(--transition);
  font-size: 0.95rem;
}

.link-column a:hover {
  opacity: 1;
  color: var(--secondary);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  #hero {
    padding: 8rem 0 4rem;
  }
  
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .step-connector {
    width: 5px;
    height: 50px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    max-height: 350px;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .step {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .stats-grid {
    flex-direction: column;
    gap: 2rem;
  }
}
