:root {
  --primary: #000000; /* Monotone Primary */
  --secondary: #111111;
  --color-orange: #FF4F00; /* Hover Accent */
  --accent: #F2F2F2;
  --bg-main: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-main: #1D2227;
  --text-muted: #666666;
  --border: #EEEEEE;
  --font-title: 'Hahmlet', serif;
  --font-body: 'SUIT', sans-serif;
  --font-main: var(--font-body);
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-hover: none;
}

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

html, body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

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

/* Background Gradients/Shapes (Zapier friendly style) */
.bg-shape {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.1; /* Further muted */
  filter: blur(100px);
}

.bg-shape.shape1 {
  width: 40vw;
  height: 40vw;
  top: -10vw;
  left: -10vw;
  background: #F0F0F0;
}

.bg-shape.shape2 {
  width: 50vw;
  height: 50vw;
  bottom: 10%;
  right: -20vw;
  background: #F8F8F8;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 5%;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 40px;
  object-fit: contain;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  border: 2px solid var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* Global CTA Interaction - Unified Lifting Effect */
.btn-primary:hover, 
.header-cta:hover, 
.hero-btn:hover, 
.large-btn:hover, 
.cta-footer-btn:hover {
  background: var(--color-orange) !important;
  border-color: var(--color-orange) !important;
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
  color: white !important;
}

.btn-primary:active,
.header-cta:active,
.hero-btn:active,
.large-btn:active,
.cta-footer-btn:active {
  transform: translateY(-2px) scale(0.98) !important;
}

.large-btn {
  padding: 1.2rem 2.5rem;
  font-size: 1.15rem;
  border-radius: 8px;
}

/* Glass/Card Utility -> Crisp White Cards for Zapier style */
.glass-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Icons */
iconify-icon {
  display: inline-block;
  vertical-align: middle;
}

.icon-16 {
  font-size: 16px;
}

.icon-24 {
  font-size: 24px;
}

.icon-32 {
  font-size: 32px;
}

/* Hero Section - Scroll Zoom Implementation */
.hero {
  height: 300vh; /* Scroll progress space */
  display: block;
  position: relative;
  z-index: 10;
  padding: 0;
}

.hero-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-content {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.hero-text-content {
  transition: opacity 0.1s ease, transform 0.1s ease;
  will-change: opacity, transform;
  z-index: 3;
  position: absolute;
  top: 25%; /* Raised from 35% */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1000px;
  text-align: center;
}


.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: #F2F2F2;
  color: #333333;
  border: 1px solid var(--border);
  font-weight: 700;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-btn {
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
  border-radius: 8px;
}

.hero-video-wrapper {
  position: absolute;
  top: 85%; /* Lowered from 75% to prevent overlap */
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f6f7f8;
  width: 100%;
  max-width: 800px;  /* Base width for JS to read */
  height: auto;      /* Base height falls back to aspect ratio initially */
  aspect-ratio: 16 / 9;
  z-index: 1;
  will-change: top, width, height, border-radius;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  animation: skeleton-shimmer 2s infinite linear forwards;
}



.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}



/* General Section Styles */
main {
  display: block !important;
  width: 100%;
}

section {
  padding: 8rem 5%;
  max-width: 100%;
  text-align: center;
  display: block; /* Ensure block flow by default */
  width: 100%;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
}

/* Comparison Section */
.comparison-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  margin: 3rem auto 0 auto;
  max-width: 900px;
}

