/* ═══════════════════════════════════════════
   FeedMe POS × MIPOS — Design System
   ═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Colors */
    --navy: #1B2A4A;
    --navy-light: #2a3f6e;
    --navy-dark: #0f1a30;
    --orange: #FF6600;
    --orange-hover: #e55a00;
    --orange-glow: rgba(255, 102, 0, 0.25);
    --peach: #FFF5EB;
    --peach-deep: #FFF0E0;
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --grey: #6B7280;
    --grey-light: #9CA3AF;
    --grey-border: #E5E7EB;
    --green: #10B981;
    --red: #EF4444;
    --dark: #0f1226;
    --dark-deep: #0a0d1a;
    --orange-deep: #d45500;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-pad: 100px 0;
    --container: 1200px;

    /* Effects */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font);
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(27, 42, 74, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--orange) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-xl) !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.nav-cta:hover {
    background: var(--orange-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--orange-glow);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 102, 0, 0.15);
    border: 1px solid rgba(255, 102, 0, 0.3);
    color: var(--orange);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero h1 span {
    color: var(--orange);
}

.hero-sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--orange-glow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-visual img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 32px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
}

.hero-stat .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ═══════════════ SECTION SHARED ═══════════════ */
section {
    padding: var(--section-pad);
}

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

.section-badge {
    display: inline-block;
    background: rgba(255, 102, 0, 0.1);
    color: var(--orange);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 17px;
    color: var(--grey);
    line-height: 1.7;
}

.bg-peach {
    background: var(--peach);
}

.bg-navy {
    background: var(--navy);
}

/* ═══════════════ ABOUT MIPOS ═══════════════ */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--grey-border);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange), #ff8533);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
}

.stat-card .stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--grey);
    font-weight: 500;
}

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

.promise-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-border);
    transition: var(--transition);
}

.promise-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(255, 102, 0, 0.2);
}

.promise-card .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--peach);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.promise-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.promise-card p {
    font-size: 13px;
    color: var(--grey);
    line-height: 1.5;
}

/* ═══════════════ GALLERY ═══════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    background: var(--white);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
}

/* ═══════════════ PLAN COMPARISON TABLE ═══════════════ */
.plan-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 14px;
}

.plan-table thead {
    background: var(--navy);
    color: var(--white);
}

.plan-table th {
    padding: 24px 20px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    position: relative;
    vertical-align: top;
}

.plan-table th.feature-col {
    text-align: left;
    width: 35%;
}

.plan-table th.highlight-col {
    background: rgba(255, 102, 0, 0.3);
}

.plan-th-price {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: var(--orange);
    margin-top: 4px;
}

.popular-tag {
    display: block;
    margin-top: 6px;
    background: var(--orange);
    color: var(--white);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    display: inline-block;
}

.plan-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--grey-border);
    text-align: center;
    color: var(--navy);
}

.plan-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--grey);
}

.plan-table tbody tr:hover {
    background: rgba(255, 102, 0, 0.03);
}

.plan-table tbody tr td:nth-child(3) {
    background: rgba(255, 102, 0, 0.04);
}

.divider-row td {
    padding: 4px !important;
    background: var(--peach-deep) !important;
    border: none !important;
}

/* ═══════════════ SOLUTIONS ═══════════════ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solution-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #ff8533);
    opacity: 0;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card .sol-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--peach), var(--peach-deep));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
}

.solution-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.solution-card p {
    font-size: 13px;
    color: var(--grey);
    line-height: 1.5;
}

/* ═══════════════ CASE STUDIES — WORLD-CLASS DESIGN ═══════════════ */

/* ── Stats Counter Bar ── */
.cs-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.cs-stat {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-border);
    transition: var(--transition);
}

.cs-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--orange);
}

.cs-stat .cs-stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 4px;
}

.cs-stat .cs-stat-label {
    font-size: 13px;
    color: var(--grey);
    font-weight: 500;
}

/* ── Logo Ticker (auto-scroll) ── */
.cs-logo-ticker-wrap {
    overflow: hidden;
    margin-bottom: 48px;
    position: relative;
    padding: 20px 0;
}

.cs-logo-ticker-wrap::before,
.cs-logo-ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.cs-logo-ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--peach), transparent);
}

.cs-logo-ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--peach), transparent);
}

.cs-logo-ticker {
    display: flex;
    gap: 48px;
    animation: tickerScroll 25s linear infinite;
    width: fit-content;
}

.cs-logo-ticker:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cs-logo-ticker img {
    height: 48px;
    width: 48px;
    border-radius: 12px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(20%);
    transition: var(--transition);
}

.cs-logo-ticker img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.15);
}

