/* SmartThink Global Technology — New Corporate Website Design System */
/* Light + navy hybrid, Inter typography, disciplined CTA hierarchy */

:root {
    --st-navy: #0a1628;
    --navy-primary: #0a1628;
    --navy-deep: #050d18;
    --navy-light: #13243d;
    --blue-primary: #0d6efd;
    --blue-accent: #0070ad;
    --teal: #00a8c6;
    --gold: #f59e0b;
    --slate: #5a6b7c;
    --text-body: #374151;
    --text-heading: #0a1628;
    --bg-white: #ffffff;
    --bg-cloud: #f8fafc;
    --bg-offwhite: #f4f6f8;
    --border-light: #e2e8f0;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { color: var(--text-heading); font-weight: 700; line-height: 1.2; margin-bottom: var(--space-md); }
h1 { font-size: 3rem; } h2 { font-size: 2.25rem; } h3 { font-size: 1.5rem; } h4 { font-size: 1.25rem; }

a { color: var(--blue-accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--blue-primary); }

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

.container { max-width: 1200px; }

/* Utility Bar */
.st-utility-bar {
    background: var(--navy-deep);
    color: #9ca3af;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.st-utility-bar a { color: #9ca3af; }
.st-utility-bar a:hover { color: #fff; }

/* Header & Nav */
.st-header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.st-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.st-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.st-brand img { height: 40px; }
.st-brand-text { font-weight: 800; font-size: 1.25rem; color: var(--navy-primary); letter-spacing: -0.02em; }

.st-nav { display: flex; align-items: center; gap: 0.5rem; list-style: none; margin: 0; }
.st-nav > li { position: relative; }
.st-nav-link {
    display: flex; align-items: center; gap: 0.35rem;
    padding: 0.6rem 0.9rem; color: var(--text-heading); font-weight: 500; font-size: 0.95rem;
    border-radius: var(--radius-md); transition: all var(--transition-fast);
}
.st-nav-link:hover, .st-nav-link.active { background: var(--bg-cloud); color: var(--blue-accent); }
.st-nav-link i { font-size: 0.7em; }

/* Mega Menu */
.st-mega-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    width: 980px; max-width: 95vw; background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2rem;
    opacity: 0; visibility: hidden; transition: all var(--transition-fast); margin-top: 0.5rem;
}
.has-mega:hover .st-mega-menu { opacity: 1; visibility: visible; }
.mega-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.mega-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy-primary); margin-bottom: 0.75rem; }
.mega-col ul { list-style: none; }
.mega-col li { margin-bottom: 0.4rem; }
.mega-col a { color: var(--slate); font-size: 0.9rem; display: block; }
.mega-col a:hover { color: var(--blue-accent); }
.mega-col .mega-cta { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.85rem; margin-top: 0.5rem; }
.mega-featured {
    margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.mega-featured-links a { color: var(--text-heading); font-weight: 600; font-size: 0.95rem; margin-right: 1.25rem; }
.mega-featured-links a:hover { color: var(--blue-accent); }

/* Buttons */
.st-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.85rem 1.5rem; font-weight: 600; font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 0.04em; border-radius: var(--radius-md); text-decoration: none;
    transition: all var(--transition-fast); border: 1px solid transparent; cursor: pointer;
}
.st-btn-primary { background: var(--blue-primary); color: #fff; border-color: var(--blue-primary); }
.st-btn-primary:hover { background: #0b5ed7; color: #fff; }
.st-btn-ghost { background: transparent; color: var(--navy-primary); border-color: var(--navy-primary); }
.st-btn-ghost:hover { background: var(--navy-primary); color: #fff; }
.st-btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.st-btn-ghost-white:hover { background: rgba(255,255,255,0.1); color: #fff; }
.st-btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.st-btn-teal:hover { background: #008fa8; color: #fff; }

/* Hero */
.st-hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    background: linear-gradient(135deg, rgba(5,13,24,0.82) 0%, rgba(10,22,40,0.78) 100%),
                url('../images/slider/cyberinsurance.webp') center/cover no-repeat;
    color: #fff; padding: 6rem 0;
}
.st-hero-badge {
    display: inline-flex; gap: 0.5rem; align-items: center;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
    color: #cbd5e1; margin-bottom: 1.25rem;
}
.st-hero-badge span { color: var(--teal); }
.st-hero h1 { color: #fff; font-size: 3.5rem; font-weight: 800; line-height: 1.1; max-width: 750px; margin-bottom: 1.5rem; }
.st-hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 700px; margin-bottom: 2rem; }
.st-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.st-hero-tagline {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); font-weight: 600;
}

/* Trust Bar */
.trust-bar {
    background: var(--bg-cloud); border-bottom: 1px solid var(--border-light);
    height: 72px; display: flex; align-items: center;
}
.trust-items { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.trust-item {
    flex: 1; text-align: center; font-size: 0.8rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--slate); padding: 0 1rem;
}
.trust-item:not(:last-child) { border-right: 1px solid var(--border-light); }

/* Sections */
.st-section { padding: 5rem 0; }
.st-section-offwhite { background: var(--bg-offwhite); }
.st-section-cloud { background: var(--bg-cloud); }
.st-section-navy { background: var(--navy-primary); color: #fff; }
.st-section-navy h2, .st-section-navy h3 { color: #fff; }
.st-section-navy p { color: rgba(255,255,255,0.8); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.section-lead { color: var(--slate); font-size: 1.1rem; }

/* What We Do Icons */
.icon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.icon-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
.icon-item i { font-size: 2rem; color: var(--blue-accent); }
.icon-item span { font-weight: 600; color: var(--text-heading); }

/* Pillar Cards */
.pillar-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pillar-card {
    background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    padding: 2rem 1.5rem; box-shadow: var(--shadow-sm); transition: all var(--transition-normal);
    display: flex; flex-direction: column; height: 100%;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-accent); }
.pillar-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.pillar-card p { color: var(--slate); font-size: 0.95rem; margin-bottom: 1.25rem; flex-grow: 1; }
.pillar-solutions { list-style: none; margin-bottom: 1.5rem; }
.pillar-solutions li { font-size: 0.85rem; color: var(--slate); padding-left: 1rem; position: relative; margin-bottom: 0.35rem; }
.pillar-solutions li::before { content: '·'; position: absolute; left: 0; color: var(--blue-accent); font-weight: 700; }
.pillar-cta { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; }

/* Platform Statement */
.platform-statement {
    background: var(--navy-primary); color: #fff; padding: 3rem 1rem;
    text-align: center; font-size: 1.25rem; font-weight: 400; line-height: 1.5;
}
.platform-statement p { max-width: 800px; margin: 0 auto; color: rgba(255,255,255,0.9); }

/* Industry Grid */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.industry-tile {
    background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
    padding: 1.5rem; transition: all var(--transition-normal); text-decoration: none;
}
.industry-tile:hover { border-color: var(--blue-accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.industry-tile i { font-size: 1.75rem; color: var(--blue-accent); margin-bottom: 0.75rem; display: block; }
.industry-tile h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--navy-primary); }
.industry-tile p { font-size: 0.85rem; color: var(--slate); margin: 0; }

/* Timeline */
.timeline { display: flex; justify-content: space-between; position: relative; padding: 2rem 0; }
.timeline::before {
    content: ''; position: absolute; top: 3.5rem; left: 5%; right: 5%; height: 2px; background: rgba(255,255,255,0.25);
}
.timeline-step { position: relative; width: 16%; text-align: center; z-index: 1; }
.timeline-step .step-number {
    width: 3rem; height: 3rem; border-radius: 50%; background: #fff; color: var(--navy-primary);
    display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 1rem;
    border: 3px solid var(--navy-primary); box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}
.timeline-step h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.35rem; }
.timeline-step p { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-style: italic; margin: 0; }

/* Innovation Lab Split */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.academy-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.lab-tile, .academy-tile {
    background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md);
    padding: 1.25rem; transition: all var(--transition-fast);
}
.lab-tile:hover, .academy-tile:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.lab-tile h4, .academy-tile h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.lab-tile p, .academy-tile p { font-size: 0.85rem; color: var(--slate); margin: 0; }

/* Academy Stats */
.stat-mini { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2.5rem; }
.stat-mini-item { text-align: center; font-weight: 600; color: var(--navy-primary); font-size: 0.95rem; }

/* Differentiator Grid */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.diff-item { text-align: center; }
.diff-item i { font-size: 2rem; color: var(--teal); margin-bottom: 0.75rem; }
.diff-item h4 { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
.diff-item p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin: 0; }

/* Insights */
.insights-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; }
.featured-article { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.featured-article-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(10,22,40,0.6) 100%), url('../images/slider/cyberinsurance.webp') center/cover; }
.featured-article-content { position: relative; z-index: 1; padding: 2rem; color: #fff; }
.featured-article-content .tag { display: inline-block; background: var(--gold); color: var(--navy-primary); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: var(--radius-sm); margin-bottom: 0.75rem; }
.featured-article-content h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.75rem; }
.featured-article-content p { color: rgba(255,255,255,0.85); margin: 0; }
.recent-articles { display: flex; flex-direction: column; gap: 1rem; }
.recent-article {
    background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md);
    padding: 1.25rem; transition: all var(--transition-fast);
}
.recent-article:hover { border-color: var(--blue-accent); }
.recent-article .tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--blue-accent); margin-bottom: 0.4rem; display: block; }
.recent-article h4 { font-size: 1rem; margin-bottom: 0; }

