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

:root {
    /* Premium Refined Color Palette */
    --navy-deep: #0B1220;
    --navy-mid: #162336;
    --navy-light: #1E2E4A;
    --navy-slate: #243B5D;
    --off-white: #FAFBFC;
    --pure-white: #FFFFFF;
    --coral: #FF6B57;
    --coral-hover: #FF8575;
    --coral-glow: rgba(255, 107, 87, 0.4);
    --electric-cyan: #00D9F5;
    --cyan-glow: rgba(0, 217, 245, 0.3);
    --text-primary: #0B1220;
    --text-secondary: #4A5568;
    --text-muted: #64748B;
    --text-dark-soft: #334155;
    
    /* Legacy aliases for backwards compatibility */
    --text-dark: #0B1220;
    --off-grey: #F1F5F9;
    --dark-grey: #E2E8F0;
    --cool-gray: #64748B;
    --void-black: #0B1220;
    --bone-white: #FAFBFC;
    --hot-pink: #FF6B57;
    
    /* Smooth Shadows - Multi-layered ambient occlusion */
    --shadow-sm: 0 1px 2px 0 rgba(11, 18, 32, 0.03), 0 1px 3px 0 rgba(11, 18, 32, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(11, 18, 32, 0.04), 0 2px 4px -2px rgba(11, 18, 32, 0.06), 0 0 0 1px rgba(11, 18, 32, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(11, 18, 32, 0.05), 0 4px 6px -4px rgba(11, 18, 32, 0.07), 0 0 0 1px rgba(11, 18, 32, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(11, 18, 32, 0.06), 0 8px 10px -6px rgba(11, 18, 32, 0.08), 0 0 0 1px rgba(11, 18, 32, 0.02);
    --shadow-2xl: 0 25px 50px -12px rgba(11, 18, 32, 0.12), 0 0 0 1px rgba(11, 18, 32, 0.02);
    --shadow-glow-coral: 0 0 20px var(--coral-glow), 0 0 40px rgba(255, 107, 87, 0.2);
    --shadow-glow-cyan: 0 0 20px var(--cyan-glow), 0 0 40px rgba(0, 217, 245, 0.15);
    
    /* Premium Easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: clamp(16px, 0.9vw + 14px, 18px);
}

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

/* Fluid Typography Scale */
h1, h2, h3, .display {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
}

p {
    max-width: 65ch;
    color: var(--text-secondary);
}

/* Premium Navigation with Glassmorphism */
.nav-strip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease-out-expo), background 0.3s ease;
}

.nav-strip.visible {
    transform: translateY(0);
}

.nav-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 3rem;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.nav-logo {
    font-size: clamp(1.125rem, 1.5vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy-deep);
    text-decoration: none;
    transition: opacity 0.3s var(--ease-out-quart);
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: clamp(2rem, 4vw, 3.5rem);
    list-style: none;
}

.nav-links a {
    color: var(--text-dark-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    position: relative;
    transition: color 0.3s var(--ease-out-quart);
    padding: 0.5rem 0;
}

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

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

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

.nav-cta {
    background: var(--coral);
    color: var(--pure-white);
    padding: 0.65rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-cta:hover {
    background: var(--coral-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-coral), var(--shadow-md);
}

.nav-cta:hover::before {
    opacity: 1;
}

/* Sub-page Specific Layouts */
.content-header {
    padding: clamp(8rem, 12vw, 10rem) clamp(2rem, 5vw, 4rem) clamp(3rem, 5vw, 4rem);
    max-width: 1200px;
    margin: 0 auto;
}

.content-header h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    margin-bottom: 1.5rem;
}

.content-header h1 .highlight {
    color: var(--coral);
}

.content-body {
    padding: clamp(3rem, 5vw, 4rem);
    max-width: 1200px;
    margin: 0 auto;
}

.prose {
    font-size: 1.1rem;
}

.prose p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.prose h2 {
    margin: 4rem 0 1.5rem;
    font-size: clamp(1.75rem, 2.5vw, 2.5rem);
    color: var(--navy-deep);
    font-weight: 700;
}

.prose h3 {
    margin: 3rem 0 1rem;
    font-size: clamp(1.35rem, 1.8vw, 1.8rem);
    color: var(--coral);
    font-weight: 700;
}

/* Sections */
.section {
    padding: clamp(6rem, 10vw, 10rem) clamp(2rem, 5vw, 4rem);
    position: relative;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1.25rem;
    display: block;
}

/* Hero Section with Glowing Radial Gradients */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--navy-deep);
    overflow: hidden;
    padding: clamp(3rem, 8vw, 6rem);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(0, 217, 245, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: glow-pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 87, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.05em;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    margin-bottom: 1.75rem;
    max-width: 1000px;
    color: var(--pure-white);
}

.hero h1 .highlight {
    color: var(--navy-deep);
    background: var(--electric-cyan);
    display: inline-block;
    padding: 0.1em 0.3em;
    border-radius: 6px;
    box-shadow: var(--shadow-glow-cyan);
}

/* Cards & Grid */
.grid-brutal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.card-brutal {
    background: var(--pure-white);
    border: 1px solid rgba(11, 18, 32, 0.06);
    border-radius: 16px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.card-brutal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral) 0%, var(--electric-cyan) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.card-brutal:hover {
    border-color: rgba(11, 18, 32, 0.1);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.card-brutal:hover::before {
    transform: scaleX(1);
}

.card-brutal h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-deep);
}

.card-brutal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.card-brutal.accent {
    border: 1px solid rgba(0, 217, 245, 0.3);
    background: rgba(0, 217, 245, 0.03);
}

/* Premium Buttons */
.btn-brutal {
    padding: 1.2rem 2.25rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 2px solid var(--navy-mid);
    color: var(--navy-mid);
    background: transparent;
    border-radius: 10px;
    transition: all 0.35s var(--ease-out-expo);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-brutal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-brutal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-brutal:hover::before {
    opacity: 1;
}

.btn-brutal.primary {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--pure-white);
}

.btn-brutal.primary:hover {
    background: var(--coral-hover);
    box-shadow: var(--shadow-glow-coral);
}

/* Premium Footer */
footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5rem 4rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--coral), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-grid h3 {
    color: var(--pure-white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-grid h4 {
    color: var(--pure-white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-link-list {
    list-style: none;
}

.footer-link-list li {
    margin-bottom: 0.75rem;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s var(--ease-out-quart);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-link-list a:hover {
    color: var(--coral);
}

.footer-bottom {
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    text-align: center;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States - Premium Accessible Focus Rings */
a:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 87, 0.3);
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav-content {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section { padding: 4rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .nav-links { display: none; }
    .content-header { padding-top: 7rem; }
    .content-body { padding: 2rem 1.5rem; }
    .grid-brutal { grid-template-columns: 1fr; }
}
