/* ==========================================================================
   GROWTH ECOSYSTEM STYLES (v3.0)
   ========================================================================== */

:root {
    --color-seo: #873efe;
    --shadow-seo: rgba(135, 62, 254, 0.1);
    --bg-light-seo: rgba(135, 62, 254, 0.05);
    --border-light-seo: rgba(135, 62, 254, 0.15);

    --color-google: #f77f00;
    --shadow-google: rgba(247, 127, 0, 0.1);
    --bg-light-google: rgba(247, 127, 0, 0.05);
    --border-light-google: rgba(247, 127, 0, 0.15);

    --color-meta: #0077b6;
    --shadow-meta: rgba(0, 119, 182, 0.1);
    --bg-light-meta: rgba(0, 119, 182, 0.05);
    --border-light-meta: rgba(0, 119, 182, 0.15);

    --color-creative: #8338ec;
    --shadow-creative: rgba(131, 56, 236, 0.1);
    --bg-light-creative: rgba(131, 56, 236, 0.05);
    --border-light-creative: rgba(131, 56, 236, 0.15);

    --color-cro: #4CAF50;
    --shadow-cro: #4CAF501a;
    --bg-light-cro: #4CAF500d;
    --border-light-cro: #4CAF5026;

    --color-analytics: #06d6a0;
    --shadow-analytics: rgba(6, 214, 160, 0.1);
    --bg-light-analytics: rgba(6, 214, 160, 0.05);
    --border-light-analytics: rgba(6, 214, 160, 0.15);
}

.growth-ecosystem-sec {
    position: relative;
    overflow: hidden;
}

/* Badge & Headers */
.growth-ecosystem-sec .sec-badge {
    display: inline-block;
    font-family: var(--font-outfit);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-seo);
    background: var(--bg-light-seo);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light-seo);
}

.growth-ecosystem-sec .sec-title {
    font-family: var(--font-outfit);
    max-width: 800px;
    margin: 0 auto 20px;
}

/* .growth-ecosystem-sec .sec-title .text-accent {
    color: var(--color-seo);
} */

.growth-ecosystem-sec .sec-subheading {
    max-width: 850px;
    margin: 0 auto;
}

/* Unified Wrapper Layout */
.growth-ecosystem-wrapper {
    position: relative;
    width: 100%;
    margin-top: 60px;
}

.ecosystem-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* Left & Right Card Styling */
.ecosystem-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.02);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    min-height: 230px;
    height: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.ecosystem-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-accent);
    box-shadow: 0 12px 35px var(--card-shadow);
}

.ecosystem-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ecosystem-card-title {
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ecosystem-card-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--card-accent);
    background: var(--card-bg-light);
    border: 1px solid var(--card-border-light);
    padding: 3px 10px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.ecosystem-card-body {
    position: relative;
    flex-grow: 1;
    margin: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ecosystem-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 10px 0;
}

/* Outcome Chips Container */
.ecosystem-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-content: flex-start;
}

.ecosystem-chip {
    font-size: 12px;
    font-weight: 500;
    color: var(--card-accent);
    background: var(--card-bg-light);
    border: 1px solid var(--card-border-light);
    padding: 4px 12px;
    border-radius: 30px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.ecosystem-card:hover .ecosystem-chip {
    background: var(--card-bg-light);
    border-color: var(--card-border-light);
    color: var(--card-accent);
}

.ecosystem-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ecosystem-card-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.ecosystem-card-arrow svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.ecosystem-card:hover .ecosystem-card-arrow {
    background: var(--card-accent);
    color: #ffffff;
    border-color: var(--card-accent);
    transform: translateX(4px);
}

/* Assign Card Accents */
.card-seo {
    --card-accent: var(--color-seo);
    --card-shadow: var(--shadow-seo);
    --card-bg-light: var(--bg-light-seo);
    --card-border-light: var(--border-light-seo);
}

.card-google {
    --card-accent: var(--color-google);
    --card-shadow: var(--shadow-google);
    --card-bg-light: var(--bg-light-google);
    --card-border-light: var(--border-light-google);
}

.card-meta {
    --card-accent: var(--color-meta);
    --card-shadow: var(--shadow-meta);
    --card-bg-light: var(--bg-light-meta);
    --card-border-light: var(--border-light-meta);
}

.card-creative {
    --card-accent: var(--color-creative);
    --card-shadow: var(--shadow-creative);
    --card-bg-light: var(--bg-light-creative);
    --card-border-light: var(--border-light-creative);
}

.card-cro {
    --card-accent: var(--color-cro);
    --card-shadow: var(--shadow-cro);
    --card-bg-light: var(--bg-light-cro);
    --card-border-light: var(--border-light-cro);
}

.card-analytics {
    --card-accent: var(--color-analytics);
    --card-shadow: var(--shadow-analytics);
    --card-bg-light: var(--bg-light-analytics);
    --card-border-light: var(--border-light-analytics);
}

/* Center Column & Orbital visuals */
.ecosystem-visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG Connector Lines (Desktop only) */
.ecosystem-svg-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: none;
}

.ecosystem-svg-lines path {
    transition: stroke-width 0.4s ease, stroke 0.4s ease, opacity 0.4s ease;
}

