@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #e9ecef;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --accent-blue: #3f60f8;
  --accent-blue-hover: #314de8;
  --accent-purple: #7059f6;
  --border-color: rgba(0, 0, 0, 0.1);
  --success-green: #2ecc71;
  --gradient-btn: linear-gradient(135deg, #3f60f8, #7059f6);
  --gradient-btn-hover: linear-gradient(135deg, #314de8, #5e46eb);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}



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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

/* Base Components */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 15px rgba(63, 96, 248, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63, 96, 248, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-chrome {
  background: #ffffff;
  color: #333333;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-chrome:hover {
  transform: scale(1.02);
  background: #f8f9fa;
  color: #000;
}

.btn-chrome img {
  width: 20px;
  height: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.text-gradient {
  background: linear-gradient(to right, #6ab8ff, #7059f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-container img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 80px; /* offset for fixed header */
  position: relative;
  background: var(--bg-primary);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: block;
}

.hero-bg-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content-overlay {
  position: absolute;
  top: 72%; /* Adjusted to be slightly lower, usually where the text sits in such images */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  z-index: 2;
  color: #fff;

}

.hero-content-overlay h1 {
  font-size: clamp(2rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5vw;
  color: #fff;
}

.hero-content-overlay .text-gradient {
  background: linear-gradient(to right, #6ab8ff, #7059f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content-overlay .lead {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 2.5vw;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2vw;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 1em;
  font-size: clamp(0.6rem, 0.8vw, 0.75rem);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  gap: 1.5vw;
  flex-wrap: wrap;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-meta span::before {
  content: "•";
  color: var(--accent-blue);
}

.hero-meta span:first-child::before {
  display: none;
}

/* Features Grid */
.features-section {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-primary);
  text-align: center;
}

.features-section .section-title {
  margin-bottom: var(--spacing-sm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  margin-top: var(--spacing-xl);
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2.5rem var(--spacing-lg) 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(112, 89, 246, 0.1);
  border-color: rgba(112, 89, 246, 0.25);
}

.feature-illustration {
  width: 100%;
  max-width: 220px;
  height: 160px;
  margin: 0 auto 0.5rem;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-illustration {
  transform: scale(1.04) rotate(-1deg);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* How It Works */
.how-it-works {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-secondary);
}

.hiw-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.hiw-illustration-column {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hiw-interface-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius-sm);
  margin-top: -2rem;
}

.hiw-text-stack {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.hiw-step {
  /* Clean text block without background/borders */
}

.hiw-step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.hiw-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hiw-conclusion {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-md);
  margin-top: 0.5rem;
}

/* Testimonials */
.testimonials {
  background: var(--bg-tertiary);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  margin: var(--spacing-xxl) auto;
  max-width: 1200px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.test-summary {
  padding-right: var(--spacing-lg);
}

.stars {
  color: #ffd700;
  margin-bottom: var(--spacing-sm);
  font-size: 2rem;
  display: inline-flex;
  gap: 2px;
  line-height: 1;
  margin-top: -0.5rem;
}

.stars .star-half {
  position: relative;
  display: inline-block;
  color: #d1d5db; /* Gray color for the unfilled part */
}

.stars .star-half::after {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  color: #ffd700; /* Gold color for the filled part */
  clip-path: inset(0 50% 0 0); /* Clip to show only the left half */
}

.test-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.test-card {
  background: var(--bg-secondary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.test-card p {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  flex-grow: 1;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
}

.user-meta h5 {
  font-size: 0.9rem;
  margin: 0;
}

.user-meta span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Pricing */
.pricing {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.pro {
  border-color: var(--accent-purple);
  background: linear-gradient(to bottom, rgba(112, 89, 246, 0.05) 0%, var(--bg-secondary) 100%);
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--spacing-md);
}

.badge {
  background: rgba(46, 204, 113, 0.1);
  color: var(--success-green);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: baseline;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 0.25rem;
}

.feature-list {
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.feature-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "✓";
  color: var(--success-green);
  font-weight: bold;
  line-height: 1.6;
  position: relative;
  top: -0.2em;
}

.price-card.pro .feature-list li::before {
  color: var(--accent-purple);
}

.price-card .btn {
  width: 100%;
}

/* Bottom CTA */
.bottom-cta {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(112, 89, 246, 0.2) 100%);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Footer */
footer {
  padding: var(--spacing-xl) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

/* Legal Pages Typography */
.legal-page {
  padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xxl);
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.legal-page .last-updated {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  font-size: 0.9rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.legal-page p, .legal-page ul {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-page a {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hiw-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .hiw-interface-img {
    margin-top: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
