/* Global settings */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

/* Headline */
h1, .headline {
    font-weight: 800;           /* Extra Bold */
    letter-spacing: -0.02em;    /* -20 tracking */
    text-transform: none;
}

/* Sub-headline */
h2, .sub-headline {
    font-weight: 600;           /* Semi-bold or Medium */
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Body Copy */
p, .body-text {
    font-weight: 300;           /* Light */
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Specification Label */
.spec-label {
    font-weight: 900;           /* Black */
    font-style: italic;
    letter-spacing: 0.04em;     /* +40 tracking */
    text-transform: none;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensures the header stays above other content */
    /* Remove the solid background color to allow the transparent nav to show the image */
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px; /* Adjust the padding to better fit your logo and button */
    background-color: rgba(0, 0, 0, 0.7); /* This provides the dark transparent background */
    height: 40px; /* Adjusted for a thinner header */
    /* Rest of your styles... */
}

.logo-link {
    display: flex;
    align-items: center;
    /* No padding needed if you're using margin on the logo itself */
}

.logo {
    height: 30px; /* Adjust for a visible logo size */
    width: auto; /* Keeps the aspect ratio of the logo */
    /* No negative margin, adjust the actual header height instead */
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center; /* This will vertically center your nav items */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    padding: 0 5px;
    margin: 0; /* Ensure there's no additional space from margins */
    line-height: 1;
    /* You can add line-height or padding here if you need to adjust the vertical alignment */
}

/* Navigation links styling */
.nav-links a {
    text-decoration: none; /* Removes underline by default */
    color: #ffffff; /* White text color */
    font-size: 1em; /* Adjust the font size as needed */
    padding: 10px 15px; /* Padding for better click area */
    display: block; /* Makes the anchor tag fill the list item */
    transition: color 0.3s ease; /* Smooth transition for color changes */
}

/* Hover effect for navigation links */
.nav-links a:hover, .nav-links a:focus {
    color: #03ab94; /* Changes text color to aquamarine on hover and focus */
}

header .buy-now, a.buy-now-button {
    display: inline-flex; /* Use flexbox for centering */
    align-items: center; /* Vertically center the text */
    justify-content: center; /* Horizontally center the text */
    background-color: #03ab94 !important; /* Green background */
    color: white !important; /* White text */
    text-decoration: none !important; /* Remove underline */
    padding: 5px 15px !important; /* Smaller padding for a smaller button */
    border: none !important; /* Remove border */
    border-radius: 25px !important; /* Rounded corners */
    font-size: 0.9rem !important; /* Slightly smaller font size */
    font-weight: bold !important; /* Bold text */
    cursor: pointer !important; /* Pointer cursor */
    transition: background-color 0.3s ease, transform 0.3s ease !important; /* Smooth transitions */
    text-align: center !important; /* Ensure centered text */
    line-height: normal; /* Reset line-height for consistency */
}



/* Hover Effect for the Buy Now Button */
header .buy-now:hover, a.buy-now-button:hover {
    background-color: #02917a !important; /* Darker green on hover */
    color: white !important; /* Ensure text remains white */
}

/* Responsive Styling for Smaller Devices */
@media (max-width: 768px) {
    header .buy-now, a.buy-now-button {
        font-size: 1.2rem !important; /* Slightly larger font size for mobile */
        padding: 15px 30px !important; /* Larger padding for tap area */
    }
}

/* Target the Buy Now button in the navbar */
header nav .nav-links .buy-now-button {
    display: inline-block;
    background-color: #02917a; /* Green background */
    color: white; /* White text */
    text-decoration: none;
    padding: 5px 10px; /* Adjust padding for click area */
    border: 0px solid #02917a; /* Green border */
    border-radius: 25px; /* Rounded corners */
    font-size: 0.8rem; /* Standard font size */
    font-weight: bold; /* Bold text for emphasis */
    cursor: pointer; /* Pointer cursor for interactivity */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-left: 10px; /* Spacing from other nav items */
    white-space: nowrap; /* Prevents text wrapping */
}

/* Hover effect for the Buy Now button */
header nav .nav-links .buy-now-button:hover {
    background-color: #07a66e; /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header nav .nav-links .buy-now-button {
        font-size: 1.2rem; /* Increase font size for smaller screens */
        padding: 15px 40px; /* Larger padding for better tap area */
        width: 100%; /* Take up more width on mobile */
        text-align: center; /* Center-align text */
        margin: 10px auto; /* Center the button in the navbar */
    }
}

/* Hamburger Button */
.hamburger {
    display: none; /* Hidden by default for larger screens */
    cursor: pointer;
    font-size: 30px;
    color: white;
}

/* Navigation Menu */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Horizontal layout by default */
}