/* Orbital Dotted Ring */
.growth-ecosystem-sec .orbit-ring {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1.5px dashed rgba(135, 62, 254, 0.2);
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Center Glass Hub */
.center-store-hub {
    position: absolute;
    z-index: 10;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    transition: box-shadow 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}

.center-store-hub::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(135, 62, 254, 0.08);
    pointer-events: none;
    transition: border-color 0.5s ease, transform 0.5s ease;
}

.center-store-hub-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
    color: var(--color-seo);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.5s ease;
}

.center-store-hub-icon svg {
    width: 100%;
    height: 100%;
}

.center-hub-title {
    font-family: var(--font-outfit);
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 3px 0;
    max-width: 130px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.center-hub-subtitle {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #873efe;
    background: rgba(135, 62, 254, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
    margin: 0;
    display: inline-block;
    transition: color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

/* Interactive Center Hub Glow States */
.center-store-hub.glow-seo {
    border-color: rgba(135, 62, 254, 0.4);
    box-shadow: 0 0 40px rgba(135, 62, 254, 0.2), 0 10px 40px rgba(15, 23, 42, 0.05);
}

.center-store-hub.glow-seo::before {
    border-color: rgba(135, 62, 254, 0.2);
}

.center-store-hub.glow-seo .center-store-hub-icon {
    color: var(--color-seo);
}

.center-store-hub.glow-seo .center-hub-subtitle {
    color: var(--color-seo);
    background: var(--bg-light-seo);
}

.center-store-hub.glow-google {
    border-color: rgba(247, 127, 0, 0.4);
    box-shadow: 0 0 40px rgba(247, 127, 0, 0.2), 0 10px 40px rgba(15, 23, 42, 0.05);
}

.center-store-hub.glow-google::before {
    border-color: rgba(247, 127, 0, 0.2);
}

.center-store-hub.glow-google .center-store-hub-icon {
    color: var(--color-google);
}

.center-store-hub.glow-google .center-hub-subtitle {
    color: var(--color-google);
    background: var(--bg-light-google);
}

.center-store-hub.glow-meta {
    border-color: rgba(0, 119, 182, 0.4);
    box-shadow: 0 0 40px rgba(0, 119, 182, 0.2), 0 10px 40px rgba(15, 23, 42, 0.05);
}

.center-store-hub.glow-meta::before {
    border-color: rgba(0, 119, 182, 0.2);
}

.center-store-hub.glow-meta .center-store-hub-icon {
    color: var(--color-meta);
}

.center-store-hub.glow-meta .center-hub-subtitle {
    color: var(--color-meta);
    background: var(--bg-light-meta);
}

.center-store-hub.glow-creative {
    border-color: rgba(131, 56, 236, 0.4);
    box-shadow: 0 0 40px rgba(131, 56, 236, 0.2), 0 10px 40px rgba(15, 23, 42, 0.05);
}

.center-store-hub.glow-creative::before {
    border-color: rgba(131, 56, 236, 0.2);
}

.center-store-hub.glow-creative .center-store-hub-icon {
    color: var(--color-creative);
}

.center-store-hub.glow-creative .center-hub-subtitle {
    color: var(--color-creative);
    background: var(--bg-light-creative);
}

.center-store-hub.glow-cro {
    border-color: rgba(255, 0, 110, 0.4);
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.2), 0 10px 40px rgba(15, 23, 42, 0.05);
}

.center-store-hub.glow-cro::before {
    border-color: rgba(255, 0, 110, 0.2);
}

.center-store-hub.glow-cro .center-store-hub-icon {
    color: var(--color-cro);
}

.center-store-hub.glow-cro .center-hub-subtitle {
    color: var(--color-cro);
    background: var(--bg-light-cro);
}

.center-store-hub.glow-analytics {
    border-color: rgba(6, 214, 160, 0.4);
    box-shadow: 0 0 40px rgba(6, 214, 160, 0.2), 0 10px 40px rgba(15, 23, 42, 0.05);
}

.center-store-hub.glow-analytics::before {
    border-color: rgba(6, 214, 160, 0.2);
}

.center-store-hub.glow-analytics .center-store-hub-icon {
    color: var(--color-analytics);
}

.center-store-hub.glow-analytics .center-hub-subtitle {
    color: var(--color-analytics);
    background: var(--bg-light-analytics);
}


/* Ecosystem Nodes around Orbit */
.growth-ecosystem-sec .ecosystem-node {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    z-index: 5;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease,
        color 0.4s ease;
}

.growth-ecosystem-sec .ecosystem-node svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

/* Active & Hover Node glow classes */
.growth-ecosystem-sec .ecosystem-node.active-seo,
.growth-ecosystem-sec .ecosystem-node:hover {
    border-color: var(--color-seo);
    box-shadow: 0 0 20px rgba(135, 62, 254, 0.4);
    transform: translate(-50%, -50%) scale(1.15);
}

.growth-ecosystem-sec .ecosystem-node.active-google {
    color: #ffffff;
    background: var(--color-google);
    border-color: var(--color-google);
    box-shadow: 0 0 20px rgba(247, 127, 0, 0.4);
    transform: translate(-50%, -50%) scale(1.15);
}

.growth-ecosystem-sec .ecosystem-node.active-meta {
    color: #ffffff;
    background: var(--color-meta);
    border-color: var(--color-meta);
    box-shadow: 0 0 20px rgba(0, 119, 182, 0.4);
    transform: translate(-50%, -50%) scale(1.15);
}

.growth-ecosystem-sec .ecosystem-node.active-creative {
    color: #ffffff;
    background: var(--color-creative);
    border-color: var(--color-creative);
    box-shadow: 0 0 20px rgba(131, 56, 236, 0.4);
    transform: translate(-50%, -50%) scale(1.15);
}

.growth-ecosystem-sec .ecosystem-node.active-cro {
    color: #ffffff;
    background: var(--color-cro);
    border-color: var(--color-cro);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
    transform: translate(-50%, -50%) scale(1.15);
}

.growth-ecosystem-sec .ecosystem-node.active-analytics {
    color: #ffffff;
    background: var(--color-analytics);
    border-color: var(--color-analytics);
    box-shadow: 0 0 20px rgba(6, 214, 160, 0.4);
    transform: translate(-50%, -50%) scale(1.15);
}

/* Particle flows */
.glow-dot {
    filter: drop-shadow(0 0 4px currentColor);
}


/* ==========================================================================
   CONCLUSION TYPOGRAPHY BLOCK
   ========================================================================== */

.ecosystem-conclusion {
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.ecosystem-conclusion .divider-line {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 auto 30px;
}

.ecosystem-conclusion .conclusion-line {
    font-family: var(--font-outfit);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #64748b;
    margin-bottom: 8px;
}

.ecosystem-conclusion .conclusion-heading {
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}


/* ==========================================================================
   SVG ICON COLORS — Card Titles & Orbit Nodes
   ========================================================================== */

/* --- Card Title SVG sizing (shared) --- */
.growth-ecosystem-sec .ecosystem-card-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* --- Card Title SVG fill colors per card type --- */
.growth-ecosystem-sec .card-seo .ecosystem-card-title svg {
    fill: var(--color-seo);
    color: var(--color-seo);
}

.growth-ecosystem-sec .card-meta .ecosystem-card-title svg {
    fill: var(--color-meta);
    color: var(--color-meta);
}

.growth-ecosystem-sec .card-cro .ecosystem-card-title svg {
    fill: var(--color-cro);
    color: var(--color-cro);
}

.growth-ecosystem-sec .card-creative .ecosystem-card-title svg {
    fill: var(--color-creative);
    color: var(--color-creative);
}

/* Analytics SVG uses stroke, not fill */
.growth-ecosystem-sec .card-analytics .ecosystem-card-title svg {
    fill: none;
    stroke: var(--color-analytics);
    color: var(--color-analytics);
}

/* Google Ads SVG — brand multicolor, slightly wider */
.growth-ecosystem-sec .card-google .ecosystem-card-title svg {
    width: 28px;
    height: 20px;
}

/* --- Orbit Node SVG sizing (shared) --- */
.growth-ecosystem-sec .ecosystem-node svg {
    width: 22px;
    height: 22px;
    display: block;
    transition: fill 0.3s ease, color 0.3s ease, stroke 0.3s ease;
}

/* --- Orbit Node SVG fill colors per node type --- */
.growth-ecosystem-sec .node-seo svg {
    fill: var(--color-seo);
    color: var(--color-seo);
}

/* Google Ads node keeps its brand colors from inline path fills */
.growth-ecosystem-sec .node-google svg {
    width: 26px;
    height: 22px;
}

/* Meta Ads node — brand blue */
.growth-ecosystem-sec .node-meta svg {
    fill: #0082fb;
    color: #0082fb;
}

.growth-ecosystem-sec .node-creative svg {
    fill: var(--color-creative);
    color: var(--color-creative);
}

.growth-ecosystem-sec .node-cro svg {
    fill: var(--color-cro);
    color: var(--color-cro);
}

.growth-ecosystem-sec .node-analytics svg {
    fill: none;
    stroke: var(--color-analytics);
    color: var(--color-analytics);
}

/* ==========================================================================
   GROWTH STAGES SECTION — 6-Stage Ecommerce Growth Pipeline
   ========================================================================== */
.growth-stages-sec {
    overflow: hidden;
    position: relative;
}

.stages-scroll-wrapper {
    position: relative;
    width: 100%;
}

/* Card Styling */
.stage-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.02);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: space-between;
    overflow: hidden;
}

/* Theme variables for stage cards */
.stage-card-seo {
    --accent-color: var(--color-seo);
    --accent-bg-light: var(--bg-light-seo);
    --accent-shadow: var(--shadow-seo);
}

.stage-card-google {
    --accent-color: #FBBC04;
    --accent-bg-light: rgba(251, 188, 4, 0.08);
    --accent-shadow: rgba(251, 188, 4, 0.15);
}

.stage-card-meta {
    --accent-color: #0082fb;
    --accent-bg-light: rgba(0, 130, 251, 0.08);
    --accent-shadow: rgba(0, 130, 251, 0.15);
}

.stage-card-cro {
    --accent-color: var(--color-cro);
    --accent-bg-light: var(--bg-light-cro);
    --accent-shadow: var(--shadow-cro);
}

.stage-card-creative {
    --accent-color: var(--color-creative);
    --accent-bg-light: var(--bg-light-creative);
    --accent-shadow: var(--shadow-creative);
}

.stage-card-analytics {
    --accent-color: var(--color-analytics);
    --accent-bg-light: var(--bg-light-analytics);
    --accent-shadow: var(--shadow-analytics);
}

.stage-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px var(--accent-shadow, rgba(15, 23, 42, 0.06));
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.stage-card:hover .stage-header {
    border-color: var(--accent-color);
}

.stage-num {
    font-size: 28px;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.15);
    line-height: 1;
    transition: color 0.3s ease;
}

