:root {
    --navy: #0a192f;
    --navy-light: #112240;
    --teal: #008080;
    --teal-light: #00a0a0;
    --accent: #64ffda;
    --white: #e6f1ff;
    --slate: #8892b0;
    --slate-light: #a8b2d1;
    --background: #ffffff;
    --text-main: #0a192f;
    --text-muted: #4a5568;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --container-width: 1100px;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.punchline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    border-left: 4px solid var(--teal);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
}

/* Navigation */
header {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--teal);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.tagline {
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.subline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--navy);
    transform: translateY(-2px);
}

/* Placeholders */
.placeholder-container {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 500;
    margin: 2rem 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.hero-placeholder {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.05) 0%, transparent 100%), #e2e8f0;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 800px;
}

/* Domain Layers Icons */
.layers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.layer-card {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.layer-card:hover {
    border-color: var(--teal);
    background: white;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
}

.layer-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--teal);
}

/* Lifecycle Diagram */
.lifecycle-container {
    margin: 4rem 0;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.pipeline {
    display: flex;
    min-width: 800px;
    position: relative;
}

.stage {
    flex: 1;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.stage-title {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stage-content {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pipeline-line {
    height: 4px;
    background: #e2e8f0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 0;
}

.pipeline-node {
    width: 20px;
    height: 20px;
    background: var(--teal);
    border: 4px solid white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(0, 128, 128, 0.1);
}

.stage:not(:last-child) .pipeline-line {
    background: linear-gradient(to right, var(--teal), #e2e8f0);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

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

.footer-column a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

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

.footnote {
    font-size: 0.8rem;
    color: var(--slate);
    margin-top: 2rem;
}

.footnote a {
    color: inherit;
    text-decoration: underline;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 3rem 0;
    }
}