.nav-links li {
    margin: 0 -10px; /* Closer spacing for large screens */
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 30px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #1abc9c; /* Highlight color */
}

/* Mobile Menu Styles */
@media (max-width: 768px) {

    /* Hamburger Button */
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 30px;
        color: white;
        transition: transform 0.3s ease;
        z-index: 2000; /* Ensure it stays above the navbar */
    }

    /* Add a rotation effect or change icon for "open" state */
    .hamburger.open {
        transform: rotate(90deg); /* Rotate for open state (optional) */
    }

    /* Ensure the hamburger is always visible */
    .nav-links {
        z-index: 1500; /* Menu is below the hamburger */
        position: fixed; /* Ensure it doesn't hide the hamburger */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        margin: 15px 0;
        opacity: 0; /* Initially hidden */
        transform: translateY(20px);
        font-size: 4rem; /* Larger text size for mobile titles */
        font-weight: bold; /* Make titles bold */
        animation: fadeInUp 0.5s forwards;
    }

    .nav-links.active li {
        animation: fadeInUp 0.5s forwards; /* Fade-in animation */
    }

    .nav-links.exiting li {
        animation: fadeOutDown 0.5s forwards; /* Reverse fade-out animation */
    }

    .nav-links li a {
        text-decoration: none;
        color: white;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .nav-links li a.clicked {
        transform: scale(1.2); /* Slightly enlarge on click */
        color: #1abc9c; /* Highlight color */
    }

    @keyframes fadeInSmooth {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes fadeOutSmooth {
        0% {
            opacity: 1;
            transform: translateY(0);
        }
        100% {
            opacity: 0;
            transform: translateY(20px);
        }
    }
    
    /* Ensure animations retain their end states */
    .nav-links li {
        animation-fill-mode: forwards; /* Retain the final animation state */
        will-change: opacity, transform; /* Optimize performance */
    }
}

/* Media Query for Larger Screens */
@media (min-width: 769px) {
    .nav-links li {
        margin: 0 5px; /* Closer spacing between links */
    }

    .nav-links li a {
        font-size: 1rem; /* Keep default size on larger screens */
    }
}

/* =========================================================
   REEL FREE — HOW TO PREVENT OXYGEN TUBING FROM TANGLING
   PREMIUM PAGE CSS
   ========================================================= */

:root {
  --rf-black: #0f0f0f;
  --rf-black-2: #161616;
  --rf-black-3: #1d1d1d;
  --rf-white: #ffffff;
  --rf-offwhite: #f7f7f5;
  --rf-light: #e3e0e0;
  --rf-gray: #b7b7b7;
  --rf-slate: #414141;
  --rf-green: #18b19c;
  --rf-green-bright: #22d3bb;
  --rf-mint: #8ce4d8;
  --rf-border-dark: rgba(255, 255, 255, 0.1);
  --rf-border-light: rgba(15, 15, 15, 0.1);
  --rf-shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.35);
  --rf-shadow-light: 0 18px 45px rgba(0, 0, 0, 0.08);
  --rf-radius-sm: 14px;
  --rf-radius-md: 22px;
  --rf-radius-lg: 32px;
  --rf-radius-xl: 40px;
  --rf-container: 1240px;
  --rf-container-narrow: 920px;
  --rf-transition: 0.35s ease;
  --rf-gradient: linear-gradient(135deg, #18b19c 0%, #8ce4d8 100%);
  --rf-gradient-dark: linear-gradient(135deg, rgba(24, 177, 156, 0.16) 0%, rgba(140, 228, 216, 0.05) 100%);
  --rf-line-glow: linear-gradient(90deg, rgba(24, 177, 156, 0), rgba(24, 177, 156, 0.9), rgba(140, 228, 216, 0), rgba(24, 177, 156, 0));
}

/* =========================================================
   BASE
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rf-white);
  color: var(--rf-black);
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--rf-container));
  margin: 0 auto;
}

.container-narrow {
  width: min(calc(100% - 40px), var(--rf-container-narrow));
  margin: 0 auto;
}

.oxygen-tubing-tangle-page {
  overflow: clip;
  position: relative;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

p {
  margin: 0;
  line-height: 1.75;
  font-size: 1.02rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--rf-gradient);
  box-shadow: 0 0 20px rgba(34, 211, 187, 0.45);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.center {
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin-top: 16px;
}

.section-intro,
.hero-supporting-copy,
.lead-paragraph {
  font-size: 1.08rem;
}

/* =========================================================
   GLOBAL SECTION STYLING
   ========================================================= */

main section {
  position: relative;
}

main section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(92%, 1280px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0),
    rgba(24,177,156,0.18),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.tangle-hero-section,
.problem-solution-timeline-section,
.feature-spotlight-section,
.audience-benefits-section,
.final-cta-section {
  background: var(--rf-black);
  color: var(--rf-white);
}

.quick-scan-section,
.image-showcase-section,
.prevention-methods-section,
.video-feature-section,
.faq-section {
  background: var(--rf-white);
  color: var(--rf-black);
}

/* subtle background treatments */
.tangle-hero-section::before,
.problem-solution-timeline-section::before,
.feature-spotlight-section::before,
.final-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(24, 177, 156, 0.16), transparent 26%),
    radial-gradient(circle at 90% 20%, rgba(140, 228, 216, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
  pointer-events: none;
}

.quick-scan-section::before,
.image-showcase-section::before,
.prevention-methods-section::before,
.video-feature-section::before,
.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(24, 177, 156, 0.06), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(140, 228, 216, 0.09), transparent 22%);
  pointer-events: none;
}