/* Final CTA */
.final-cta { text-align: center; padding: 5rem 1rem; }
.final-cta h2 { color: #fff; font-size: 3rem; margin-bottom: 1.25rem; }
.final-cta p { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 2rem; font-size: 1.1rem; }
.final-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.st-footer { background: var(--navy-deep); color: #9ca3af; padding: 4rem 0 1.5rem; }
.st-footer h5 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.st-footer ul { list-style: none; }
.st-footer li { margin-bottom: 0.5rem; }
.st-footer a { color: #9ca3af; font-size: 0.9rem; }
.st-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; }

/* Mobile Nav */
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--navy-primary); cursor: pointer; }

@media (max-width: 991px) {
    .mobile-toggle { display: block; }
    .st-nav {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border-light);
        flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; display: none;
    }
    .st-nav.open { display: flex; }
    .st-nav > li { width: 100%; }
    .st-mega-menu { position: static; width: 100%; transform: none; box-shadow: none; border: none; padding: 1rem; display: none; opacity: 1; visibility: visible; }
    .has-mega.open .st-mega-menu { display: block; }
    .mega-columns { grid-template-columns: 1fr; }
    .mega-featured { flex-direction: column; align-items: flex-start; }
    .st-hero h1 { font-size: 2.25rem; }
    .pillar-cards, .industry-grid, .diff-grid { grid-template-columns: 1fr; }
    .icon-row { grid-template-columns: repeat(2, 1fr); }
    .split-section, .insights-layout { grid-template-columns: 1fr; }
    .timeline { flex-direction: column; gap: 2rem; }
    .timeline::before { display: none; }
    .timeline-step { width: 100%; text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
    .timeline-step .step-number { margin: 0; flex-shrink: 0; }
    .academy-tiles { grid-template-columns: 1fr; }
    .trust-items { flex-wrap: wrap; height: auto; }
    .trust-item { flex: 1 1 50%; padding: 0.75rem 0; border: none; }
    .trust-item:nth-child(odd) { border-right: 1px solid var(--border-light); }
    .trust-bar { height: auto; padding: 1rem 0; }
}

