/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary-color: #a78bfa;
  --harvest-orange: #fa5d00;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Navigation */
.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

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

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

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

.nav-links a:not(.btn-primary) {
  color: var(--text-gray);
}

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

/* Buttons */
.btn-primary {
  background: var(--primary-color) !important;
  color: white !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Hero Section */
.hero {
  padding: 100px 0 140px;
  background: #ffffff;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.15;
  margin-bottom: 28px;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 20px;
  color: #666666;
  margin-bottom: 48px;
  line-height: 1.7;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  margin-bottom: 60px;
}

.hero-note {
  margin-top: 12px;
  color: var(--text-gray);
  font-size: 14px;
}

/* Browser Mockup */
.hero-image {
  margin-top: 60px;
}

.browser-mockup {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.browser-header {
  background: #f3f4f6;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
}

.browser-content {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.demo-text {
  font-size: 28px;
  color: white;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.demo-features {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 600px;
}

.demo-feature-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.section-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 19px;
  text-align: center;
  color: #666666;
  margin-bottom: 60px;
  font-weight: 400;
}

/* Tier headers */
.tier-header {
  margin-bottom: 28px;
}

.tier-label {
  display: inline-block;
  background: #ede9fe;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.tier-label-secondary {
  background: #f3f4f6;
  color: #374151;
}

.tier-desc {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 640px;
  line-height: 1.7;
}

/* Native Integration cards */
.integrations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.integration-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  transition: all 0.3s;
}

.integration-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.integration-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.integration-card-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.integration-card > p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 15px;
}

.integration-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.integration-perks li {
  font-size: 14px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.integration-perks li::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: 700;
  flex-shrink: 0;
}

/* Universal Overlay card */
.overlay-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px;
  transition: all 0.3s;
}

.overlay-card:hover {
  box-shadow: var(--shadow-lg);
}

.overlay-card-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.overlay-icon-wrap {
  font-size: 40px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}

.overlay-card-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.overlay-card-body > p {
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 20px;
}

.overlay-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.overlay-sites span {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
}

/* Supporting features strip */
.supporting-features {
  display: flex;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.supporting-feature {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 28px;
  border-right: 1px solid var(--border-color);
}

.supporting-feature:last-child {
  border-right: none;
}

.supporting-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.supporting-feature strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.supporting-feature p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

/* Legacy feature card (keep for potential reuse) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* How it Works */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-light);
}

.steps {
  display: flex;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

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

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: var(--bg-white);
}

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

.testimonial-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.testimonial-stars {
  font-size: 20px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 16px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  color: var(--text-dark);
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-gray);
  font-size: 14px;
}

/* Pricing */
.pricing {
  padding: 100px 0;
  background: var(--bg-light);
}

.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  border: 2px solid var(--primary-color);
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.price {
  margin-bottom: 32px;
}

.price-amount {
  font-size: 56px;
  font-weight: 700;
  color: var(--primary-color);
}

.price-period {
  color: var(--text-gray);
  font-size: 18px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  color: var(--text-dark);
  font-size: 16px;
}

.pricing-note {
  margin-top: 16px;
  color: var(--text-gray);
  font-size: 14px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 16px;
  font-weight: 600;
}

.cta p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta .btn-primary {
  background: white !important;
  color: var(--primary-color) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.cta .btn-primary:hover {
  background: #f3f0ff !important;
  color: var(--primary-dark) !important;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
}

.footer-section p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
}

.footer-section a {
  display: block;
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .nav-links {
    gap: 12px;
  }
  
  .nav-links a:not(.btn-primary) {
    font-size: 14px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .overlay-card-inner {
    flex-direction: column;
    gap: 16px;
  }

  .supporting-features {
    flex-direction: column;
  }

  .supporting-feature {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .supporting-feature:last-child {
    border-bottom: none;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .demo-features {
    flex-direction: column;
    gap: 12px;
  }
  
  .browser-content {
    padding: 60px 20px;
  }
  
  .demo-text {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }
  
  .nav-links a:not(.btn-primary) {
    display: none;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }
}
