/*
Theme Name: Codetok B2B AI eCommerce Theme
Theme URI: https://codetok.in/
Author: Codetok Team
Description: Premium high-conversion custom B2B landing page for Manufacturers and Distributors.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: codetok-b2b
*/

/* Color Palette & Custom Properties */
:root {
    --primary: #d51f79;       /* Vibrant Magenta */
    --secondary: #7e277f;     /* Deep Purple */
    --dark-bg: #090d16;        /* Slate Black */
    --dark-card: #131926;      /* Slate Card Dark */
    --accent-blue: #093d53;    /* Deep Teal/Blue Accent */
    --text-main: #f8fafc;      /* Slate 50 */
    --text-muted: #94a3b8;     /* Slate 400 */
    --neon-green: #10b981;     /* Emerald Growth color */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(19, 25, 38, 0.65);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Helper Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7rem 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 20%, #e879f9 50%, var(--text-main) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(213, 31, 121, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(213, 31, 121, 0.55);
}

.btn-outline {
    border: 2px solid var(--glass-border);
    background: transparent;
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(213, 31, 121, 0.08);
    transform: translateY(-2px);
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
}

/* Navigation Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(9, 13, 22, 0.95);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-head);
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-item a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--text-main);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-item a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 10% 20%, rgba(126, 39, 127, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(213, 31, 121, 0.12) 0%, transparent 40%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.hero-img-wrapper:hover .hero-img {
    transform: scale(1.02);
}

.floating-metric {
    position: absolute;
    background: rgba(19, 25, 38, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.metric-1 {
    top: 15%;
    left: -5%;
    animation: float 4s ease-in-out infinite;
}

.metric-2 {
    bottom: 15%;
    right: -5%;
    animation: float 4s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.metric-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(213, 31, 121, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.metric-val {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Partnerships Grid */
.partnerships {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(19, 25, 38, 0.3);
}

.partners-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    opacity: 0.7;
}

.partner-logo:hover {
    opacity: 1;
    color: var(--text-main);
}

.partner-logo i {
    font-size: 1.6rem;
    color: var(--primary);
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: rgba(19, 25, 38, 0.2);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.clients-title {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: marquee-scroll 45s linear infinite;
    flex-shrink: 0;
}

.marquee-content img {
    height: 42px;
    width: auto;
    opacity: 0.45;
    transition: var(--transition);
    filter: grayscale(1) brightness(1.5);
}

.marquee-content img:hover {
    opacity: 0.95;
    filter: none;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 4rem)); }
}

/* Repositioning Switcher Panel */
.market-focus-section {
    background: radial-gradient(circle at 50% 50%, var(--accent-blue) 0%, transparent 60%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.focus-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.switcher-box {
    display: flex;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
}

.switch-btn {
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition);
}

.switch-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(213, 31, 121, 0.25);
}

.focus-pane {
    display: none;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.focus-pane.active {
    display: grid;
    animation: fadeIn 0.5s ease;
}

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

.pane-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.pane-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.b2b-check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.b2b-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.b2b-check-item i {
    color: var(--primary);
    margin-top: 0.2rem;
}

.focus-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-family: var(--font-head);
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services & Timeline Tabs */
.services-section {
    background: rgba(19, 25, 38, 0.4);
    border-top: 1px solid var(--glass-border);
}

.services-tabs-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.services-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.service-nav-btn i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.service-nav-btn.active,
.service-nav-btn:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    color: var(--text-main);
}

.service-nav-btn.active i {
    color: var(--primary);
    transform: scale(1.1);
}

.service-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.service-tab-content.active {
    display: block;
}

.serv-pane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.serv-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.serv-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.serv-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* KKC Timeline layout inside Launchpad tab */
.launchpad-timeline {
    margin-top: 1.5rem;
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--glass-border);
}

