/* Reset & Base Styles */
:root {
  --primary-color: #4f46e5; /* Indigo 600 */
  --primary-dark: #4338ca;
  --secondary-color: #10b981; /* Emerald 500 */
  --accent-color: #f59e0b; /* Amber 500 */
  --danger-color: #ef4444; /* Red 500 */
  --dark-bg: #0f172a; /* Slate 900 */
  --light-bg: #f8fafc; /* Slate 50 */
  --text-main: #1e293b; /* Slate 800 */
  --text-muted: #64748b; /* Slate 500 */
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Navigation */
nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 5px;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.btn-nav {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background-color 0.3s;
}

.btn-nav:hover {
  background-color: var(--primary-dark);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: radial-gradient(circle at top right, #e0e7ff, transparent 40%),
    radial-gradient(circle at bottom left, #dcfce7, transparent 40%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.badge-new {
  background-color: #eef2ff;
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--dark-bg);
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-main);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #f1f5f9;
}

.hero-stats {
  display: flex;
  gap: 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-item i {
  color: var(--accent-color);
}

/* Hero Image & Floating Cards */
.hero-img {
  position: relative;
}

.hero-img img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-img:hover img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  animation: float 4s ease-in-out infinite;
}

.card-1 {
  top: 20%;
  left: -30px;
  color: var(--danger-color);
}

.card-2 {
  bottom: 20%;
  right: -30px;
  color: var(--secondary-color);
  animation-delay: 2s;
}

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

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark-bg);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 16px;
  transition: transform 0.3s;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: #e2e8f0;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.blue {
  background: #e0e7ff;
  color: var(--primary-color);
}
.red {
  background: #fee2e2;
  color: var(--danger-color);
}
.green {
  background: #dcfce7;
  color: var(--secondary-color);
}
.purple {
  background: #f3e8ff;
  color: #9333ea;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px #e0e7ff;
}

.step h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 10px;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin-top: 20px;
}

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

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

.review-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--accent-color);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-card p {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-info span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-large {
  background: var(--white);
  color: var(--primary-color);
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-large:hover {
  background: #f8fafc;
  color: var(--primary-dark);
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 1.5rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    margin: 0 auto 30px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-img {
    margin-top: 40px;
  }

  .floating-card {
    display: none; /* Hide floating cards on mobile to prevent overflow */
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .step-line {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 25px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }
}

/* Privacy Policy Page */
.policy-section {
  padding: 120px 0 80px;
  background-color: var(--white);
  min-height: 80vh;
}

.policy-container {
  max-width: 800px; /* Narrower for better reading experience */
}

.policy-container h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 10px;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
  font-size: 0.9rem;
}

.policy-content h2 {
  font-size: 1.5rem;
  color: var(--dark-bg);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 700;
}

.policy-content p {
  color: var(--text-main);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.policy-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.policy-content li {
  margin-bottom: 10px;
}

.policy-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

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