/* ============================================
   Static CMS - Public Theme Stylesheet
   ============================================ */
/* Set the root font size back to the default 16px */
html {
  overflow-x: hidden;
}
/* ============================================
   EcomBridge — Custom Styles
   ============================================ */

:root {
    --primary-dark:    #070e2b;
    --secondary-dark:  #0d1b4b;
    --hero-dark:       #091029;
    --accent-blue:     #4a7fd4;
    --accent-blue-lt:  #6a9ee4;
    --accent-orange:   #f59e0b;
    --accent-orange-dk:#d97706;
    --accent-green:    #22c55e;
    --accent-green-dk: #16a34a;
    --accent-red:      #ef4444;
    --accent-purple:   #8b5cf6;
    --text-light:      #e2e8f0;
    --text-muted-dk:   #94a3b8;
    --text-dark:       #1e293b;
    --text-body:       #475569;
    --light-bg:        #f5f7fb;
    --white:           #ffffff;
    --border:          #e2e8f0;
    --card-shadow:     0 4px 24px rgba(0,0,0,0.07);
    --card-shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
}

/* Open Core */
#why-open-source  { --step-color: #4a7fd4; } /* blue    */
#whats-included   { --step-color: #22c55e; } /* green   */
#technology       { --step-color: #f97316; } /* amber   */
#how-it-works     { --step-color: #8b5cf6; } /* purple  */
#open-core-model  { --step-color: #f59e0b; } /* orange  */
#contributing     { --step-color: #14b8a6; } /* teal    */

/* ============================================
   GLOBAL
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--light-bg);
    overflow-x: hidden;
}

/* Full-width wrapper — backgrounds fill viewport, content is limited inside each section */
.site-wrapper {
    width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-weight: 700; }

.page-content {
    max-width: 1320px;
    margin: 30px auto;
}
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary-dark);
    margin-bottom: 0.75rem;
}

.section-label.light { color: var(--accent-blue-lt); }

.section-subtitle {
    color: var(--text-body);
    font-size: 1.05rem;
    max-width: 820px;
}

.btn-primary-cta {
    background: var(--accent-orange);
    color: #111 !important;
    border: 2px solid var(--accent-orange);
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary-cta:hover {
    background: var(--accent-orange-dk);
    border-color: var(--accent-orange-dk);
    transform: translateY(-1px);
}
.btn-secondary-cta {
    background: var(--secondary-dark);
    color: #fff !important;
    border: 2px solid var(--secondary-dark);
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-secondary-cta:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}
.btn-success-cta {
    background: var(--accent-green);
    color: #fff !important;
    border: 2px solid var(--accent-green);
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-success-cta:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    transform: translateY(-1px);
}
.btn-blue-cta {
    background: var(--accent-blue);
    color: #fff !important;
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-blue-cta:hover {
    background: var(--accent-blue-lt);
    border-color: var(--accent-blue-lt);
    transform: translateY(-1px);
}

.btn-ghost-light {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ============================================
   NAVBAR  (Bootstrap overrides)
   ============================================ */
.navbar-main {
    background: var(--primary-dark) !important;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar-main .navbar-brand { padding: 0; }

.navbar-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Nav links */
.navbar-main .nav-link {
    color: rgba(255,255,255,0.78) !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem !important;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.06);
}

/* Toggler */
.navbar-main .navbar-toggler {
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    padding: 0.4rem 0.55rem;
    box-shadow: none !important;
}

.navbar-main .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* CTA buttons */
.btn-nav-login {
    background: transparent;
    color: rgba(255,255,255,0.85) !important;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 7px;
    padding: 0.45rem 1.1rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-nav-login:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff !important;
}

.btn-nav-trial {
    background: var(--accent-orange);
    color: #111 !important;
    border: 2px solid var(--accent-orange);
    border-radius: 7px;
    padding: 0.45rem 1.1rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-nav-trial:hover { background: var(--accent-orange-dk); border-color: var(--accent-orange-dk); }

.btn-nav-download {
    background: var(--accent-green);
    color: #fff !important;
    border: 2px solid var(--accent-green);
    border-radius: 7px;
    padding: 0.45rem 1.1rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn-nav-download:hover { background: var(--accent-green-dk); border-color: var(--accent-green-dk); }

/* Navbar dropdown */
.topnav {
  background: var(--primary-dark);
  padding-top: 5px;
}
.navbar-main .dropdown-menu {
    background: var(--secondary-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.4rem;
    margin-top: 0.4rem;
    min-width: 190px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.navbar-main .dropdown-item {
    color: rgba(255,255,255,0.78);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 5px;
    padding: 0.5rem 0.875rem;
}
.navbar-main .dropdown-item:hover,
.navbar-main .dropdown-item:focus {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* Inner page hero banner */
.page-hero {
    background-color: var(--hero-dark);
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 130px 0 65px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* Same dark overlay as homepage hero */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 14, 43, 0.78) 0%,
        rgba(7, 14, 43, 0.65) 50%,
        rgba(7, 14, 43, 0.82) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero .container-xxl { position: relative; z-index: 2; }
.page-hero .page-hero-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-blue-lt);
    margin-bottom: 0.75rem;
}
.page-hero h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.page-hero p {
    color: var(--text-muted-dk);
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* Inner page content area */
.inner-content {
    background: var(--light-bg);
    padding: 60px 0 80px;
}

/* Info card used on inner pages */
.info-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    margin-bottom: 2.5rem;
}
.info-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}
.info-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.6rem;
}
.info-card p {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}
.info-card ul {
    padding-left: 1.25rem;
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.8;
}
.info-card .inner-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}
.info-card .inner-table th {
    background: var(--primary-dark);
    color: #fff;
    padding: 0.7rem 1rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
}
.info-card .inner-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
}
.info-card .inner-table tr:last-child td { border-bottom: none; }
.info-card .inner-table tr:hover td { background: #f8fafc; }
.info-card code {
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.82rem;
    color: var(--accent-orange);
}
.info-card pre {
    background: var(--primary-dark);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: #e2e8f0;
    font-size: 0.82rem;
    overflow-x: auto;
    margin-top: 0.75rem;
}

/* Audience cards for "Who It's For" page */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) { .audience-grid { grid-template-columns: 1fr; } }

/* Step cards */
.step-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}
@media (max-width: 991.98px) { .step-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)    { .step-cards { grid-template-columns: 1fr; } }
.step-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem 1.25rem;
    text-align: center;
    position: relative;
}
.step-card-number {
    width: 44px;
    height: 44px;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.step-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.85rem; color: var(--text-body); line-height: 1.6; margin: 0; }

