/* Base Styles and Variables */
:root {
  --primary: #4ECDC4;
  --secondary: #FF6B6B;
  --dark: #2A363B;
  --light: #F7FFF7;
  --gray: #6C7A89;
  --gradient: linear-gradient(90deg, var(--primary), var(--secondary));
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

h2 span {
  color: var(--primary);
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 5rem 0;
}

/* Header Styles */
header {
  background-color: var(--dark);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

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

nav ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

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

.nav-button {
  background: var(--secondary);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-button:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Hero Section */
.hero {
  background-color: var(--dark);
  color: var(--light);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

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

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

.primary-button {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(78, 205, 196, 0.3);
  transition: var(--transition);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(78, 205, 196, 0.4);
}

.secondary-button {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid var(--secondary);
  transition: var(--transition);
}

.secondary-button:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.hero-svg {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

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

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

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

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

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

.feature-card h3 {
  color: var(--dark);
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
  background-color: var(--dark);
  color: var(--light);
  padding: 5rem 0;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item svg {
  width: 100%;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-overlay h3 {
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

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

/* How It Works Section */
.how-it-works {
  background-color: var(--light);
  position: relative;
}

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

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 70px;
  left: 40px;
  width: 2px;
  height: calc(100% - 30px);
  background: var(--primary);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  box-shadow: var(--shadow);
}

.step-content {
  padding-top: 0.5rem;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

/* Get Started Section */
.get-started {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.get-started h2, .get-started p {
  color: white;
}

.get-started h2 span {
  color: var(--dark);
}

.get-started .primary-button {
  background: white;
  color: var(--primary);
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

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

.footer-logo h3 {
  margin-bottom: 0.3rem;
}

.footer-logo p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-column h4 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-column a:hover {
  opacity: 1;
  color: var(--secondary);
}

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

/* Responsive Styles */
@media screen and (max-width: 992px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    display: flex;
    justify-content: center;
    order: -1;
  }
  
  .hero-svg {
    max-width: 300px;
  }
  
  .hero-text h2 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .hero-text p {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-logo {
    justify-content: center;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .steps {
    padding: 0 1rem;
  }
  
  .step {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 576px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .section-intro {
    padding: 0 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .step-number {
    margin: 0 auto;
  }
  
  .step:not(:last-child)::after {
    left: 50%;
    top: 60px;
    height: 40px;
    width: 2px;
  }
}