.tangle-hero-section,
.quick-scan-section,
.problem-solution-timeline-section,
.image-showcase-section,
.prevention-methods-section,
.feature-spotlight-section,
.video-feature-section,
.audience-benefits-section,
.faq-section,
.final-cta-section {
  padding: 96px 0;
}

.quick-scan-section,
.image-showcase-section,
.video-feature-section,
.faq-section {
  padding-top: 82px;
  padding-bottom: 82px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform var(--rf-transition),
    box-shadow var(--rf-transition),
    border-color var(--rf-transition),
    background var(--rf-transition),
    color var(--rf-transition);
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--rf-transition);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  color: var(--rf-black);
  background: var(--rf-gradient);
  box-shadow:
    0 14px 34px rgba(24, 177, 156, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary::before {
  background: linear-gradient(135deg, #24d3ba 0%, #b3f4eb 100%);
}

.btn-primary:hover {
  box-shadow:
    0 18px 40px rgba(24, 177, 156, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-secondary {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.btn-secondary::before {
  background: rgba(24, 177, 156, 0.08);
}

.tangle-hero-section .btn-secondary,
.final-cta-section .btn-secondary {
  border-color: rgba(255,255,255,0.24);
  color: var(--rf-white);
}

.quick-scan-section .btn-secondary,
.prevention-methods-section .btn-secondary,
.faq-section .btn-secondary {
  border-color: rgba(15,15,15,0.16);
  color: var(--rf-black);
}

/* =========================================================
   HERO
   ========================================================= */

.tangle-hero-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.hero-stack-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

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

.tangle-hero-section .eyebrow,
.tangle-hero-section .section-kicker,
.problem-solution-timeline-section .section-kicker,
.feature-spotlight-section .section-kicker,
.audience-benefits-section .section-kicker,
.final-cta-section .section-kicker {
  color: var(--rf-mint);
}

.quick-scan-section .section-kicker,
.image-showcase-section .section-kicker,
.prevention-methods-section .section-kicker,
.video-feature-section .section-kicker,
.faq-section .section-kicker {
  color: var(--rf-green);
}

.hero-direct-answer {
  margin-top: 22px;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  max-width: 760px;
}

.hero-supporting-copy {
  margin-top: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  color: var(--rf-white);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
}

.hero-badges li:hover {
  border-color: rgba(140, 228, 216, 0.4);
  transform: translateY(-2px);
  transition: var(--rf-transition);
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.hero-main-image,
.hero-side-image {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--rf-shadow-dark);
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--rf-black-2);
}

.hero-main-image::before,
.hero-side-image::before,
.showcase-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.14));
  pointer-events: none;
  z-index: 1;
}

.hero-main-image img,
.hero-side-image img,
.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-main-image:hover img,
.hero-side-image:hover img,
.showcase-image:hover img {
  transform: scale(1.04);
}

.hero-main-image {
  min-height: 560px;
}

.hero-side-image {
  min-height: 560px;
}

/* =========================================================
   QUICK SCAN
   ========================================================= */

.quick-scan-card {
  position: relative;
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,247,245,0.98));
  border: 1px solid rgba(15,15,15,0.08);
  box-shadow: var(--rf-shadow-light);
  overflow: hidden;
}