.stage-title {
    font-family: var(--font-outfit);
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.1;
}

/* Illustration Styling */
.stage-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px;
    transition: background 0.3s ease;
}

.stage-card:hover .stage-illustration {
    background: var(--accent-bg-light);
}

.stage-illustration-img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.stage-card:hover .stage-illustration-img {
    transform: scale(1.06);
}

/* Outcome Chips */
.stage-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    opacity: 0.85;
    transform: translateY(2px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.stage-card:hover .stage-chips {
    opacity: 1;
    transform: translateY(0);
}

.stage-chip {
    font-size: 11px;
    font-weight: 550;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 5px 12px;
    border-radius: 30px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.stage-chip:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff !important;
}

.stage-card:hover .stage-num {
    color: var(--accent-color);
}


/* ==========================================================================
   GROWTH COMMAND CENTER SECTION — Dashboard & KPI Cards Layout
   ========================================================================== */
.growth-dashboard-sec {
    position: relative;
    overflow: hidden;
}

.relative-container {
    position: relative;
}

.growth-dashboard-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 30px;
    align-items: center;
    z-index: 2;
}

.growth-dashboard-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 10;
}

.dashboard-center-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    z-index: 5;
}

.dashboard-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(253, 224, 71, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.dashboard-wrapper {
    position: relative;
    width: 100%;
    max-width: 780px;
    transform-style: preserve-3d;
    transform: perspective(1200px) rotateX(3deg) rotateY(-4deg) rotateZ(-3deg);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 3;
}

.dashboard-wrapper:hover {
    transform: perspective(1200px) rotateX(1deg) rotateY(-1deg) rotateZ(-1deg) scale(1.01);
}

.dashboard-hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow:
        0 20px 50px rgba(135, 62, 254, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(135, 62, 254, 0.05);
    display: block;
}

/* SaaS Floating Badges */
.db-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    pointer-events: auto;
    z-index: 15;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
}

