/* Base Styles & Variables */
:root {
  --primary: #00A8CC;
  --primary-dark: #0C7B93;
  --secondary: #27496D;
  --secondary-dark: #142850;
  --text: #333;
  --text-light: #666;
  --bg-light: #f9f9f9;
  --white: #fff;
  --border-radius: 12px;
  --box-shadow: 0 5px 20px rgba(0, 168, 204, 0.1);
}

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

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

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

h1, h2, h3, h4 {
  font-family: 'Raleway', sans-serif;
  line-height: 1.3;
}

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

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--secondary);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

p {
  margin-bottom: 1.5rem;
}

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

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

section {
  padding: 5rem 0;
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary-dark);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.nav-toggle span:nth-child(1) {
  top: 0px;
}

.nav-toggle span:nth-child(2) {
  top: 9px;
}

.nav-toggle span:nth-child(3) {
  top: 18px;
}

.nav-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.nav-toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

.nav-btn {
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--secondary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 168, 204, 0.3);
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.hero-content {
  flex: 1;
  z-index: 5;
}

.lead {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.primary-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 168, 204, 0.3);
  transition: all 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 168, 204, 0.4);
  color: white;
}

.hero-visual {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hero-shape {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.hero-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-text span {
  display: block;
  color: white;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
}

.hero-text span:first-child {
  font-size: 5rem;
}

.hero-text span:last-child {
  font-size: 2.5rem;
}

/* Features Section */
.features {
  background-color: var(--bg-light);
}

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

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 168, 204, 0.15);
}

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

/* How It Works */
.process {
  margin-top: 3rem;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: translateY(-50%);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 4rem;
  z-index: 2;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.process-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 168, 204, 0.2);
}

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

/* Testimonials */
.testimonials {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: var(--border-radius);
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.quote-icon {
  position: absolute;
  top: 2rem;
  left: 2rem;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  text-align: center;
}

.testimonial-author {
  text-align: center;
}

.author-name {
  font-weight: 600;
  font-size: 1.1rem;
}

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

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

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

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

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

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

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

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

/* CTA Section */
.cta {
  background: var(--bg-light);
  text-align: center;
}

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

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

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

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

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

.footer-column h4 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

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

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

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

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

/* Process Section Responsive Layout */
@media screen and (min-width: 768px) {
  .process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .process::before {
    top: 4rem;
  }

  .process-step {
    margin-bottom: 0;
  }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-inner {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}
