/* CSS Variables and Color Palette */
:root {
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --bg-primary: #0A0A0A;
    --bg-secondary: #1A1A1A;
    --accent: #FF6B35;
    --border: #2A2A2A;
    --manifesto-bg: #FFFFFF;
    --manifesto-text: #1A1A1A;
}

/* Dynamic principle colors */
body.principle-1 { --manifesto-bg: #EF4444; --manifesto-text: #FFFFFF; }
body.principle-2 { --manifesto-bg: #F59E0B; --manifesto-text: #FFFFFF; }
body.principle-3 { --manifesto-bg: #10B981; --manifesto-text: #FFFFFF; }
body.principle-4 { --manifesto-bg: #3B82F6; --manifesto-text: #FFFFFF; }
body.principle-5 { --manifesto-bg: #8B5CF6; --manifesto-text: #FFFFFF; }
body.principle-6 { --manifesto-bg: #EC4899; --manifesto-text: #FFFFFF; }
body.principle-7 { --manifesto-bg: #06B6D4; --manifesto-text: #FFFFFF; }
body.principle-8 { --manifesto-bg: #84CC16; --manifesto-text: #FFFFFF; }

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography System */
.hero-statement {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 300;
    line-height: 1.1;
}

.section-header {
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 700;
    line-height: 1.1;
}

.principle-text {
    font-size: clamp(60px, 10vw, 100px);
    font-weight: 300;
    line-height: 1.1;
}

.body-text {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
}

.small-text {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 400;
}

/* Fixed Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

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

.logo {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: color 0.3s ease;
}

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

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 40px 160px;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.hero-statement .accent {
    color: var(--accent);
    font-weight: 700;
}

/* Word Animation */
.word {
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
    transition: all 0.6s ease;
    transition-delay: calc(var(--delay) * 0.1s);
}

.word.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Manifesto Section */
.manifesto {
    background-color: var(--manifesto-bg);
    color: var(--manifesto-text);
    padding: 160px 40px;
    transition: all 0.8s ease;
}

.manifesto-content {
    max-width: 1400px;
    margin: 0 auto;
}

.manifesto-intro {
    text-align: center;
    margin-bottom: 120px;
}

.manifesto-intro h2 {
    margin-bottom: 20px;
}

.manifesto-intro p {
    color: var(--manifesto-text);
    opacity: 0.7;
}

.manifesto-list {
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
}

.manifesto-item {
    margin-bottom: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 20px 0;
    text-align: center;
}

.manifesto-item:hover .text {
    transform: translateY(-5px);
    color: #FFD700;
}

.manifesto-item .number {
    font-size: 18px;
    font-weight: 700;
    color: var(--manifesto-text);
    opacity: 0.5;
    display: block;
    margin-bottom: 20px;
}

.manifesto-item .text {
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0;
}

.principle-explanation {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    margin-top: 30px;
    width: 100%;
    text-align: center;
}

.principle-explanation.active {
    max-height: 200px;
    opacity: 1;
}

.explanation-text {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--manifesto-text);
    opacity: 0.8;
}

/* Tools Section */
.tools-progress {
    background-color: var(--bg-primary);
    padding: 160px 40px;
}

.tools-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tools-intro {
    margin-bottom: 100px;
}

.tools-intro h2 {
    margin-bottom: 20px;
}

.tools-intro p {
    color: var(--text-secondary);
}

.tools-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.tool-item {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    border-left: 2px solid var(--border);
    padding-left: 40px;
    position: relative;
}

.tool-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tool-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 20px var(--accent);
}

.tool-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.tool-number {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.tool-tagline {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.tool-tagline .highlight {
    color: var(--accent);
    font-weight: 400;
    position: relative;
    background: linear-gradient(90deg, var(--accent), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-tagline .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #FFD700);
    opacity: 0.3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tool-item:hover .tool-tagline .highlight::after {
    transform: scaleX(1);
}

.tool-status {
    font-size: 16px;
    color: var(--accent);
    font-weight: 400;
    margin-top: 8px;
    opacity: 0.8;
}

.contact-section {
    margin-top: 80px;
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-email {
    font-size: 20px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-email:hover {
    color: #FFD700;
    border-bottom: 1px solid #FFD700;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 80px 40px 40px;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Breakpoints */
@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .nav-content {
        padding: 0 24px;
    }

    .hero,
    .manifesto,
    .tools-progress {
        padding: 80px 24px;
    }

    .principle-explanation {
        margin-top: 25px;
    }

    .tool-item {
        margin-bottom: 40px;
        padding-left: 30px;
    }

    .contact-section {
        margin-top: 60px;
        padding: 30px 20px;
    }

    .footer {
        padding: 80px 24px 40px;
    }

    .principle-text {
        font-size: clamp(36px, 8vw, 60px);
    }
}

@media (max-width: 480px) {
    .principle-text {
        font-size: clamp(28px, 7vw, 45px);
    }

    .principle-explanation {
        margin-top: 20px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }