/* === GLOBAL RESETS & VARIABLES === */
/* Variables are now primarily defined in style-shared.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* :root { */
  /* Variables moved to style-shared.css */
/* } */

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

body { /* Apply base styles directly, theme class handles specifics */
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--text-secondary); /* Use generic variable */
  background-color: var(--bg-primary); /* Use generic variable */
  overflow-x: hidden;
}

/* Prevent body scroll when mobile nav is open */
body.nav-open {
    overflow: hidden;
}


/* === UTILITIES & CONTAINER === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1rem; /* Increased default padding */
}

.section-bg {
  background-color: var(--bg-secondary); /* Use generic variable */
  position: relative; /* Needed for dividers */
}

.highlight { color: var(--primary-color); font-weight: 700; }
.highlight-secondary { color: var(--secondary-color); font-weight: 700; }

.section-title {
    text-align: center;
    font-size: 2.4rem; /* Slightly larger */
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary); /* Use generic variable */
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted); /* Use generic variable */
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

/* Text Glow Effect */
.text-glow {
    color: var(--primary-color); /* Use generic variable */
    text-shadow: 0 0 8px var(--glow-color), 0 0 12px var(--glow-color); /* Use generic variable */
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem; /* Slightly more padding */
  border-radius: 50px; /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease, var(--theme-transition); /* Added theme transition */
  cursor: pointer;
  border: none;
  text-align: center;
  box-shadow: var(--shadow-light); /* Use generic variable */
}
.btn i { margin-right: 0.5rem; }

.btn-primary {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color)); /* Use generic variables */
  color: var(--bg-primary); /* Use generic variable */
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px var(--glow-color); /* Adjust alpha if needed */
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color); /* Use generic variable */
  border: 2px solid var(--primary-color); /* Use generic variable */
}
.btn-secondary:hover {
  background-color: var(--primary-color); /* Use generic variable */
  color: var(--bg-primary); /* Use generic variable */
  box-shadow: 0 0 15px var(--glow-color); /* Use generic variable */
}

.btn-nav-buy {
  background-color: var(--primary-color); /* Use generic variable */
  color: var(--text-primary); /* Use generic variable */
  padding: 0.6rem 1.2rem;
  margin-left: 1.5rem;
  box-shadow: none; /* Remove default shadow from nav button */
}
.btn-nav-buy:hover {
  background-color: var(--secondary-color); /* Use generic variable */
  color: var(--bg-primary); /* Use generic variable */
  transform: translateY(-2px);
}

.btn-link {
    color: var(--secondary-color); /* Use generic variable */
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease, var(--theme-transition);
}
.btn-link:hover {
    color: var(--primary-color); /* Use generic variable */
    border-bottom-color: var(--primary-color); /* Use generic variable */
}
.link-separator { color: var(--text-muted); margin: 0 0.5rem; } /* Use generic variable */

/* Pulse Animation for Buttons */
.btn-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb, 0, 170, 255), 0.5); } /* Need RGB version for pulse */
    70% { box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb, 0, 170, 255), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb, 0, 170, 255), 0); }
}
/* Add RGB versions to :root and light-theme */
:root {
    --primary-color-rgb-dark: 0, 170, 255;
    --primary-color-rgb-light: 0, 123, 255;
    --primary-color-rgb: var(--primary-color-rgb-dark);
}
body.light-theme {
    --primary-color-rgb: var(--primary-color-rgb-light);
}


/* Buy Button in CTA */
.btn-buy {
  display: inline-block;
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color)); /* Use generic variables */
  color: var(--bg-primary); /* Use generic variable */
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-medium); /* Use generic variable */
  transition: all 0.3s ease, var(--theme-transition);
}
.btn-buy:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px var(--glow-color); /* Adjust alpha if needed */
}
.btn-buy i { margin-right: 0.8rem; }

/* === HEADER === */
.header {
  width: 100%;
  background-color: rgba(var(--bg-secondary-rgb, 30, 30, 30), 0.8); /* Use RGB var */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* This shadow might need theme adjustment */
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all 0.3s ease, var(--theme-transition);
  border-bottom: 1px solid var(--border-color); /* Use generic variable */
}
/* Consider light theme shadow */
body.light-theme .header {
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
     background-color: rgba(var(--bg-secondary-rgb, 248, 249, 250), 0.8);
}

.header.scrolled {
  height: calc(var(--header-height) - 10px);
  background-color: rgba(var(--bg-secondary-rgb, 30, 30, 30), 0.9); /* Use RGB var */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adjust shadow for theme */
}
body.light-theme .header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    background-color: rgba(var(--bg-secondary-rgb, 248, 249, 250), 0.9);
}

.nav { /* Nav container styles */
  display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 1rem;
}

/* Logo Alignment Fix */
.nav-left .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.nav-left .logo img {
    max-height: 40px;
    transition: max-height 0.3s ease, filter 0.3s ease; /* Added filter transition */
    filter: brightness(1.1); /* Default dark theme brightness */
    vertical-align: middle;
}
.nav-left .logo span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary); /* Use generic variable */
}

.header.scrolled .nav-left .logo img { max-height: 35px; }

.nav-right { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; gap: 1.5rem; /* Adjusted gap */ }
.nav-menu li a { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s, border-color 0.3s, var(--theme-transition); position: relative; padding-bottom: 5px; border-bottom: 2px solid transparent; }

