/* Section 3 - Digital Ethics & Responsibility Styles */
/* Inheriting the Poolside aesthetic with ethics-focused adaptations */

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

:root {
    /* Poolside Color System */
    --bg-primary: #0a0f1c;
    --bg-secondary: #1a1f2e;
    --bg-card: rgba(26, 31, 46, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b4b8c5;
    --text-muted: #6b7280;
    
    /* Accent Colors */
    --accent-primary: #4f46e5;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
    --border-subtle: rgba(79, 70, 229, 0.2);
    
    /* Gradient System Variables */
    --scroll-progress: 0;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --gradient-angle: 45deg;
    --gradient-size: 400%;
    --dynamic-gradient: linear-gradient(45deg, #0a0f1c 0%, #1a1f2e 25%, #2a1f3e 50%, #1a2f4e 75%, #0a1f2c 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    margin-top: 0;
    padding-top: 0;
    position: relative;
}

/* Dynamic Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dynamic-gradient, linear-gradient(
        45deg,
        #0a0f1c 0%,
        #1a1f2e 25%,
        #2a1f3e 50%,
        #1a2f4e 75%,
        #0a1f2c 100%
    ));
    background-size: var(--gradient-size, 400%) var(--gradient-size, 400%);
    animation: gradientShift 20s ease infinite;
    z-index: -2;
    pointer-events: none;
    transition: background 0.5s ease;
}

/* Scroll-based gradient overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(139, 92, 246, calc(0.05 + var(--scroll-progress, 0) * 0.05)) 0%,
        rgba(79, 70, 229, calc(0.02 + var(--scroll-progress, 0) * 0.02)) 30%,
        transparent 70%
    );
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.1s ease;
    opacity: calc(0.6 + var(--scroll-progress, 0) * 0.1);
    will-change: background, opacity;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
        transform: rotate(0deg);
    }
    25% {
        background-position: 100% 0%;
        transform: rotate(1deg);
    }
    50% {
        background-position: 100% 100%;
        transform: rotate(0deg);
    }
    75% {
        background-position: 0% 100%;
        transform: rotate(-1deg);
    }
    100% {
        background-position: 0% 50%;
        transform: rotate(0deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-logo a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 3px;
    transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Enhanced hamburger focus styles */
.hamburger:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile Navigation Styles */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        z-index: 9999; /* Below hamburger but above navbar */
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
        z-index: 10000; /* Highest z-index to stay above mobile menu */
    }
    
    .nav-link {
        font-size: 1.25rem;
        padding: 0.5rem;
        text-align: center;
    }
}

/* Hero Section - Enhanced */
.hero {
    padding: 8rem 0 4rem;
    margin-top: 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-badge {
    margin-top: 5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ethics-color);
    margin-bottom: 1rem;
    width: fit-content;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 540px;
}

/* Hero Action Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--ethics-color);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Enhanced Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(26, 31, 46, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.stat {
    text-align: center;
    position: relative;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    line-height: 1;
}

.stat p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Ethics Insights */
.ethics-insights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.insight-item:hover {
    background: rgba(139, 92, 246, 0.12);
    transform: translateX(8px);
}

.insight-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.insight-item span:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Enhanced Hero Visual - Ethics Ecosystem */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    position: relative;
}

.ethics-ecosystem {
    position: relative;
    width: 380px;
    height: 380px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Central Ethics Core */
.ethics-core {
    position: relative;
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.4);
    z-index: 10;
    margin: 0;
    padding: 0;
}

.core-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    animation: coreIconRotate 20s linear infinite;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: white;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
    padding: 0;
    letter-spacing: 0.02em;
}

@keyframes coreIconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Principle Orbits */
.principle-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 50%;
    animation: orbitRotate 30s linear infinite;
}

.principle-orbit[data-orbit="1"] {
    width: 112px;
    height: 112px;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
}

.principle-orbit[data-orbit="2"] {
    width: 154px;
    height: 154px;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
    animation-direction: reverse;
}

