/*
   ChainSync Enterprise Design System v2.0
   Color System: Deep Navy + Teal + Amber
   Structure: Sage ERP-inspired page flow
   Clean • Modern • Built for businesses that refuse to slow down
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Navy & Teal Theme */
    --navy-primary: #0D2B55;
    --navy-light: #3B6CD4;
    --navy-dark: #071933;
    
    --teal-primary: #1D9E75;
    --teal-light: #E1F5EE;
    --teal-hover: #157A59;
    
    --amber-primary: #EF9F27;
    --amber-light: #FAEEDA;
    --amber-hover: #D9881A;
    
    --white: #FFFFFF;
    --bg-alt: #F7F8FA;
    
    --text-primary: #1F2937; /* Slate 800 */
    --text-secondary: #4B5563; /* Slate 600 */
    --text-muted: #9CA3AF; /* Slate 400 */
    
    --border-color: #E5E7EB; /* Gray 200 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --font-sans: 'Inter', sans-serif;
    --transition: 0.2s ease-in-out;
}

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: -0.025em; }
h2 { font-size: 2.5rem; letter-spacing: -0.025em; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

a {
    color: var(--navy-light);
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--navy-primary);
}

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

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }
.py-8 { padding-top: 8rem; padding-bottom: 8rem; }

.bg-white { background-color: var(--white); }
.bg-alt { background-color: var(--bg-alt); }
.bg-navy { background-color: var(--navy-primary); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy p { color: var(--white); }

.text-danger { color: #ef4444; font-size: 0.875rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--teal-primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--teal-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--navy-primary);
    color: var(--navy-primary);
    background-color: var(--bg-alt);
}

.btn-amber {
    background-color: var(--amber-primary);
    color: var(--white);
}

.btn-amber:hover {
    background-color: var(--amber-hover);
    color: var(--white);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-brand:hover { color: var(--navy-primary); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--navy-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Trust Strip */
.trust-strip {
    padding: 3rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.logo-wordmark {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
    opacity: 0.7;
}

/* Stats Strip */
.stats-strip {
    background-color: var(--amber-light);
    padding: 4rem 0;
    border-bottom: 1px solid var(--amber-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--navy-primary);
    font-weight: 600;
    margin: 0;
}

/* Zig-Zag Feature Layout */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 0;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-image {
    background-color: var(--bg-alt);
    border-radius: 8px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Cards */
.enterprise-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.enterprise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--teal-light);
    color: var(--teal-primary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a, .pagination span {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    color: var(--navy-primary);
}

.pagination a:hover {
    background-color: var(--bg-alt);
}

.pagination .current {
    background-color: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.2);
}

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

/* Footer */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 1rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   HERO CAROUSEL / SLIDER
   ============================================= */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: var(--navy-dark);
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 60%, #1a3a6b 100%);
}

.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(29,158,117,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.carousel-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.carousel-slide-text { }

.carousel-slide-text .eyebrow {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.carousel-slide-text h1 {
    color: var(--white);
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.carousel-slide-text p {
    color: rgba(255,255,255,0.78);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.carousel-slide-visual {
    position: relative;
}

.carousel-slide-visual .dashboard-frame {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
}

.carousel-slide-visual .dashboard-frame .frame-bar {
    height: 10px;
    background: var(--navy-primary);
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    gap: 5px;
}

.carousel-slide-visual .dashboard-frame .frame-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

.carousel-slide-visual .dashboard-frame img {
    width: 100%;
    display: block;
    height: 320px;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    font-size: 1.1rem;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.3);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background var(--transition), width var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--teal-primary);
    width: 24px;
    border-radius: 4px;
}

/* =============================================
   STATS STRIP — 4 COLUMNS (Amber)
   ============================================= */
.stats-strip {
    background-color: var(--amber-light);
    padding: 3rem 0;
    border-top: 3px solid var(--amber-primary);
    border-bottom: 1px solid rgba(239,159,39,0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(239,159,39,0.25);
}

.stat-item:last-child { border-right: none; }

.stat-item .stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.stat-item .stat-badge {
    display: inline-block;
    margin-top: 0.5rem;
    background: var(--amber-primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

/* =============================================
   MODULE TABS (Sage-style)
   ============================================= */
.module-tabs-section {
    padding: 6rem 0;
    background: var(--bg-alt);
}

.module-tabs-section .section-label {
    display: inline-block;
    color: var(--teal-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.module-tabs-section .section-title {
    font-size: 2.25rem;
    color: var(--navy-primary);
    max-width: 600px;
    margin-bottom: 0.75rem;
}

.module-tabs-section .section-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 580px;
    margin-bottom: 3rem;
}

.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--navy-primary);
}

.tab-btn.active {
    color: var(--navy-primary);
    border-bottom-color: var(--teal-primary);
}

.tab-btn .tab-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.tab-btn.active .tab-icon {
    background: var(--teal-primary);
    color: var(--white);
}

.tab-panels {
    background: var(--white);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow-md);
}

.tab-panel {
    display: none;
    padding: 3rem;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.tab-panel.active {
    display: grid;
}

.tab-panel-content .module-name {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal-primary);
    margin-bottom: 0.75rem;
}

.tab-panel-content h3 {
    font-size: 1.75rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.tab-panel-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-list li .check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--teal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-primary);
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 2px;
}

.tab-panel-visual img,
.tab-panel-visual .img-placeholder {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.tab-panel-visual .img-placeholder {
    height: 320px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #e8ecf0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* =============================================
   BENEFITS GRID
   ============================================= */
.benefits-section {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-card {
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--white);
    transition: box-shadow var(--transition), transform var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.benefit-card .benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--teal-primary);
    font-size: 1.25rem;
}

.benefit-card h4 {
    color: var(--navy-primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* =============================================
   SECTION HEADERS (reusable)
   ============================================= */
.section-header {
    margin-bottom: 3rem;
}

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

.section-header .eyebrow {
    display: inline-block;
    color: var(--teal-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.7;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb a:hover { color: var(--navy-light); }

.breadcrumb .sep {
    color: var(--border-color);
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* =============================================
   PAGE HERO (static pages — not slider)
   ============================================= */
.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,158,117,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    max-width: 800px;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 0;
}

.page-hero .hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.page-hero .hero-stats .hero-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
}

.page-hero .hero-stats .hero-stat strong {
    color: var(--amber-primary);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.page-hero .hero-stats .hero-stat span {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

/* =============================================
   BADGES
   ============================================= */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge-teal {
    background: var(--teal-light);
    color: var(--teal-primary);
}

.badge-amber {
    background: var(--amber-light);
    color: var(--amber-hover);
}

.badge-navy {
    background: rgba(13,43,85,0.08);
    color: var(--navy-primary);
}

/* =============================================
   LOGO MARQUEE
   ============================================= */
.logo-marquee-section {
    padding: 3.5rem 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.logo-marquee-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee-scroll 28s linear infinite;
    width: max-content;
    align-items: center;
}

.marquee-track:hover {
    animation-play-state: paused;
}

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

.marquee-logo {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
    opacity: 0.6;
    white-space: nowrap;
    transition: opacity var(--transition);
}

.marquee-logo:hover { opacity: 1; color: var(--navy-primary); }

/* =============================================
   TRUST BADGES (ISO / Security)
   ============================================= */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
}

.trust-badge-item .tb-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-primary);
    font-size: 1rem;
}

.trust-badge-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-primary);
}

/* =============================================
   TESTIMONIAL CARDS (enhanced)
   ============================================= */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.25rem;
}

.star-filled { color: var(--amber-primary); font-size: 1rem; }
.star-empty  { color: var(--border-color); font-size: 1rem; }

.testimonial-card blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--navy-primary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--teal-primary);
    flex-shrink: 0;
}

.testimonial-author .author-info strong {
    display: block;
    color: var(--navy-primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-author .author-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.testimonial-module-badge {
    margin-top: 1rem;
}

/* =============================================
   COMPARISON TABLE
   ============================================= */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.comparison-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--navy-primary);
    color: var(--white);
}

.comparison-table th:first-child { background: var(--navy-dark); }
.comparison-table th.col-chainsync { background: var(--teal-primary); }

.comparison-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
    vertical-align: middle;
}

.comparison-table tr:nth-child(even) td { background: var(--bg-alt); }
.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--navy-primary);
}