.db-floating-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.badge-live {
    top: 8%;
    left: -6%;
}

.badge-sync {
    top: 15%;
    right: -6%;
}

.badge-ai {
    bottom: 12%;
    left: -8%;
}

.badge-report {
    bottom: 15%;
    right: -8%;
}

.db-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: db-pulse 1.6s infinite;
}

@keyframes db-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Invisible Anchors for lines */
.db-anchor {
    position: absolute;
    width: 4px;
    height: 4px;
    background: transparent;
    pointer-events: none;
}

.anchor-left-top {
    top: 22%;
    left: 12%;
}

.anchor-left-middle {
    top: 50%;
    left: 8%;
}

.anchor-left-bottom {
    top: 78%;
    left: 12%;
}

.anchor-right-top {
    top: 22%;
    right: 12%;
}

.anchor-right-middle {
    top: 50%;
    right: 8%;
}

.anchor-right-bottom {
    top: 78%;
    right: 12%;
}

/* Glass KPI Cards */
.db-kpi-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        border-color 0.4s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.db-kpi-card:hover {
    transform: translateY(-6px);
    border-color: rgba(135, 62, 254, 0.35);
    box-shadow:
        0 20px 40px rgba(135, 62, 254, 0.08),
        0 1px 3px rgba(135, 62, 254, 0.04);
}

.db-kpi-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.db-kpi-emoji {
    font-size: 18px;
}

.db-kpi-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-outfit);
}

.db-kpi-card-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.db-kpi-card-value .number-val {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.db-kpi-card-value .db-suffix {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.db-trend-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 30px;
    margin-left: auto;
}

.db-trend-badge.pos {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}

.db-kpi-card-footer-lbl {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Pseudo Connection Lines — bridge from card edge to dashboard */
.left-col .db-kpi-card::after,
.right-col .db-kpi-card::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(30px + 40px);
    height: 1px;
    background: linear-gradient(to right, rgba(135, 62, 254, 0.5), rgba(135, 62, 254, 0.1));
    z-index: 0;
    pointer-events: none;
    transition: height 0.4s ease, box-shadow 0.4s ease;
}

.left-col .db-kpi-card::after {
    left: 100%;
    background: linear-gradient(to right, rgba(135, 62, 254, 0.5), rgba(135, 62, 254, 0.05));
}

.right-col .db-kpi-card::after {
    right: 100%;
    background: linear-gradient(to left, rgba(135, 62, 254, 0.5), rgba(135, 62, 254, 0.05));
}

.db-kpi-card:hover::after {
    height: 2px;
    box-shadow: 0 0 8px rgba(135, 62, 254, 0.5);
}


/* ==========================================================================
   Why Brands Partner Section Styles
   ========================================================================== */
.partner-sec {
    background: #fafbfc;
    overflow: hidden;
    position: relative;
}

.partner-wrapper {
    display: grid;
    max-width: 1199px;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 0 auto;
    align-items: stretch;
}

.partner-side {
    background: #ffffff;
    border-radius: 24px;
    padding: 45px 0px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}

.partner-side-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.5px;
    padding: 0 40px;
}