.principle-orbit[data-orbit="3"] {
    width: 196px;
    height: 196px;
    transform: translate(-50%, -50%);
    animation-duration: 45s;
}

.principle-orbit[data-orbit="4"] {
    width: 238px;
    height: 238px;
    transform: translate(-50%, -50%);
    animation-duration: 55s;
    animation-direction: reverse;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Principle Nodes */
.principle-node {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid;
    transition: all 0.3s ease;
    animation: nodeCounter 30s linear infinite;
}

.principle-node[data-orbit="1"] .principle-node {
    animation-duration: 25s;
}

.principle-node[data-orbit="2"] .principle-node {
    animation-duration: 35s;
    animation-direction: reverse;
}

.principle-node[data-orbit="3"] .principle-node {
    animation-duration: 45s;
}

.principle-node[data-orbit="4"] .principle-node {
    animation-duration: 55s;
    animation-direction: reverse;
}

@keyframes nodeCounter {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(-360deg); }
}

.principle-node.respect {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--ethics-color);
}

.principle-node.responsibility {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--responsibility-color);
}

.principle-node.privacy {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--tips-color);
}

.principle-node.safety {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--dilemmas-color);
}

.node-icon {
    font-size: 1.25rem;
    margin-bottom: 1px;
}

.node-label {
    font-size: 0.55rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

/* Floating Digital Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.4;
    color: var(--text-secondary);
    animation: floatGentle 6s ease-in-out infinite;
    pointer-events: none;
    will-change: transform;
}

.floating-icon[data-delay="0s"] {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.floating-icon[data-delay="1s"] {
    top: 70%;
    right: 20%;
    animation-delay: 1s;
}

.floating-icon[data-delay="2s"] {
    bottom: 15%;
    left: 25%;
    animation-delay: 2s;
}

.floating-icon[data-delay="3s"] {
    top: 25%;
    right: 15%;
    animation-delay: 3s;
}

.floating-icon[data-delay="4s"] {
    bottom: 40%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(0, -8px) scale(1.05);
        opacity: 0.8;
    }
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.3), transparent);
    transform-origin: left center;
    animation: lineRotate 20s linear infinite;
}

.connection-line[data-line="1"] {
    width: 100px;
    animation-delay: 0s;
}

.connection-line[data-line="2"] {
    width: 140px;
    animation-delay: 5s;
}

.connection-line[data-line="3"] {
    width: 180px;
    animation-delay: 10s;
}

.connection-line[data-line="4"] {
    width: 220px;
    animation-delay: 15s;
}

@keyframes lineRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hero Visual - Ethics Shield */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Topic Sections */
.topic-section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.topic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    pointer-events: none;
    transition: background 0.5s ease;
}

/* Ethics Section - Solid Background */
.ethics-section {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ethics-section::before {
    background: transparent;
}

/* Responsibility Section - Different Background */
.responsibility-section {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.responsibility-section::before {
    background: transparent;
}

.topic-header {
    text-align: center;
}

.topic-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 2px solid;
}

.topic-tag.ethics {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--ethics-color);
    color: var(--ethics-color);
}

.topic-tag.responsibility {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--responsibility-color);
    color: var(--responsibility-color);
}

.topic-tag.tips {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--tips-color);
    color: var(--tips-color);
}

.topic-tag.dilemmas {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--dilemmas-color);
    color: var(--dilemmas-color);
}