.comparison-table .yes { color: var(--teal-primary); font-weight: 700; }
.comparison-table .no  { color: #ef4444; font-weight: 600; }
.comparison-table .partial { color: var(--amber-primary); font-weight: 600; }

/* =============================================
   FAQ ACCORDION (details/summary)
   ============================================= */
.faq-list { margin-top: 2rem; }

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    background: var(--white);
    user-select: none;
    font-size: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--teal-primary);
    line-height: 1;
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item[open] summary {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
}

.faq-item .faq-answer {
    padding: 1.25rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    background: var(--white);
}

.faq-item .faq-answer p { margin: 0; }

/* =============================================
   CATEGORY FILTER PILLS
   ============================================= */
.category-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.pill-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
}

.pill-btn:hover,
.pill-btn.active {
    background: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

/* =============================================
   BLOG CARD (enhanced)
   ============================================= */
.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.blog-card-img {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-alt), #dde0e5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-body h3 a { color: var(--navy-primary); }
.blog-card-body h3 a:hover { color: var(--navy-light); }

.blog-card-body .excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    flex: 1;
    line-height: 1.6;
}

.blog-card-body .read-more {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--teal-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

.blog-card-body .read-more:hover { color: var(--teal-hover); }

/* =============================================
   NEWSLETTER INLINE
   ============================================= */
.newsletter-box {
    background: var(--navy-primary);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}

.newsletter-box h3 { color: var(--white); margin-bottom: 0.5rem; }
.newsletter-box p  { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1rem; }

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border-radius: 6px;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--teal-primary); }

