/* Modern CSS with variables for customization - completely different from the previous site */
:root {
  --primary-color: #0EA5E9;
  --secondary-color: #2DD4BF;
  --accent-color: #A855F7;
  --text-color: #0F172A;
  --light-text: #ffffff;
  --background: #F1F5F9;
  --gradient-start: #0EA5E9;
  --gradient-end: #2DD4BF;
  --box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
  --card-shadow: 0 8px 20px rgba(14, 165, 233, 0.1);
  --border-radius: 16px;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --section-padding: 4rem 1.5rem;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--background);
  line-height: 1.7;
  scroll-behavior: smooth;
}

/* Header Styles */
header {
  background: white;
  color: var(--text-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.logo svg {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.logo span {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background-color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.05), rgba(45, 212, 191, 0.05));
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--text-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #64748b;
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transform-style: preserve-3d;
  transition: var(--transition);
}

.hero-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: radial-gradient(var(--secondary-color) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: rgba(14, 165, 233, 0.1);
}

/* Features Section */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

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

.section-title p {
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(45, 212, 191, 0.1));
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

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

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-desc {
  color: #64748b;
}

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

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

.step-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step-number::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

.step-title {
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-color);
}

.step-desc {
  color: #64748b;
}

.step-line {
  position: absolute;
  top: 60px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  display: none;
}

/* Testimonials */
.testimonials {
  background-color: #F8FAFC;
}

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

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  bottom: 0;
  right: 1rem;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: rgba(14, 165, 233, 0.07);
  line-height: 0.8;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info {
  margin-left: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-color);
}

.author-title {
  color: #64748b;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #64748b;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-cta {
  background-color: white;
  color: var(--primary-color);
  border: none;
}

.btn-cta:hover {
  background-color: var(--text-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-column h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

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

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.5s;
}

/* Mobile menu */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 101;
  }
  
  .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  
  nav ul li {
    margin: 1.5rem 0;
  }
  
  nav ul li a {
    font-size: 1.2rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-secondary {
    margin-left: 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .step-line {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}