.card {
  flex: 1;
  padding: 2.5rem;
  text-align: left;
  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card.before {
  background: #F9F9F9;
  border: 1px solid #EAEAEA;
  box-shadow: none;
  color: var(--text-muted);
}

.card.after {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  transform: translateY(-8px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  color: var(--text-main);
}

.bad,
.good {
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.bad {
  background: #F0F0F0;
  color: #666666;
}

.good {
  background: #333333;
  color: #FFFFFF;
}

.card ul {
  list-style: none;
}

.card ul li {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  font-weight: 500;
}

.card.before ul li {
  color: var(--text-muted);
}

.card ul li .icon {
  margin-right: 12px;
  font-size: 1.2rem;
}

.icon-arrow {
  font-size: 2.5rem;
  color: var(--border);
  align-self: center;
}

/* How It Works */
.how-it-works {
  background-color: #F9F9FB;
  /* Soft grey alternating bg */
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  padding: 3rem 2rem;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--bg-card);
}

.step:hover {
  transform: translateY(-5px);
}

.step-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  background: #F2F2F2;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

/* Levels Section */
.levels-section {
  max-width: 1100px;
  margin: 0 auto;
}

.level-table-container {
  overflow-x: auto;
  border-radius: 12px;
  background: var(--bg-card);
  padding: 1rem;
}

.level-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.level-table th,
.level-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.level-table th {
  background: #F9F9F9;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.level-table td {
  font-size: 1.05rem;
  font-weight: 600;
}

.level-table .money {
  font-size: 1.15rem;
  color: var(--primary);
}

.level-table tr.elite {
  background: #F9F9F9;
}

.level-table tr.elite td {
  border-bottom: none;
}

.sub-note {
  text-align: left;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: block;
  position: relative;
  min-height: 800px; /* Reserve space to prevent layout jumps */
}

.faq-list {
  margin-top: 3rem;
  text-align: left;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  padding: 1.5rem 2rem;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
  padding: 0 2rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.3s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem;
  opacity: 1;
}

/* Final CTA */
.final-cta {
  padding: 6rem 5% 8rem;
  background-color: var(--secondary);
  /* 30% Sub Color */
  color: white;
  text-align: center;
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.final-cta .highlight {
  color: white;
}

.final-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  font-weight: 500;
}

.final-cta .btn-primary {
  background-color: var(--color-orange);
  color: white;
}

/* Let the button use default btn-primary accent (10%) */

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
  background: var(--bg-card);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.footer-logo {
  height: 24px;
  margin-bottom: 1rem;
  filter: grayscale(1) opacity(0.7);
}

.footer-left p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-right {
  text-align: right;
}

.footer-right p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.business-info {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #888888;
  line-height: 1.8;
}

.business-info p {
  margin-bottom: 0.2rem;
}

.footer-links {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-link-btn {
  background: none;
  border: none;
  color: #888888;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-link-btn:hover {
  color: var(--primary);
}

.footer-link-divider {
  color: #DDDDDD;
  font-size: 0.7rem;
}

.footer-right a {
  color: var(--primary);
  text-decoration: none;
}

.copyright {
  text-align: center;
  color: #A0A4A8;
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Modal System */
.modal {
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.modal-content {
  width: 95%;
  max-width: 700px;
  max-height: 85vh;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.4rem;
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--primary);
}

.modal-body {
  overflow-y: auto;
  padding-right: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
}

.modal-body h4 {
  color: var(--text-main);
  margin: 1.5rem 0 0.8rem;
  font-size: 1.1rem;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #DDDDDD;
  border-radius: 10px;
}

.mobile-floating-wrapper {
  display: none;
}

/* Animations Data */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
}

.delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .comparison-cards {
    flex-direction: column;
  }

  .icon-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }

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

  .testimonial-cards {
    flex-direction: column;
  }

  .card.after {
    transform: none;
  }
}

@media (max-width: 600px) {

  /* Header Adjustments */
  header {
    padding: 0.8rem 5%;
  }

  .logo img {
    height: 22px;
  }

  nav {
    display: none;
  }

  .btn-primary.header-cta {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  /* Tablet & Mobile Section Spacing */
  section {
    padding: 5.5rem 5%;
  }

  section h2 {
    font-size: 1.8rem;
    line-height: 1.35;
  }

  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  /* Hero Section */
  .hero {
    height: auto !important;
    min-height: auto !important;
    padding: 80px 0 40px 0 !important; /* Proper header clearance */
    background: #FFFFFF;
  }

  .hero-sticky-container {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
  }

  .hero h1 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
    padding: 0 5%;
  }

  .hero .subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0 5%;
  }

  .hero-content {
    position: relative !important;
    height: auto !important;
    display: block !important;
    z-index: 1 !important;
  }

  .hero-text-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
  }

  .hero-video-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    background: #F0F0F0; /* Fallback for video */
    box-shadow: none !important;
  }

  /* Floating CTA */
  .mobile-floating-wrapper {
    display: block; /* Show only on mobile/tablet */
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    padding: 1.5rem 5% 2rem;
    /* Smoother, more transparent gradient to avoid 'cut-off' look */
    background: linear-gradient(to bottom, 
      rgba(255,255,255,0) 0%, 
      rgba(255,255,255,0.3) 25%, 
      rgba(255,255,255,0.8) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .mobile-floating-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
  }

  .mobile-floating-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  /* Cards */
  .card {
    padding: 1.5rem;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .card h3 {
    font-size: 1.15rem;
  }

  .card ul li {
    font-size: 0.95rem;
  }

  /* Testimonials */
  .testimo-image {
    height: 120px;
    font-size: 3rem;
  }

  .testimo-content {
    padding: 1.5rem;
  }

  /* Table */
  .level-table-container {
    padding: 0.5rem;
  }

  .level-table th,
  .level-table td {
    padding: 0.8rem 0.5rem;
    font-size: 0.85rem;
  }

  .level-table .money {
    font-size: 0.95rem;
  }

  /* FAQ */
  .faq-question {
    font-size: 1.05rem;
    padding: 1.2rem;
    word-break: keep-all;
  }
  
  .faq-item summary {
    padding: 1.2rem 3rem 1.2rem 1.2rem;
    font-size: 1rem;
  }

  .faq-item summary::after {
    right: 1.2rem;
    font-size: 1.2rem;
  }

  .faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-right {
    text-align: left;
  }

  .final-cta {
    padding: 4rem 5% 5rem;
  }

  .final-cta h2 {
    font-size: 1.6rem;
    word-break: keep-all;
  }

  .final-cta p {
    font-size: 0.95rem;
    word-break: keep-all;
    line-height: 1.5;
  }

  .large-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
}