/* Base Styles & Reset */
:root {
  --primary: #0F766E;
  --primary-light: #14B8A6;
  --primary-dark: #0D9488;
  --accent: #F59E0B;
  --dark: #1F2937;
  --light: #ECFEFF;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #334155;
  --text-light: #64748B;
  --border: #E2E8F0;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 10px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 4px;
  width: 70px;
  background-color: var(--primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

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

section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--light) !important;
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.2);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--light) !important;
  transform: translateY(-3px);
}

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

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

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

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

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

.logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

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

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

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

.menu li a {
  color: var(--text);
  font-weight: 500;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background-color: #f0fdfa;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-content {
  max-width: 600px;
}

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

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

.hero-visual {
  width: 45%;
  max-width: 500px;
}

/* How It Works Section */
.how-it-works {
  text-align: center;
  background-color: var(--white);
}

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

.step {
  background-color: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

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

/* Features Section */
.features {
  text-align: center;
  background: linear-gradient(to bottom, var(--light), var(--bg));
}

.features h2 {
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

/* FAQ Section */
.faq {
  text-align: center;
  background-color: var(--white);
}

.faq h2 {
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto;
  text-align: left;
}

.faq-item {
  background-color: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.faq-item p {
  margin-bottom: 0;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-icon {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

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

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

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-legal p {
  color: var(--light);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-legal a {
  color: var(--light);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content, .hero-visual {
    width: 100%;
    max-width: 100%;
  }
  
  .hero-visual {
    margin-top: 2rem;
    order: 1;
  }
  
  .hero-content {
    order: 2;
    text-align: center;
  }
  
  .button-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 1000;
  }
  
  .menu.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .menu-overlay.active {
    display: block;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .button-group {
    flex-direction: column;
    width: 100%;
  }
  
  .button-group .btn {
    width: 100%;
  }
  
  .steps, .features-grid {
    grid-template-columns: 1fr;
  }
}
