/* ============================================================
   DECIPHER - Page-Specific Styles (2026 Redesign)
   Consolidated from inline <style> blocks across all pages
   ============================================================ */


/* ==========================================================
   HERO ILLUSTRATIONS (shared across service & industry pages)
   ========================================================== */
.hero-illustration { text-align: center; }
.hero-illustration svg { width: 100%; max-width: 500px; height: auto; }


/* ==========================================================
   LEGAL PAGES (privacy-policy, terms, refund-policy, thankyou)
   ========================================================== */
.legal-hero {
    padding: 140px 0 40px;
    background: var(--dcs-bg-soft, #f8f9fb);
}
.legal-hero .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}
.legal-hero .breadcrumb a {
    color: var(--dcs-primary, #4a9df7);
    text-decoration: none;
}
.legal-hero .breadcrumb a:hover {
    text-decoration: underline;
}
.legal-hero .breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--dcs-text-muted, #6c757d);
}
.legal-hero .breadcrumb .current {
    color: var(--dcs-text-muted, #6c757d);
}
.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.legal-hero .lead {
    color: var(--dcs-text-muted, #6c757d);
    font-size: 1rem;
    margin-bottom: 0;
}
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0 4rem;
}
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--dcs-border-light, #e9ecef);
}
.legal-content h2:first-child {
    margin-top: 0;
}
.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content p {
    color: var(--dcs-text-muted, #6c757d);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-content ul {
    color: var(--dcs-text-muted, #6c757d);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.legal-content a {
    color: var(--dcs-primary, #4a9df7);
    text-decoration: none;
}
.legal-content a:hover {
    text-decoration: underline;
}
.legal-cta {
    background: var(--dcs-bg-soft, #f8f9fb);
    padding: 3rem 0;
    text-align: center;
}
.legal-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}


/* ==========================================================
   CAREERS PAGE
   ========================================================== */
.careers-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0f1e 0%, #0d1b3e 30%, #132952 60%, #0a1628 100%);
    position: relative;
    overflow: hidden;
    padding: 140px 0 60px;
}
.careers-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(74, 157, 247, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    animation: heroGlow 12s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-5%, 3%) scale(1.05); }
}
.careers-hero .container { position: relative; z-index: 2; }
.careers-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
}
.careers-hero .lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Team Carousel */
.team-carousel-section { background: #0a0f1e; padding: 0 0 60px; overflow: hidden; }
.team-carousel .swiper-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    filter: brightness(0.85);
    transition: filter 0.3s, transform 0.3s;
}
.team-carousel .swiper-slide img:hover {
    filter: brightness(1);
    transform: scale(1.03);
}
.team-carousel .swiper-slide {
    transform: translateY(0);
    transition: transform 0.3s;
}
.team-carousel .swiper-slide:nth-child(even) { transform: translateY(12px); }