.topic-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.topic-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Ethics Framework */
.ethics-framework {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ethics-framework h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.principle-card {
    background: rgba(26, 31, 46, 0.9);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.principle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.principle-card:nth-child(1) {
    border-color: rgba(139, 92, 246, 0.4);
}

.principle-card:nth-child(1):hover {
    transform: translateY(-4px);
    border-color: var(--ethics-color);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.principle-card:nth-child(2) {
    border-color: rgba(16, 185, 129, 0.4);
}

.principle-card:nth-child(2):hover {
    transform: translateY(-4px);
    border-color: var(--responsibility-color);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.principle-card:nth-child(3) {
    border-color: rgba(239, 68, 68, 0.4);
}

.principle-card:nth-child(3):hover {
    transform: translateY(-4px);
    border-color: var(--dilemmas-color);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.3);
}

.principle-card:nth-child(4) {
    border-color: rgba(245, 158, 11, 0.4);
}

.principle-card:nth-child(4):hover {
    transform: translateY(-4px);
    border-color: var(--tips-color);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

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

.principle-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.principle-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ethics-color);
}

.principle-card > p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.principle-examples {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.principle-examples h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.principle-examples ul {
    list-style: none;
    padding: 0;
}

.principle-examples li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.principle-examples li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--ethics-color);
    font-weight: bold;
}

/* Ethical Dilemmas */
.ethical-dilemmas {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 1px solid var(--border-subtle);
}

.ethical-dilemmas h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
}

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

.dilemma-scenario {
    background: rgba(26, 31, 46, 0.9);
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.dilemma-scenario:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(239, 68, 68, 0.15);
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
}

.scenario-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.complexity-level {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.complexity-level.high {
    background: rgba(239, 68, 68, 0.2);
    color: var(--threat-high);
    border: 1px solid var(--threat-high);
}

.scenario-content {
    padding: 2rem;
}

.scenario-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.sides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.side {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.side h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.side ul {
    list-style: none;
    padding: 0;
}

.side li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--responsibility-color);
    font-weight: bold;
}

.cons li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--threat-high);
}

.ethical-questions {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-top: 1.5rem;
}

.ethical-questions h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ethics-color);
}

.ethical-questions ul {
    list-style: none;
    padding: 0;
}

.ethical-questions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.ethical-questions li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--ethics-color);
    font-weight: bold;
}

/* Action item completion animations */
@keyframes completionPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); background: rgba(16, 185, 129, 0.1); }
    100% { transform: scale(1); }
}

@keyframes checkboxCheck {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Enhanced action item styles */
.action-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    background: var(--bg-card);
    cursor: pointer;
}

.action-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.action-item.completed {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.action-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    accent-color: var(--responsibility-color);
    cursor: pointer;
    transform: scale(1.2);
}

.action-item input[type="checkbox"]:checked {
    animation: checkboxCheck 0.3s ease-out;
}

.action-item label {
    flex: 1;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.action-item.completed label {
    color: var(--responsibility-color);
}

/* Progress bar enhancements */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(75, 85, 99, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--responsibility-color));
    border-radius: 4px;
    transition: width 0.5s ease, background 0.3s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Threat card enhancements - removed as no longer needed */

/* Enhanced Digital Responsibility Pillars */
.citizenship-framework {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border: 1px solid var(--border-subtle);
}

.citizenship-framework h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pillar {
    background: rgba(26, 31, 46, 0.9);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.pillar.digital-respect {
    border-color: rgba(139, 92, 246, 0.4);
}

.pillar.digital-respect:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.1);
}

.pillar.information-literacy {
    border-color: rgba(6, 182, 212, 0.4);
}

.pillar.information-literacy:hover {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 
        0 20px 40px rgba(6, 182, 212, 0.2),
        0 0 0 1px rgba(6, 182, 212, 0.1);
}

.pillar.digital-participation {
    border-color: rgba(245, 158, 11, 0.4);
}

.pillar.digital-participation:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 
        0 20px 40px rgba(245, 158, 11, 0.2),
        0 0 0 1px rgba(245, 158, 11, 0.1);
}

.pillar.digital-protection {
    border-color: rgba(16, 185, 129, 0.4);
}

