/* ===== CSS Variables & Light Theme ===== */
:root {
    --navy-primary: #0B2545;
    --navy-light: #1a3a52;
    --cream-bg: #fafaf8;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e8e8e6;
    --accent-green: #22c55e;
    --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--navy-primary);
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--navy-primary);
}

.logo-subtitle {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links {
    display: none;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--navy-primary);
    transition: width 0.3s;
}

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

.nav-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy-primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(11, 37, 69, 0.15);
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--navy-primary);
    border: 2px solid var(--navy-primary);
}

.btn-secondary:hover {
    background: var(--navy-primary);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    padding: 100px 1.5rem 60px;
    background: linear-gradient(135deg, var(--cream-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(11, 37, 69, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(11, 37, 69, 0.08);
    border: 1px solid rgba(11, 37, 69, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.icon-check {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-green);
    flex-shrink: 0;
}

/* ===== Compass Hero Visual ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compass-circle {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-bg);
    border: 2px solid var(--navy-primary);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(11, 37, 69, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.compass-logo {
    width: 60%;
    height: 60%;
}

/* ===== Sections ===== */
section {
    padding: 5rem 1.5rem;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Pillars Section ===== */
.pillars-section {
    background: var(--cream-bg);
}

.pillars-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pillar-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: var(--navy-primary);
    box-shadow: 0 12px 32px rgba(11, 37, 69, 0.1);
}

.pillar-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--navy-primary);
}

.pillar-card:hover .pillar-icon svg {
    stroke: var(--accent-green);
}

.pillar-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.pillar-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pillar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pillar-list li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.pillar-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--navy-primary);
    font-weight: 800;
}

/* ===== Pricing Section ===== */
.pricing-section {
    background: var(--white);
}

.pricing-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.ppp-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 600;
}

.ppp-toggle input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--navy-primary);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--navy-primary);
    box-shadow: 0 12px 32px rgba(11, 37, 69, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--navy-primary);
    box-shadow: 0 12px 40px rgba(11, 37, 69, 0.15);
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
}

.currency {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-primary);
    font-family: var(--font-mono);
}

.period {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    align-self: center;
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-green);
    flex-shrink: 0;
}

/* ===== Research Section ===== */
.research-section {
    background: var(--cream-bg);
}

.research-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.research-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.research-card:hover {
    transform: translateY(-8px);
    border-color: var(--navy-primary);
    box-shadow: 0 12px 32px rgba(11, 37, 69, 0.1);
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.research-tag {
    display: inline-block;
    background: rgba(11, 37, 69, 0.08);
    color: var(--navy-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.research-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

.research-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 0.75rem;
}

.research-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.research-link {
    color: var(--navy-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.research-link:hover {
    color: var(--accent-green);
}

/* ===== Manifesto Section ===== */
.manifesto-section {
    background: var(--white);
}

.manifesto-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.manifesto-card {
    background: var(--cream-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.manifesto-card:hover {
    transform: translateY(-8px);
    border-color: var(--navy-primary);
    box-shadow: 0 12px 32px rgba(11, 37, 69, 0.1);
}

.manifesto-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.manifesto-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

.manifesto-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Social Section ===== */
.social-section {
    background: var(--cream-bg);
}

.social-links {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-items: center;
}

.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    text-decoration: none;
    color: var(--navy-primary);
    transition: all 0.3s;
    font-weight: 600;
}

.social-button svg {
    width: 2rem;
    height: 2rem;
}

.social-button:hover {
    transform: translateY(-8px);
    border-color: var(--navy-primary);
    box-shadow: 0 12px 32px rgba(11, 37, 69, 0.1);
}

/* ===== Footer ===== */
.footer {
    background: var(--navy-primary);
    color: var(--white);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.footer-column p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.footer-mission {
    font-style: italic;
    opacity: 0.8;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-ctas {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
    }
}

/* ===== Utilities ===== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}