/* CTA bar used on inner pages */
.inner-cta-bar {
    background: var(--primary-dark);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}
.inner-cta-bar h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 0.6rem; }
.inner-cta-bar p  { color: var(--text-muted-dk); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Mobile collapse panel */
@media (max-width: 991.98px) {
    .navbar-main .navbar-collapse {
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 0.75rem 0 1rem;
        margin-top: 0.5rem;
    }

    .navbar-main .nav-link {
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 0.75rem 0.25rem !important;
    }

    .navbar-main .nav-link:last-child { border-bottom: none; }

    .navbar-cta {
        flex-direction: column;
        align-items: stretch !important;
        padding-top: 0.75rem;
        gap: 0.625rem !important;
    }

    .btn-nav-login,
    .btn-nav-trial { text-align: center; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background-color: var(--hero-dark);
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Dark overlay so text stays readable over the image */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 14, 43, 0.72) 0%,
        rgba(7, 14, 43, 0.60) 50%,
        rgba(7, 14, 43, 0.80) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Subtle vignette on the sides */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 100% at 50% 50%, transparent 40%, rgba(7,14,43,0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; }

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(74,127,212,0.15);
    border: 1px solid rgba(74,127,212,0.35);
    color: var(--accent-blue-lt);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.25rem;
}

.hero-pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 6px var(--accent-green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-title .highlight { color: var(--accent-blue-lt); font-weight: 400; font-size: 1.5rem; }

.hero-subtitle {
    color: var(--text-muted-dk);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 2.25rem; 
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}

.hero-stat-item { text-align: center; }

.hero-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted-dk);
    margin-top: 0.15rem;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section {
    background: var(--white);
    padding: 90px 0;
}

.problem-heading {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.problem-desc {
    color: var(--text-body);
    line-height: 1.75;
    font-size: 0.975rem;
}

.problem-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
}

.bullet-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.bullet-icon.positive {
    background: rgba(34,197,94,0.12);
    color: var(--accent-green);
}

.bullet-icon.negative {
    background: rgba(239,68,68,0.1);
    color: var(--accent-red);
}

/* ============================================
   ONE BRIDGE SECTION
   ============================================ */
.onebridge-section {
    background: var(--light-bg);
    padding: 90px 0;
}

.section-heading {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
}

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(0,0,0,0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.feature-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.icon-blue   { background: rgba(74,127,212,0.12); color: var(--accent-blue); }
.icon-purple { background: rgba(139,92,246,0.12); color: var(--accent-purple); }
.icon-orange { background: rgba(245,158,11,0.12); color: var(--accent-orange); }
.icon-green  { background: rgba(34,197,94,0.12);  color: var(--accent-green); }

.feature-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
}

.feature-card-desc {
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   STEPS SECTION
   ============================================ */
.steps-section {
    background: var(--secondary-dark);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.steps-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(74,127,212,0.25) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

.steps-section .section-heading { color: #fff; }
.steps-section .section-subtitle { color: var(--text-muted-dk); max-width: none; }

.steps-track {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.step-item {
    flex: 1;
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

/* Connecting dashed line between steps */
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -50%;
    width: 100%;
    height: 2px;
    border-top: 2px dashed rgba(74,127,212,0.4);
    z-index: 0;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(74,127,212,0.2);
}

.step-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
}

.step-number-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary-dark);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted-dk);
    font-size: 0.875rem;
    line-height: 1.65;
}

.step-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(34,197,94,0.15);
    color: var(--accent-green);
    border: 1px solid rgba(34,197,94,0.25);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    margin-top: 0.6rem;
}

/* ============================================
   AUDIENCE SECTION
   ============================================ */
.audience-section {
    background: var(--white);
    padding: 90px 0;
}

.audience-card {
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.audience-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 6px 32px rgba(74,127,212,0.1);
    transform: translateY(-3px);
}

.audience-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.audience-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.625rem;
}

.audience-desc {
    color: var(--text-body);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

.audience-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.audience-list li {
    font-size: 0.85rem;
    color: var(--text-body);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.audience-list li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.8rem;
}

/* ============================================
   FEATURE LIST SECTION
   ============================================ */
.feature-list-section {
    background: var(--light-bg);
    padding: 0 0 90px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.feature-grid-item {
    background: var(--white);
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: background 0.2s;
}

.feature-grid-item:hover { background: #fafbff; }

.fg-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.fg-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.fg-desc {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.55;
    margin: 0;
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-see-all:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* ============================================
   DEMO SECTION
   ============================================ */
.demo-section {
    background: var(--white);
    padding: 90px 0;
}

.demo-store-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-store-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
}

.demo-store-item:last-child { border-bottom: none; }

.demo-store-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 6px var(--accent-green);
    flex-shrink: 0;
}

.demo-store-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.1rem;
}

.demo-store-url {
    font-size: 0.78rem;
    color: var(--text-muted-dk);
}

.demo-store-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 100px;
    padding: 0.2rem 0.6rem;
}