.quick-scan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--rf-gradient);
  border-radius: 999px;
}

.quick-scan-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.quick-scan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scan-item {
  position: relative;
  padding: 28px 24px;
  background: var(--rf-white);
  border-radius: 24px;
  border: 1px solid rgba(15,15,15,0.08);
  transition:
    transform var(--rf-transition),
    border-color var(--rf-transition),
    box-shadow var(--rf-transition);
}

.scan-item:hover {
  transform: translateY(-6px);
  border-color: rgba(24,177,156,0.3);
  box-shadow: 0 20px 36px rgba(0,0,0,0.08);
}

.scan-item h3 {
  margin-bottom: 12px;
  color: var(--rf-black);
}

.scan-item p {
  color: var(--rf-slate);
}

/* =========================================================
   TIMELINE / PROBLEM SOLUTION
   ========================================================= */

.problem-solution-timeline-section .section-intro {
  color: rgba(255,255,255,0.72);
}

.timeline-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.timeline-layout::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--rf-line-glow);
  opacity: 0.9;
}

.timeline-step {
  position: relative;
  padding: 78px 24px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rf-border-dark);
  border-radius: 28px;
  backdrop-filter: blur(8px);
  transition:
    transform var(--rf-transition),
    border-color var(--rf-transition),
    background var(--rf-transition);
}

.timeline-step:hover {
  transform: translateY(-6px);
  border-color: rgba(140,228,216,0.34);
  background: rgba(255,255,255,0.06);
}

.step-number {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  color: var(--rf-black);
  background: var(--rf-gradient);
  box-shadow: 0 12px 28px rgba(24, 177, 156, 0.3);
}

.timeline-step h3 {
  margin-bottom: 14px;
  color: var(--rf-white);
}

.timeline-step p {
  color: rgba(255,255,255,0.72);
}

.timeline-step-featured {
  background: var(--rf-gradient-dark);
  border-color: rgba(24,177,156,0.32);
}

/* =========================================================
   IMAGE SHOWCASE
   ========================================================= */

.image-showcase-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.showcase-copy p:not(.section-kicker) {
  color: var(--rf-slate);
}

