/* DecisionMotion Styles */

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

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

:root {
    --navy: #0f1419;
    --gold: #f4b643;
    --light-gold: #fdf6e9;
    --text-primary: #0f1419;
    --text-secondary: #536471;
    --text-light: #8b98a5;
    --bg-white: #ffffff;
    --bg-off-white: #fafbfc;
    --border: #eff3f4;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Neural network background */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.neural-connection {
    stroke: #f4b643;
    stroke-width: 1;
    fill: none;
    stroke-linecap: round;
    opacity: 0.3;
    filter: blur(0px);
    transition: filter 3s ease, opacity 3s ease;
}

.neural-connection.blurred {
    filter: blur(3px);
    opacity: 0.15;
}

@keyframes tracePath {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.fcc-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 32px;
    border-left: 1px solid var(--border);
}

.fcc-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 32px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s ease;
}

.fcc-link:hover {
    color: var(--text-primary);
}

.fcc-link:hover::after {
    width: calc(100% - 32px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px 80px;
    background: var(--bg-white);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-inner {
    max-width: 1100px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 0.95;
    margin-bottom: 32px;
    color: var(--text-primary);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: -0.2px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.1s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Section */
.main-section {
    padding: 120px 48px;
    background: var(--bg-off-white);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Content blocks */
.content-block {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.6s ease forwards;
}

.content-block:last-child {
    margin-bottom: 0;
}

/* Headers and text */
.section-title {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.section-lead {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin-bottom: 32px;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    letter-spacing: -0.2px;
    margin-bottom: 24px;
}

.section-text:last-child {
    margin-bottom: 0;
}

/* Divider */
.divider {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 48px 0;
    border-radius: 2px;
}

/* Cornerstones */
.cornerstones-container {
    margin-top: 80px;
    display: grid;
    gap: 60px;
}

.cornerstone {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 48px;
    align-items: start;
}

.cornerstone-number {
    width: 80px;
    height: 80px;
    background: var(--light-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--gold);
    flex-shrink: 0;
}

.cornerstone-content {
    max-width: 800px;
}

.cornerstone-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.cornerstone-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    letter-spacing: -0.2px;
}

.cornerstone-text + .cornerstone-text {
    margin-top: 16px;
}

.highlight {
    color: var(--text-primary);
    font-weight: 500;
    background: linear-gradient(180deg, transparent 65%, var(--light-gold) 65%);
    padding: 0 2px;
}

/* Final section */
.final-text {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 1px solid var(--border);
}

.linkedin-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.linkedin-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 20px 24px;
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
    }

    .fcc-link {
        padding-left: 20px;
    }

    .fcc-link::after {
        left: 20px;
        width: calc(100% - 20px);
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-title {
        letter-spacing: -2px;
    }

    .main-section {
        padding: 80px 24px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-lead {
        font-size: 20px;
    }

    .cornerstone {
        grid-template-columns: 60px 1fr;
        gap: 24px;
    }

    .cornerstone-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .cornerstone-title {
        font-size: 24px;
    }

    .cornerstones-container {
        margin-top: 60px;
        gap: 40px;
    }

    .final-text {
        margin-top: 60px;
        padding-top: 40px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--light-gold);
    color: var(--text-primary);
}