/* ── Featured Cards (Homepage) ── */
.cs-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cs-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-border);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.cs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--orange);
}

.cs-card .cs-card-img-wrap {
    overflow: hidden;
    position: relative;
    height: 200px;
}

.cs-card .cs-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Metric badge overlay */
.cs-card .cs-metric-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(16, 24, 48, 0.88);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    gap: 6px;
    align-items: baseline;
    z-index: 1;
}

.cs-card .cs-metric-badge .cs-metric-val {
    font-size: 18px;
    font-weight: 900;
    color: var(--orange);
}

/* Industry tag */
.cs-card .cs-industry-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 1;
}

.cs-card .cs-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cs-card .cs-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.cs-card .cs-card-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid var(--grey-border);
}

.cs-card .cs-card-brand {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.cs-card .cs-card-loc {
    font-size: 11px;
    color: var(--grey);
    font-weight: 500;
}

.cs-card .cs-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-card .cs-card-quote {
    font-size: 13px;
    color: var(--grey);
    font-style: italic;
    line-height: 1.55;
    border-left: 3px solid var(--orange);
    padding-left: 12px;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.cs-card .cs-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--grey-border);
    margin-top: auto;
}

.cs-card .cs-products-preview {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.cs-card .cs-products-preview span {
    font-size: 10px;
    background: var(--peach);
    color: var(--orange);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.cs-card .cs-card-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    white-space: nowrap;
}

.cs-card:hover .cs-card-cta {
    gap: 8px;
}

/* ── Dedicated Page: Filter Bar ── */
.cs-filter-bar {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cs-filter-chip {
    background: var(--white);
    border: 2px solid var(--grey-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--navy);
}

.cs-filter-chip:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.cs-filter-chip.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* ── Dedicated Page: Story Grid ── */
.cs-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* ── Expanded Story (appears below grid) ── */
.cs-expanded-story {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--orange);
    margin-bottom: 48px;
    overflow: hidden;
    animation: storySlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes storySlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-expanded-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--peach);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.cs-expanded-close:hover {
    background: var(--orange);
    color: var(--white);
}

.cs-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

.cs-story-image {
    height: 100%;
    min-height: 480px;
}

.cs-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-story-content {
    padding: 40px;
}

.cs-story-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cs-story-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid var(--grey-border);
}

.cs-story-brand {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.cs-story-loc {
    font-size: 12px;
    color: var(--grey);
}

.cs-story-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 24px;
}

/* Challenge → Solution narrative */
.cs-narrative {
    margin-bottom: 24px;
}

.cs-narrative-block {
    margin-bottom: 16px;
}

.cs-narrative-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cs-narrative-label.challenge {
    color: #e74c3c;
}

.cs-narrative-label.solution {
    color: #27ae60;
}

.cs-narrative-text {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.65;
}

/* Results grid */
.cs-story-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.cs-story-result {
    background: linear-gradient(135deg, var(--peach), rgba(255, 240, 224, 0.5));
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.cs-story-result .val {
    font-size: 22px;
    font-weight: 900;
    color: var(--orange);
}

.cs-story-result .desc {
    font-size: 11px;
    color: var(--grey);
    margin-top: 2px;
}

/* Quote */
.cs-story-quote {
    background: var(--peach);
    border-left: 4px solid var(--orange);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Products used */
.cs-products-used {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cs-products-used span {
    font-size: 12px;
    background: var(--peach);
    color: var(--orange);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(255, 102, 0, 0.15);
}

/* ── CTA Section ── */
.cs-cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, var(--navy-dark), var(--navy));
    color: var(--white);
}

.cs-cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
}

.cs-cta-section p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.cs-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════ CONFIGURATOR ═══════════════ */
#packages {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 100px 0;
}

#packages .section-header h2,
#packages .section-header p {
    color: rgba(255, 255, 255, 0.85);
}

#packages .section-badge {
    background: rgba(255, 102, 0, 0.2);
}

.config-step {
    margin-bottom: 48px;
}

.config-step-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

/* Device cards */
.device-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.device-card {
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.device-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 102, 0, 0.4);
}

.device-card.selected {
    background: rgba(255, 102, 0, 0.15);
    border-color: var(--orange);
    box-shadow: 0 0 24px var(--orange-glow);
}

.device-card img {
    height: 100px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.device-card:hover img,
.device-card.selected img {
    transform: scale(1.05);
}

.device-card .dev-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.device-card .dev-type {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* Plan cards */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.plan-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 102, 0, 0.4);
}

.plan-card.selected {
    background: rgba(255, 102, 0, 0.15);
    border-color: var(--orange);
}