/* --- Left Side: Traditional Approach (Dull & Messy) --- */
.partner-left {
    background: #fcfcfc;
    border: 1px solid rgba(226, 232, 240, 0.9);
    opacity: 0.85;
}

.partner-left .partner-side-title {
    color: #94a3b8;
}

.pa-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.pa-box {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 20px;
    text-align: center;
    font-weight: 600;
    color: #64748b;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.01);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.pa-dashed-line {
    height: 24px;
    width: 2px;
    border-left: 2px dashed #f87171;
    opacity: 0.45;
    margin: 2px 0;
}

/* Bottom Pain Points Cards */
.pa-bottom-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 40px
}

.pa-card {
    background: rgba(239, 68, 68, 0.02);
    border: 1px solid rgba(239, 68, 68, 0.08);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ef4444;
}

.pa-card svg {
    flex-shrink: 0;
}

/* --- Right Side: E-com Thinker (Hero & Animated) --- */
.partner-right {
    background: #ffffff;
    border: 1px solid rgba(135, 62, 254, 0.2);
    box-shadow: 0 25px 60px rgba(135, 62, 254, 0.08), 0 4px 20px rgba(135, 62, 254, 0.02);
}

.partner-right .partner-side-title {
    color: var(--primary-color);
}

.pe-visual-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 
.pe-connections-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pe-line {
    fill: none;
    stroke: rgba(135, 62, 254, 0.12);
    stroke-width: 2.5;
}

.pe-line-pulse {
    fill: none;
    stroke: url(#pulseGrad);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 20 180;
    animation: flow 3.5s infinite linear;
}

@keyframes flow {
    to {
        stroke-dashoffset: -200px;
    }
}

.pe-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(135, 62, 254, 0.07) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.pe-center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 3;
    background: #873efe;
    color: #ffffff;
    border-radius: 50%;
    width: 175px;
    height: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px rgba(135, 62, 254, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.25);
    text-align: center;
    padding: 18px;
}

.pe-center-node .pe-logo-main {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.pe-center-node .pe-center-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pe-center-node .pe-center-lines span {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.8px;
} */

/* Satellite Pills */
/* .pe-satellite {
    position: absolute;
    z-index: 3;
    background: #ffffff;
    border: 1.5px solid rgba(135, 62, 254, 0.25);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    box-shadow: 0 6px 18px rgba(135, 62, 254, 0.08);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    white-space: nowrap;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.pe-satellite:hover {
    transform: translate(-50%, -50%) scale(1.08) !important;
    border-color: #873efe;
    color: #873efe;
    box-shadow: 0 8px 24px rgba(135, 62, 254, 0.15);
} */

/* Bottom Value Proposition Cards */
/* 


.partner-sec .pe-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}

.partner-sec.pe-active .pe-center-node {
    animation: centerGrow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.partner-sec.pe-active .pe-line {
    animation: drawLine 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s;
}

.partner-sec.pe-active .pe-sat-1 { animation: satPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.8s; }
.partner-sec.pe-active .pe-sat-2 { animation: satPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.0s; }
.partner-sec.pe-active .pe-sat-7 { animation: satPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.2s; }
.partner-sec.pe-active .pe-sat-3 { animation: satPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.4s; }
.partner-sec.pe-active .pe-sat-6 { animation: satPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.6s; }
.partner-sec.pe-active .pe-sat-5 { animation: satPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.8s; }
.partner-sec.pe-active .pe-sat-4 { animation: satPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 2.0s; }

@keyframes centerGrow {
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes satPop {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
} */

.pe-bottom-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pe-card {
    background: rgba(16, 185, 129, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #065f46;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pe-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.06);
}

.pe-card svg {
    flex-shrink: 0;
}

/* ==========================================================================
   RESULTS SECTION — Bento Grid (Section 5)
   ========================================================================== */

/* ---------- Section Shell ---------- */
.results-sec {
    position: relative;
    overflow: hidden;
}

.results-sec .container {
    position: relative;
    z-index: 1;
}

/* ---------- Bento Grid ---------- */
.results-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 190px 210px;
    gap: 14px;
    margin-top: 0px;
    grid-template-areas:
        "revenue  traffic   traffic"
        "roas     keywords  conversion"
        "returning returning orders";
}

/* ---------- Base Card ---------- */
.rb-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 26px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
    cursor: default;
}

.rb-card.rb-in-view {
    opacity: 1;
    transform: translateY(0);
}