/* =============================================
   VIDEO PLACEHOLDER
   ============================================= */
.video-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    background: var(--navy-dark);
    aspect-ratio: 16 / 9;
}

.video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.video-wrap:hover img { opacity: 0.85; }

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition);
}

.video-wrap:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }

.video-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid var(--navy-primary);
    margin-left: 4px;
}

/* =============================================
   C.H.A.I.N. VALUES
   ============================================= */
.chain-values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.chain-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}

.chain-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.chain-letter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.chain-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chain-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.chain-quote {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--navy-primary);
    border-radius: 10px;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.01em;
}

/* =============================================
   CONTACT INFO CARD
   ============================================= */
.contact-info-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    position: sticky;
    top: 6rem;
}

.contact-info-card h3 {
    color: var(--navy-primary);
    margin-bottom: 1.75rem;
}

.contact-info-row {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-info-row .ci-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--teal-light);
    color: var(--teal-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.contact-info-row .ci-text strong {
    display: block;
    color: var(--navy-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-info-row .ci-text span,
.contact-info-row .ci-text a {
    color: var(--text-secondary);
    font-size: 0.925rem;
    font-weight: 400;
}

.social-links-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-primary);
    font-size: 0.875rem;
    transition: all var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--navy-primary);
    color: var(--white);
    border-color: var(--navy-primary);
}

/* =============================================
   CTA BANNER (full-width)
   ============================================= */
.cta-banner {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 60%, #1a3a6b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,158,117,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.cta-banner .cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition);
}

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

/* =============================================
   FEATURES DETAIL SECTION (zig-zag)
   ============================================= */
.features-detail {
    padding: 6rem 0;
    background: var(--white);
}

.features-detail .feature-block {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.features-detail .feature-block:last-child {
    border-bottom: none;
}

/* =============================================
   FOOTER SOCIAL ICONS
   ============================================= */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--teal-primary);
    color: var(--white);
    border-color: var(--teal-primary);
}

/* =============================================
   INDUSTRIES GRID
   ============================================= */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.industry-card {
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
    transition: box-shadow var(--transition), border-color var(--transition);
    cursor: default;
}

.industry-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--teal-primary);
}

.industry-card .ind-icon {
    font-size: 1.75rem;
    margin-bottom: 0.875rem;
    display: block;
}

.industry-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* =============================================
   RESPONSIVE — NEW COMPONENTS
   ============================================= */
@media (max-width: 1024px) {
    .chain-values-grid { grid-template-columns: repeat(3, 1fr); }
    .industries-grid   { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid     { grid-template-columns: repeat(2, 1fr); }
    .tab-panel.active  { grid-template-columns: 1fr; }
    .tab-panel         { padding: 2rem; }
}

@media (max-width: 768px) {
    .carousel-slide { min-height: 520px; }
    .carousel-slide-content { grid-template-columns: 1fr; gap: 2rem; }
    .carousel-slide-visual  { display: none; }
    .carousel-slide-text h1 { font-size: 2.25rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item  { border-right: none; border-bottom: 1px solid rgba(239,159,39,0.25); }
    .stat-item:last-child { border-bottom: none; }

    .benefits-grid     { grid-template-columns: 1fr; }
    .chain-values-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid   { grid-template-columns: repeat(2, 1fr); }

    .page-hero h1 { font-size: 2.25rem; }
    .page-hero .hero-stats { gap: 1rem; }

    .cta-banner h2 { font-size: 2rem; }
    .cta-banner .cta-actions { flex-direction: column; align-items: center; }

    .newsletter-form { flex-direction: column; }

    .tab-nav { overflow-x: auto; }
    .tab-btn  { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
}

/* =============================================
   RESPONSIVE — EXISTING COMPONENTS (kept)
   ============================================= */
@media (max-width: 768px) {
    .hero-split, .feature-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-block.reverse {
        direction: ltr;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .grid-cols-2, .grid-cols-3, .grid-cols-4, .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease-out;
        pointer-events: none;
    }

    body.nav-open .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--bg-alt);
        width: 100%;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .btn {
        width: calc(100% - 4rem);
        margin: 1rem 2rem;
    }

    .trust-logos {
        justify-content: center;
    }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}