.plan-card .popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.plan-card .plan-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.plan-card .plan-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--orange);
}

.plan-card .plan-price span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.plan-card .plan-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    line-height: 1.5;
}

/* Period toggle */
.period-toggle {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    padding: 4px;
    width: fit-content;
}

.period-btn {
    padding: 14px 36px;
    border-radius: var(--radius-xl);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.period-btn.selected {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 12px var(--orange-glow);
}

/* Summary panel */
.config-summary {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 48px;
}

.summary-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 245, 235, 0.1), rgba(255, 240, 224, 0.05));
    border-radius: var(--radius-lg);
    padding: 32px;
}

.summary-device img {
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
    margin-bottom: 16px;
}

.summary-device .dev-label {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.summary-details {
    color: var(--white);
}

.summary-details h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.summary-details .plan-info {
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.summary-included {
    margin-bottom: 24px;
}

.summary-included h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-included ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-included li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.summary-included li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    min-width: 16px;
}

.summary-price-block {
    background: rgba(255, 102, 0, 0.15);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 20px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.summary-total .total-label {
    font-size: 16px;
    font-weight: 600;
}

.summary-total .total-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--orange);
}

.summary-renewal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.summary-renewal .renewal-price {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.summary-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25D366;
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.config-unavailable {
    text-align: center;
    padding: 60px 24px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    margin-top: 48px;
}

/* ═══════════════ ADD-ONS ═══════════════ */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.addon-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.07);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.addon-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 102, 0, 0.3);
}

.addon-card.selected {
    background: rgba(255, 102, 0, 0.12);
    border-color: var(--orange);
}

.addon-card.selected .addon-check {
    color: var(--orange);
}

.addon-card.unavailable {
    opacity: 0.35;
    pointer-events: none;
}

.addon-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.addon-info {
    flex: 1;
}

.addon-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.addon-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    margin-bottom: 6px;
}

.addon-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--orange);
}

.addon-restrict {
    font-size: 11px;
    color: rgba(255, 200, 150, 0.7);
    margin-top: 4px;
    font-style: italic;
}

.addon-check {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.3);
    min-width: 24px;
    text-align: center;
    line-height: 1;
    margin-top: 2px;
}

/* ═══════════════ KIOSK INFO ═══════════════ */
.kiosk-info-panel {
    margin-top: 48px;
}

.kiosk-summary {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    align-items: center;
}

.kiosk-img {
    text-align: center;
}

.kiosk-img img {
    height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

.kiosk-details h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.kiosk-hw-price {
    font-size: 32px;
    color: var(--orange);
    margin-bottom: 16px;
}

.kiosk-hw-price strong {
    font-weight: 900;
}

.kiosk-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.kiosk-features li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.kiosk-addon-note {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.kiosk-addon-note strong {
    color: var(--orange);
}

.kiosk-cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 16px 0;
}

/* ═══════════════ CPAD BASE PICKER ═══════════════ */
.config-sub-step {
    padding-left: 48px;
}

.base-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.base-option {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.base-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 102, 0, 0.3);
}

.base-option.selected {
    background: rgba(255, 102, 0, 0.12);
    border-color: var(--orange);
}

.base-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.base-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.base-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--orange);
}

/* ═══════════════ ACCESSORIES ═══════════════ */
.acc-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.acc-tab {
    all: unset;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.acc-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.acc-tab.active {
    background: rgba(255, 102, 0, 0.15);
    color: var(--orange);
    border-color: var(--orange);
}

.acc-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.acc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.acc-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 102, 0, 0.3);
}

.acc-item.selected {
    background: rgba(255, 102, 0, 0.1);
    border-color: var(--orange);
}

.acc-item-info {
    flex: 1;
    min-width: 0;
}

.acc-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.acc-item-spec {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

.acc-item-right {
    text-align: right;
    flex-shrink: 0;
}

.acc-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 2px;
}

.acc-item-check {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.3);
}

.acc-item.selected .acc-item-check {
    color: var(--orange);
}

.acc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: white;
    font-size: 11px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

/* ═══════════════ QUANTITY CONTROLS ═══════════════ */
.qty-btn {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.qty-btn:hover:not(:disabled) {
    background: rgba(255, 102, 0, 0.3);
    border-color: var(--orange);
    color: var(--orange);
}

.qty-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.qty-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
}

.acc-qty-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.addon-qty-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.addon-qty-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* ═══════════════ PROMO BANNER ═══════════════ */
.promo-section {
    background: linear-gradient(135deg, var(--peach) 0%, var(--peach-deep) 100%);
    padding: 80px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.promo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 102, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '🔥 LIMITED';
    position: absolute;
    top: 16px;
    right: -28px;
    background: var(--red);
    color: var(--white);
    padding: 4px 40px;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
}