.nav-menu li a:hover {
    color: var(--primary-color); /* Use generic variable */
    border-bottom-color: var(--primary-color); /* Use generic variable */
}
/* Active state for Scrollspy */
.nav-menu li a.active {
    color: var(--primary-color); /* Use generic variable */
    font-weight: 700;
    border-bottom-color: var(--primary-color); /* Use generic variable */
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--primary-color); margin-left: 1rem; z-index: 1100; } /* Use generic variable */

/* === HERO SECTION === */
.hero {
  background-color: var(--bg-primary); /* Use generic variable */
  color: var(--text-primary); /* Use generic variable */
  padding: 6rem 0 8rem 0;
  position: relative;
  overflow: hidden;
}
/* Subtle background animation */
/* Define RGB versions for hero background gradient */
:root {
    --primary-color-rgb-dark: 0, 170, 255;
    --secondary-color-rgb-dark: 29, 233, 182;
    --primary-color-rgb-light: 0, 123, 255;
    --secondary-color-rgb-light: 23, 162, 184;
    --primary-color-rgb: var(--primary-color-rgb-dark);
    --secondary-color-rgb: var(--secondary-color-rgb-dark);
}
body.light-theme {
    --primary-color-rgb: var(--primary-color-rgb-light);
    --secondary-color-rgb: var(--secondary-color-rgb-light);
}

.hero-background-animation {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(var(--primary-color-rgb), 0.1), transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(var(--secondary-color-rgb), 0.08), transparent 50%);
    animation: subtle-float 15s ease-in-out infinite alternate;
    z-index: 0;
    transition: background 0.3s ease; /* Transition background */
}
@keyframes subtle-float {
    from { transform: translate(0, 0); opacity: 0.8; }
    to { transform: translate(10px, 5px); opacity: 1; }
}

.hero-content { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; }
.hero-text { flex: 1 1 55%; }
.hero-text h1 { font-size: clamp(2.8rem, 6vw, 4rem); margin-bottom: 1rem; font-weight: 700; line-height: 1.2; color: var(--text-primary); }

.sub-headline { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--text-secondary); }

.hero-benefits { list-style: none; padding-left: 0; margin-bottom: 2.5rem; }
.hero-benefits li { display: flex; align-items: center; margin-bottom: 0.8rem; font-size: 1.05rem; }
.hero-benefits i { color: var(--secondary-color); margin-right: 0.8rem; font-size: 1.3em; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-cta .btn { font-size: 1.05rem; padding: 0.9rem 2rem; }
.hero-cta .btn-primary i { color: var(--bg-primary); } /* Adjust if needed */

.hero-social-proof {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted); /* Use generic variable */
}

.hero-visual { flex: 1 1 40%; text-align: center; }
/* Style the placeholder or your actual visual */
.interactive-placeholder {
    background-color: rgba(var(--bg-primary-rgb), 0.05); /* Use RGB variable */
    border-radius: 15px;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 1px dashed var(--border-color); /* Use generic variable */
    flex-wrap: wrap;
    transition: var(--theme-transition);
}
.interactive-placeholder i { font-size: 2.5rem; margin: 0.5rem; transition: color 0.3s ease, transform 0.3s ease, var(--theme-transition); }
.interactive-placeholder .data-icon { color: var(--secondary-color); }
.interactive-placeholder .arrow-icon { color: var(--text-muted); }
.interactive-placeholder .bot-icon { color: var(--primary-color); }
.interactive-placeholder .answer-icon { color: var(--secondary-color); }
.interactive-placeholder:hover .bot-icon { transform: scale(1.1); color: var(--text-primary); }
.interactive-placeholder p {
    margin-top: 1rem; font-style: italic; color: var(--text-muted); width: 100%; text-align: center; font-size: 0.9rem;
}

/* === Section Dividers === */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); /* Flip for bottom */
    z-index: 1;
}
.section-divider.top-divider {
    top: -1px;
    bottom: auto;
    transform: rotate(0deg);
}
.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.section-divider .shape-fill { fill: var(--bg-secondary); transition: fill 0.3s ease; } /* Use generic variable */
.section-divider .shape-fill-dark { fill: var(--bg-primary); transition: fill 0.3s ease; } /* Use generic variable */


/* === FEATURES === */
.features .section-title { color: var(--text-primary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; }
.feature-box {
  background-color: var(--bg-tertiary); /* Use generic variable */
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-color); /* Use generic variable */
  transition: all 0.3s ease, var(--theme-transition);
}
.feature-box:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color); /* Use generic variable */
  box-shadow: 0 0 20px var(--glow-color); /* Adjust alpha */
}
.feature-box.feature-box-highlight {
    border-left: 4px solid var(--secondary-color); /* Use generic variable */
}
.feature-box h4 { font-size: 1.25rem; margin-bottom: 0.8rem; color: var(--text-primary); display: flex; align-items: center; }
.feature-box h4 i { color: var(--primary-color); margin-right: 0.8rem; font-size: 1.4em; width: 30px; text-align: center; }
.feature-box p { font-size: 0.98rem; line-height: 1.6; color: var(--text-muted); }
.feature-box strong { color: var(--secondary-color); }
.feature-box code { background-color: var(--bg-secondary); color: var(--secondary-color); padding: 0.1em 0.4em; border-radius: 3px; font-size: 0.9em; }