.pillar.digital-protection:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 
        0 20px 40px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(79, 70, 229, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pillar:hover::before {
    opacity: 1;
}

.pillar:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(79, 70, 229, 0.6);
    box-shadow: 
        0 20px 40px rgba(79, 70, 229, 0.2),
        0 0 0 1px rgba(79, 70, 229, 0.1);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pillar-icon {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.digital-respect .pillar-icon {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.digital-respect:hover .pillar-icon {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.1);
}

.information-literacy .pillar-icon {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

.information-literacy:hover .pillar-icon {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.5);
    transform: scale(1.1);
}

.digital-participation .pillar-icon {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.digital-participation:hover .pillar-icon {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
    transform: scale(1.1);
}

.digital-protection .pillar-icon {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.digital-protection:hover .pillar-icon {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.1);
}

.pillar h4 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.pillar-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

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

.action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.action-item:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.3);
    color: var(--text-primary);
    transform: translateX(8px);
}

.action-arrow {
    color: var(--responsibility-color);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.action-item:hover .action-arrow {
    color: var(--ethics-color);
    transform: translateX(4px);
}

/* Specific pillar color themes */
.pillar.digital-respect {
    border-color: rgba(139, 92, 246, 0.3);
}

.pillar.digital-respect:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.1);
}

.pillar.digital-respect .pillar-icon {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.pillar.digital-respect:hover .pillar-icon {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

.pillar.information-literacy {
    border-color: rgba(16, 185, 129, 0.3);
}

.pillar.information-literacy:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 
        0 20px 40px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
}

.pillar.information-literacy .pillar-icon {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.pillar.information-literacy:hover .pillar-icon {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
}

.pillar.digital-participation {
    border-color: rgba(245, 158, 11, 0.3);
}

.pillar.digital-participation:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 
        0 20px 40px rgba(245, 158, 11, 0.2),
        0 0 0 1px rgba(245, 158, 11, 0.1);
}

.pillar.digital-participation .pillar-icon {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.pillar.digital-participation:hover .pillar-icon {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
}

.pillar.digital-protection {
    border-color: rgba(239, 68, 68, 0.3);
}

.pillar.digital-protection:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 
        0 20px 40px rgba(239, 68, 68, 0.2),
        0 0 0 1px rgba(239, 68, 68, 0.1);
}

.pillar.digital-protection .pillar-icon {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.pillar.digital-protection:hover .pillar-icon {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Tips & Strategies Section */
.tips-strategies {
    margin: 4rem 0;
}

.tips-strategies h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Essential Tips & Strategies */
.tips-strategies {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    border: 1px solid var(--border-subtle);
}

.tips-strategies h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tip-card:hover::before {
    left: 100%;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.2);
}

.tip-card.security:hover {
    border-color: var(--responsibility-color);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

.tip-card.respect:hover {
    border-color: var(--ethics-color);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

.tip-card.boundaries:hover {
    border-color: #ef4444;
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.2);
}

.tip-card.mindful:hover {
    border-color: #f59e0b;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(79, 70, 229, 0.2));
}

.tip-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.tip-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Security incident response steps */
.response-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    border-color: var(--security-color);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.step-number {
    position: absolute;
    top: -10px;
    left: 1.5rem;
    background: var(--security-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step-content h4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content li {
    padding: 0.4rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.2rem;
}

.step-content li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--security-color);
    font-weight: bold;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .threats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .response-steps {
        grid-template-columns: 1fr;
    }
    
    .action-categories {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 1.5rem !important;
    }
    
    .sides {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .tips-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 1.5rem !important;
    }
    
    .scenario-header {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
    }
    
    .scenario-header h4 {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
  .principle-card,
  .tip-card {
    padding: 1.5rem !important;
  }
  
  .scenario-content {
    padding: 1.5rem !important;
  }
  
  .side {
    padding: 1rem !important;
  }
}

/* Section Navigation - Enhanced Responsive */
.section-navigation {
    padding: 3rem 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.section-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(64, 81, 144, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.nav-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.nav-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-height: 120px;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-card:hover::before {
    left: 100%;
}

.nav-card:hover {
    background: linear-gradient(135deg, rgba(64, 81, 144, 0.3) 0%, rgba(45, 56, 98, 0.3) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(100, 149, 237, 0.3);
}

.nav-card.back {
    justify-content: flex-start;
    flex-direction: row;
}

.nav-card.next {
    justify-content: flex-end;
    flex-direction: row;
}

.nav-icon {
    font-size: 2rem;
    font-weight: 300;
    color: #6495ed;
    flex-shrink: 0;
    background: linear-gradient(135deg, #6495ed, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(100, 149, 237, 0.3);
    transition: all 0.3s ease;
}

.nav-card:hover .nav-icon {
    transform: scale(1.2);
    text-shadow: 0 0 30px rgba(100, 149, 237, 0.5);
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav-card.back .nav-content {
    align-items: flex-start;
    text-align: left;
}

.nav-card.next .nav-content {
    align-items: flex-end;
    text-align: right;
}

.nav-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
    font-family: var(--font-primary);
}

.nav-card:hover .nav-content h3 {
    color: #e6f3ff;
}

.nav-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.nav-card:hover .nav-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Desktop Layout */
@media (min-width: 768px) {
    .nav-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .nav-card {
        min-height: 120px;
    }
}

/* Enhanced Hover Effects for Desktop */
@media (min-width: 1024px) {
    .nav-card:hover {
        transform: translateY(-6px) scale(1.03);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .nav-card {
        transition: none;
    }
    
    .nav-card:hover {
        transform: none;
    }
    
    .nav-card::before,
    .nav-card:hover::before {
        display: none;
    }
}

/* Footer Styles */
.section-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .section-footer {
        padding: 2rem 0 1rem;
    }
}

/* Purpose and Values Section - Enhanced Design */
.purpose-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, 
        #0a0f1c 0%, 
        #1a1f2e 25%, 
        #0d1117 50%, 
        #1a1f2e 75%, 
        #0a0f1c 100%);
    overflow: hidden;
}

.purpose-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    z-index: 1;
}

.purpose-section .container {
    position: relative;
    z-index: 2;
}

.purpose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 600px;
}

/* Purpose Text Content */
.purpose-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.purpose-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.question-icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    flex-shrink: 0;
    margin-top: 10px;
}

.purpose-question {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff, #b4b8c5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.purpose-statement {
    background: rgba(26, 31, 46, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.purpose-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.5), transparent);
}

.purpose-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #8b5cf6;
    margin-bottom: 20px;
}

.purpose-badge .badge-icon {
    font-size: 1.1rem;
}

.purpose-main-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Purpose Highlights */
.purpose-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(26, 31, 46, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.highlight-item:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 70, 229, 0.4);
    background: rgba(79, 70, 229, 0.1);
}

.highlight-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.highlight-item span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Purpose Visual */
.purpose-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.purpose-image {
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(79, 70, 229, 0.2));
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.purpose-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 25px 50px rgba(79, 70, 229, 0.3));
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    background: rgba(26, 31, 46, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float-gentle 6s ease-in-out infinite;
    will-change: transform;
}