/* Terminal / Code Block */
.terminal-wrap {
    background: #0d1117;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

.terminal-wrap .terminal-body {
    flex: 1;
}

.terminal-bar {
    background: #161b22;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.td-red    { background: #ff5f57; }
.td-yellow { background: #febc2e; }
.td-green  { background: #28c840; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.78rem;
    line-height: 1.7;
    color: #c9d1d9;
    overflow-x: auto;
}

.t-comment { color: #8b949e; }
.t-key     { color: #79c0ff; }
.t-string  { color: #a5d6ff; }
.t-number  { color: #ff9e64; }
.t-green   { color: #56d364; }
.t-orange  { color: var(--accent-orange); }
.t-url     { color: #a5d6ff; text-decoration: underline; }

/* ============================================
   STACK SECTION
   ============================================ */
.stack-section {
    background: var(--light-bg);
    padding: 90px 0;
}

.stack-platform-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stack-platform-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stack-platform-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(74,127,212,0.08);
}

.spi-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spi-name {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--text-dark);
    flex: 1;
}

.spi-versions {
    font-size: 0.75rem;
    color: var(--text-muted-dk);
}

.spi-status {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(34,197,94,0.1);
    border-radius: 100px;
    padding: 0.2rem 0.6rem;
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-logo-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-body);
}

/* ============================================
   TESTIMONIAL SECTION
   ============================================ */
.testimonial-section {
    background: var(--white);
    padding: 90px 0;
}

.testimonial-card {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 2rem;
    font-size: 7rem;
    line-height: 1;
    color: var(--accent-blue);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.testimonial-author-role {
    font-size: 0.82rem;
    color: var(--text-muted-dk);
}

.testimonial-stars {
    color: var(--accent-orange);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* Carousel wrapper — give room for side controls */
.testimonial-carousel {
    position: relative;
    padding: 0 3rem;
}

/* Prev / Next arrow buttons */
.tcarousel-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    z-index: 10;
    /* override Bootstrap defaults */
    opacity: 1;
    padding: 0;
}

.tcarousel-ctrl:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
}

.carousel-control-prev.tcarousel-ctrl { left: 0; }
.carousel-control-next.tcarousel-ctrl { right: 0; }

/* Override Bootstrap's default white chevron span — we use FA icons */
.tcarousel-ctrl .carousel-control-prev-icon,
.tcarousel-ctrl .carousel-control-next-icon { display: none; }

/* Dot indicators */
.tcarousel-dots {
    position: static;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.75rem;
}

.tcarousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    opacity: 1;
    transition: background 0.2s, transform 0.2s;
}

.tcarousel-dots button.active {
    background: var(--accent-orange);
    transform: scale(1.3);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--primary-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(74,127,212,0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 50% 50%, rgba(74,127,212,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; text-align: center; }

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    color: var(--text-muted-dk);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted-dk);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-main {
    background: var(--primary-dark);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 60px 0 40px;
}

.footer-brand { margin-bottom: 1.25rem; }

.footer-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.footer-brand-name span { color: var(--accent-orange); }

.footer-tagline {
    color: var(--text-muted-dk);
    font-size: 0.85rem;
    line-height: 1.65;
    max-width: 260px;
    margin-top: 0.5rem;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer-socials {
    display: flex;
    gap: 0.625rem;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.social-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

/* ============================================
   BACK TO TOP
   ============================================ */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
    z-index: 999;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover { background: var(--accent-orange-dk); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .steps-track {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-item:not(:last-child)::after { display: none; }

    .problem-bullets { grid-template-columns: 1fr; }

    .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .hero-section { padding-top: 80px; padding-bottom: 50px; }
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; }
    .problem-section, .onebridge-section, .steps-section,
    .audience-section, .feature-list-section, .demo-section,
    .stack-section, .testimonial-section, .cta-section { padding: 60px 0; }
    .testimonial-card { padding: 2rem 1.5rem; }
    .footer-main { padding: 48px 0 32px; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .hero-stat-divider { display: none; }
}

@media (max-width: 575.98px) {
    .hero-buttons, .cta-buttons { flex-direction: column; align-items: center; }
    .btn-primary-cta, .btn-ghost-light { width: 100%; justify-content: center; }
}


/* ============================================
   REGISTER PAGE
   ============================================ */

.register-section {
    min-height: 100vh;
    background: var(--light-bg);
    padding: 50px 0 80px;
}

.register-card {
    background: #fff;
    border: none;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow-hover);
}

.register-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.register-subtitle {
    color: var(--text-body);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.register-label {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    display: block;
}

.register-input {
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    color: var(--text-dark);
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.register-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74,127,212,.12);
}

.register-input::placeholder { color: #94a3b8; }

.register-input option {
    background: #fff;
    color: var(--text-dark);
}

.btn-register {
    width: 100%;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.5rem;
}

.btn-register:hover { background: var(--accent-orange-dk); }
.btn-register:active { transform: scale(0.98); }
.btn-register:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-download {
    display: block;
    width: 100%;
    padding: .85rem 1.5rem;
    margin: 1.25rem 0 .5rem;
    background: var(--accent-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: .5rem;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.btn-download:hover { background: #16a34a; color: #fff; text-decoration: none; }
.btn-download:active { transform: scale(0.98); }

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--accent-green);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.25rem;
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.trust-point i {
    color: var(--accent-green);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.key-result {
    display: none;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.25);
    border-radius: 14px;
    padding: 1.75rem;
    text-align: center;
}

.key-result.visible { display: block; }

.key-result-title {
    color: var(--accent-green);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.key-result-sub {
    color: var(--text-muted-dk);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.key-display {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-dark);
    background: var(--light-bg);
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    user-select: all;
}

.key-display:hover { background: #e8edf5; }

.copy-hint {
    color: var(--text-muted-dk);
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
}

.next-steps {
    text-align: left;
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.next-steps-title {
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.next-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-body);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.next-step:last-child { margin-bottom: 0; }

.step-num {
    background: var(--accent-blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.register-error {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: #b91c1c;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.register-error.visible { display: block; }

.info-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.info-panel-text {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tier-compare {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tier-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.tier-row i { width: 20px; text-align: center; flex-shrink: 0; }
.tier-row .yes { color: var(--accent-green); }
.tier-row .no  { color: #6b7280; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow-hover);
    padding: 2.5rem;
}
.contact-form-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}
.c-label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--text-dark);
    margin-bottom: .35rem;
    display: block;
}
.c-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: .65rem 1rem;
    font-size: .9rem;
    color: var(--text-dark);
    background: #fff;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.c-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74,127,212,.1);
}
textarea.c-input { resize: vertical; min-height: 105px; }
.c-select { 
    appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 1rem center; 
    padding-right: 2.5rem; 
}
.btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: .9rem 2rem;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: inherit;
}
.btn-send:hover { background: var(--accent-orange-dk); transform: translateY(-1px); }
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 1rem;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.contact-info-title { font-weight: 700; font-size: .875rem; color: var(--primary-dark); margin-bottom: .25rem; }
.contact-info-text  { font-size: .82rem; color: var(--text-body); line-height: 1.5; }
.form-success {
    display: none;
    text-align: center;
    padding: 2rem 1rem;
}
.form-success i { font-size: 3rem; color: var(--accent-green); margin-bottom: 1rem; }
.form-success h3 { font-size: 1.2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: .5rem; }
.form-success p { font-size: .9rem; color: var(--text-body); }

/* ============================================
   PRICING PAGE (Free vs Pro)
   ============================================ */
.pricing-section { background: var(--light-bg); padding: 120px 0 80px; min-height: 100vh; }
.pricing-heading { text-align: center; margin-bottom: 3rem; }
.pricing-heading h1 { font-size: 2.5rem; font-weight: 800; color: var(--primary-dark); }
.pricing-heading p { color: var(--text-body); font-size: 1.05rem; max-width: 560px; margin: .75rem auto 0; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan-card { background: #fff; border-radius: 16px; box-shadow: var(--card-shadow); padding: 2.25rem; position: relative; }
.plan-card.pro { border: 2px solid var(--accent-orange); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent-orange); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-blue); margin-bottom: .5rem; }
.plan-price { font-size: 2.75rem; font-weight: 900; color: var(--primary-dark); line-height: 1; margin-bottom: .25rem; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--text-body); }
.plan-desc { color: var(--text-body); font-size: .9rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); min-height: 48px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; }
.plan-features li { display: flex; align-items: flex-start; gap: .65rem; font-size: .875rem; color: var(--text-dark); }
.plan-features li i.yes { color: var(--accent-green); flex-shrink: 0; margin-top: 2px; }
.plan-features li i.no  { color: #cbd5e1; flex-shrink: 0; margin-top: 2px; }
.plan-features li .feat-label { color: var(--text-body); }
.plan-features li strong { color: var(--primary-dark); }
.btn-plan-free { display: block; text-align: center; background: var(--primary-dark); color: #fff !important; border-radius: 9px; padding: .85rem; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .2s; }
.btn-plan-free:hover { background: var(--secondary-dark); }
.btn-plan-pro { display: block; text-align: center; background: var(--accent-orange); color: #fff !important; border-radius: 9px; padding: .85rem; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .2s; }
.btn-plan-pro:hover { background: var(--accent-orange-dk); }

.compare-section { max-width: 900px; margin: 0 auto; }
.compare-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 1.25rem; text-align: center; }
.price-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 1.25rem; text-align: center; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--card-shadow); }
.compare-table th { background: var(--primary-dark); color: #fff; padding: .85rem 1.25rem; font-size: .85rem; font-weight: 700; text-align: center; }
.compare-table th:first-child { text-align: left; width: 50%; }
.compare-table td { padding: .75rem 1.25rem; font-size: .875rem; color: var(--text-dark); border-bottom: 1px solid #f1f5f9; text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: #fafbfc; }
.compare-table .yes { color: var(--accent-green); font-size: 1rem; }
.compare-table .no  { color: #cbd5e1; font-size: 1rem; }
.compare-table .pro-col { color: var(--accent-orange); font-weight: 700; }
.faq-section { margin: 2rem auto; }
.faq-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 1.5rem; text-align: center; }
.faq-item { background: #fff; border-radius: 10px; box-shadow: var(--card-shadow); padding: 1.25rem 1.5rem; margin-bottom: .75rem; }
.faq-q { font-weight: 700; color: var(--primary-dark); margin-bottom: .5rem; font-size: .95rem; }
.faq-a { color: var(--text-body); font-size: .875rem; line-height: 1.6; }

/* ============================================
   WORDPRESS PAGE
   ============================================ */
.wp-hero-section {
    background-color: var(--hero-dark);
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 140px 0 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.wp-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,14,43,0.78) 0%, rgba(7,14,43,0.60) 50%, rgba(7,14,43,0.84) 100%);
    pointer-events: none;
    z-index: 1;
}
.wp-hero-section > * { position: relative; z-index: 2; }
.wp-hero-section .container-xxl { position: relative; z-index: 2; }

.wp-icon-hero {
    width: 72px; height: 72px; border-radius: 18px;
    background: rgba(139,92,246,0.18);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #8b5cf6;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139,92,246,0.25);
}

.wp-hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900; color: #fff;
    line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.wp-hero-title .highlight { color: var(--accent-blue-lt); }

.wp-hero-sub {
    color: var(--text-muted-dk);
    font-size: 1.05rem; line-height: 1.7;
    max-width: 620px; margin: 0 auto 2.25rem;
}

.wp-free-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--accent-green);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    border-radius: 100px; padding: .35rem 1rem;
    margin-bottom: 1.5rem;
}

.why-wp-section { background: var(--white); padding: 90px 0; }
.why-card {
    background: var(--light-bg); border-radius: 16px;
    padding: 2rem; height: 100%; border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.why-card-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; margin-bottom: 1.25rem;
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: .5rem; }
.why-card p { font-size: .9rem; color: var(--text-body); line-height: 1.65; margin: 0; }

.wp-steps-section {
    background: var(--secondary-dark); padding: 90px 0;
    position: relative; overflow: hidden;
}
.wp-steps-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(139,92,246,0.2) 1px, transparent 1px);
    background-size: 40px 40px; opacity: .3; pointer-events: none;
}

.providers-section { background: var(--white); padding: 80px 0; }
.provider-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1rem; max-width: 680px; margin: 2rem auto 0;
}
@media(max-width:768px) { .provider-grid { grid-template-columns: repeat(2, 1fr); } }
.provider-chip {
    display: flex; align-items: center; gap: .6rem;
    background: var(--light-bg); border-radius: 10px;
    padding: .85rem 1rem; border: 1px solid var(--border);
    font-size: .875rem; font-weight: 600; color: var(--text-dark);
    max-height: 45px;
}
.provider-chip i { font-size: 1.1rem; text-align: center; }
.provider-chip.free-badge::after {
    content: 'FREE'; font-size: .6rem; font-weight: 800;
    background: rgba(34,197,94,.12); color: var(--accent-green);
    border: 1px solid rgba(34,197,94,.25); border-radius: 4px;
    padding: 1px 6px; margin-left: auto; letter-spacing: .05em;
}

.wp-compare-section { background: var(--light-bg); padding: 80px 0; }
.wp-compare-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border-radius: 12px; overflow: hidden; box-shadow: var(--card-shadow);
    max-width: 800px; margin: 2rem auto 0;
}
.wp-compare-table th {
    background: var(--primary-dark); color: #fff;
    padding: .85rem 1.25rem; font-size: .85rem; font-weight: 700; text-align: center;
}
.wp-compare-table th:first-child { text-align: left; width: 50%; }
.wp-compare-table td {
    padding: .7rem 1.25rem; font-size: .875rem; color: var(--text-dark);
    border-bottom: 1px solid #f1f5f9; text-align: center;
}
.wp-compare-table td:first-child { text-align: left; font-weight: 500; }
.wp-compare-table tr:last-child td { border-bottom: none; }
.wp-compare-table .yes { color: var(--accent-green); }
.wp-compare-table .no { color: #cbd5e1; }

.dashboard-section { background: var(--light-bg); padding: 80px 0; }
.dash-placeholder {
    background: var(--light-bg); border-radius: 14px;
    border: 2px dashed var(--border); padding: 3rem 2rem;
    text-align: center; color: var(--text-body); font-size: .9rem;
}
.dash-placeholder i { font-size: 2.5rem; color: var(--accent-purple); margin-bottom: 1rem; display: block; }

.wp-cta-section {
    background: var(--secondary-dark); padding: 80px 0;
    position: relative; overflow: hidden;
}
.wp-cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(139,92,246,0.15) 1px, transparent 1px);
    background-size: 40px 40px; opacity: .3; pointer-events: none;
}

.standalone-callout {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: 1rem 1.5rem;
    display: inline-flex; align-items: center; gap: .75rem;
    margin-top: 1.5rem; color: var(--text-muted-dk); font-size: .85rem;
}
.standalone-callout a { color: var(--accent-blue-lt); text-decoration: none; font-weight: 600; }
.standalone-callout a:hover { text-decoration: underline; }

/* ============================================
   STANDALONE PAGE
   ============================================ */
.standalone-hero-section {
    background-color: var(--hero-dark);
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 140px 0 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.standalone-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,14,43,0.78) 0%, rgba(7,14,43,0.60) 50%, rgba(7,14,43,0.84) 100%);
    pointer-events: none;
    z-index: 1;
}
.standalone-hero-section > * { position: relative; z-index: 2; }
.standalone-hero-section .container-xxl { position: relative; z-index: 2; }

.standalone-icon-hero {
    width: 72px; height: 72px; border-radius: 18px;
    background: rgba(59,130,246,0.18);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #3b82f6;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59,130,246,0.25);
}

.standalone-hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900; color: #fff;
    line-height: 1.15; letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.standalone-hero-title .highlight { color: var(--accent-blue-lt); }

.standalone-hero-sub {
    color: var(--text-muted-dk);
    font-size: 1.05rem; line-height: 1.7;
    max-width: 620px; margin: 0 auto 2.25rem;
}

.standalone-free-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--accent-green);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    border-radius: 100px; padding: .35rem 1rem;
    margin-bottom: 1.5rem;
}

.why-standalone-section { background: var(--white); padding: 90px 0; }

.standalone-steps-section {
    background: var(--secondary-dark); padding: 90px 0;
    position: relative; overflow: hidden;
}
.standalone-steps-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(59,130,246,0.2) 1px, transparent 1px);
    background-size: 40px 40px; opacity: .3; pointer-events: none;
}