@media (max-width: 575px) {
    .st-hero h1 { font-size: 1.85rem; }
    .st-hero p { font-size: 1rem; }
    .icon-row { grid-template-columns: 1fr; }
    .trust-item { flex: 1 1 100%; border: none; }
    .final-cta h2 { font-size: 2rem; }
}

/* Mobile CTA Bar */
.mobile-cta-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
    background: #fff; border-top: 1px solid var(--border-light);
    padding: 0.75rem 1rem; display: none; box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}
.mobile-cta-bar .st-btn { width: 100%; }

/* Back to Top */
.back-to-top {
    position: fixed; bottom: 85px; right: 20px; z-index: 1030;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--blue-primary); color: #fff; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s ease;
    box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--navy-primary); transform: translateY(-2px); }
@media (min-width: 992px) {
    .back-to-top { bottom: 30px; }
}

@media (max-width: 991px) {
    .mobile-cta-bar { display: block; }
    body { padding-bottom: 70px; }
}

@media (max-width: 575px) {
    .st-hero h1 { font-size: 1.85rem; }
    .st-hero p { font-size: 1rem; }
    .icon-row { grid-template-columns: 1fr; }
    .trust-item { flex: 1 1 100%; border: none; }
    .final-cta h2 { font-size: 2rem; }
    .mobile-cta-bar { padding: 0.6rem 1rem; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