.promo-card .promo-img {
    text-align: center;
    margin-bottom: 16px;
}

.promo-card .promo-img img {
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

.promo-card h3 {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.promo-price-row {
    text-align: center;
    margin-bottom: 6px;
}

.promo-price {
    font-size: 40px;
    font-weight: 900;
    color: var(--orange);
}

.promo-price small {
    font-size: 16px;
    font-weight: 600;
}

.promo-original {
    text-align: center;
    font-size: 13px;
    color: var(--grey);
    margin-bottom: 16px;
}

.promo-original s {
    color: var(--grey-light);
}

.promo-save {
    color: var(--green);
    font-weight: 700;
}

.promo-items {
    padding: 0 8px;
}

.promo-items li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--navy);
    border-bottom: 1px solid var(--grey-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-items li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
}

/* ═══════════════ FOOTER / CONTACT ═══════════════ */
.footer {
    background: var(--navy-dark);
    padding: 80px 0 40px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand h3 span {
    color: var(--orange);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--orange);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col a {
    display: inline-flex;
    /* Use inline-flex to group text and icon */
    align-items: flex-start;
    /* Keeps icon at the top if text wraps */
    gap: 8px;
    /* Adds space between emoji and text */
    font-size: 14px;
    padding: 4px 0;
    transition: var(--transition);
    white-space: nowrap;
    /* Prevents awkward wrapping inside the link */
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* ═══════════════ FLOATING WHATSAPP ═══════════════ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* When quote float is visible, push WA button up */
body.quote-visible .wa-float {
    bottom: 96px;
}

/* ═══════════════ FLOATING QUOTATION ═══════════════ */
.quote-float {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.quote-float.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.quote-float-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 14px 24px;
    background: rgba(20, 25, 40, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.quote-float-info {
    flex: 1;
    min-width: 0;
}

.quote-float-device {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quote-float-plan {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.quote-float-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--orange);
    white-space: nowrap;
}

.quote-float-cta {
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--orange);
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.quote-float-cta:hover {
    background: var(--orange-deep);
    transform: scale(1.05);
}

.quote-float-close {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.quote-float-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* ═══════════════ SCROLL ANIMATIONS ═══════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .hero-visual img {
        width: 100%;
        max-width: 400px;
    }

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

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

    .device-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .case-layout {
        grid-template-columns: 1fr;
    }

    /* Case studies at 1024px — 2 columns */
    .cs-cards-grid,
    .cs-story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-story-layout {
        grid-template-columns: 1fr;
    }

    .cs-story-image {
        min-height: 300px;
    }

    .cs-story-content {
        padding: 32px;
    }

    .cs-story-content h3 {
        font-size: 20px;
    }

    .config-summary {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .promises {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .cs-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cs-stat .cs-stat-num {
        font-size: 28px;
    }

    .cs-cards-grid,
    .cs-story-grid {
        grid-template-columns: 1fr;
    }

    .cs-card .cs-card-img-wrap {
        height: 220px;
    }

    .cs-story-layout {
        grid-template-columns: 1fr;
    }

    .cs-story-image {
        min-height: 250px;
    }

    .cs-story-content {
        padding: 24px;
    }

    .cs-story-content h3 {
        font-size: 20px;
    }

    .cs-story-results {
        grid-template-columns: repeat(3, 1fr);
    }

    .cs-filter-bar {
        gap: 6px;
    }

    .cs-filter-chip {
        padding: 6px 14px;
        font-size: 12px;
    }

    .cs-cta-section h2 {
        font-size: 26px;
    }

    .cs-cta-section p {
        font-size: 15px;
    }

    .cs-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cs-expanded-close {
        top: 10px;
        right: 10px;
    }

    .cs-logo-ticker img {
        height: 36px;
        width: 36px;
    }

    .cs-logo-ticker {
        gap: 28px;
    }

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

    .plan-grid {
        grid-template-columns: 1fr;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .plan-table {
        font-size: 12px;
    }

    .plan-table th {
        padding: 14px 10px;
        font-size: 13px;
    }

    .plan-table td {
        padding: 10px;
    }

    .plan-th-price {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════ THEME TOGGLE BUTTON ═══════════════ */
.theme-toggle {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

/* ═══════════════ LIGHT MODE ═══════════════ */
[data-theme="light"] {
    --dark: #f5f5f7;
    --dark-deep: #e8e8ed;
}

/* --- Navbar --- */
[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar.scrolled {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-logo {
    color: #1B2A4A;
}

[data-theme="light"] .nav-links a {
    color: #1B2A4A;
    font-weight: 500;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: var(--orange);
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.12);
}

/* --- Hero --- */
[data-theme="light"] .hero {
    background: linear-gradient(135deg, #f0f0f5 0%, #e8e8ed 50%, #f5f5f7 100%);
}

[data-theme="light"] .hero h1 {
    color: #1B2A4A;
}

[data-theme="light"] .hero-sub {
    color: #4b5563;
}

[data-theme="light"] .btn-secondary {
    color: #1B2A4A;
    border-color: #1B2A4A;
}

[data-theme="light"] .btn-secondary:hover {
    background: #1B2A4A;
    color: white;
    border-color: #1B2A4A;
}

[data-theme="light"] .hero-stat .num {
    color: var(--orange);
}

[data-theme="light"] .hero-stat .label {
    color: #6b7280;
}

[data-theme="light"] .hero-badge,
[data-theme="light"] .hero .section-badge {
    background: #fff5eb;
    color: var(--orange);
}

/* --- About Section --- */
[data-theme="light"] .about-stats .stat-card {
    color: #1B2A4A;
}

/* --- Solutions Section --- */
[data-theme="light"] .bg-navy {
    background: #f5f5f7;
}

[data-theme="light"] .bg-navy h2 {
    color: #1B2A4A;
}

[data-theme="light"] .bg-navy p {
    color: #4b5563;
}

[data-theme="light"] .bg-navy .section-badge {
    background: #fff5eb;
    color: var(--orange);
}

[data-theme="light"] .sol-tab {
    color: #1B2A4A;
}

[data-theme="light"] .sol-content h3 {
    color: #1B2A4A;
}

[data-theme="light"] .sol-content p {
    color: #4b5563;
}

[data-theme="light"] .sol-features li {
    color: #4b5563;
}

/* --- Plan Comparison Table --- */
[data-theme="light"] .plan-table thead {
    background: #1B2A4A;
    color: white;
}

[data-theme="light"] .plan-table td {
    color: #1B2A4A;
}

/* --- Case Studies --- */
[data-theme="light"] .case-studies-section {
    background: #f5f5f7;
}

[data-theme="light"] .case-studies-section h2 {
    color: #1B2A4A;
}

[data-theme="light"] .case-tab {
    color: #1B2A4A;
}

[data-theme="light"] .case-content h3 {
    color: #1B2A4A;
}

[data-theme="light"] .case-content p {
    color: #4b5563;
}

[data-theme="light"] .case-stat-label {
    color: #6b7280;
}

/* --- Configurator (#packages) --- */
[data-theme="light"] #packages {
    background: linear-gradient(180deg, #f0f0f5 0%, #f5f5f7 100%);
}

[data-theme="light"] #packages .section-header h2,
[data-theme="light"] #packages .section-header p {
    color: #1B2A4A;
}

[data-theme="light"] #packages .section-badge {
    background: #fff5eb;
    color: var(--orange);
}

[data-theme="light"] .step-title {
    color: #1B2A4A;
}

/* Device cards */
[data-theme="light"] .device-card {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .device-card:hover {
    background: #fafafa;
    border-color: var(--orange);
}

[data-theme="light"] .device-card.selected {
    background: #fff5eb;
    border-color: var(--orange);
    box-shadow: 0 0 24px rgba(255, 102, 0, 0.15);
}

[data-theme="light"] .device-card .dev-name {
    color: #1B2A4A;
}

[data-theme="light"] .device-card .dev-type {
    color: #6b7280;
}

/* Plan cards */
[data-theme="light"] .plan-card {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .plan-card:hover {
    background: #fafafa;
    border-color: var(--orange);
}

[data-theme="light"] .plan-card.selected {
    background: #fff5eb;
    border-color: var(--orange);
}

[data-theme="light"] .plan-card .plan-name {
    color: #1B2A4A;
}

[data-theme="light"] .plan-card .plan-price span {
    color: #6b7280;
}

[data-theme="light"] .plan-card .plan-desc {
    color: #6b7280;
}

/* Period toggle */
[data-theme="light"] .period-toggle {
    background: #e5e7eb;
}

[data-theme="light"] .period-btn {
    color: #4b5563;
}

[data-theme="light"] .period-btn.selected {
    background: var(--orange);
    color: white;
}

/* Config Summary */
[data-theme="light"] .config-summary {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .summary-device {
    background: linear-gradient(135deg, #fff5eb, #fef3e6);
}

[data-theme="light"] .summary-device .dev-label {
    color: #1B2A4A;
}

[data-theme="light"] .summary-details {
    color: #1B2A4A;
}

[data-theme="light"] .summary-details h3 {
    color: #1B2A4A;
}

[data-theme="light"] .summary-included h4 {
    color: #6b7280;
}

[data-theme="light"] .summary-included li {
    color: #4b5563;
}

[data-theme="light"] .summary-price-block {
    background: rgba(255, 102, 0, 0.08);
    border-color: rgba(255, 102, 0, 0.2);
}

[data-theme="light"] .summary-total .total-label {
    color: #1B2A4A;
}

[data-theme="light"] .summary-renewal {
    color: #6b7280;
}

[data-theme="light"] .summary-renewal .renewal-price {
    color: #1B2A4A;
}

[data-theme="light"] .summary-note {
    color: #9ca3af;
}

/* Config unavailable */
[data-theme="light"] .config-unavailable {
    color: #9ca3af;
    background: rgba(0, 0, 0, 0.02);
    border-color: #e5e7eb;
}

/* Add-ons */
[data-theme="light"] .addon-card {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .addon-card:hover {
    background: #fafafa;
    border-color: rgba(255, 102, 0, 0.3);
}

[data-theme="light"] .addon-card.selected {
    background: #fff5eb;
    border-color: var(--orange);
}

[data-theme="light"] .addon-name {
    color: #1B2A4A;
}

[data-theme="light"] .addon-desc {
    color: #6b7280;
}

[data-theme="light"] .addon-restrict {
    color: #9ca3af;
}

[data-theme="light"] .addon-check {
    color: #d1d5db;
}

[data-theme="light"] .addon-icon {
    background: #f3f4f6;
}

[data-theme="light"] .addon-qty-control {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

[data-theme="light"] .addon-qty-val {
    color: #1B2A4A;
}

/* Accessories */
[data-theme="light"] .acc-card {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .acc-card h4 {
    color: #1B2A4A;
}

[data-theme="light"] .acc-spec {
    color: #6b7280;
}

[data-theme="light"] .acc-tab {
    background: white;
    border-color: #e5e7eb;
    color: #4b5563;
}

[data-theme="light"] .acc-tab.active {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

[data-theme="light"] .qty-btn {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #1B2A4A;
}

[data-theme="light"] .qty-btn:hover:not(:disabled) {
    background: #fff5eb;
    border-color: var(--orange);
    color: var(--orange);
}

[data-theme="light"] .qty-value {
    color: #1B2A4A;
}

/* Main page accessory items */
[data-theme="light"] .acc-item {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .acc-item:hover {
    background: #fafafa;
    border-color: rgba(255, 102, 0, 0.3);
}

[data-theme="light"] .acc-item.selected {
    background: #fff5eb;
    border-color: var(--orange);
}

[data-theme="light"] .acc-item-name {
    color: #1B2A4A;
}

[data-theme="light"] .acc-item-spec {
    color: #6b7280;
}

[data-theme="light"] .acc-item-check {
    color: #d1d5db;
}

[data-theme="light"] .acc-item.selected .acc-item-check {
    color: var(--orange);
}

/* Qty controls in accessories */
[data-theme="light"] .acc-qty-controls button {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #1B2A4A;
}

[data-theme="light"] .acc-qty-controls button:hover {
    background: #fff5eb;
    border-color: var(--orange);
    color: var(--orange);
}

[data-theme="light"] .acc-qty-controls .qty-val {
    color: #1B2A4A;
}

/* Add-on qty labels */
[data-theme="light"] .addon-qty-row {
    border-top-color: #e5e7eb;
}

[data-theme="light"] .addon-qty-label {
    color: #6b7280;
}

/* CPad base selector */
[data-theme="light"] .base-option {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .base-option.selected {
    background: #fff5eb;
    border-color: var(--orange);
}

[data-theme="light"] .base-name {
    color: #1B2A4A;
}

[data-theme="light"] .base-desc {
    color: #6b7280;
}

/* Kiosk panel */
[data-theme="light"] .kiosk-summary {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .kiosk-details h3 {
    color: #1B2A4A;
}

[data-theme="light"] .kiosk-features li {
    color: #4b5563;
}

[data-theme="light"] .kiosk-note {
    color: #6b7280;
}

/* --- Promo / CTA Section --- */
[data-theme="light"] .promo-section {
    background: #ffffff;
    /* pure white for stark contrast vs the peach plans section */
}

[data-theme="light"] .promo-section h2 {
    color: #1B2A4A;
}

[data-theme="light"] .promo-section p {
    color: #4b5563;
}

/* --- Quote Float --- */
[data-theme="light"] .quote-float-inner {
    background: rgba(255, 255, 255, 0.95);
    border-top-color: rgba(255, 102, 0, 0.2);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .quote-float-device {
    color: #1B2A4A;
}

[data-theme="light"] .quote-float-plan {
    color: #6b7280;
}

[data-theme="light"] .quote-float-close {
    color: #9ca3af;
}

[data-theme="light"] .quote-float-close:hover {
    color: #1B2A4A;
    background: rgba(0, 0, 0, 0.06);
}

/* --- Footer (keep dark) --- */
[data-theme="light"] .site-footer,
[data-theme="light"] .footer {
    background: #1B2A4A;
}

/* --- Section badges (global) --- */
[data-theme="light"] .section-badge {
    background: #fff5eb;
    color: var(--orange);
}

/* --- Mobile nav --- */
@media (max-width: 768px) {
    [data-theme="light"] .nav-links.open {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* ═══════════════ LIGHT MODE — COMPARE PAGE ═══════════════ */
[data-theme="light"] .compare-hero {
    background: linear-gradient(180deg, #f0f0f5 0%, #ebebf0 100%);
}

[data-theme="light"] .compare-hero h1 {
    color: #1B2A4A;
}

[data-theme="light"] .compare-subtitle {
    color: #6b7280;
}

[data-theme="light"] .compare-section {
    background: #f5f5f7;
}

/* Compare columns */
[data-theme="light"] .compare-col {
    background: white;
    border-color: #e5e7eb;
}

[data-theme="light"] .compare-col:hover {
    border-color: rgba(255, 102, 0, 0.3);
}

[data-theme="light"] .col-header {
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] .col-header h3 {
    color: #1B2A4A;
}

[data-theme="light"] .col-label {
    color: #6b7280;
}

[data-theme="light"] .col-select {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #1B2A4A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

[data-theme="light"] .col-select option {
    background: white;
    color: #1B2A4A;
}

[data-theme="light"] .col-hint {
    color: #9ca3af;
}

/* Compare pills */
[data-theme="light"] .pill {
    background: white;
    border-color: #e5e7eb;
    color: #6b7280;
}

[data-theme="light"] .pill:hover:not(:disabled) {
    border-color: var(--orange);
    color: var(--orange);
}

[data-theme="light"] .pill.selected {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

/* Compare add-ons */
[data-theme="light"] .col-addon-item {
    background: #f9fafb;
    border-color: #e5e7eb;
}

[data-theme="light"] .col-addon-item.checked {
    background: #fff5eb;
    border-color: rgba(255, 102, 0, 0.3);
}

[data-theme="light"] .addon-label {
    color: #1B2A4A;
}

[data-theme="light"] .addon-qty-inline {
    border-top-color: #e5e7eb;
}

[data-theme="light"] .addon-qty-inline span {
    color: #1B2A4A;
}

[data-theme="light"] .qty-sm {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #1B2A4A;
}

[data-theme="light"] .qty-sm:hover:not(:disabled) {
    background: #fff5eb;
    border-color: var(--orange);
}

/* Compare accessories */
[data-theme="light"] .acc-cat-label {
    color: #6b7280;
}

[data-theme="light"] .col-acc-name {
    color: #1B2A4A;
}

[data-theme="light"] .col-acc-item.has-qty {
    background: #fff5eb;
    border-color: rgba(255, 102, 0, 0.15);
}

[data-theme="light"] .col-acc-qty span {
    color: #1B2A4A;
}

/* Compare result panel */
[data-theme="light"] .col-result {
    border-top-color: #e5e7eb;
}

[data-theme="light"] .col-result-empty {
    color: #9ca3af;
}

[data-theme="light"] .col-result-device strong {
    color: #1B2A4A;
}

[data-theme="light"] .col-result-meta {
    color: var(--orange);
}

[data-theme="light"] .col-items-title {
    color: #9ca3af;
}

[data-theme="light"] .col-result-items li {
    color: #4b5563;
}

/* Compare sticky footer */
[data-theme="light"] .compare-footer {
    background: rgba(255, 255, 255, 0.96);
    border-top-color: rgba(255, 102, 0, 0.15);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-label {
    color: #6b7280;
}

[data-theme="light"] .footer-price {
    color: #1B2A4A;
    /* Fix invisible text in light mode */
}

/* Compare mobile tabs */
[data-theme="light"] .compare-tab {
    background: #e5e7eb;
    color: #6b7280;
}

[data-theme="light"] .compare-tab.active {
    background: var(--orange);
    color: white;
}

/* ═══════════════ DARK PAGE BASE ═══════════════ */
body.dark-page {
    background: var(--dark);
    color: var(--white);
}

body.dark-page .site-footer {
    background: var(--dark-deep);
}

/* ═══════════════ COMPARE PAGE ═══════════════ */
.compare-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-deep) 0%, var(--dark) 100%);
}

.compare-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    margin-bottom: 12px;
}

.compare-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.compare-section {
    padding: 40px 0 120px;
    background: var(--dark);
}

/* Tabs (mobile) */
.compare-tabs {
    display: none;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
}

.compare-tab {
    all: unset;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--transition);
}

.compare-tab.active {
    background: var(--orange);
    color: white;
}

/* Grid */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

/* Column card */
.compare-col {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.compare-col:hover {
    border-color: rgba(255, 102, 0, 0.2);
}

.col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.col-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.col-reset {
    all: unset;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.col-reset:hover {
    color: var(--orange);
}

.col-selectors {
    padding: 16px 20px;
}

.col-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    margin: 14px 0 8px;
}

.col-label:first-child {
    margin-top: 0;
}

.col-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.4)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.col-select:focus {
    border-color: var(--orange);
}

.col-select option {
    background: #1a1f35;
    color: white;
}

.col-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    font-style: italic;
}

/* Pills */
.col-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    all: unset;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.pill:hover:not(:disabled) {
    border-color: var(--orange);
    color: var(--orange);
}

.pill.selected {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.pill.disabled,
.pill:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* Add-ons */
.col-addons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.col-addon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: var(--transition);
    flex-wrap: wrap;
}

.col-addon-item.checked {
    border-color: rgba(255, 102, 0, 0.3);
    background: rgba(255, 102, 0, 0.05);
}

.col-addon-item input[type="checkbox"] {
    accent-color: var(--orange);
    flex-shrink: 0;
}

.addon-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    flex: 1;
}

.addon-price-tag {
    font-size: 11px;
    color: var(--orange);
    font-weight: 700;
}

.addon-qty-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding-top: 6px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.addon-qty-inline span {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    min-width: 20px;
    text-align: center;
}

/* Qty small button */
.qty-sm {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qty-sm:hover:not(:disabled) {
    background: rgba(255, 102, 0, 0.2);
    border-color: var(--orange);
}

.qty-sm:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* Accessories */
.col-accessories {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.col-accessories::-webkit-scrollbar {
    width: 6px;
}

.col-accessories::-webkit-scrollbar-track {
    background: transparent;
}

.col-accessories::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.col-accessories::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.acc-cat-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin: 10px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acc-cat-label:first-child {
    margin-top: 0;
}

.col-acc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: var(--transition);
}

.col-acc-item.has-qty {
    background: rgba(255, 102, 0, 0.05);
    border: 1px solid rgba(255, 102, 0, 0.15);
}

.col-acc-info {
    flex: 1;
    min-width: 0;
}

.col-acc-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    display: block;
}

.col-acc-price {
    font-size: 11px;
    color: var(--orange);
    font-weight: 700;
}

.col-acc-qty {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.col-acc-qty span {
    font-size: 12px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    color: var(--white);
}

/* Result panel */
.col-result {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px;
    min-height: 100px;
}

.col-result-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    padding: 40px 0;
}

.col-device-img {
    width: 80px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    margin-right: 12px;
}

.col-result-device {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.col-result-device strong {
    font-size: 14px;
}

.col-result-meta {
    font-size: 12px;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 16px;
}

.col-items-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

.col-result-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.col-result-items li {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    padding: 3px 0;
    line-height: 1.4;
}

.col-result-items li.item-addon {
    color: var(--orange);
    font-weight: 600;
}

.col-result-items li.item-acc {
    color: var(--peach);
    font-weight: 600;
}

.col-result-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--orange);
    margin-top: 16px;
}

.col-result-price.contact {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
}

.col-result-renewal {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-top: 4px;
}

/* Sticky compare footer */
.compare-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 997;
    background: rgba(15, 18, 30, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 102, 0, 0.2);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.compare-footer-inner {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    gap: 16px;
}

.compare-footer-col {
    flex: 1;
    text-align: center;
}

.footer-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-price {
    font-size: 18px;
    font-weight: 900;
    color: var(--orange);
}

.compare-wa-btn {
    padding: 12px 24px;
    border-radius: 100px;
    background: #25D366;
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.compare-wa-btn:hover {
    background: #1da851;
    transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 900px) {
    .compare-tabs {
        display: flex;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .compare-col.mobile-hidden {
        display: none;
    }

    .compare-footer-inner {
        flex-wrap: wrap;
    }

    .compare-footer-col {
        min-width: 0;
    }

    .compare-wa-btn {
        width: 100%;
        text-align: center;
    }
}