.platforms-section { background: var(--white); padding: 80px 0; }
.platform-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1rem; max-width: 680px; margin: 2rem auto 0;
}
@media(max-width:768px) { .platform-grid { grid-template-columns: repeat(2, 1fr); } }
.platform-chip {
    display: flex; align-items: center; gap: .6rem;
    background: var(--light-bg); border-radius: 10px;
    padding: .85rem 1rem; border: 1px solid var(--border);
    font-size: .875rem; font-weight: 600; color: var(--text-dark);
    max-height: 45px;
}
.platform-chip i { font-size: 1.1rem; text-align: center; }
.platform-chip.free-badge::after {
    content: 'FREE'; font-size: .6rem; font-weight: 800;
    background: rgba(34,197,94,.12); color: var(--accent-green);
    border: 1px solid rgba(34,197,94,.25); border-radius: 4px;
    padding: 1px 6px; margin-left: auto; letter-spacing: .05em;
}

.standalone-compare-section { background: var(--light-bg); padding: 80px 0; }
.standalone-compare-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border-radius: 12px; overflow: hidden; box-shadow: var(--card-shadow);
    max-width: 800px; margin: 2rem auto 0;
}
.standalone-compare-table th {
    background: var(--primary-dark); color: #fff;
    padding: .85rem 1.25rem; font-size: .85rem; font-weight: 700; text-align: center;
}
.standalone-compare-table th:first-child { text-align: left; width: 50%; }
.standalone-compare-table td {
    padding: .7rem 1.25rem; font-size: .875rem; color: var(--text-dark);
    border-bottom: 1px solid #f1f5f9; text-align: center;
}
.standalone-compare-table td:first-child { text-align: left; font-weight: 500; }
.standalone-compare-table tr:last-child td { border-bottom: none; }
.standalone-compare-table .yes { color: var(--accent-green); }
.standalone-compare-table .no { color: #cbd5e1; }

.standalone-cta-section {
    background: var(--secondary-dark); padding: 80px 0;
    position: relative; overflow: hidden;
}
.standalone-cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(59,130,246,0.15) 1px, transparent 1px);
    background-size: 40px 40px; opacity: .3; pointer-events: none;
}