.showcase-copy p + p {
  margin-top: 16px;
}

.showcase-images {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.showcase-image {
  overflow: hidden;
  border-radius: 28px;
  background: #ddd;
  border: 1px solid rgba(15,15,15,0.08);
  box-shadow: var(--rf-shadow-light);
  min-height: 240px;
}

.showcase-image.image-large {
  grid-row: 1 / span 2;
  min-height: 520px;
}

.showcase-image.image-small {
  min-height: 250px;
}

/* =========================================================
   PREVENTION METHODS
   ========================================================= */

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.method-card {
  position: relative;
  padding: 32px 28px;
  border-radius: 28px;
  background: var(--rf-white);
  border: 1px solid rgba(15,15,15,0.09);
  box-shadow: var(--rf-shadow-light);
  overflow: hidden;
  transition:
    transform var(--rf-transition),
    box-shadow var(--rf-transition),
    border-color var(--rf-transition);
}

.method-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #18b19c 0%, #8ce4d8 100%);
  opacity: 0.92;
}

.method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(0,0,0,0.12);
  border-color: rgba(24,177,156,0.22);
}

.method-card h3 {
  margin-bottom: 14px;
  color: var(--rf-black);
}

.method-card p {
  color: var(--rf-slate);
}

.method-card p + p {
  margin-top: 14px;
}

.method-card-primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(140,228,216,0.1));
}

.method-card-featured {
  background:
    linear-gradient(180deg, rgba(24,177,156,0.06), rgba(255,255,255,1));
  border-color: rgba(24,177,156,0.18);
}

/* =========================================================
   FEATURE SPOTLIGHT
   ========================================================= */

.feature-spotlight-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.spotlight-left .lead-paragraph {
  margin-top: 18px;
  color: rgba(255,255,255,0.82);
}

.spotlight-left > p:last-child {
  margin-top: 22px;
  color: rgba(255,255,255,0.72);
}

.benefit-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.benefit-list li {
  position: relative;
  padding: 16px 18px 16px 54px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--rf-white);
  font-weight: 600;
}

.benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rf-gradient);
  color: var(--rf-black);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-style-card {
  position: relative;
  padding: 38px 34px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(140,228,216,0.2);
  box-shadow: var(--rf-shadow-dark);
  overflow: hidden;
}

.quote-style-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(34,211,187,0.2), transparent 34%);
  pointer-events: none;
}

.quote-text {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--rf-white);
}

/* =========================================================
   VIDEO
   ========================================================= */

.video-feature-section .section-intro {
  color: var(--rf-slate);
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: var(--rf-black);
  border: 1px solid rgba(15,15,15,0.08);
  box-shadow: 0 28px 70px rgba(0,0,0,0.15);
  aspect-ratio: 16 / 9;
}