.rb-card:hover {
    transform: translateY(-5px);
    border-color: rgba(135, 62, 254, 0.22);
    box-shadow: 0 16px 48px rgba(135, 62, 254, 0.09), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ---------- Grid Area Assignments ---------- */
.rb-revenue {
    grid-area: revenue;
    background: linear-gradient(145deg, #f5f0ff 0%, #ffffff 60%);
    transition-delay: 0s;
}

.rb-traffic {
    grid-area: traffic;
    transition-delay: 0.08s;
}

.rb-roas {
    grid-area: roas;
    transition-delay: 0.14s;
}

.rb-keywords {
    grid-area: keywords;
    transition-delay: 0.20s;
}

.rb-conversion {
    grid-area: conversion;
    transition-delay: 0.26s;
}

.rb-returning {
    grid-area: returning;
    transition-delay: 0.32s;
}

.rb-orders {
    grid-area: orders;
    background: linear-gradient(145deg, #fff8f3 0%, #ffffff 60%);
    transition-delay: 0.38s;
}

/* ---------- Card Typography ---------- */
.rb-card-label {
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* ---------- Card Header (Icon + Label inline) ---------- */
.rb-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.rb-card-header .rb-card-icon {
    margin-bottom: 0 !important;
}

.rb-card-header .rb-card-label {
    margin-bottom: 0 !important;
}

.rb-number-big {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 6px;
    line-height: 1;
}

.rb-number-big .rb-counter {
    font-size: 54px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1;
}

.rb-revenue .rb-number-big .rb-counter {
    font-size: 62px;
    color: #873efe;
}

.rb-revenue .rb-suffix {
    color: #873efe;
    font-size: 30px;
}

.rb-suffix {
    font-size: 26px;
    font-weight: 600;
    color: #0f172a;
}

.rb-number-mid {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 6px;
}

.rb-number-mid .rb-counter {
    font-size: 40px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1;
}

.rb-suffix-mid {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
}

.rb-sublabel {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

.rb-months {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 4px;
    margin-bottom: 12px;
}

/* ---------- Icon ---------- */
.rb-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--icon-bg, rgba(135, 62, 254, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

/* ---------- Revenue Card Chart ---------- */
.rb-area-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.rb-chart-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---------- Traffic Card ---------- */
.rb-traffic {
    display: flex;
    flex-direction: column;
}

.rb-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.rb-pos-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rb-traffic-chart {
    flex: 1;
    min-height: 0;
    position: absolute;
    overflow: hidden;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.rb-traffic-chart .rb-chart-table {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---------- Charts.css Growth Animation ---------- */
.rb-chart-table {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    --color: linear-gradient(to top, rgba(135, 62, 254, 0.02) 0%, rgba(135, 62, 254, 0.28) 100%) !important;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rb-card.rb-in-view .rb-chart-table {
    clip-path: inset(0 0 0 0);
}

/* ---------- Progress Bars ---------- */
.rb-roas,
.rb-keywords,
.rb-conversion,
.rb-orders {
    display: flex;
    flex-direction: column;
}

.rb-progress-wrap {
    margin-top: auto;
    padding-top: 14px;
}

.rb-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.rb-progress-fill {
    height: 100%;
    border-radius: 10px;
    background: var(--fill-color, #873efe);
    width: 0%;
    transition: width 1.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---------- Returning Customers ---------- */
.rb-returning {
    display: flex;
    align-items: center;
}

.rb-returning-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
}

/* ---------- ROAS Sparkline Chart ---------- */
.rb-roas {
    position: relative;
    padding-bottom: 70px;
}

.rb-roas-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.rb-roas-chart .rb-chart-table {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    --color: linear-gradient(to top, rgba(251, 188, 4, 0.02) 0%, rgba(251, 188, 4, 0.25) 100%) !important;
}

.rb-returning-text {
    flex: 1;
    min-width: 0;
}

/* ---------- Donut Chart ---------- */
.rb-donut-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.rb-donut-svg {
    width: 100%;
    height: 100%;
}

.rb-donut-arc {
    transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.rb-card.rb-in-view .rb-donut-arc {
    stroke-dashoffset: 138.48 !important;
    /* 42% of 238.76 circumference */
}

.rb-donut-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

/* ---------- Achievement Badges ---------- */
.results-badges-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(135, 62, 254, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.rb-achieve-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.rb-achieve-badge:hover {
    transform: translateY(-3px);
    border-color: rgba(135, 62, 254, 0.28);
    box-shadow: 0 8px 24px rgba(135, 62, 254, 0.08);
}

.rb-achieve-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.rb-achieve-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* ==========================================================================
   Tech Stack Section Styles
   ========================================================================== */
.tech-sec {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.seo-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.seo-tech-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
    position: relative;
}

.seo-tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--glow-color, rgba(135, 62, 254, 0.3)) 0%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.seo-tech-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.03), 0 4px 16px var(--glow-shadow, rgba(135, 62, 254, 0.05));
}

.seo-tech-card:hover::before {
    opacity: 1;
}

.tech-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.seo-tech-card:hover .tech-icon-wrap {
    transform: scale(1.1);
}

.tech-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.tech-cat {
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ==========================================================================
   RESPONSIVE STYLES (GROUPED BREAKPOINTS)
   ========================================================================== */

@media (min-width: 1199px) {
    .growth-ecosystem-wrapper {
        display: grid;
        grid-template-columns: 1fr 440px 1fr;
        gap: 40px;
        align-items: center;
        height: 650px;
    }
}

@media (min-width: 992px) {
    .ecosystem-visual-container {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 440px;
        height: 500px;
        flex-shrink: 0;
        margin: 0;
    }

    .ecosystem-svg-lines {
        display: block;
        width: 100%;
        height: 100%;
    }

    .growth-ecosystem-sec .node-seo {
        left: 38.4%;
        top: 24%;
    }

    .growth-ecosystem-sec .node-google {
        left: 61.6%;
        top: 24%;
    }

    .growth-ecosystem-sec .node-meta {
        left: 20.8%;
        top: 40%;
    }

    .growth-ecosystem-sec .node-creative {
        left: 80.2%;
        top: 40%;
    }

    .growth-ecosystem-sec .node-cro {
        left: 29.4%;
        top: 70%;
    }

    .growth-ecosystem-sec .node-analytics {
        left: 72.6%;
        top: 71%;
    }

    .stages-scroll-wrapper {
        overflow: visible;
        padding: 0 0 40px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .stages-track {
        display: flex;
        gap: 30px;
        width: max-content;
        will-change: transform;
        padding: 0 30px;
    }

    .stage-card {
        width: 400px;
        flex-shrink: 0;
    }
}

@media (min-width: 991px) {
    .ecosystem-card-desc {
        margin: 0;
        max-height: 80px;
        opacity: 1;
        overflow: hidden;
        transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            margin 0.35s ease;
    }

    .ecosystem-card:hover .ecosystem-card-desc {
        max-height: 0;
        opacity: 0;
        margin: 0;
    }

    .ecosystem-card-chips {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        transform: translateY(6px);
        transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
            margin-top 0.35s ease 0.1s;
    }

    .ecosystem-card:hover .ecosystem-card-chips {
        max-height: 120px;
        opacity: 1;
        margin-top: 8px;
        transform: translateY(0);
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .growth-ecosystem-wrapper {
        display: grid;
        grid-template-columns: 1fr 220px 1fr;
        gap: 40px;
        align-items: center;
        height: 650px;
        margin-top: 0;
    }

    .ecosystem-visual-container {
        transform: translate(-50%, -50%) scale(0.85);
        transform-origin: center center;
    }
}

@media (max-width: 1199px) {
    .ecosystem-card {
        min-height: 190px;
        height: auto;
    }

    .growth-ecosystem-sec .node-meta,
    .growth-ecosystem-sec .node-creative {
        top: 50%;
    }

    .growth-ecosystem-sec .node-cro {
        left: 35.4%;
        top: 74%;
    }

    .growth-ecosystem-sec .node-analytics {
        left: 65.6%;
        top: 73%;
    }

    .growth-ecosystem-sec .node-google {
        left: 64.6%;
        top: 26%;
    }

    .growth-ecosystem-sec .node-seo {
        left: 35.4%;
        top: 27%;
    }

    .ecosystem-conclusion {
        margin-top: 30px;
    }

    .ecosystem-conclusion .divider-line {
        margin-bottom: 10px;
    }

    .growth-dashboard-wrapper {
        grid-template-columns: 190px 1fr 190px;
        gap: 14px;
    }

    .dashboard-center-col {
        padding: 10px 8px;
    }

    .dashboard-wrapper {
        max-width: 100%;
    }

    .left-col .db-kpi-card::after,
    .right-col .db-kpi-card::after {
        width: calc(14px + 8px);
    }

    .db-floating-badge {
        display: none;
    }

    .db-kpi-card {
        padding: 14px;
        border-radius: 12px;
    }

    .db-kpi-card-value .number-val {
        font-size: 24px;
        font-weight: 600;
    }

    .db-kpi-card-value .db-suffix {
        font-size: 14px;
        font-weight: 600;
    }

    .db-trend-badge {
        font-size: 9px;
        padding: 2px 6px;
    }

    .db-kpi-title {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .db-kpi-card-footer-lbl {
        font-size: 9px;
    }

    .db-kpi-card-header {
        margin-bottom: 8px;
    }

    .db-kpi-emoji svg {
        width: 14px;
        height: 14px;
    }

    .results-bento-grid {
        grid-template-rows: 260px 180px 200px;
        gap: 12px;
    }

    .rb-number-big .rb-counter {
        font-size: 44px;
    }

    .rb-revenue .rb-number-big .rb-counter {
        font-size: 52px;
    }

    .seo-tech-grid {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .ecosystem-center-col {
        display: none !important;
    }

    .growth-ecosystem-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        align-items: start;
        margin-top: 40px;
    }

    .ecosystem-col {
        display: contents;
    }

    .ecosystem-center-col {
        grid-column: span 2;
        grid-row: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
    }

    .growth-ecosystem-sec .orbit-ring,
    .growth-ecosystem-sec .ecosystem-node {
        display: none;
    }

    .center-store-hub {
        position: static;
        transform: none !important;
        margin: 0 auto;
    }

    .ecosystem-card {
        min-height: inherit;
    }

    .stages-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 30px;
        scrollbar-width: none;
    }

    .stages-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }

    .stages-track {
        display: flex;
        gap: 20px;
        width: max-content;
        will-change: transform;
    }

    .stage-card {
        width: 300px;
        flex-shrink: 0;
        border-radius: 16px;
        padding: 20px 15px;
    }

    .stage-chip {
        padding: 4px 5px;
        font-weight: 400;
        font-size: 10px;
    }

    .stage-illustration {
        margin-bottom: 10px;
    }

    .stage-num {
        font-size: 22px;
    }

    .stage-title {
        font-size: 20px;
    }

    .growth-ecosystem-sec .node-meta,
    .growth-ecosystem-sec .node-creative {
        top: 50%;
    }

    .left-col .db-kpi-card::after,
    .right-col .db-kpi-card::after {
        display: none;
    }

    .growth-dashboard-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .growth-dashboard-col {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .db-kpi-card {
        flex: 1;
    }

    .dashboard-wrapper {
        transform: none !important;
        margin: 0 auto;
    }

    .db-floating-badge {
        position: static;
        margin: 10px auto;
        justify-content: center;
        max-width: 200px;
    }

    .dashboard-center-col {
        order: 1;
        flex-direction: column;
        padding: 0;
    }

    .left-col {
        order: 2;
    }

    .right-col {
        order: 3;
    }

    .partner-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .partner-right {
        align-items: center;
    }



    .partner-side-title {
        font-size: 28px;
    }

    .results-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "revenue   traffic"
            "roas      keywords"
            "conversion orders"
            "returning returning";
        gap: 12px;
    }

    .rb-traffic-chart {
        height: 70%;
    }

    .rb-roas {
        padding-bottom: 0;
    }

    .rb-roas-chart {
        height: 70%;
    }

    .rb-traffic {
        min-height: 220px;
    }

    .rb-number-big .rb-counter {
        font-size: 40px;
    }

    .rb-revenue .rb-number-big .rb-counter {
        font-size: 46px;
    }

    .seo-tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
    }
    .tech-name {
    font-size: 14px;}
    .tech-icon-wrap{
        margin-bottom: 10px;
        height: 40px;
        width: 40px;
    }
    
}

@media (max-width: 767px) {
    .stages-scroll-wrapper {
        padding: 0 15px;
    }

    .stage-card {
        width: 280px;
    }

    .rb-donut-wrap {
        width: 90px;
        height: 90px;
    }

    .results-badges-row {
        gap: 8px;
        padding: 8px;
    }

    .rb-achieve-badge {
        font-size: 11px;
        padding: 8px 10px;
    }



    .tech-name {
        font-size: 14px;
    }

    .pe-card,
    .pa-card {

        padding: 9px 14px;

        gap: 5px;
        font-size: 11px;
        font-weight: 500;
    }

}

@media (max-width: 575px) {
    .growth-ecosystem-sec .sec-title {
        font-size: 30px;
    }

    .growth-ecosystem-sec .sec-subheading {
        font-size: 14px;
    }

    .growth-ecosystem-wrapper {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
        position: relative;
        margin-top: 40px;
    }

    .ecosystem-col {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .center-store-hub {
        margin: 0;
        width: 140px;
        height: 140px;
        padding: 10px;
    }

    .center-store-hub-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 6px;
    }

    .ecosystem-card {
        position: relative;
        height: inherit;
        z-index: 2;
    }

    .ecosystem-card::before {
        content: '';
        position: absolute;
        left: -29px;
        top: 30px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ffffff;
        border: 2px solid var(--card-accent);
        box-shadow: 0 0 10px var(--card-shadow);
        z-index: 3;
    }

    .ecosystem-conclusion {
        margin-top: 50px;
    }

    .growth-dashboard-col {
        align-items: center;
    }

    .db-kpi-card {
        min-width: 200px;
    }

    .growth-dashboard-wrapper,
    .growth-dashboard-col {
        gap: 12px;
    }

    .ecosystem-chip {
        font-size: 11px;
    }



    .pe-center-node {
        width: 130px;
        height: 130px;
    }

    .pe-center-node .pe-logo-main {
        font-size: 11.5px;
        margin-bottom: 5px;
    }

    .pe-center-node .pe-center-lines span {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .pe-satellite {
        font-size: 10px;
        padding: 5px 9px;
    }

    .pe-satellite svg {
        width: 10px;
        height: 10px;
        margin-right: 4px;
    }

    .pe-sat-2 {
        left: 84% !important;
    }

    .pe-sat-3 {
        left: 90% !important;
    }

    .pe-sat-6 {
        left: 10% !important;
    }

    .pe-sat-7 {
        left: 16% !important;
    }

    .results-bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "revenue"
            "traffic"
            "roas"
            "keywords"
            "conversion"
            "returning"
            "orders";
    }

    .rb-card {
        padding: 20px;
    }

    .rb-number-big .rb-counter {
        font-size: 44px;
    }

    .rb-revenue .rb-number-big .rb-counter {
        font-size: 50px;
    }
}

@media (max-width: 479px) {
    .partner-side {
        padding: 30px 0px;
    }

    .pa-bottom-grid,
    .partner-side-title {
        padding: 0 15px;
    }

    .pa-box {
        width: 100% !important;
        font-size: 13px;
    }


}