/* === VIDEO SHOWCASE SECTION === */
.video-showcase {
  padding: 5rem 1rem;
  /* background-color inherited */
}

.video-showcase .section-title {
  color: var(--text-primary); /* Use generic variable */
  margin-bottom: 1rem;
}

.video-showcase .section-subtitle {
  color: var(--text-muted); /* Use generic variable */
  margin-bottom: 3rem;
  max-width: 800px;
}

.video-responsive-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow-medium); /* Use generic variable */
  border: 1px solid var(--border-color); /* Use generic variable */
  background-color: #000;
  padding-top: 51.89%;
}

.video-responsive-wrapper iframe {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100%; height: 100%;
  border: none;
}


/* === HOW IT WORKS (Timeline Version) === */
.how-it-works {
    /* background-color inherited */
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.how-it-works .section-title {
    color: var(--text-primary); /* Use generic variable */
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color); /* Use generic variable */
    top: 0; bottom: 0; left: 50%;
    margin-left: -2px;
    z-index: 0;
    border-radius: 2px;
    transition: var(--theme-transition);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 3rem;
}
.timeline-item:not(:last-child) {
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) { left: 0; padding-left: 0; padding-right: 40px; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 40px; padding-right: 0; text-align: left; }

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    background-color: var(--bg-secondary); /* Use generic variable */
    border: 4px solid var(--primary-color); /* Use generic variable */
    top: 30px; left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--glow-color); /* Use generic variable */
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, var(--theme-transition);
}

.timeline-content.step-box {
    padding: 1.5rem;
    background-color: var(--bg-tertiary); /* Use generic variable */
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-color); /* Use generic variable */
    box-shadow: var(--shadow-light); /* Use generic variable */
    width: 100%;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, var(--theme-transition);
}
.timeline-item:hover .timeline-content.step-box {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium); /* Use generic variable */
}

.timeline-content .step-icon { margin-bottom: 1rem; display: inline-flex; }
.timeline-content .step-icon i { color: var(--primary-color); font-size: 1.8rem; } /* Example icon styling */
.timeline-content h4 { color: var(--text-primary); margin-bottom: 0.5rem; }
.timeline-content p { color: var(--text-muted); font-size: 0.95rem; }

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 15px; margin-bottom: 2.5rem; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) { left: 0; padding-left: 70px; padding-right: 15px; text-align: left; }
    .timeline-dot { left: 21px; transform: none; }
     .timeline-item:nth-child(odd) .timeline-dot,
     .timeline-item:nth-child(even) .timeline-dot { left: 21px; transform: none; }
}


/* === CTA BANNER STYLES === */
.cta-banner {
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color); /* Use generic variable */
  border-bottom: 1px solid var(--border-color); /* Use generic variable */
  transition: var(--theme-transition);
}

.demo-cta-banner {
  background: linear-gradient(115deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--secondary-color-rgb), 0.05) 100%), var(--bg-secondary); /* Use RGB and generic vars */
}

.cta-banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.cta-banner-text {
  flex: 1 1 55%;
  max-width: 600px;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary); /* Use generic variable */
  margin-bottom: 1rem;
  line-height: 1.3;
}
/* Adjust glow for demo banner */
.demo-cta-banner .cta-banner-title .text-glow {
  color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(var(--secondary-color-rgb), 0.6), 0 0 12px rgba(var(--secondary-color-rgb), 0.5); /* Use RGB */
}

.cta-banner-description {
  font-size: 1.1rem;
  color: var(--text-secondary); /* Use generic variable */
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cta-banner-description .microphone-icon {
  color: var(--primary-color); /* Use generic variable */
  font-size: 1.1em;
  margin-left: 2px;
}

.cta-banner-button {
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  margin-right: 1rem;
}
.cta-banner-button i { margin-right: 0.6rem; }

.cta-banner-visual {
  flex: 1 1 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
}

.visual-chat-snippet {
  background-color: rgba(var(--bg-primary-rgb), 0.6); /* Use RGB var */
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-color); /* Use generic variable */
  width: 100%;
  max-width: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Needs theme adjustment */
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--theme-transition);
}
body.light-theme .visual-chat-snippet {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.chat-bubble {
  padding: 0.8rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 85%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Needs theme adjustment */
  transition: var(--theme-transition);
}
body.light-theme .chat-bubble {
     box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.chat-bubble.user {
  background-color: var(--primary-color); /* Use generic variable */
  color: var(--bg-primary); /* Use generic variable */
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}
.chat-bubble.user i.fa-user { font-size: 0.8em; opacity: 0.8; }

.chat-bubble.bot {
  background-color: var(--bg-tertiary); /* Use generic variable */
  color: var(--text-secondary); /* Use generic variable */
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}
.chat-bubble.bot .bot-avatar {
  width: 25px; height: 25px; border-radius: 50%;
  border: 1px solid var(--border-color); /* Use generic variable */
  background-color: var(--bg-primary); /* Use generic variable */
}
.chat-bubble.bot i.fa-check-circle {
  color: var(--secondary-color); /* Use generic variable */
  margin-left: auto;
}

.chat-bubble.thinking {
    background-color: var(--bg-tertiary); /* Use generic variable */
    padding: 0.9rem 1rem;
}
.chat-bubble.thinking span {
    display: inline-block; width: 8px; height: 8px;
    background-color: var(--text-muted); /* Use generic variable */
    border-radius: 50%; margin: 0 2px;
    animation: thinking-dots 1.4s infinite ease-in-out both;
}
.chat-bubble.thinking span:nth-child(1) { animation-delay: -0.32s; }
.chat-bubble.thinking span:nth-child(2) { animation-delay: -0.16s; }
.chat-bubble.thinking span:nth-child(3) { animation-delay: 0s; }

@keyframes thinking-dots {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1.0); }
}

