/* ==========================================
   DATAXPERTS.NET — Ken Whiteside
   Modern Professional Site
   ========================================== */

:root {
    --navy: #1b2a4a;
    --navy-light: #243656;
    --navy-dark: #111d35;
    --accent: #4a9eff;
    --accent-dim: #3a7fd4;
    --gold: #d4a853;
    --text: #2d2d2d;
    --text-light: #5a5a5a;
    --text-muted: #888;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --bg-dark: #0f1923;
    --border: #e2e8f0;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-brand span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-cta {
    background: var(--navy);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius);
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--navy-light) !important;
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

/* ==========================================
   HERO
   ========================================== */

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #eef3fb 50%, #f0f4f8 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    background: rgba(74, 158, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-dim);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

.hero-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-frame {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(74, 158, 255, 0.1);
    margin-bottom: 24px;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.photo-stats {
    display: flex;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   SECTION HEADERS
   ========================================== */

.section-header {
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
}

/* ==========================================
   ABOUT
   ========================================== */

.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight-card {
    background: var(--bg-alt);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.highlight-icon {
    font-size: 24px;
    margin-bottom: 12px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.08);
    border-radius: 12px;
}

.highlight-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

.highlight-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ==========================================
   SERVICES
   ========================================== */

.services {
    padding: 100px 0;
    background: var(--bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.service-card {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.service-number {
    font-size: 42px;
    font-weight: 800;
    color: rgba(74, 158, 255, 0.15);
    line-height: 1;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.service-card > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 13px;
    color: var(--text);
    padding: 4px 0 4px 18px;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================
   RESULTS
   ========================================== */

.results {
    padding: 100px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.result-card {
    background: var(--navy);
    padding: 36px;
    border-radius: var(--radius-lg);
    color: #fff;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.result-metric {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.result-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.result-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

/* ==========================================
   EXPERIENCE TIMELINE
   ========================================== */

.experience {
    padding: 100px 0;
    background: var(--bg-alt);
}

.timeline {
    position: relative;
    padding-left: 40px;
    margin-bottom: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -36px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--border);
}

.timeline-item.current .timeline-marker {
    background: var(--accent);
    box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px rgba(74, 158, 255, 0.2);
}

.timeline-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.timeline-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.timeline-company {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.certs-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.cert-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: #fff;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.cert-badge.primary {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* ==========================================
   INSIGHTS / BLOG
   ========================================== */

.insights {
    padding: 100px 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.insight-card {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.insight-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.insight-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.insight-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.insight-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
}

.insight-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.insight-link:hover {
    color: var(--navy);
}

/* ==========================================
   ENGAGE / CONTACT
   ========================================== */

.engage {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: #fff;
}

.engage .section-tag {
    color: var(--gold);
}

.engage .section-header h2 {
    color: #fff;
}

.engage-text {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 40px;
}

.engage-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.engage-option {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 28px;
    border-radius: var(--radius-lg);
}

.engage-option h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.engage-option p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.engage-contact {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.engage .btn-primary {
    background: var(--accent);
    color: #fff;
}

.engage .btn-primary:hover {
    background: #5aabff;
}

.engage .btn-secondary {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.engage .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.engage-note {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    padding: 30px 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-brand span {
    color: var(--accent);
}

.footer p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-sub {
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
    .engage-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero-tagline {
        font-size: 20px;
    }
    .photo-frame {
        width: 200px;
        height: 200px;
    }
    .photo-stats {
        gap: 20px;
    }
    .stat-num {
        font-size: 22px;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .about-highlights {
        grid-template-columns: 1fr;
    }
    .insights-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .engage-contact {
        flex-direction: column;
        align-items: flex-start;
    }
}
