:root {
    --navy: #0a1628;
    --navy-light: #0f1d32;
    --navy-lighter: #162544;
    --ocean: #0891b2;
    --ocean-light: #22d3ee;
    --ocean-dark: #0e7490;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--navy);
    color: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0;
}

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

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-light) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark svg {
    width: 18px;
    height: 18px;
    stroke: white;
}

.logo .partners {
    color: var(--ocean-light);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocean-light);
    transition: width 0.3s ease;
}

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

.nav-cta {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(8, 145, 178, 0.5);
    color: var(--ocean-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--ocean);
    border-color: var(--ocean);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    top: -30%;
    right: -15%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle at 30% 30%, rgba(8, 145, 178, 0.35) 0%, rgba(34, 211, 238, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: blobFloat 25s ease-in-out infinite;
    pointer-events: none;
}

.hero-blob-2 {
    position: absolute;
    bottom: -40%;
    left: -25%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle at 70% 70%, rgba(8, 145, 178, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(100px);
    animation: blobFloat2 30s ease-in-out infinite;
    pointer-events: none;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(-40px, 50px) scale(1.05) rotate(5deg); }
    50% { transform: translate(30px, -30px) scale(0.95) rotate(-5deg); }
    75% { transform: translate(-20px, -40px) scale(1.02) rotate(3deg); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.1); }
    66% { transform: translate(-40px, 30px) scale(0.9); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(8, 145, 178, 0.1);
    border: 1px solid rgba(8, 145, 178, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ocean-light);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--ocean-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--ocean-light) 0%, var(--ocean) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.4);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
}

.hero-visual {
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

.hero-illustration svg {
    width: 100%;
    height: auto;
}

.node {
    fill: var(--ocean-light);
    filter: drop-shadow(0 0 6px var(--ocean-light));
    transform-origin: center;
    transform-box: fill-box;
    animation: nodePulse 2.5s ease-in-out infinite;
}

.node:nth-child(odd) { animation-delay: -1.25s; }
.node:nth-child(3n) { animation-delay: -0.8s; }

.line {
    stroke: var(--ocean-light);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 3px var(--ocean));
    animation: lineGlow 3s ease-in-out infinite;
}

.line:nth-child(3n) { animation-delay: -1s; }
.line:nth-child(3n+1) { animation-delay: -2s; }
.line:nth-child(3n+2) { animation-delay: -0.5s; }

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
        filter: drop-shadow(0 0 4px var(--ocean-light));
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        filter: drop-shadow(0 0 12px var(--ocean-light));
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.3;
        stroke-width: 1;
        filter: drop-shadow(0 0 2px var(--ocean));
    }
    50% {
        opacity: 0.8;
        stroke-width: 2;
        filter: drop-shadow(0 0 6px var(--ocean-light));
    }
}

/* Metrics Bar */
.metrics-bar {
    background: var(--navy-light);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 48px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ocean-light);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ocean);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--ocean);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-text {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--navy);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.9;
    margin-bottom: 24px;
}

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

.about-visual {
    position: relative;
}

.about-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean), var(--ocean-light));
}

.about-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.2) 0%, rgba(8, 145, 178, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.about-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--ocean-light);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-card p {
    color: var(--gray-400);
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.about-stat {
    background: rgba(8, 145, 178, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.about-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ocean-light);
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Focus Areas Section */
.focus {
    background: var(--navy-light);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.focus-card {
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.focus-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.focus-card:hover {
    border-color: rgba(8, 145, 178, 0.3);
    transform: translateY(-4px);
}

.focus-card:hover::after {
    opacity: 1;
}

.focus-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15) 0%, rgba(8, 145, 178, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.focus-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--ocean-light);
}

.focus-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.focus-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Process Section */
.process {
    background: var(--navy);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--ocean) 0%, var(--ocean-light) 50%, var(--ocean) 100%);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--navy-light);
    border: 2px solid var(--ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-light);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Model Section */
.model {
    background: var(--navy-light);
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.model-card {
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 44px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover {
    border-color: rgba(8, 145, 178, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.model-card:hover::before {
    opacity: 1;
}

.model-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.model-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.model-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.model-card p {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* Philosophy Section */
.philosophy {
    background: var(--navy);
    overflow: hidden;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.philosophy-text p {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 20px;
}

.philosophy-list {
    list-style: none;
    margin-top: 32px;
}

.philosophy-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--gray-300);
}

.philosophy-list li svg {
    width: 24px;
    height: 24px;
    stroke: var(--ocean-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.philosophy-visual {
    position: relative;
}

.philosophy-quote {
    background: var(--navy-light);
    border-left: 4px solid var(--ocean);
    padding: 40px;
    border-radius: 0 16px 16px 0;
}

.philosophy-quote blockquote {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--white);
}

.philosophy-quote cite {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-style: normal;
}

/* Contact Section */
.contact {
    background: var(--navy-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.contact-info p {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-info a {
    color: var(--ocean-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--white);
}

.contact-cta {
    background: var(--navy);
    border-radius: 20px;
    padding: 48px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-cta p {
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Footer */
footer {
    background: var(--navy);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 20px;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--ocean-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-legal {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.footer-legal a {
    color: var(--gray-500);
    text-decoration: none;
    margin-left: 24px;
}

.footer-legal a:hover {
    color: var(--ocean-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .philosophy-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        display: none;
    }

    .focus-grid,
    .model-grid {
        grid-template-columns: 1fr;
    }

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

    .process-grid::before {
        display: none;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .section-header {
        text-align: center;
    }

    .section-label {
        justify-content: center;
    }

    .section-label::before {
        display: none;
    }

    /* About section mobile */
    .about-content {
        text-align: center;
    }

    .about-card {
        text-align: center;
    }

    .about-card-icon {
        margin-left: auto;
        margin-right: auto;
    }

    /* Focus cards mobile */
    .focus-card {
        text-align: center;
    }

    .focus-icon {
        margin-left: auto;
        margin-right: auto;
    }

    /* Model cards mobile */
    .model-card {
        text-align: center;
    }

    .model-icon {
        margin-left: auto;
        margin-right: auto;
    }

    /* Philosophy mobile */
    .philosophy-text {
        text-align: center;
    }

    .philosophy-list li {
        justify-content: center;
        text-align: left;
    }

    .philosophy-quote {
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--ocean);
        border-radius: 0 0 16px 16px;
    }

    /* Contact mobile */
    .contact .section-header {
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-cta {
        text-align: center;
    }

    .contact-cta .btn-primary {
        margin-left: auto;
        margin-right: auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