.video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(24,177,156,0.65), rgba(255,255,255,0.15), rgba(140,228,216,0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   AUDIENCE
   ========================================================= */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-card {
  position: relative;
  padding: 30px 26px;
  border-radius: 26px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition:
    transform var(--rf-transition),
    border-color var(--rf-transition),
    background var(--rf-transition);
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(140,228,216,0.34);
  background: rgba(255,255,255,0.07);
}

.audience-card h3 {
  color: var(--rf-white);
  margin-bottom: 12px;
}

.audience-card p {
  color: rgba(255,255,255,0.72);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  position: relative;
  padding: 28px 28px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #fbfbfa);
  border: 1px solid rgba(15,15,15,0.08);
  box-shadow: var(--rf-shadow-light);
  transition:
    transform var(--rf-transition),
    box-shadow var(--rf-transition),
    border-color var(--rf-transition);
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: var(--rf-gradient);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(0,0,0,0.09);
  border-color: rgba(24,177,156,0.22);
}

.faq-item h3 {
  margin-bottom: 12px;
  color: var(--rf-black);
}

.faq-item p {
  color: var(--rf-slate);
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta-card {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  border: 1px solid rgba(140,228,216,0.18);
  box-shadow: var(--rf-shadow-dark);
  text-align: center;
}

.final-cta-card::before {
  content: "";
  position: absolute;
  inset: -10% auto auto 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(24,177,156,0.22), transparent 65%);
  pointer-events: none;
}

.final-cta-card h2 {
  margin-top: 14px;
}

.final-cta-card p:not(.section-kicker) {
  margin: 18px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,0.74);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */

.tangle-hero-section .hero-copy-wrap,
.tangle-hero-section .hero-visual-grid,
.quick-scan-card,
.timeline-step,
.showcase-copy,
.showcase-image,
.method-card,
.spotlight-left,
.quote-style-card,
.video-shell,
.audience-card,
.faq-item,
.final-cta-card {
  animation: rfFadeUp 0.9s ease both;
}

.timeline-step:nth-child(2),
.scan-item:nth-child(2),
.method-card:nth-child(2),
.audience-card:nth-child(2) {
  animation-delay: 0.08s;
}

.timeline-step:nth-child(3),
.scan-item:nth-child(3),
.method-card:nth-child(3),
.audience-card:nth-child(3) {
  animation-delay: 0.16s;
}

.timeline-step:nth-child(4) {
  animation-delay: 0.24s;
}

.showcase-image:nth-child(2),
.faq-item:nth-child(2) {
  animation-delay: 0.08s;
}

.showcase-image:nth-child(3),
.faq-item:nth-child(3) {
  animation-delay: 0.16s;
}

.faq-item:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rfFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* floating subtle motion */
.hero-main-image,
.hero-side-image,
.quote-style-card {
  animation-name: rfFloat, rfFadeUp;
  animation-duration: 6s, 0.9s;
  animation-timing-function: ease-in-out, ease;
  animation-iteration-count: infinite, 1;
  animation-direction: alternate, normal;
}

.hero-side-image {
  animation-duration: 7s, 0.9s;
}

.quote-style-card {
  animation-duration: 8s, 0.9s;
}

@keyframes rfFloat {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-8px);
  }
}

/* =========================================================
   UTILITIES / OPTIONAL HOOKS FOR LATER JS
   ========================================================= */

.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.will-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.has-gradient-line {
  position: relative;
}

.has-gradient-line::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  border-radius: 999px;
  margin-top: 18px;
  background: var(--rf-gradient);
  box-shadow: 0 0 24px rgba(24,177,156,0.25);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
  .hero-stack-layout,
  .image-showcase-layout,
  .feature-spotlight-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .showcase-images {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-image.image-large {
    grid-row: auto;
    min-height: 380px;
  }
}