.cta-banner-decoration {
  position: absolute; border-radius: 50%; opacity: 0.05; z-index: 1; pointer-events: none;
}
.decor-1 { width: 300px; height: 300px; background-color: var(--primary-color); bottom: -150px; left: -100px; animation: subtle-rotate 20s infinite linear alternate; }
.decor-2 { width: 200px; height: 200px; background-color: var(--secondary-color); top: -80px; right: -80px; animation: subtle-rotate 25s infinite linear reverse alternate; }

@keyframes subtle-rotate {
    from { transform: rotate(0deg) scale(0.9); }
    to { transform: rotate(45deg) scale(1.1); }
}


/* === USE CASES === */
.use-cases { background-color: var(--bg-primary); position: relative; } /* Use generic variable */
.use-cases .section-title { color: var(--text-primary); }
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.8rem; }
.use-case-box {
  background-color: var(--bg-secondary); border-radius: 10px; padding: 1.8rem; /* Use generic variables */
  text-align: center; border: 1px solid var(--border-color); transition: all 0.3s ease, var(--theme-transition);
}
.use-case-box:hover { transform: translateY(-5px); border-color: var(--secondary-color); box-shadow: 0 0 15px var(--glow-color); } /* Adjust glow alpha */
.use-case-box i { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 1rem; }
.use-case-box h4 { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--text-primary); }
.use-case-box p { font-size: 0.95rem; color: var(--text-muted); }

/* === PREVIEWS === */
.previews .preview-section { margin-bottom: 3rem; }
.previews .preview-section h3 { font-size: 1.8rem; margin-bottom: 1rem; text-align: center; color: var(--text-primary); }
.previews .preview-section p { max-width: 700px; margin: 0 auto 2rem auto; text-align: center; color: var(--text-muted); font-size: 1.05rem; }
.preview-images { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.preview-images img { border-radius: 8px; max-width: 100%; height: auto; border: 1px solid var(--border-color); flex: 1 1 350px; max-width: 400px; background-color: var(--bg-tertiary); transition: var(--theme-transition); }
.preview-divider { border: none; height: 1px; background-color: var(--border-color); margin: 4rem auto; width: 50%; transition: var(--theme-transition); }


/* === REQUIREMENTS === */
.requirements { padding-top: 5rem; padding-bottom: 5rem; }
.requirements .section-title { color: var(--text-primary); margin-bottom: 2rem; }
.checklist { list-style: none; max-width: 700px; margin: 0 auto; padding-left: 0; }
.checklist li { margin: 1rem 0; display: flex; align-items: center; font-size: 1.1rem; color: var(--text-secondary); } /* Use generic variable */
.checklist li i.fa-check {
  font-size: 1.3em; margin-right: 1rem; color: transparent;
  width: 25px; height: 25px; border: 2px solid var(--secondary-color); /* Use generic variable */
  border-radius: 50%; position: relative; transition: all 0.3s ease, var(--theme-transition); flex-shrink: 0;
}
.checklist li i.fa-check::after {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 0.8em; color: var(--secondary-color); /* Use generic variable */
    transition: transform 0.3s ease 0.1s, color 0.3s ease;
}
/* Animate check */
[data-aos="fade-up"].aos-animate .checklist li i.fa-check { background-color: rgba(var(--secondary-color-rgb), 0.1); } /* Use RGB */
[data-aos="fade-up"].aos-animate .checklist li i.fa-check::after { transform: translate(-50%, -50%) scale(1); }

.checklist li i.req-key {
    font-size: 1.3em; margin-right: 1rem; color: var(--primary-color); /* Use generic variable */
    width: 25px; text-align: center; flex-shrink: 0;
}
.checklist li span.req-note { display: block; font-size: 0.9rem; color: var(--text-muted); margin-top: 0.3rem; padding-left: calc(25px + 1rem); }
.checklist li span.req-note code { font-size: 0.9em; background: var(--bg-tertiary); padding: 2px 4px; border-radius: 3px; color: var(--secondary-color); transition: var(--theme-transition); }

/* === TESTIMONIALS === */
.testimonials { padding-top: 8rem; }
.testimonials .section-title { color: var(--text-primary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimonial-box {
  background-color: var(--bg-tertiary); padding: 2rem; border-radius: 12px; /* Use generic variables */
  border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: var(--theme-transition);
}
.testimonial-header { display: flex; align-items: center; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }
.testimonial-avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); transition: var(--theme-transition); }
.testimonial-header > div { flex-grow: 1; }
.testimonial-author { display: block; font-weight: 600; color: var(--text-primary); }
.testimonial-role { display: block; font-size: 0.9rem; color: var(--text-muted); }
.testimonial-rating { color: #ffc107; font-size: 0.9rem; margin-left: auto; } /* Keep gold stars */
.testimonial-quote {
  font-style: italic; color: var(--text-secondary); margin-bottom: 1rem; flex-grow: 1;
  line-height: 1.7; position: relative; padding-left: 2rem; font-size: 1.05rem;
}
.testimonial-quote::before {
    content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 0; font-size: 1.5rem; color: var(--primary-color); opacity: 0.5; transition: var(--theme-transition);
}

/* === FINAL CTA === */
.final-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); /* Use generic variables */
  color: var(--text-primary); padding: 6rem 1rem 5rem 1rem; margin-top: 3rem; /* Use generic variables */
  border-top: 1px solid var(--border-color); position: relative; overflow: hidden; transition: var(--theme-transition);
}
/* Background glow effect */
.final-cta::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 70%); /* Use RGB */
    transform: translate(-50%, -50%); animation: pulse-bg 5s infinite alternate ease-in-out;
    transition: background 0.3s ease;
}
@keyframes pulse-bg { from { opacity: 0.7; } to { opacity: 1; } }