/* Bento Values Grid (Careers) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bento-item {
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}
.bento-item:hover { transform: translateY(-4px); }
.bento-number {
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.15;
    position: absolute;
    top: 12px;
    right: 16px;
    line-height: 1;
}
.bento-item h5 { font-weight: 700; margin-bottom: 6px; font-size: 1rem; }
.bento-item p { font-size: 0.875rem; margin: 0; opacity: 0.8; }

/* Bento color variants (careers values) */
.bento-blue { background: #e8f0fe; color: #1a3a5c; }
.bento-orange { background: #fff3e0; color: #5c3a1a; }
.bento-green { background: #e8f5e9; color: #1a5c2e; }
.bento-purple { background: #f3e5f5; color: #4a1a5c; }
.bento-teal { background: #e0f2f1; color: #1a4a4a; }
.bento-rose { background: #fce4ec; color: #5c1a2e; }
.bento-indigo { background: #e8eaf6; color: #1a1a5c; }
.bento-amber { background: #fff8e1; color: #5c4a1a; }
.bento-lime { background: #f1f8e9; color: #2e5c1a; }

@media (max-width: 767px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .bento-grid { grid-template-columns: 1fr; }
}

/* Life at Decipher Masonry */
.life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}
.life-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s;
    cursor: pointer;
}
.life-grid img:hover { transform: scale(1.04); }
@media (max-width: 767px) {
    .life-grid { grid-template-columns: repeat(2, 1fr); }
    .life-grid img { height: 180px; }
}

/* Job Cards */
.job-card {
    border-left: 4px solid;
    transition: transform 0.3s, box-shadow 0.3s;
}
.job-card:hover { transform: translateY(-4px); }
.job-card .dept-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.dept-engineering { border-left-color: #4a9df7; }
.dept-engineering .dept-badge { background: rgba(74,157,247,0.12); color: #4a9df7; }
.dept-infrastructure { border-left-color: #22c55e; }
.dept-infrastructure .dept-badge { background: rgba(34,197,94,0.12); color: #22c55e; }
.dept-ai { border-left-color: #a855f7; }
.dept-ai .dept-badge { background: rgba(168,85,247,0.12); color: #a855f7; }
.dept-marketing { border-left-color: #f59e0b; }
.dept-marketing .dept-badge { background: rgba(245,158,11,0.12); color: #f59e0b; }
.dept-sales { border-left-color: #ef4444; }
.dept-sales .dept-badge { background: rgba(239,68,68,0.12); color: #ef4444; }
.job-meta { font-size: 0.8125rem; color: #6b7280; }
.job-meta i { margin-right: 4px; }
.job-skills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.job-skills span {
    background: #f3f4f6;
    color: #374151;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Careers Process Steps */
.process-step {
    text-align: center;
    position: relative;
}
.process-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--dcs-gradient);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.process-connector {
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: linear-gradient(90deg, var(--dcs-accent), rgba(74,157,247,0.2));
}

/* Careers Testimonial Cards */
.testimonial-card-careers {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    position: relative;
}
.testimonial-card-careers::before {
    content: '\201C';
    font-size: 4rem;
    line-height: 1;
    color: rgba(74,157,247,0.15);
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: Georgia, serif;
}
.testimonial-card-careers p {
    font-style: italic;
    color: #374151;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.testimonial-card-careers .testimonial-author {
    font-weight: 600;
    color: #111827;
    font-style: normal;
    margin-top: 16px;
}

/* Careers Stats */
.careers-stats .stat-item { text-align: center; }
.careers-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--dcs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.careers-stats .stat-label { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* Open Application Section */
.open-app-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #faf5ff 100%);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
}

/* Careers FAQ */
.faq-accordion .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 18px 24px;
    background: #fff;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: var(--dcs-accent);
    box-shadow: none;
}
.faq-accordion .accordion-body { font-size: 0.9rem; color: #4b5563; line-height: 1.7; }


/* ==========================================================
   E-COMMERCE OPERATIONS PAGE
   ========================================================== */

/* Split-Screen Hero */
.split-hero { min-height: 100vh; display: flex; align-items: stretch; }
.split-hero-content { flex: 1; background: var(--dcs-bg-dark, #0c1842); display: flex; align-items: center; padding: 120px 60px 80px; }
.split-hero-image { flex: 1; position: relative; overflow: hidden; }
.split-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.split-hero .breadcrumb-item,
.split-hero .breadcrumb-item a { color: rgba(255,255,255,0.5); font-size: 0.8125rem; }
.split-hero .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.split-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }
.split-hero h1 { color: #fff; font-size: 2.75rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.split-hero .lead { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 32px; }
.split-hero .mini-stats { display: flex; gap: 32px; margin-top: 32px; flex-wrap: wrap; }
.split-hero .mini-stat { text-align: left; }
.split-hero .mini-stat-value { color: var(--dcs-accent, #2584f4); font-weight: 700; font-size: 1rem; }
.split-hero .mini-stat-label { color: rgba(255,255,255,0.5); font-size: 0.75rem; }

@media (max-width: 991.98px) {
    .split-hero { flex-direction: column; min-height: auto; }
    .split-hero-content { padding: 120px 24px 60px; }
    .split-hero-image { display: none; }
    .split-hero h1 { font-size: 2rem; }
}

/* Horizontal Scroll Cards */
.hscroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.hscroll-row::-webkit-scrollbar { height: 6px; }
.hscroll-row::-webkit-scrollbar-thumb { background: var(--dcs-accent, #2584f4); border-radius: 3px; }
.hscroll-card { min-width: 280px; max-width: 300px; flex-shrink: 0; scroll-snap-align: start; border-top: 4px solid; }
@media (min-width: 1200px) { .hscroll-row { overflow-x: visible; flex-wrap: nowrap; justify-content: center; } .hscroll-card { min-width: 0; flex: 1; } }

/* Zigzag Section */
.zigzag-row { display: flex; align-items: center; gap: 48px; margin-bottom: 64px; }
.zigzag-row:last-child { margin-bottom: 0; }
.zigzag-row.reverse { flex-direction: row-reverse; }
.zigzag-img { flex: 1; min-width: 0; }
.zigzag-img img { width: 100%; border-radius: 12px; }
.zigzag-content { flex: 1; min-width: 0; }
@media (max-width: 767.98px) { .zigzag-row, .zigzag-row.reverse { flex-direction: column; gap: 24px; } }

/* Before/After Comparison */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.compare-col { padding: 32px; border-radius: 12px; }
.compare-col.before { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); }
.compare-col.after { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.15); }
.compare-col h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.compare-col.before h4 { color: #ef4444; }
.compare-col.after h4 { color: #22c55e; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col ul li { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.9375rem; display: flex; align-items: flex-start; gap: 10px; }
.compare-col ul li:last-child { border-bottom: none; }
.compare-col.before ul li::before { content: '\2717'; color: #ef4444; font-weight: 700; }
.compare-col.after ul li::before { content: '\2713'; color: #22c55e; font-weight: 700; }
@media (max-width: 767.98px) { .compare-grid { grid-template-columns: 1fr; } }

/* Horizontal Timeline */
.htimeline { display: flex; align-items: flex-start; position: relative; gap: 0; }
.htimeline::before { content: ''; position: absolute; top: 28px; left: 56px; right: 56px; height: 3px; background: linear-gradient(90deg, var(--dcs-accent, #2584f4), #a855f7, #22c55e, #f59e0b); z-index: 0; }
.htimeline-step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.htimeline-num { width: 56px; height: 56px; border-radius: 50%; background: var(--dcs-gradient); color: #fff; font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; box-shadow: 0 4px 20px rgba(37,132,244,0.3); }
.htimeline-step:nth-child(2) .htimeline-num { background: linear-gradient(135deg, #a855f7, #7c3aed); box-shadow: 0 4px 20px rgba(168,85,247,0.3); }
.htimeline-step:nth-child(3) .htimeline-num { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 4px 20px rgba(34,197,94,0.3); }
.htimeline-step:nth-child(4) .htimeline-num { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 4px 20px rgba(245,158,11,0.3); }
@media (max-width: 767.98px) { .htimeline { flex-direction: column; gap: 24px; } .htimeline::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 3px; height: auto; } .htimeline-step { text-align: left; display: flex; align-items: flex-start; gap: 16px; padding: 0; } .htimeline-num { flex-shrink: 0; margin: 0; } }

/* Case Study Card (dark) */
.case-study-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 48px; }
.case-metric { text-align: center; }
.case-metric-value { font-size: 2rem; font-weight: 800; background: var(--dcs-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.case-metric-label { color: rgba(255,255,255,0.6); font-size: 0.8125rem; margin-top: 4px; }

/* Horizontal Service Card */
.hservice-card { display: flex; align-items: stretch; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.hservice-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.hservice-card-img { width: 200px; flex-shrink: 0; overflow: hidden; }
.hservice-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hservice-card-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 575.98px) { .hservice-card { flex-direction: column; } .hservice-card-img { width: 100%; height: 180px; } }

/* Platform Icon Grid */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.platform-item { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 10px; padding: 20px 16px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.platform-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.platform-item i { font-size: 2rem; margin-bottom: 8px; color: var(--dcs-accent, #2584f4); }
.platform-item span { display: block; font-size: 0.8125rem; font-weight: 600; }

/* Custom FAQ (non-accordion) */
.faq-item { border: 1px solid rgba(0,0,0,0.08); border-radius: 10px; margin-bottom: 12px; overflow: hidden; transition: box-shadow 0.3s; }
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 600; background: #fff; }
.faq-question i { transition: transform 0.3s; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 20px; display: none; color: #64748b; line-height: 1.7; }
.faq-answer.show { display: block; }


/* ==========================================================
   SAAS & PRODUCT COMPANIES PAGE
   ========================================================== */

/* SaaS Dark Hero */
.saas-hero {
    background: linear-gradient(135deg, #0c1842 0%, #1a1a5e 50%, #0e2a4a 100%);
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 600px;
}
.saas-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}
.saas-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.saas-hero .container { position: relative; z-index: 1; }
.saas-hero .breadcrumb { margin-bottom: 1.5rem; }
.saas-hero .breadcrumb a,
.saas-hero .breadcrumb-item { color: rgba(255,255,255,0.5); font-size: 0.8125rem; }
.saas-hero .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.saas-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }
.saas-hero h1 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: 1.25rem; line-height: 1.15; }
.saas-hero-visual { text-align: center; }
.saas-hero-visual svg { width: 100%; max-width: 500px; height: auto; }
.saas-hero .code-line {
    font-family: 'Courier New', Courier, monospace;
    color: #22d3ee;
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px 20px;
    display: inline-block;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}
.saas-hero .lead { color: rgba(255,255,255,0.7); font-size: 1.125rem; max-width: 700px; margin-bottom: 2rem; }
.saas-hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.saas-hero .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.saas-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.saas-hero-stats .stat-block { text-align: center; }
.saas-hero-stats .stat-block .num { font-size: 1.75rem; font-weight: 800; color: #fff; }
.saas-hero-stats .stat-block .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
@media (max-width: 768px) {
    .saas-hero { padding: 120px 0 60px; min-height: auto; }
    .saas-hero h1 { font-size: 2rem; }
    .saas-hero .code-line { font-size: 0.75rem; padding: 8px 14px; }
    .saas-hero-stats { gap: 1rem; }
    .saas-hero-stats .stat-block .num { font-size: 1.25rem; }
}

/* SaaS Tabbed Services */
.saas-tabs .nav-pills { border-bottom: 2px solid #e5e7eb; margin-bottom: 2rem; gap: 0; }
.saas-tabs .nav-pills .nav-link {
    border-radius: 0;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 14px 24px;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    background: none;
}
.saas-tabs .nav-pills .nav-link.active {
    color: var(--dcs-primary, #4a3aff);
    border-bottom-color: var(--dcs-primary, #4a3aff);
    background: none;
}
.saas-tabs .tab-pane { padding-top: 1rem; }
.saas-tabs .tab-feature-list { list-style: none; padding: 0; margin: 0; }
.saas-tabs .tab-feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.saas-tabs .tab-feature-list li i { color: #22c55e; font-size: 1.125rem; }

/* Feature Checklist */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
}
.checklist-item i { color: #22c55e; font-size: 1.25rem; flex-shrink: 0; }
@media (max-width: 768px) { .checklist-grid { grid-template-columns: 1fr; } }

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.comparison-table thead th {
    background: var(--dcs-primary, #4a3aff);
    color: #fff;
    font-weight: 700;
    padding: 16px 20px;
    font-size: 0.9375rem;
    text-align: center;
}
.comparison-table thead th:first-child { text-align: left; background: #1e1b4b; }
.comparison-table tbody td { padding: 14px 20px; border-bottom: 1px solid #f3f4f6; font-size: 0.9375rem; text-align: center; vertical-align: middle; }
.comparison-table tbody td:first-child { text-align: left; font-weight: 600; color: #1e1b4b; }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table .check-green { color: #22c55e; font-size: 1.25rem; }
.comparison-table .check-muted { color: #d1d5db; font-size: 1.25rem; }

/* Onboarding Steps */
.onboard-steps { display: flex; align-items: flex-start; justify-content: center; position: relative; gap: 0; }
.onboard-step { text-align: center; flex: 1; position: relative; z-index: 1; max-width: 220px; }
.onboard-step .step-circle {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--dcs-gradient);
    color: #fff; font-size: 1.5rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}
.onboard-step h5 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.onboard-step p { font-size: 0.8125rem; color: #6b7280; }
.onboard-line {
    position: absolute;
    top: 32px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--dcs-primary, #4a3aff), #6366f1);
    z-index: 0;
}
@media (max-width: 768px) {
    .onboard-steps { flex-direction: column; align-items: center; gap: 2rem; }
    .onboard-step { max-width: 100%; }
    .onboard-line { display: none; }
    .onboard-steps-vertical-line {
        display: block;
        position: absolute;
        left: 50%;
        top: 64px;
        bottom: 64px;
        width: 3px;
        background: linear-gradient(180deg, var(--dcs-primary, #4a3aff), #6366f1);
        transform: translateX(-50%);
        z-index: 0;
    }
}
@media (min-width: 769px) {
    .onboard-steps-vertical-line { display: none; }
}

/* Tech Stack badges */
.tech-scroll { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tech-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 100px;
    background: #f3f4f6; font-size: 0.8125rem; font-weight: 600;
    white-space: nowrap; color: #374151;
}
@media (max-width: 768px) {
    .tech-scroll { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
    .tech-scroll::-webkit-scrollbar { height: 4px; }
    .tech-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
}

/* Result Cards */
.result-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0c1842, #1a1a5e);
    color: #fff;
}
.result-card .result-num { font-size: 3rem; font-weight: 800; margin-bottom: 8px; background: linear-gradient(135deg,#22d3ee,#6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.result-card p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; margin: 0; }

/* Tab Image Placeholder */
.tab-img-placeholder {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ede9fe, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--dcs-primary, #4a3aff);
}


/* ==========================================================
   BUSINESS PORTALS & PLATFORMS PAGE
   ========================================================== */

/* Portal Centered Hero */
.portal-hero {
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
    overflow: hidden;
}
.portal-hero .hero-h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0;
}
.portal-hero .gradient-underline {
    display: block;
    width: 180px;
    height: 4px;
    margin: 18px auto 28px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--dcs-primary), var(--dcs-accent), var(--dcs-ai));
    background-size: 200% 100%;
    animation: gradientSlide 3s ease infinite;
}
@keyframes gradientSlide {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.portal-hero .lead {
    max-width: 700px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
}

/* Trust Badges Row */
.trust-badges-row {
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.trust-badge { text-align: center; }
.trust-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.6);
}
.trust-badge-label { font-size: 0.6875rem; color: rgba(255,255,255,0.4); }

/* Portal Type Cards */
.portal-type-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border-left: 4px solid transparent;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.portal-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.portal-type-card .ptc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}
.portal-type-card h5 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.portal-type-card p { font-size: 0.875rem; color: #64748b; margin-bottom: 0; }

/* Portal Accordion */
.portal-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.portal-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.0625rem;
    padding: 20px 24px;
    background: #fff;
    box-shadow: none !important;
    gap: 14px;
}
.portal-accordion .accordion-button:not(.collapsed) {
    background: #f8fafc;
    color: var(--dcs-primary);
}
.portal-accordion .accordion-button .acc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--dcs-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.portal-accordion .accordion-body {
    padding: 0 24px 20px 78px;
    font-size: 0.9375rem;
    color: #475569;
}

/* Journey Timeline */
.journey-timeline {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 40px 0 0;
    overflow-x: auto;
}
.journey-timeline::before {
    content: '';
    position: absolute;
    top: 68px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--dcs-primary), var(--dcs-accent), var(--dcs-ai));
    border-radius: 3px;
    z-index: 0;
}
.journey-phase {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    min-width: 160px;
    padding: 0 8px;
}
.journey-dot {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dcs-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 0 0 6px rgba(255,255,255,1), 0 0 0 8px rgba(74,157,247,0.2);
}
.journey-phase h6 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 6px; color: #0f172a; }
.journey-phase p { font-size: 0.8125rem; color: #64748b; margin-bottom: 0; }

/* Case Cards */
.case-card { border-radius: 16px; padding: 36px 32px; height: 100%; }
.case-card .case-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; color: var(--dcs-accent); }
.case-card h5 { font-size: 1.125rem; font-weight: 700; margin-bottom: 14px; }
.case-card p { font-size: 0.9rem; margin-bottom: 18px; }
.case-metrics { display: flex; gap: 24px; flex-wrap: wrap; }

/* Tech Pills */
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    transition: background 0.2s;
    border: 1px solid #e2e8f0;
}
.tech-pill:hover { background: #e2e8f0; }

@media (max-width: 768px) {
    .journey-timeline { flex-direction: column; align-items: stretch; }
    .journey-timeline::before { top: 0; bottom: 0; left: 20px; right: auto; width: 3px; height: auto; }
    .journey-phase { text-align: left; display: flex; gap: 16px; align-items: flex-start; min-width: unset; padding: 0 0 28px 0; }
    .journey-dot { margin: 0; flex-shrink: 0; }
    .trust-badges-row { gap: 20px; }
}


/* ==========================================================
   TECHNOLOGY-DRIVEN SMES PAGE
   ========================================================== */

/* Oversized Typography Hero */
.sme-hero {
    padding: 160px 0 80px;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.sme-hero .breadcrumb-subtle {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sme-hero .breadcrumb-subtle a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.sme-hero .breadcrumb-subtle a:hover { color: var(--dcs-primary, #4a9df7); }
.sme-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #0f172a;
    margin-bottom: 1.5rem;
}
.sme-hero .lead { font-size: 1.125rem; color: #64748b; max-width: 600px; margin-bottom: 2rem; line-height: 1.7; }
.sme-hero-visual { text-align: center; }
.sme-hero-visual svg { width: 100%; max-width: 500px; height: auto; }
.hero-gradient-line { height: 2px; background: var(--dcs-gradient); width: 100%; }

/* SME Problem Section */
.sme-problem { padding: 80px 0; background: #f8fafc; }
.sme-problem .big-quote {
    font-size: clamp(1.375rem, 3vw, 2rem);
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.5;
    font-style: italic;
}
.problem-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; font-size: 1.0625rem; color: #334155; }
.problem-item .problem-icon {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(239, 68, 68, 0.1); display: flex; align-items: center;
    justify-content: center; color: #ef4444; font-size: 1rem;
}
.problem-closing { text-align: center; margin-top: 2.5rem; font-size: 1.125rem; font-weight: 600; color: var(--dcs-primary, #4a9df7); }

/* Bento Grid (SME) */
.bento-card {
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.bento-card.span-2 { grid-column: span 2; }
.bento-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: #0f172a; }
.bento-card p { color: #475569; margin-bottom: 0; font-size: 0.9375rem; line-height: 1.6; }
.bento-card .bento-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; margin-bottom: 1rem;
}
/* Bento color variants (SME) */
.bento-card.bento-blue { background: #eff6ff; }
.bento-card.bento-blue .bento-icon { background: #dbeafe; color: #2563eb; }
.bento-card.bento-orange { background: #fff7ed; }
.bento-card.bento-orange .bento-icon { background: #fed7aa; color: #ea580c; }
.bento-card.bento-green { background: #f0fdf4; }
.bento-card.bento-green .bento-icon { background: #bbf7d0; color: #16a34a; }
.bento-card.bento-purple { background: #faf5ff; }
.bento-card.bento-purple .bento-icon { background: #e9d5ff; color: #9333ea; }
.bento-card.bento-rose { background: #fff1f2; }
.bento-card.bento-rose .bento-icon { background: #fecdd3; color: #e11d48; }
.bento-card.bento-teal { background: #f0fdfa; }
.bento-card.bento-teal .bento-icon { background: #99f6e4; color: #0d9488; }
@media (max-width: 768px) {
    .bento-card.span-2 { grid-column: span 1; }
}

/* SME Horizontal Value Cards */
.value-card-horizontal {
    display: flex; align-items: center; gap: 2rem;
    border-radius: 16px; overflow: hidden; background: #fff;
    border: 1px solid #e2e8f0; transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
}
.value-card-horizontal:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.value-card-horizontal img { width: 280px; height: 200px; object-fit: cover; flex-shrink: 0; }
.value-card-horizontal .value-content { padding: 2rem 2rem 2rem 0; }
.value-card-horizontal .value-content h4 { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-bottom: 0.75rem; }
.value-card-horizontal .value-content p { color: #64748b; margin-bottom: 0; line-height: 1.7; }
@media (max-width: 768px) {
    .value-card-horizontal { flex-direction: column; }
    .value-card-horizontal img { width: 100%; height: 200px; }
    .value-card-horizontal .value-content { padding: 1.5rem; }
}

/* Growth Roadmap */
.roadmap-step { display: flex; gap: 2rem; align-items: flex-start; margin-bottom: 2.5rem; position: relative; }
.roadmap-number {
    font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 800;
    background: var(--dcs-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1; flex-shrink: 0; min-width: 80px;
}
.roadmap-content h4 { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
.roadmap-content p { color: #64748b; margin-bottom: 0; line-height: 1.7; }

/* AI for SMEs Section */
.ai-sme-section { background: #f8fafc; }

/* Success Story Cards */
.story-card { border-radius: 16px; padding: 2.5rem; background: #fff; border: 1px solid #e2e8f0; height: 100%; }
.story-card .story-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dcs-primary, #4a9df7); margin-bottom: 1rem; }
.story-card .story-flow { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: 1.0625rem; font-weight: 600; color: #1e293b; }
.story-card .story-flow .arrow { color: var(--dcs-primary, #4a9df7); font-size: 1.25rem; }
.story-card .story-result { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.story-card .story-result .result-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 999px;
    background: #f0fdf4; color: #16a34a; font-size: 0.875rem; font-weight: 600;
}

/* SME FAQ (non-accordion toggle) */
.faq-question .faq-toggle { font-size: 1.25rem; color: #94a3b8; transition: transform 0.3s; }
.faq-question.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: #64748b; line-height: 1.7; }

/* Testimonial Large */
.testimonial-large { text-align: center; max-width: 700px; margin: 0 auto; }
.testimonial-large blockquote {
    font-size: 1.25rem; font-style: italic; color: #1e293b; line-height: 1.7;
    margin-bottom: 1.5rem; position: relative;
}
.testimonial-large blockquote::before {
    content: "\201C"; font-size: 4rem; color: var(--dcs-primary, #4a9df7);
    opacity: 0.3; position: absolute; top: -1.5rem; left: -1rem; font-family: Georgia, serif;
}
.testimonial-large .testi-author { font-weight: 700; color: #0f172a; }
.testimonial-large .testi-role { font-size: 0.875rem; color: #94a3b8; }

/* CTA Minimal */
.cta-minimal { text-align: center; padding: 80px 0; }
.cta-minimal h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #0f172a; margin-bottom: 1.5rem; letter-spacing: -0.02em; }


/* ==========================================================
   SHARED: Reason blocks (used across pages)
   ========================================================== */
.reason-block { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.reason-block .reason-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.reason-block h5 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.reason-block p { font-size: 0.875rem; color: #64748b; margin-bottom: 0; }