.floating-element.ethics {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.floating-element.privacy {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.floating-element.security {
    top: 30%;
    left: 5%;
    animation-delay: 4s;
}

.floating-element.respect {
    bottom: 10%;
    right: 20%;
    animation-delay: 6s;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes float-gentle {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-8px) scale(1.05);
        opacity: 1;
    }
}

@keyframes float-around {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.8;
    }
            50% { 
        transform: translateY(-10px) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.8;
    }
}

/* Enhanced Animation Support for Scroll Reveal */

/* Base animation states for scroll reveal */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) rotateX(0) !important;
}

/* Specific element animations */
.tip-card, .principle-card, .pillar, .insight-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tip-icon, .principle-icon, .pillar-icon {
    transition: all 0.2s ease;
}

/* Navigation scroll effects */
.navbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(79, 70, 229, 0.3);
}

/* Enhanced tip card hover animations */
.tip-card:hover .tip-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(79, 70, 229, 0.3));
}

/* Principle card glow effect */
.principle-card:hover .principle-icon {
    filter: brightness(1.3) drop-shadow(0 0 15px currentColor);
}

/* Ethics core pulsing animation */
.ethics-core {
    animation: ethics-core-pulse 3s ease-in-out infinite;
}

@keyframes ethics-core-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        filter: brightness(1);
        box-shadow: 0 0 30px rgba(79, 70, 229, 0.4);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05);
        filter: brightness(1.2);
        box-shadow: 0 0 40px rgba(79, 70, 229, 0.6);
    }
}