.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; }
.final-cta p { max-width: 700px; margin: 0 auto 1.5rem auto; font-size: 1.1rem; color: var(--text-secondary); }
.cta-offer { margin-bottom: 2.5rem; }
.cta-price { font-size: 2rem; font-weight: 700; color: var(--secondary-color); margin-right: 0.5rem; }
.cta-license { font-size: 0.9rem; color: var(--text-muted); display: block; margin-top: -5px; }
.cta-support { display: block; margin-top: 0.5rem; font-size: 1rem; color: var(--text-secondary); }
.trust-signal { margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); display: flex; justify-content: center; align-items: center; gap: 0.5rem; }
.cta-links { margin-top: 2rem; display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

/* === SUPPORT & FAQ === */
.support { padding-top: 5rem; padding-bottom: 5rem; }
.support .section-title { color: var(--text-primary); }
.support .section-subtitle a { color: var(--secondary-color); font-weight: 600; }
.support .section-subtitle a:hover { color: var(--primary-color); }

.faq { max-width: 800px; margin: 2rem auto 0 auto; }
.faq-title { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; color: var(--secondary-color); }
.faq-item { margin-bottom: 1rem; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; background-color: var(--bg-tertiary); transition: var(--theme-transition); }
.faq-question {
  background: none; border: none; width: 100%; text-align: left; padding: 1.2rem 1.5rem;
  font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; color: var(--text-primary); transition: background-color 0.3s ease, var(--theme-transition);
}
.faq-question:hover { background-color: rgba(var(--primary-color-rgb), 0.05); } /* Use RGB */
.faq-question i { transition: transform 0.3s ease, var(--theme-transition); color: var(--primary-color); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.5s ease, var(--theme-transition); background-color: var(--bg-tertiary); }
.faq-answer p { padding: 0 1.5rem 1.5rem 1.5rem; font-size: 1rem; line-height: 1.7; color: var(--text-secondary); }
.faq-answer strong { color: var(--secondary-color); }
.faq-answer code { font-size: 0.9em; background: var(--bg-secondary); color: var(--secondary-color); padding: 2px 4px; border-radius: 3px; transition: var(--theme-transition); }


/* === PROBLEM / SOLUTION (Revamped with Comparison) === */
.problem-solution-revamped {
    padding: 6rem 0;
    position: relative;
    /* background-color inherited */
}

.problem-solution-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.problem-solution-content .text-content { flex: 1 1 45%; }
.problem-solution-content .text-content h2 { text-align: left; margin-bottom: 1.5rem; color: var(--text-primary); }
.problem-solution-content .text-content p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.7; }
.problem-solution-content .text-content strong { color: var(--primary-color); }
.problem-solution-content .text-content em { color: var(--secondary-color); font-style: italic;}

.problem-solution-content .comparison-visual {
    flex: 1 1 55%;
    background-color: var(--bg-primary); /* Use generic variable */
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Adjust shadow for theme */
    border: 1px solid var(--border-color); /* Use generic variable */
    position: relative;
    transition: var(--theme-transition);
}
body.light-theme .problem-solution-content .comparison-visual {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chat-comparison { display: flex; gap: 1.5rem; }

.chat-window {
    flex: 1;
    border: 1px solid var(--border-color); /* Use generic variable */
    border-radius: 10px;
    padding: 0;
    background-color: var(--bg-tertiary); /* Use generic variable */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: var(--theme-transition);
}
.chat-window.wavibot {
    border-color: var(--primary-color); /* Use generic variable */
    box-shadow: 0 0 15px var(--glow-color); /* Use generic variable */
}

.chat-header {
    font-weight: 600; padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border-color); /* Use generic variable */
    text-align: center; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    background-color: rgba(var(--bg-primary-rgb), 0.1); /* Use RGB var */
    transition: var(--theme-transition);
}
.generic-bot .chat-header { color: var(--error-color); } /* Use generic variable */
.generic-bot .chat-header i { opacity: 0.8; }
.wavibot .chat-header { color: var(--primary-color); } /* Use generic variable */

.wavibot-icon-header { height: 18px; width: 18px; vertical-align: middle; filter: brightness(1.5); transition: filter 0.3s ease; }
body.light-theme .wavibot-icon-header { filter: brightness(0.9); }

