/* Variables */
:root {
  --primary: #00838F;
  --primary-light: #4FB3BF;
  --primary-dark: #006064;
  --accent: #FF3D00;
  --text-light: #FFFFFF;
  --text-dark: #263238;
  --bg-light: #ECEFF1;
  --bg-grey: #CFD8DC;
  --bg-dark: #263238;
  --shadow: 0 4px 8px rgba(0, 131, 143, 0.2);
  --gradient: linear-gradient(120deg, var(--primary), var(--primary-dark));
  --border-radius: 6px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

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

ul {
  list-style: none;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--gradient);
  color: var(--text-light);
  font-weight: 600;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 131, 143, 0.3);
  color: var(--text-light);
}

.btn-accent {
  background: var(--accent);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

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

/* Header */
.header {
  background-color: var(--bg-light);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

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

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--primary-dark);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 1rem;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-light);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

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

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
  opacity: 0.8;
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 131, 143, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background-color: var(--bg-grey);
  position: relative;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-light);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 30%;
}

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

.step-content {
  text-align: center;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.step-text {
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
}

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

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.3;
}

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

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.author-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background-color: var(--bg-grey);
}

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

.faq-item {
  background: var(--text-light);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer-content {
  padding-bottom: 1.5rem;
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: var(--gradient);
  color: var(--text-light);
  text-align: center;
}

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

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

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  background: var(--accent);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.cta-button:hover {
  background: #FF6E40;
}

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

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

.footer-branding {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
}

.footer-description {
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

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

.footer-links a {
  color: var(--text-light);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

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

.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-keywords {
  opacity: 0.5;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 1rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav.show {
    max-height: 300px;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 1rem;
  }
  
  .nav-cta {
    margin: 1rem 0 0.5rem;
  }
  
  .steps {
    flex-direction: column;
    gap: 2rem;
  }
  
  .steps::before {
    display: none;
  }
  
  .step {
    width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