/* Floating orbit animations */
.principle-node {
    animation: orbit-float 4s ease-in-out infinite;
}

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

/* Connection line drawing animation */
.connection-line {
    opacity: 0;
    stroke-dasharray: 0, 1000;
    animation: line-draw 2s ease-in-out forwards;
}

@keyframes line-draw {
    0% { 
        stroke-dasharray: 0, 1000;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        stroke-dasharray: 1000, 0;
        opacity: 1;
    }
}

/* Tip icon bounce animation */
@keyframes tip-icon-bounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-3deg); }
    50% { transform: scale(1.15) rotate(0deg); }
    75% { transform: scale(1.1) rotate(3deg); }
}

/* Principle icon glow animation */
@keyframes principle-icon-glow {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.4) drop-shadow(0 0 20px currentColor); }
    100% { filter: brightness(1); }
}

/* Parallax and scroll progress */
:root {
    --scroll-progress: 0;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .reduced-motion *,
    .reduced-motion *::before,
    .reduced-motion *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .ethics-core,
    .principle-node,
    .floating-icon,
    .floating-element {
        animation: none !important;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* Enhanced focus styles for accessibility */
.tip-card:focus-visible,
.principle-card:focus-visible,
.pillar:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Progressive enhancement for better performance */
.js-enabled .animate-element {
    opacity: 0;
    transform: translateY(60px);
}

.js-enabled .animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Loading state animations */
.loading .tip-card,
.loading .principle-card,
.loading .pillar {
    opacity: 0.5;
    pointer-events: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .tip-card,
    .principle-card,
    .pillar {
        border-width: 2px;
        border-style: solid;
    }
    
    .tip-icon,
    .principle-icon,
    .pillar-icon {
        filter: contrast(1.5);
    }
}

/* Print styles */
@media print {
    .hero-visual,
    .floating-elements,
    .ethics-ecosystem {
        display: none;
    }
    
    .tip-card,
    .principle-card,
    .pillar {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Enhanced animation performance */
.tip-card,
.principle-card,
.pillar,
.insight-item {
    will-change: transform, opacity;
}

.tip-card:hover,
.principle-card:hover,
.pillar:hover {
    will-change: auto;
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 20%, var(--ethics-color) 50%, var(--border-subtle) 80%, transparent 100%);
    margin: 4rem 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--ethics-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* Section 3 - Responsive Styles */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
    gap: 2rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-visual {
    margin: 0 auto;
    order: 2;
  }
  .principle-orbit {
    order: 3;
    margin-top: 2rem;
  }
  .purpose-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .purpose-text, .purpose-visual {
    transform: none !important;
    animation: fadeInUp 0.4s ease-out forwards;
  }
  
  .purpose-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .question-icon {
    font-size: 2rem;
  }
  
  .purpose-question {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 0 40px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .purpose-section {
    padding: 60px 0;
  }
  .purpose-question {
    font-size: 1.5rem;
  }
  .hero-visual, .principle-orbit, .purpose-visual {
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .purpose-content {
    gap: 1.5rem !important;
    min-height: auto !important;
    padding: 1rem 0;
  }
  
  .purpose-highlights {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .highlight-item {
    justify-content: center;
  }
}

/* Mobile-optimized animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