.timeline-step {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.3rem;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.step-week {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.step-details {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.timeline-pricing-card {
    padding: 2.2rem;
    text-align: center;
    border-left: 4px solid var(--primary);
}

.price-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(213, 31, 121, 0.12);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price-val {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price-val span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.timeline-checks {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.timeline-checks li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.timeline-checks li i.fa-check {
    color: var(--neon-green);
}

.timeline-checks li i.fa-times {
    color: #ef4444;
}

/* Influencer Step Workflow */
.influencer-flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.flow-step-card {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.flow-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0 auto 1.2rem auto;
    position: relative;
    z-index: 2;
}

.flow-step-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.flow-step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Interactive Engagement Portal (Team Builder) */
.engagement-portal {
    background: linear-gradient(180deg, transparent, var(--accent-blue) 50%, transparent);
}

.portal-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.portal-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.portal-tab-btn.active {
    color: var(--text-main);
}

.portal-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.portal-tab-btn.active::after {
    width: 100%;
}

.portal-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.portal-pane.active {
    display: block;
}

/* Embeddable Engineers Grid */
.engineers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.engineer-card {
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.engineer-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.engineer-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(213, 31, 121, 0.15);
    background: rgba(213, 31, 121, 0.05);
}

.card-select-trigger {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: transparent;
    font-size: 0.8rem;
}

.engineer-card.selected .card-select-trigger {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.eng-role {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    padding-right: 1rem;
}

.eng-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.eng-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.skill-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    color: var(--text-muted);
}

.eng-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
}

.eng-rate {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
}

.eng-rate span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Cart/Selection Summary drawer panel */
.cart-summary-panel {
    padding: 2rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.summary-details h4 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.summary-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.summary-metrics {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.summary-stat {
    text-align: right;
}

.summary-stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.summary-stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Team builder slider template */
.builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.slider-control-group {
    margin-bottom: 2rem;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-label span.val {
    color: var(--primary);
    font-weight: 700;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--glass-border);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
    transition: var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.channel-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.channel-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.channel-btn.active {
    border-color: var(--primary);
    color: var(--text-main);
    background: rgba(213, 31, 121, 0.05);
}

.channel-btn i {
    color: var(--primary);
}

.output-team-card {
    padding: 2.5rem;
    text-align: center;
}

.output-heading {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.allocated-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.allocated-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.allocated-role {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
}

.allocated-role i {
    color: var(--primary);
}

.allocated-count {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* ROI Calculator & Graph Section */
.roi-calculator-section {
    background: rgba(9, 13, 22, 0.6);
    border-top: 1px solid var(--glass-border);
}

.roi-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.calc-panel {
    padding: 2.5rem;
}

.chart-panel {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-legend {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-primary { background-color: var(--primary); }
.dot-muted { background-color: var(--text-muted); }

.svg-container {
    width: 100%;
    height: 280px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    padding: 1rem;
    overflow: visible;
}

.roi-results-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.result-box.highlight {
    border-color: var(--primary);
    background: rgba(213, 31, 121, 0.03);
}

.result-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.result-box.highlight .result-val {
    color: var(--neon-green);
}

.result-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact & RFQ Drawer */
.contact-section {
    background: radial-gradient(circle at 90% 10%, rgba(126, 39, 127, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(213, 31, 121, 0.1) 0%, transparent 50%);
    border-top: 1px solid var(--glass-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4.5rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(213, 31, 121, 0.12);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.detail-text h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.detail-text p {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.contact-form-panel {
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(213, 31, 121, 0.1);
}

textarea.form-control {
    resize: none;
    height: 120px;
}

/* Footer */
footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary);
}

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

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-badge {
        margin: 0 auto 1.5rem auto;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero-desc {
        margin: 0 auto 2.5rem auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-img-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    .services-tabs-wrap {
        grid-template-columns: 1fr;
    }
    .services-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    .service-nav-btn {
        white-space: nowrap;
    }
    .engineers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .builder-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .roi-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .focus-pane {
        grid-template-columns: 1fr;
    }
    .serv-pane-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .engineers-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .influencer-flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
