/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #ffffff;
  /* Default to white */
  color: #1e293b;
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6366f1;
  margin-bottom: 12px;
  /* Stronger Indigo for Light Mode */
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: #475569;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #d946ef, #0ea5e9);
  /* More vibrant for Light Mode */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-secondary {
  background: #fff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===== GLASS CARD ===== */
.glass {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
}

.glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: padding 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4f46e5;
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 24px !important;
  font-size: 0.9rem !important;
  border-radius: 10px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span {
  background: #ffffff;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #475569;
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 72px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
}

.stat-label {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 4px;
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  text-align: center;
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  padding: 40px 28px;
  text-align: left;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f9ff;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: #475569;
  font-size: 0.95rem;
}

/* ===== BENEFITS ===== */
.benefits {
  padding: 120px 0;
  text-align: center;
  background: #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  padding: 40px 28px;
  text-align: center;
  position: relative;
}

.benefit-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #818cf8;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 20px;
}

.benefit-card h3 {
  margin-bottom: 12px;
}

.benefit-card p {
  color: #475569;
  font-size: 0.95rem;
}

/* ===== INTEGRATION ===== */
.integration {
  padding: 120px 0;
  background: #f8fafc;
}

.integration-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.integration-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.integration-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.integration-feature:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.integration-feature .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  font-size: 1.1rem;
}

.integration-feature h3 {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.integration-feature p {
  font-size: 0.9rem;
  color: #475569;
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.integration-logo {
  padding: 20px 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.8rem;
  color: #475569;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.integration-logo svg,
.integration-logo img {
  height: 32px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.integration-logo:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.integration-logo:hover svg {
  opacity: 1;
}

/* ===== PRICING ===== */
.pricing {
  padding: 120px 0;
  text-align: center;
  background: #ffffff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 48px auto 0;
}

.price-card {
  padding: 40px 32px;
  text-align: left;
}

.price-card .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6366f1;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: #475569;
}

.price-card p {
  color: #475569;
  font-size: 0.95rem;
  margin-top: 12px;
}

.price-card ul {
  margin-top: 16px;
}

.price-card li {
  padding: 6px 0;
  color: #475569;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card li::before {
  content: '✓';
  color: #6366f1;
  font-weight: 700;
}

.pricing-extra {
  margin-top: 48px;
}

.pricing-table {
  width: 100%;
  max-width: 800px;
  margin: 24px auto 0;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-table th {
  color: #6366f1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.pricing-table td {
  color: #475569;
  font-size: 0.95rem;
}

.pricing-table th:last-child {
  text-align: right;
}

.pricing-table td:last-child {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.pricing-cta {
  margin-top: 48px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 120px 0;
  text-align: center;
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  padding: 32px;
  text-align: left;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 2px;
}

.trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 12px;
  margin-top: 40px;
  background: rgba(0, 182, 122, 0.1);
  border: 1px solid rgba(0, 182, 122, 0.2);
  color: #00b67a;
  font-weight: 700;
  font-size: 1rem;
}

/* ===== FAQ ===== */
.faq {
  padding: 120px 0;
  text-align: center;
  background: #ffffff;
}

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #6366f1;
}

.faq-question .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: #6366f1;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f9ff;
  font-size: 1.1rem;
}

.contact-item p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-item a {
  color: #4f46e5;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #7c3aed;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #1e293b;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  align-self: flex-start;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0 24px;
  border-top: 1px solid #e2e8f0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: #475569;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #4f46e5;
}

.footer-copy {
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  margin-top: 32px;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .services-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: #4f46e5;
    backdrop-filter: blur(20px);
  }

  .nav-links a {
    color: #ffffff;
    font-size: 1.25rem;
  }

  .nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-links .btn-primary {
    background: #ffffff !important;
    color: #4f46e5 !important;
  }

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

  .nav-cta {
    margin-left: 0;
  }

  .hamburger {
    display: flex;
  }

  .services-grid,
  .benefits-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 32px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .pricing-table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 12px;
  }

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

  .hero-sub {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .contact-item .icon {
    width: 36px;
    height: 36px;
  }
}