:root {
  --brand: #0056d2;
  --accent: #06b6d4;
  --bg: #f8fafc;
  --text: #1e293b;
  --muted: #6b7280;
}

/* Base */
* { box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  margin-top: 70px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--brand);
}

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--brand); color: #fff; padding: 8px; z-index: 1000;
}
.skip-link:focus { top: 0; }

/* Hero / Banners */
.hero-banner, .conversion-banner, .hero-banner.secondary {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center;
  background-size: cover; background-position: center;
}
.hero-banner h1, .hero-banner p { text-shadow: 0 3px 6px rgba(0,0,0,0.35); }

/* Buttons */
.btn-cta {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform .2s ease;
}
.btn-cta:hover { background: #0891b2; transform: scale(1.03); }

/* Section Variations */
.section { 
  scroll-snap-align: start;
  min-height: 100vh;
  padding: 100px 20px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.section-light { background: #f8fafc; }
.section-white { background: #ffffff; }
.section-gradient { background: linear-gradient(120deg, #0056d2, #06b6d4); color: #fff; }
.section-pastel { background: linear-gradient(135deg, #eef2f7, #f8fafc); }
.section-dark { background: #1e293b; color: #fff; }

/* Parallax */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  will-change: background-position;
  transition: background-position 0.2s ease-out;
}

/* Cards */
.feature-card, .plan-card, .testimonial-bubble, .security-box {
  margin: 0.6rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(11,24,40,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover, .plan-card:hover, .testimonial-bubble:hover, .security-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(11,24,40,0.12);
}
.plan-card.highlight {
  border: 2px solid rgba(0,86,210,0.12);
  background: rgba(13,110,253,0.05);
  transform: scale(1.02);
}

/* Pricing */
.plan-card .price { font-size: 1.4rem; font-weight: 600; color: var(--brand); }


.plan-table th {
  background: #f1f5f9;
  font-weight: 600;
  text-align: center;
}
.plan-table td {
  text-align: center;
  vertical-align: middle;
}
.plan-table td.text-start {
  font-weight: 500;
}
.plan-table th.highlight {
  background: #e0f2fe; /* subtle blue highlight */
  border: 2px solid #0ea5e9;
}
.plan-table tr:hover td {
  background: #f9fafb;
}

/* Tabs for Plans */
#planTabs .nav-link {
  font-weight: 600;
  color: #1f2937;
}
#planTabs .nav-link.active {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}
.plan-table th.highlight {
  background: #e0f2fe;
  border: 2px solid #0ea5e9;
}
.plan-table td, .plan-table th {
  text-align: center;
  vertical-align: middle;
}
.plan-table td.text-start {
  text-align: left;
  font-weight: 500;
}

/* Sliding tab animation */
.sliding-tab-content .tab-pane {
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.slide-in-left {
  transform: translateX(-20px);
}
.slide-in-right {
  transform: translateX(20px);
}
.tab-pane.active {
  transform: translateX(0);
  opacity: 1 !important;
}

/* Ribbon for Most Popular */
.ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent, #06b6d4);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0 0 0 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

th .ribbon {
  position: relative;
  top: -15px;
  right: auto;
}

/* Highlight Accelerate column */
.table-highlight {
  background-color: rgba(13,110,253,0.08);
}

/* Slide animations */
.slide-in-left {
  animation: slideInLeft 0.6s ease;
}
.slide-in-right {
  animation: slideInRight 0.6s ease;
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Tab animations */
.animate-slide-in {
  animation: slideIn .7s ease forwards;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Card fade-up */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp .9s forwards;
}
.animate-fade-up.delay-1 { animation-delay: 0.2s; }
.animate-fade-up.delay-2 { animation-delay: 0.4s; }
.animate-fade-up.delay-3 { animation-delay: 0.6s; }
.animate-fade-up.delay-4 { animation-delay: 0.8s; }
.animate-fade-up.delay-5 { animation-delay: 1s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Highlighted Table Columns */
.plan-table .highlight-col {
  background: rgba(6,182,212,0.08); /* soft cyan */
  font-weight: 600;
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}
.plan-table td:nth-child(4),
.plan-table td:nth-child(5),
.plan-table td:nth-child(6) {
  background: rgba(6,182,212,0.04);
  font-weight: 500;
}

/* Infinity Plan Glow */
.plan-card.infinity {
  position: relative;
  border: none;
  z-index: 1;
  background: #fff;
  overflow: hidden;
}

.plan-card.infinity::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, #06b6d4, #0056d2, #9333ea, #06b6d4);
  background-size: 400% 400%;
  border-radius: 16px;
  z-index: -1;
  animation: gradientGlow 6s ease infinite;
}

@keyframes gradientGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Security Boxes */
.security-box {
  border-radius: 16px;
  text-align: center;
  min-height: 200px;
}
.security-box i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  font-size: 22px;
  border-radius: 50%;
  background: rgba(13,110,253,0.1);
  color: var(--brand);
  margin-bottom: 15px;
}

/* Testimonials (speech bubbles) */
.testimonial-bubble {
  position: relative;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
  background: #fff;
  min-height: 220px;
  animation: floatBubble 6s ease-in-out infinite;
}
.testimonial-bubble::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 20px 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* FAQ */
#faqs { background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%); }
.accordion-button { font-weight: 600; font-size: 1rem; }
.accordion-body { text-align: left; color: #374151; font-size: 0.95rem; }

/* Contact */
#contact { background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%); }
#contactForm {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 25px; right: 25px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #0891b2; transform: translateY(-3px); }

/* Scroll down buttons */
.scroll-down {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s, transform .3s;
  cursor: pointer;
  z-index: 10;
  animation: bounce 2s infinite;
}
.scroll-down.light { background: rgba(0, 0, 0, 0.1); color: #111; }
.scroll-down.dark { background: rgba(255, 255, 255, 0.25); color: #fff; }
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translate(-50%,0); }
  40% { transform: translate(-50%,-10px); }
  60% { transform: translate(-50%,-5px); }
}

/* Animations */
.section { opacity: 0; transform: translateY(40px); transition: opacity 0.9s, transform 0.9s; }
.section.visible { opacity: 1; transform: translateY(0); }


.hero-banner {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
              url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=70&fm=webp') center/cover no-repeat;
  background-size: cover;
  color: #fff;
}
.conversion-banner {
  background: linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.75)),
              url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=70&fm=webp') no-repeat center center;
  background-size: cover 100%;
}
.hero-banner.secondary {
  background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
              url('https://images.unsplash.com/photo-1556761175-129418cb2dfe?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=70&fm=webp') center/cover no-repeat;
}

/* Hexagon Feature Boxes */
.hex-feature-box {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.hex-feature-box:hover {
  background: rgba(255, 255, 255, 0.2);
}
.hex-feature-box i {
  font-size: 24px;
  color: #0dcaf0; /* accent cyan */
}
.hex-feature-box p {
  margin: 0;
  color: #f8fafc;
  font-weight: 500;
}

.plan-card.glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}


/* Predictable Growth Background */
.section-growth {
  background: linear-gradient(135deg, #f8fafc, #e9efff);
  position: relative;
  overflow: hidden;
}

.section-growth::before {
  content: "";
  position: absolute;
  top: -50px; left: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle at center,
    rgba(6,182,212,0.25) 0%,
    rgba(6,182,212,0.12) 40%,
    transparent 75%);
  border-radius: 50%;
  animation: floatBg 8s ease-in-out infinite alternate;
}

.section-growth::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle at center,
    rgba(0,86,210,0.22) 0%,
    rgba(0,86,210,0.1) 40%,
    transparent 75%);
  border-radius: 50%;
  animation: floatBg 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatBg {
  0% { transform: translateY(0); }
  100% { transform: translateY(-25px); }
}

/* Testimonials Section */
.section-testimonials {
  background: linear-gradient(rgba(0, 86, 210, 0.9), rgba(6, 182, 212, 0.9)),
              url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=70&fm=webp') no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 80px 20px;
}

.section-testimonials h2 {
  color: #fff;
}

.testimonial-bubble {
  background: #fff;
  color: #1f2937;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  min-height: 220px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial-bubble::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 18px 18px 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.testimonial-bubble:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

.testimonial-bubble blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: #374151;
}

.testimonial-bubble cite {
  font-size: 0.9rem;
  color: #111827;
}

/* FAQ Section */
.section-faqs {
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  padding: 80px 20px;
}

.section-faqs h2 {
  color: #1e293b;
}

.accordion-button {
  font-weight: 600;
  color: #1f2937;
}

.accordion-button:not(.collapsed) {
  background: rgba(13,110,253,0.05);
  color: var(--brand);
}

.accordion-body {
  font-size: 0.95rem;
  color: #374151;
}
.accordion-item {
  border: none;
  border-bottom: 1px solid #e5e7eb;
}

/* Contact Section */
.section-contact {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 20px;
}

.section-contact h2 {
  color: #1e293b;
}

#contactForm {
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

#contactForm .form-label {
  font-weight: 600;
  color: #1e293b;
}

#contactForm .form-text {
  font-size: 0.8rem;
  color: #6b7280;
}

.nav-link.active-section {
  color: var(--brand) !important;
  font-weight: 700;
  border-bottom: 2px solid var(--brand);
}