.chat-body {
    padding: 1rem; height: 280px; overflow-y: auto; display: flex; flex-direction: column;
}
/* Custom scrollbar */
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-track { background: rgba(var(--bg-primary-rgb), 0.1); border-radius: 3px;}
.chat-body::-webkit-scrollbar-thumb { background: #444; border-radius: 3px;} /* Needs theme adjustment */
.chat-body::-webkit-scrollbar-thumb:hover { background: #555; } /* Needs theme adjustment */
body.light-theme .chat-body::-webkit-scrollbar-thumb { background: #adb5bd; }
body.light-theme .chat-body::-webkit-scrollbar-thumb:hover { background: #9fa7af; }


/* Chat Bubbles in Comparison */
/* Bubbles defined in style-shared.css now for global use, adjust if needed */
.problem-solution-content .chat-bubble { /* Override if specific styling needed here */
     font-size: 0.9rem;
     transition: var(--theme-transition); /* Ensure bubbles transition */
}
.problem-solution-content .chat-bubble.visitor {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
}
.problem-solution-content .chat-bubble.bot {
    background-color: var(--primary-color);
    color: var(--bg-primary);
}
.problem-solution-content .chat-bubble.bot.error {
    background-color: var(--error-color);
    color: var(--bg-primary);
}
 .problem-solution-content .chat-bubble.bot.success {
    background-color: var(--success-color);
    color: var(--bg-primary);
}
/* Icon colors within bubbles might need theme specific overrides if defaults aren't good */
body.light-theme .problem-solution-content .chat-bubble.bot.success i { color: #155724; }
body.light-theme .problem-solution-content .chat-bubble.bot.error i { color: #721c24; }


.comparison-visual .visual-caption {
    font-size: 0.9rem; color: var(--text-muted); margin-top: 1rem; font-style: italic; text-align: center;
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 992px) {
     .hero-content { flex-direction: column; text-align: center; }
     .hero-text { order: 2; }
     .hero-visual { order: 1; margin-bottom: 2rem; }
     .features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
     .preview-images img { flex-basis: 280px; }
     .testimonials-grid { grid-template-columns: 1fr; }
     .problem-solution-content { flex-direction: column; text-align: center; }
     .problem-solution-content .text-content h2 { text-align: center; }
     .problem-solution-content .comparison-visual { margin-top: 2.5rem; width: 100%; max-width: 600px; }
}

@media screen and (max-width: 768px) {
  .section-title { font-size: 2rem; }
  h1 { font-size: 2.5rem; }

  /* Mobile Nav Adjustments */
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: var(--bg-secondary); /* Use generic variable */
    position: absolute;
    top: var(--header-height);
    right: 0;
    width: 250px;
    padding: 1.5rem;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.3); /* Needs theme adjustment */
    border-top: 1px solid var(--border-color); /* Use generic variable */
    gap: 1rem;
    z-index: 1050;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    transition: var(--theme-transition);
  }
   body.light-theme .nav-menu { box-shadow: -5px 5px 15px rgba(0,0,0,0.1); }

  .nav-menu.show { display: flex; }
  .nav-menu li a::after { display: none; }
  .nav-toggle { display: block; }

  .btn-nav-buy { margin-left: auto; margin-right: 1rem; }

  .cta-banner-content { flex-direction: column; text-align: center; }
  .cta-banner-text { order: 2; max-width: 100%; }
  .cta-banner-visual { order: 1; margin-bottom: 2rem; width: 100%; }
  .visual-chat-snippet { max-width: 320px; margin: 0 auto; }
  .chat-bubble { max-width: 95%; font-size: 0.85rem; } /* Ensure base bubble styles are theme-aware */
  .decor-1 { width: 200px; height: 200px; bottom: -100px; left: -80px;}
  .decor-2 { width: 150px; height: 150px; top: -50px; right: -50px;}

  .use-cases-grid { grid-template-columns: 1fr; }
  .preview-images { flex-direction: column; align-items: center; }
  .preview-images img { max-width: 90%; }

  .final-cta h2 { font-size: 2rem; }
  .cta-offer { text-align: center; }
  .cta-price { display: block; margin-bottom: 0.5rem; }
  .cta-license { display: block; }
  /* Footer links already handled in shared css */

   .chat-comparison { flex-direction: column; gap: 1.5rem; }
   .chat-body { height: 240px; }
}

/* === FOOTER === */
/* Styles moved to style-shared.css */

/* Styling for Hero Video */
.hero-visual .wp-block-video video,
.hero-visual-video video {
  display: inline-block; /* Allows text-align center on parent */
  max-width: 100%;     /* Prevent overflow */
  height: auto;        /* Maintain aspect ratio */
  border-radius: 10px;   /* Optional: Add rounded corners */
  box-shadow: var(--shadow-medium); /* Optional: Add shadow */
  background-color: #000; /* Background for loading/transparency */
  /* You might need to adjust width/height/max-height based on design */
  /* Example: max-height: 400px; */
}

/* Ensure the container allows centering if needed */
.hero-visual {
    text-align: center; /* Helps center inline-block video */
}

/* Remove padding/margin from the placeholder if video replaces it directly */
.hero-visual .interactive-placeholder {
    display: none; /* Hide the old placeholder if video is present */
}

/* === Pricing & Comparison Shared Styles === */

/* Add RGB versions of theme colors if not already in style-shared.css */
:root {
    --primary-color-rgb-dark: 0, 170, 255;
    --secondary-color-rgb-dark: 29, 233, 182;
    --primary-color-rgb-light: 0, 123, 255;
    --secondary-color-rgb-light: 23, 162, 184;
    /* Generic RGB vars - default to dark */
    --primary-color-rgb: var(--primary-color-rgb-dark);
    --secondary-color-rgb: var(--secondary-color-rgb-dark);
}
body.light-theme {
    --primary-color-rgb: var(--primary-color-rgb-light);
    --secondary-color-rgb: var(--secondary-color-rgb-light);
}

.pricing-comparison-section {
    padding-top: 8rem; /* Adjust for top divider */
    padding-bottom: 5rem;
    position: relative;
    /* Theme transition applied via style-shared.css */
}

.section-content-divider {
    border: none;
    height: 1px;
    /* Use rgba with the border color variable's RGB equivalent if available,
       otherwise use the border color directly */
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 4rem auto;
    width: 80%;
    opacity: 0.5;
    transition: var(--theme-transition);
}
/* Light theme might need less opacity or different gradient */
body.light-theme .section-content-divider {
     background: linear-gradient(to right, transparent, var(--border-color), transparent);
     opacity: 0.3;
}


.sub-section-title {
    margin-top: 3rem; /* Space above sub-sections */
    font-size: 2rem; /* Slightly smaller than main title */
    color: var(--text-primary); /* Use theme variable */
}

/* === Pricing Section === */
.pricing-section {
    margin-bottom: 3rem; /* Space before comparison table */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--bg-tertiary); /* Variable */
    border-radius: 15px;
    border: 1px solid var(--border-color); /* Variable */
    padding: 0; /* Remove padding here, apply to inner groups */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensure header background doesn't leak */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, var(--theme-transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium); /* Variable */
}

.pricing-card.highlight-card {
    border-color: var(--primary-color); /* Variable */
    /* Use rgba with RGB var for glow */
    box-shadow: 0 0 25px rgba(var(--primary-color-rgb), 0.2);
}
.pricing-card.highlight-card:hover {
     box-shadow: 0 0 35px rgba(var(--primary-color-rgb), 0.3);
}


.pricing-card .card-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color); /* Variable */
    /* Use subtle gradient based on primary background */
    background: linear-gradient(135deg, rgba(var(--bg-primary-rgb), 0.1), rgba(var(--bg-primary-rgb), 0.05));
    transition: var(--theme-transition); /* Transition background */
}

.pricing-card .card-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: var(--theme-transition); /* Transition color */
}
.pricing-card.regular .card-header i { color: var(--secondary-color); } /* Variable */
.pricing-card.extended .card-header i { color: var(--primary-color); } /* Variable */