.wordpress-callout {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: 1rem 1.5rem;
    display: inline-flex; align-items: center; gap: .75rem;
    margin-top: 1.5rem; color: var(--text-muted-dk); font-size: .85rem;
}
.wordpress-callout a { color: var(--accent-blue-lt); text-decoration: none; font-weight: 600; }
.wordpress-callout a:hover { text-decoration: underline; }



/* ============================================
   CHECKOUT/UPGRADE PAGE
   ============================================ */
.checkout-section {
    background: var(--light-bg);
    padding: 50px 0 80px;
    min-height: 100vh;
}

.checkout-info h1 { font-size: 2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: .75rem; }
.checkout-info .price-display { display: flex; align-items: baseline; gap: .5rem; margin: 1.25rem 0 .5rem; }
.checkout-info .price-amount { font-size: 3rem; font-weight: 900; color: var(--primary-dark); line-height: 1; }
.checkout-info .price-period { font-size: 1rem; color: var(--text-body); font-weight: 500; }
.checkout-info .price-note  { font-size: .82rem; color: var(--text-body); margin-bottom: 1.75rem; }

.pro-features { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .65rem; }
.pro-features li { display: flex; align-items: flex-start; gap: .65rem; font-size: .875rem; color: var(--text-dark); }
.pro-features li i { color: var(--accent-green); flex-shrink: 0; margin-top: 2px; }

