/* Base styles and variables */
:root {
  --primary: #00BCD4;
  --secondary: #FF7F50;
  --text-dark: #333333;
  --text-light: #666666;
  --background: #FFFFFF;
  --surface: #F8F8F8;
  --border: #EEEEEE;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Reset and global styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

section {
  padding: 80px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
  text-align: center;
}

h2 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 16px;
}

p {
  margin-bottom: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.5);
}

.btn-primary span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.btn-primary:hover span {
  transform: translateX(4px);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: rgba(0, 188, 212, 0.1);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--secondary);
  color: white;
  padding: 8px 16px;
  box-shadow: 0 3px 10px rgba(255, 127, 80, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 127, 80, 0.4);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo img {
  height: 42px;
  width: 42px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links li a {
  position: relative;
  color: var(--text-dark);
}

.nav-links li a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: var(--transition);
}

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

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

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

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

/* Hero Section */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 60px) 20px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  animation: float 6s ease-in-out infinite;
}

.hexagon-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.1;
  z-index: 1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Features Section */
.features {
  background-color: var(--surface);
  border-radius: var(--radius);
  margin-top: -40px;
  padding-top: 100px;
}

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

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

/* Stats Section */
.stats {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  min-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-text {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* How It Works Section */
.how-it-works {
  padding-top: 100px;
}

.steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin: 60px 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.step-connector {
  flex-grow: 0;
  flex-shrink: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-top: 30px;
}

.cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--surface);
  border-radius: var(--radius);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.stars {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.quote {
  font-style: italic;
  margin-bottom: 24px;
}

.user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.name {
  font-weight: 600;
}

/* FAQs Section */
.faqs {
  padding-bottom: 120px;
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  padding: 24px 30px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  position: relative;
  cursor: pointer;
  padding-right: 30px;
  transition: var(--transition);
}

.faq-item h3:hover {
  color: var(--primary);
}

.faq-item p {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(255, 127, 80, 0.1));
  border-radius: var(--radius);
  margin-bottom: 80px;
}

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

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 40px;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--surface);
  padding: 60px 20px 20px;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column h4 {
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--text-light);
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .hero-image {
    margin: 0 auto;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  .step-connector {
    width: 3px;
    height: 40px;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }
  
  .menu-button {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: calc(100vh - var(--header-height));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-button.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  
  .menu-button.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-button.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
  
  .faq-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .feature-card {
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

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

.feature-card, .step, .testimonial-card, .faq-item {
  animation: fadeIn 0.6s ease-out forwards;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.6s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.4s;
}
