/* Root Variables and Base Setup */
:root {
  --primary: #EF3340; /* Singapore Red */
  --secondary: #000000; /* Black */
  --accent: #27AE60; /* Green accent */
  --light: #F5F5F5; /* Light background */
  --dark: #1A1A1A; /* Dark background */
  --text: #333333; /* Main text color */
  --text-light: #FFFFFF; /* Light text color */
  --gradient: linear-gradient(135deg, #EF3340, #FF9B6A);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

.wrapper {
  overflow: hidden;
  position: relative;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(239, 51, 64, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(239, 51, 64, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-accent {
  background: var(--accent);
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  color: var(--text);
  opacity: 0.8;
}

/* Header Styles */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

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

.logo span {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

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

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

.nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  position: relative;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  color: white;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

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

.cta {
  display: flex;
  gap: 15px;
}

.tech-element {
  position: relative;
  width: 300px;
  height: 300px;
}

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.circle-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 20%;
  animation: pulse 3s infinite alternate;
}

.circle-2 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 40%;
  animation: pulse 2s infinite alternate-reverse;
}

.circle-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 30%;
  animation: pulse 4s infinite alternate;
}

.lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.line {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
}

.line-1 {
  width: 2px;
  height: 80%;
  top: 10%;
  left: 30%;
  transform: rotate(15deg);
}

.line-2 {
  width: 2px;
  height: 60%;
  top: 20%;
  left: 50%;
  transform: rotate(-20deg);
}

.line-3 {
  width: 2px;
  height: 70%;
  top: 15%;
  left: 70%;
  transform: rotate(10deg);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.05);
    opacity: 0.7;
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: white;
}

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

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  z-index: -1;
}

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

.feature-icon {
  margin: 0 auto 20px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 51, 64, 0.1);
  border-radius: 50%;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text);
  opacity: 0.8;
}

/* Workflow Section */
.workflow {
  padding: 100px 0;
  background: #F9F9F9;
  position: relative;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
}

.step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
  margin: 0 15px 30px;
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(239, 51, 64, 0.3);
}

.step-content {
  margin-top: 15px;
  margin-bottom: 20px;
}

.step-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: var(--primary);
}

.step-content p {
  color: var(--text);
  opacity: 0.8;
}

.step-connector {
  flex: 0.5;
  height: 3px;
  background: #e0e0e0;
  align-self: center;
  position: relative;
  max-width: 100px;
}

.step-connector::before,
.step-connector::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.step-connector::before {
  left: 0;
}

.step-connector::after {
  right: 0;
}

.step-icon {
  margin: 0 auto;
}

/* Reviews Section */
.reviews {
  padding: 100px 0;
  background-color: white;
}

.review-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background: #F9F9F9;
  border-radius: var(--border-radius);
  padding: 30px;
  width: 100%;
  max-width: 350px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.review-stars {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text);
  opacity: 0.9;
}

.reviewer-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.reviewer-location {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: var(--dark);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* CTA Banner */
.cta-banner {
  padding: 100px 0;
  background: var(--gradient);
  text-align: center;
  color: white;
}

.cta-banner h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding-top: 80px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  flex: 2;
  min-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-title h3 {
  color: white;
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.footer-title p {
  color: var(--primary);
  font-size: 0.9rem;
}

.footer-brand > p {
  opacity: 0.7;
  line-height: 1.6;
}

.footer-nav {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-links {
  min-width: 150px;
  margin-bottom: 30px;
}

.footer-links h4 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--primary);
  bottom: -10px;
  left: 0;
}

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

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #BBBBBB;
  transition: var(--transition);
}

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

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

.disclaimer {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Media Queries */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .cta-banner h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    padding: 80px 30px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    z-index: 999;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .cta {
    justify-content: center;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    margin-bottom: 50px;
    max-width: 100%;
  }
  
  .step-connector {
    width: 3px;
    height: 50px;
    margin: 0;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-nav {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .cta {
    flex-direction: column;
  }
  
  .features,
  .workflow,
  .reviews,
  .cta-banner {
    padding: 80px 0;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-links {
    width: 100%;
  }
}