.trust-row { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: .5rem; }
.trust-chip { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-body); }
.trust-chip i { color: var(--accent-blue); }

.checkout-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--card-shadow-hover);
    padding: 2.25rem;
}
.checkout-card h2 { font-size: 1.2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 1.5rem; }

.form-label { font-weight: 600; font-size: .85rem; color: var(--text-dark); margin-bottom: .35rem; }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: .65rem 1rem;
    font-size: .9rem;
    color: var(--text-dark);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74,127,212,.12);
    outline: none;
}
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--accent-red); }
.invalid-feedback { font-size: .8rem; }

.field-hint { font-size: .78rem; color: var(--text-body); margin-top: .3rem; }

.order-summary {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.order-summary-row { display: flex; justify-content: space-between; font-size: .875rem; color: var(--text-body); padding: .3rem 0; }
.order-summary-row.total { border-top: 1px solid var(--border); margin-top: .4rem; padding-top: .75rem; font-weight: 700; font-size: 1rem; color: var(--primary-dark); }
.order-summary-row.total span:last-child { color: var(--accent-orange); }

.btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    width: 100%;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .95rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.btn-pay:hover:not(:disabled) { background: var(--accent-orange-dk); transform: translateY(-1px); }
.btn-pay:disabled { opacity: .6; cursor: not-allowed; }
.btn-pay .spinner-border { width: 1rem; height: 1rem; border-width: 2px; }

.secure-note { text-align: center; font-size: .78rem; color: var(--text-body); margin-top: .85rem; }
.secure-note i { color: #22c55e; margin-right: .3rem; }

#successScreen { display: none; text-align: center; padding: 1rem 0; }
#successScreen .success-icon { font-size: 3.5rem; color: var(--accent-green); margin-bottom: 1.25rem; }
#successScreen h3 { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); margin-bottom: .75rem; }
#successScreen p { color: var(--text-body); font-size: .9rem; line-height: 1.65; }
#successScreen .check-email { font-weight: 600; color: var(--accent-blue); }

.checkout-error {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 9px;
    padding: .75rem 1rem;
    font-size: .875rem;
    margin-bottom: 1.25rem;
}


/* ============================================================
   LEGAL PAGES (privacy-policy.html, terms-of-service.html)
   ============================================================ */

.legal-toc {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.legal-toc-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.legal-toc ul li a {
    color: var(--text-body);
    font-size: 0.83rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: background 0.18s, color 0.18s;
}

.legal-toc ul li a:hover {
    background: var(--light-bg);
    color: var(--accent-blue);
}

.legal-toc ul li a i {
    font-size: 0.68rem;
    color: var(--accent-blue);
    opacity: 0.7;
}

.legal-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.legal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-body);
}

.legal-meta-item i {
    color: var(--accent-blue);
}

.legal-section-anchor {
    scroll-margin-top: 100px;
}

.info-card h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.info-card h2 i {
    font-size: 1rem;
    color: var(--accent-orange);
}

.highlight-box {
    background: rgba(74, 127, 212, 0.06);
    border-left: 3px solid var(--accent-blue);
    border-radius: 0 8px 8px 0;
    padding: 0.875rem 1.25rem;
    margin: 1rem 0;
    color: var(--text-body);
    font-size: 0.88rem;
    line-height: 1.7;
}

.highlight-box.orange {
    background: rgba(245, 158, 11, 0.07);
    border-left-color: var(--accent-orange);
}

.highlight-box.green {
    background: rgba(34, 197, 94, 0.07);
    border-left-color: var(--accent-green);
}

.highlight-box.red {
    background: rgba(239, 68, 68, 0.06);
    border-left-color: var(--accent-red);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
    margin-top: 1rem;
}

.data-table thead th {
    background: var(--primary-dark);
    color: #fff;
    padding: 0.7rem 1rem;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.data-table tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    vertical-align: top;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover td {
    background: #f8fafc;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    text-align: center;
    margin-top: 2rem;
}

.contact-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-muted-dk);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.contact-card a.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.contact-card a.btn-contact:hover {
    background: var(--accent-orange-dk);
}

/* Terms of Service only */
.license-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 575px) {
    .license-grid {
        grid-template-columns: 1fr;
    }
}

.license-card {
    border-radius: 10px;
    padding: 1.25rem;
    border: 1px solid var(--border);
}

