:root {
  --primary-color: #008080;
  --secondary-color: #F39C12;
  --dark-color: #2C3E50;
  --light-color: #F8F9FA;
  --text-color: #333333;
  --accent-color: #E67E22;
  --gradient-start: #008080;
  --gradient-end: #006666;
}

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

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

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

/* Header */
.site-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
  overflow: hidden;
  border-bottom-right-radius: 30% 10%;
  border-bottom-left-radius: 30% 10%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,128,128,0.9), rgba(0,102,102,0.9));
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }
}

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

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: #E67E22;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  background-color: var(--secondary-color);
  position: absolute;
  bottom: -10px;
  left: 25%;
}

.section-subtitle {
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

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

.card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.card-header {
  background-color: var(--primary-color);
  padding: 2rem;
  text-align: center;
}

.card-icon {
  width: 70px;
  height: 70px;
  fill: white;
}

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--text-color);
  text-align: center;
}

/* How it works */
.how-it-works {
  padding: 5rem 0;
  background-color: #F9F9F9;
}

.process-container {
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
}

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

.step-icon-container {
  flex: 0 0 80px;
  margin-right: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

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

.step-content {
  flex: 1;
}

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

/* CTA */
.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

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

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

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

.cta .btn {
  background-color: var(--secondary-color);
}

.cta .btn:hover {
  background-color: #E67E22;
}

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

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

.footer-column {
  flex: 1;
  min-width: 200px;
}

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

.footer-logo-img {
  width: 40px;
  height: 40px;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

.footer-about {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

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

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

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

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

/* Animation classes */
.face-swap-demo {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  perspective: 1000px;
  position: relative;
  height: 250px;
}

.card-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s;
  transform-style: preserve-3d;
  animation: rotate3d 8s infinite alternate;
}

@keyframes rotate3d {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-face-front {
  background-color: #fff;
  border-radius: 10px;
}

.card-face-back {
  background-color: #fff;
  border-radius: 10px;
  transform: rotateY(180deg);
}

.face-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-icon-container {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.7rem;
  }
  
  .footer-content {
    flex-direction: column;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
