/* ==========================================================================
   TEN PRINCIPLES PAGE STYLES
   Extracted from ten-principles.html inline <style> block.
   Requires: dark-theme.css (loaded before this file)
   ========================================================================== */

/* Page-specific variable overrides (differ from dark-theme.css defaults) */
.dark-page {
    --principle-glow: rgba(127, 179, 213, 0.3);
    --card-border: rgba(127, 179, 213, 0.15);
    --text-secondary: #e2e8f0;
}

/* Skip navigation link */
.skip-nav {
    position: fixed;
    top: -50px;
    left: 0;
    background: #2c3e50;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-nav:focus {
    top: 0;
}

/* Base dark theme styling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Back-to-top hover (replaces inline JS handlers) */
.back-to-top-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(44, 62, 80, 0.4);
}

/* Footer CC link color (replaces inline style) */
.footer-cc-link {
    color: #7fb3d5;
}

body {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
}

/* Headings use display font, body text uses Outfit */
h1, h2, h3, h4, h5, h6 {
    font-family: "Korolev Bold", 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Hero Section */
.principles-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: radial-gradient(ellipse at center top, rgba(127, 179, 213, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.98) 100%);
}

.principles-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(127, 179, 213, 0.15);
    border: 1px solid var(--card-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.principles-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
}

.principles-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.principles-hero blockquote {
    font-style: italic;
    color: var(--text-secondary);
    max-width: 500px;
    font-size: 1.1rem;
    margin: 30px auto 0;
    padding: 20px;
    border-left: 3px solid var(--accent);
    background: var(--card-bg);
    border-radius: 0 12px 12px 0;
}

.principles-hero blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    color: var(--accent);
}

/* Principles Grid */
.principles-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.principles-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.principle-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #5a9bc4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-8px);
    border-color: #7FB3D5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(127, 179, 213, 0.4);
}

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

.principle-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), #5a9bc4);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.principle-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(127, 179, 213, 0.15);
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--accent);
}

.principle-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-right: 50px;
}

.principle-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Action points - always visible */
.principle-details {
    margin-top: 16px;
}

.principle-details ul {
    padding-left: 20px;
    margin-top: 10px;
}

.principle-details li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}


/* Looking Forward Section */
.looking-forward-section {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.1), rgba(127, 179, 213, 0.05));
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 60px 20px;
}

.looking-forward-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.looking-forward-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.looking-forward-content h2 i {
    color: #9F7AEA;
    margin-right: 8px;
}

.looking-forward-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.looking-forward-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #a8b4d6, #c4d4e8);
    color: #0f172a;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.looking-forward-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(159, 122, 234, 0.3);
}

/* Bottom Line Section */
.bottom-line-section {
    background: linear-gradient(135deg, rgba(127, 179, 213, 0.1), rgba(127, 179, 213, 0.03));
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 80px 20px;
    text-align: center;
}

.bottom-line-content {
    max-width: 800px;
    margin: 0 auto;
}

.bottom-line-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.bottom-line-content blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    border-left: 4px solid var(--accent);
    padding-left: 24px;
    text-align: left;
    margin: 0 0 30px;
}

.gardener-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-muted);
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    margin-top: 30px;
}

/* Role Cards */
.roles-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

.roles-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

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

.role-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.role-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.role-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.role-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-bg);
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--accent), #5a9bc4);
    color: #0f172a;
}

.cta-btn.primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px var(--principle-glow);
}

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

.cta-btn.secondary:hover {
    background: rgba(127, 179, 213, 0.1);
}

@media (max-width: 768px) {
    .principle-card h3 {
        padding-right: 40px;
    }

    .principle-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}