.license-card.free {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.25);
}

.license-card.pro {
    background: rgba(74, 127, 212, 0.05);
    border-color: rgba(74, 127, 212, 0.25);
}

.license-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.license-card ul {
    padding-left: 1.1rem;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.75;
}


/* ============================================================
   BENEFITS PAGE (ecommerce-ai-integration-benefits.html)
   ============================================================ */

/* Intro summary bar */
.benefits-intro {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--accent-blue);
}

.benefits-intro p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}

/* Pillar cards */
.pillar-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 2.5rem;
    transition: box-shadow 0.25s;
}

.pillar-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.pillar-header-text h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 0.2rem;
}

.pillar-header-text .pillar-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted-dk);
    font-weight: 500;
    margin: 0;
}

.pillar-body {
    padding: 0 2rem 2rem;
}

.pillar-body p {
    color: var(--text-body);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.pillar-body h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-dark);
    margin: 1.5rem 0 0.75rem;
}

/* Benefit checkmarks */
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.55;
}

.benefit-list li .bchk {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Colour variants per pillar */
.pillar-chat .pillar-icon {
    background: rgba(74, 127, 212, 0.12);
    color: var(--accent-blue);
}

.pillar-chat .pillar-header {
    background: rgba(74, 127, 212, 0.04);
    border-bottom: 1px solid rgba(74, 127, 212, 0.12);
}

.pillar-chat .bchk {
    background: rgba(74, 127, 212, 0.12);
    color: var(--accent-blue);
}

.pillar-mcp .pillar-icon {
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-purple);
}

.pillar-mcp .pillar-header {
    background: rgba(139, 92, 246, 0.04);
    border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.pillar-mcp .bchk {
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-purple);
}

.pillar-api .pillar-icon {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-orange);
}

.pillar-api .pillar-header {
    background: rgba(245, 158, 11, 0.04);
    border-bottom: 1px solid rgba(245, 158, 11, 0.12);
}

.pillar-api .bchk {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-orange);
}

.pillar-chain .pillar-icon {
    background: rgba(34, 197, 94, 0.12);
    color: var(--accent-green);
}

.pillar-chain .pillar-header {
    background: rgba(34, 197, 94, 0.04);
    border-bottom: 1px solid rgba(34, 197, 94, 0.12);
}

.pillar-chain .bchk {
    background: rgba(34, 197, 94, 0.12);
    color: var(--accent-green);
}

/* Plain English explainer boxes */
.plain-english {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.7;
}

.plain-english strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 0.35rem;
}

/* Who benefits grid */
.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .who-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .who-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.who-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.who-card .who-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.who-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.who-card p {
    font-size: 0.82rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* Stats strip */
.stats-strip {
    background: var(--primary-dark);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.stats-strip-plain {
    background: var(--primary-dark);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
}

.stats-strip .stat-item {
    text-align: center;
}

.stats-strip .stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stats-strip .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted-dk);
    margin-top: 0.35rem;
}

.stats-strip .stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 575px) {
    .stats-strip {
        flex-direction: column;
    }

    .stats-strip .stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* Comparison table */
.comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.comp-table thead th {
    padding: 0.875rem 1.25rem;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.comp-table thead th:first-child {
    background: #f1f5f9;
    color: var(--text-body);
}

.comp-table thead th.col-without {
    background: rgba(239, 68, 68, 0.08);
    color: var(--accent-red);
}

.comp-table thead th.col-with {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.comp-table tbody td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-dark);
    vertical-align: middle;
}

.comp-table tbody td:nth-child(2) {
    color: var(--text-body);
}

.comp-table tbody td:nth-child(3) {
    color: #16a34a;
    font-weight: 500;
}

.comp-table tbody tr:last-child td {
    border-bottom: none;
}

.comp-table tbody tr:hover td {
    background: #fafbfc;
}

.comp-table td i.fa-times {
    color: var(--accent-red);
}

.comp-table td i.fa-check {
    color: var(--accent-green);
}

/* Bottom CTA block */
.bottom-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f2060 50%, var(--secondary-dark) 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(74, 127, 212, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
    pointer-events: none;
}

.bottom-cta > * {
    position: relative;
    z-index: 1;
}

.bottom-cta h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.bottom-cta p {
    color: var(--text-muted-dk);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.bottom-cta .cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blogs */
/* --- Blog Card Images --- */
.blog-index-featured-image {
    background-image: url(images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    height: 320px;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
}
.blogcats {
    background: #080c18;
}

.blog-index-featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.blog-index-featured-image h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
}

.blog-card-img {
    object-fit: cover;
    height: 300px;
}

.blog-card-img-sm {
    object-fit: cover;
    height: 200px;
}

.catlistheader {
    background: var(--primary-dark);
    color: white;
}
.catlist li:hover {
    background: #ededed;
}

/* --- Page Featured Image Banner --- */
.page-featured-image {
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    overflow: hidden;
    position: relative;
}

.page-featured-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.page-featured-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.page-featured-image .page-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 700px;
}

.page-featured-image .page-banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 90%;
    max-width: 700px;
    margin: 0;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
}

.page-featured-image .page-banner-content .page-banner-title {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
}

.page-featured-image .page-banner-subtitle {
    max-width: 600px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ============================================================
   TUTORIAL PAGES
   (wordpress-, opencart-, standalone-tutorials-for-ecomaibridge)
   ============================================================ */

/* Per-step accent colors via CSS custom properties on the card IDs */
#introduction   { --step-color: #f59e0b; }
#installation   { --step-color: #4a7fd4; }
#configuration  { --step-color: #8b5cf6; }
#chat-widget    { --step-color: #22c55e; }
#license-key    { --step-color: #f59e0b; }
#business-info  { --step-color: #06b6d4; }
#ai-personality { --step-color: #f97316; }
#behavior-faq   { --step-color: #ec4899; }
#analytics      { --step-color: #14b8a6; }

/* Colored top accent border on each tutorial step card */
.tutorial-page .info-card {
    border-top: 3px solid var(--step-color, var(--accent-blue));
}

/* Step icon box in h2 */
.tutorial-page .info-card h2 > i {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--step-color, var(--accent-blue));
    color: #fff;
    font-size: 0.82rem;
    text-align: center;
    line-height: 2rem;
    flex-shrink: 0;
}

/* Step number badge (span) in h2 */
.tutorial-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--step-color, var(--accent-blue));
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    flex-shrink: 0;
    font-style: normal;
    line-height: 1;
}

/* h3 sub-headings: colored left accent stripe */
.tutorial-page .info-card h3 {
    padding-left: 0.85rem;
    border-left: 3px solid var(--step-color, var(--accent-blue));
    margin-top: 1.5rem;
    font-size: 0.97rem;
}

/* Step quick-nav strip above content */
.tutorial-step-nav {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1rem 1.5rem;
    margin-bottom: 1.75rem;
}

.tutorial-step-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted-dk);
    margin-bottom: 0.6rem;
}

.tutorial-step-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tutorial-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-body);
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.tutorial-step-pill:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    text-decoration: none;
}

.tutorial-step-pill .pill-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    flex-shrink: 0;
}

.tutorial-step-pill:hover .pill-num {
    background: rgba(255,255,255,0.25);
}

/* Enhanced callout boxes with FA icon for tutorial pages */
.tutorial-page .highlight-box {
    position: relative;
    padding-left: 2.5rem;
}

.tutorial-page .highlight-box::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0.8rem;
    top: 0.85rem;
    font-size: 0.88rem;
}

.tutorial-page .highlight-box:not(.orange):not(.green):not(.red)::before {
    content: "\f05a";
    color: var(--accent-blue);
}

.tutorial-page .highlight-box.green::before {
    content: "\f0eb";
    color: var(--accent-green);
}

.tutorial-page .highlight-box.orange::before {
    content: "\f071";
    color: var(--accent-orange);
}

.tutorial-page .highlight-box.red::before {
    content: "\f06a";
    color: var(--accent-red);
}

.tutorial-page .highlight-box blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

/* Standalone blockquotes inside tutorial cards */
.tutorial-page .info-card > blockquote {
    background: rgba(74, 127, 212, 0.06);
    border-left: 3px solid var(--accent-blue);
    border-radius: 0 8px 8px 0;
    padding: 0.875rem 1.25rem;
    margin: 1rem 0;
    color: var(--text-body);
    font-size: 0.88rem;
    line-height: 1.7;
}

.tutorial-page .info-card > blockquote p {
    margin: 0;
}

/* Numbered ordered lists with colored step counter bubbles */
.tutorial-page .info-card > ol {
    padding-left: 0;
    list-style: none;
    counter-reset: tut-ol;
}

.tutorial-page .info-card > ol > li {
    counter-increment: tut-ol;
    padding: 0.5rem 0 0.5rem 2.5rem;
    position: relative;
    border-bottom: 1px solid rgba(226,232,240,0.7);
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.65;
}

.tutorial-page .info-card > ol > li:last-child {
    border-bottom: none;
}

.tutorial-page .info-card > ol > li::before {
    content: counter(tut-ol);
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--step-color, var(--accent-blue));
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    text-align: center;
    line-height: 22px;
}

/* ============================================================
   TUTORIAL SCREENSHOT GALLERY + LIGHTBOX
   ============================================================ */

/* Gallery block inside a tutorial card */
.tutorial-gallery {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.tutorial-gallery-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tutorial-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Individual thumbnail */
.gallery-thumb {
    display: block;
    width: 160px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: zoom-in;
    position: relative;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
    flex-shrink: 0;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.gallery-thumb:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.13);
}

.gallery-thumb:hover img {
    transform: scale(1.04);
}

/* Zoom icon overlay on hover */
.gallery-thumb::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: '\f00e';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7,14,43,0.52);
    color: #fff;
    font-size: 1.3rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-thumb:hover::after {
    opacity: 1;
}

/* ---- Lightbox ---- */
.tut-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.tut-lightbox.active {
    display: flex;
}

.tut-lb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4,9,30,0.93);
    cursor: pointer;
}

.tut-lb-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    max-width: 95vw;
}

.tut-lb-img-box {
    text-align: center;
}

.tut-lb-img {
    max-width: min(82vw, 1280px);
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.55);
    display: block;
}

.tut-lb-caption {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    margin-top: 0.65rem;
    text-align: center;
    min-height: 1.2em;
}

.tut-lb-counter {
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    margin-top: 0.25rem;
    text-align: center;
}

.tut-lb-btn {
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.tut-lb-btn:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.35); }
.tut-lb-btn:disabled { opacity: 0.25; cursor: default; }

.tut-lb-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.tut-lb-close:hover { background: rgba(255,255,255,0.25); }

/* Loading spinner while image loads */
.tut-lb-img-box.loading::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tut-spin 0.7s linear infinite;
    margin: 4rem auto;
}

.tut-lb-img-box.loading .tut-lb-img { display: none; }

@keyframes tut-spin { to { transform: rotate(360deg); } }

/* --- Go to Top Button --- */
#goToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 27px;
    height: 27px;
    border: none;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}
#goToTop.visible {
    opacity: 1;
    visibility: visible;
}
#goToTop:hover {
    background: #070e2b;
}

/* ============================================
   Open Source Trust Bar
   ============================================ */
.trust-bar {
    background: #ffe8c1;
    border-top: 1px solid rgba(34,197,94,0.15);
    border-bottom: 1px solid rgba(34,197,94,0.15);
    padding: .5rem 0;
    font-size: 0.78rem;
    color: #1e293b;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}
.trust-bar-home {
    margin-bottom: 0;
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.trust-bar i {
    color: #ff9100;
}
.trust-bar-divider {
    color: rgba(34,197,94,0.4);
}
.trust-bar a {
    color: #ff9100;
    text-decoration: none;
    font-weight: 600;
}
.trust-bar a:hover {
    text-decoration: underline;
}
@media (min-width: 768px) {
    .trust-bar-inner { gap: .75rem; }
}