.pricing-card .card-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary); /* Variable */
    margin-bottom: 0.5rem;
}

.pricing-card .base-price {
    font-size: 1rem;
    color: var(--text-muted); /* Variable */
}
.pricing-card .base-price span {
    text-decoration: line-through;
    font-weight: 600;
    margin-left: 5px;
}

.pricing-tiers {
    list-style: none;
    padding: 0 2rem 0 2rem; /* Add horizontal padding */
    margin: 1.5rem 0 2.5rem 0; /* Adjust margin */
    flex-grow: 1;
}

.pricing-tiers .tier {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color); /* Variable */
    transition: background-color 0.3s ease, var(--theme-transition);
}
.pricing-tiers .tier:last-child {
    border-bottom: none;
}
.pricing-tiers .tier:hover {
     /* Use text color with low alpha for hover */
    background-color: rgba(var(--text-primary-rgb, 248, 249, 250), 0.03);
}

.discount-badge {
    /* Colors are kept hardcoded for emphasis across themes */
    color: var(--bg-dark-primary); /* Ensure text is dark */
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: var(--theme-transition); /* Added */
}
/* Light theme shadow adjustment for badges if needed */
body.light-theme .discount-badge {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tier-1 .discount-badge { background-color: #ff7043; }
.tier-2 .discount-badge { background-color: var(--primary-color); } /* Use variable */
.tier-3 .discount-badge { background-color: var(--secondary-color); } /* Use variable */


.tier-details {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary); /* Variable */
}

.tier-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color); /* Variable */
    margin-right: 0.5rem;
    display: inline-block;
    transition: var(--theme-transition); /* Added */
}
.tier-details strong {
    color: var(--text-primary); /* Variable */
}
.tier-details small {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted); /* Variable */
    font-style: italic;
    margin-top: 0.3rem;
}

/* Adjust button position within the card */
.pricing-card .btn {
    margin: 0 2rem 2rem 2rem; /* Add margin matching horizontal padding */
    width: calc(100% - 4rem); /* Adjust width for padding */
    /* margin-top: auto; /* Keep pushing to bottom */
}

.pricing-note {
    margin: 3rem 2rem 0 2rem; /* Add horizontal margin */
    /* Use secondary color RGB */
    background-color: rgba(var(--secondary-color-rgb), 0.05);
    border: 1px solid rgba(var(--secondary-color-rgb), 0.2);
    border-left: 4px solid var(--secondary-color); /* Variable */
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-secondary); /* Variable */
    transition: var(--theme-transition); /* Added */
}
.pricing-note i {
    color: var(--secondary-color); /* Variable */
    font-size: 1.5rem;
    margin-top: 0.2rem;
}
.pricing-note p {
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}
.pricing-note strong {
    color: var(--text-primary); /* Variable */
}