@media (max-width: 820px) {
  .tangle-hero-section,
  .quick-scan-section,
  .problem-solution-timeline-section,
  .image-showcase-section,
  .prevention-methods-section,
  .feature-spotlight-section,
  .video-feature-section,
  .audience-benefits-section,
  .faq-section,
  .final-cta-section {
    padding: 74px 0;
  }

  .hero-visual-grid,
  .quick-scan-grid,
  .timeline-layout,
  .methods-grid,
  .audience-grid,
  .showcase-images {
    grid-template-columns: 1fr;
  }

  .hero-main-image,
  .hero-side-image,
  .showcase-image.image-large,
  .showcase-image.image-small {
    min-height: 300px;
  }

  .quick-scan-card,
  .final-cta-card {
    padding: 28px;
  }

  .method-card,
  .faq-item,
  .timeline-step,
  .audience-card,
  .scan-item {
    padding-left: 22px;
    padding-right: 22px;
  }

  .timeline-layout::before {
    display: none;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-badges {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .container,
  .container-narrow {
    width: min(calc(100% - 24px), var(--rf-container));
  }

  .tangle-hero-section {
    padding-top: 86px;
  }

  .hero-badges li {
    width: 100%;
    justify-content: center;
  }

  .quick-scan-card,
  .final-cta-card,
  .quote-style-card {
    border-radius: 24px;
  }

  .hero-main-image,
  .hero-side-image,
  .showcase-image,
  .video-shell {
    border-radius: 22px;
  }

  .method-card,
  .faq-item,
  .timeline-step,
  .audience-card,
  .scan-item {
    border-radius: 20px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 0.92rem;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Footer Styles */
.site-footer {
    background-color: #333; /* Dark grey background */
    color: #fff; /* White text */
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    position: relative; /* To ensure footer-bottom can align correctly */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Navigation, Social Media, and Info */
.footer-nav,
.footer-social,
.footer-info {
    flex: 1 1 calc(33.33% - 20px); /* Responsive grid */
    min-width: 200px;
}

.footer-nav h3,
.footer-social h3,
.footer-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li,
.footer-social ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-social ul li a {
    color: #ccc; /* Light grey links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-social ul li a:hover {
    color: #02917a; /* Green hover color */
}

/* Footer Info Section */
.footer-info {
    font-size: 0.9rem;
    color: #ccc; /* Light grey text */
    line-height: 1.6; /* Better readability */
}

.footer-info p {
    margin: 10px 0; /* Add spacing between lines */
}

.footer-info a {
    color: #02917a; /* Replace with your brand's specific green color code */
    text-decoration: none; /* Optional: removes underline from the link */
}

.footer-info a:hover {
    color: #016954; /* Darker green for hover, adjust as needed */
    text-decoration: underline; /* Optional: adds underline on hover for better usability */
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #bbb; /* Lighter grey for bottom text */
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem; /* Slightly larger for clarity */
    font-weight: bold; /* Make Reel Free stand out */
    color: #fff;
}

.footer-brand {
    font-weight: 700; /* Bold */
    color: #fff;
}

.footer-year {
    font-weight: 500; /* Medium */
    color: #ccc;
}

.footer-rights {
    font-weight: 300; /* Light */
    color: #bbb;
}

.footer-divider {
    margin: 0 0.3rem;
    color: #999;
}

/* Media Query for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack footer sections vertically */
        align-items: center;
        text-align: center;
    }

    .footer-nav,
    .footer-social,
    .footer-info {
        flex: 1 1 100%; /* Each section takes full width */
        margin-bottom: 20px; /* Add spacing between stacked sections */
    }

    .footer-bottom {
        margin-top: 20px; /* Adjust margin for smaller screens */
    }
}


/* ===========================
   Footer Chatbot Launcher
   =========================== */

   .footer-chat {
    /* mobile: flows under contact email */
    margin-top: 14px;
  }
  
  .rf-chatnote {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #9fd8cf; /* subtle teal tint under dark footer */
  }
  
  /* The pill button with two words: Help • Chat */
  .rf-chatbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 0;
    background: #18B19C;         /* brand teal */
    color: #0c2b27;               /* ink on teal */
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2, 24, 43, 0.18);
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  
  .rf-chatbtn:hover { transform: translateY(-1px); }
  .rf-chatbtn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(2, 24, 43, 0.16); }
  .rf-chatbtn:focus-visible { outline: 3px solid #33c9b5; outline-offset: 2px; }
  
  .rf-chatbtn-help { opacity: 0.95; }
  .rf-chatbtn-dot  { opacity: 0.75; }
  .rf-chatbtn-chat {
    background: #ffffff;
    color: #09443c;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
    font-weight: 800;
  }
  
  /* Desktop positioning: attach to bottom-right corner of the footer */
  @media (min-width: 768px) {
    .site-footer {
      position: relative; /* already present, ensures absolute positioning is relative */
    }
    .footer-chat {
      position: absolute;
      right: 18px;
      bottom: 18px;
      margin-top: 0; /* override mobile spacing */
      text-align: right;
    }
  }
  
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .rf-chatbtn { transition: none !important; }
  }
  