/* === License Comparison Table === */
.license-comparison-section {
    margin-bottom: 3rem; /* Space before Why Choose */
}

.table-responsive-wrapper {
    overflow-x: auto; /* Enable horizontal scroll on small screens */
    margin-top: 2.5rem;
    border: 1px solid var(--border-color); /* Variable */
    border-radius: 10px;
    background-color: var(--bg-tertiary); /* Variable */
    box-shadow: var(--shadow-light); /* Variable */
    transition: var(--theme-transition); /* Added */
}

/* Custom scrollbar for table wrapper */
.table-responsive-wrapper::-webkit-scrollbar { height: 8px; background-color: rgba(var(--bg-primary-rgb), 0.2); border-radius: 4px; }
.table-responsive-wrapper::-webkit-scrollbar-thumb { background-color: #444; border-radius: 4px; transition: var(--theme-transition); }
.table-responsive-wrapper::-webkit-scrollbar-thumb:hover { background-color: #555; transition: var(--theme-transition); }

body.light-theme .table-responsive-wrapper::-webkit-scrollbar-thumb { background-color: #adb5bd; }
body.light-theme .table-responsive-wrapper::-webkit-scrollbar-thumb:hover { background-color: #9fa7af; }


.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px; /* Prevent excessive shrinking before scroll */
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem 1rem; /* Generous padding */
    text-align: left;
    vertical-align: top; /* Align content top */
    border-bottom: 1px solid var(--border-color); /* Variable */
    font-size: 0.95rem;
    line-height: 1.6;
    transition: var(--theme-transition); /* Added */
}
.comparison-table tbody tr:last-child td {
    border-bottom: none; /* Remove border from last row */
}


.comparison-table thead th {
    /* Use primary color RGB */
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--text-primary); /* Variable */
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    border-bottom: 2px solid var(--primary-color); /* Variable */
}

.comparison-table thead th i {
    margin-right: 0.6rem;
    /* Color applied specifically below */
    transition: var(--theme-transition); /* Added */
}

.comparison-table thead th:nth-child(2) i { /* Regular license icon color */
    color: var(--secondary-color); /* Variable */
}
.comparison-table thead th:nth-child(3) i { /* Extended license icon color */
    color: var(--primary-color); /* Variable */
}

.comparison-table thead th:first-child { border-top-left-radius: 9px; }
.comparison-table thead th:last-child { border-top-right-radius: 9px; }

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--text-primary); /* Variable */
    white-space: nowrap; /* Keep feature names on one line if possible */
}

.comparison-table tbody tr:nth-child(even) {
    /* Use primary bg RGB */
    background-color: rgba(var(--bg-primary-rgb), 0.1);
}

.comparison-table tbody td {
    color: var(--text-secondary); /* Variable */
}

.comparison-table td strong {
    color: var(--secondary-color); /* Variable */
}

.comparison-table td .feature-match i {
    color: var(--secondary-color); /* Variable */
    margin-right: 0.5rem;
    font-size: 1.1em;
}

.comparison-table td .premium-feature {
    color: var(--primary-color); /* Variable */
    margin-right: 0.5rem;
    font-size: 1.1em;
}


/* === Why Choose Extended Section === */
.why-extended-section {
    margin-top: 3rem;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-top: 2.5rem;
    max-width: 800px; /* Center content */
    margin-left: auto;
    margin-right: auto;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--bg-tertiary); /* Variable */
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color); /* Variable */
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, var(--theme-transition); /* Added */
}

.benefits-list li:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-light); /* Variable */
}


.benefit-icon {
    font-size: 1.8rem;
    color: var(--primary-color); /* Variable */
    margin-top: 0.3rem;
    flex-shrink: 0;
    width: 40px; /* Fixed width */
    text-align: center;
    transition: var(--theme-transition); /* Added */
}

.benefits-list li h4 {
    font-size: 1.2rem;
    color: var(--text-primary); /* Variable */
    margin-bottom: 0.5rem;
}

.benefits-list li p {
    font-size: 1rem;
    color: var(--text-secondary); /* Variable */
    line-height: 1.7;
    margin-bottom: 0;
}
.benefits-list li strong {
    color: var(--secondary-color); /* Variable */
}


/* === Responsive Adjustments === */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr; /* Stack cards */
        max-width: 600px; /* Limit width when stacked */
        margin-left: auto;
        margin-right: auto;
    }
    .sub-section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .pricing-card .btn {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        width: calc(100% - 3rem);
    }
    .pricing-tiers {
         padding: 0 1.5rem 0 1.5rem;
    }
    .pricing-tiers .tier {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    .discount-badge {
        margin-bottom: 0.5rem;
    }
    .tier-details small {
        font-size: 0.8rem;
    }
    .pricing-note {
        flex-direction: column;
        text-align: center;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
    .pricing-note i {
        margin: 0 auto 0.5rem auto;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
    }
    .comparison-table thead th { font-size: 0.95rem; }

    .benefits-list li {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        align-items: center;
    }
    .benefit-icon {
        margin-top: 0;
    }
}