/* Reset and Base Styles */
:root {
    /* Dark Fantasy Theme - Based on background image */
    /* Dark stone and sky colors */
    --stone-dark: #1a1a2e; /* Deep dark blue-gray stone */
    --stone-medium: #2a2a4a; /* Medium dark blue-gray */
    --stone-light: #3a3a5a; /* Lighter stone */
    --sky-dark: #0a0a1a; /* Deepest dark blue (night sky) */
    --sky-medium: #1a1a3a; /* Medium dark blue */
    
    /* Torch and fire colors (warm orange/yellow) */
    --torch-orange: #ff8c00; /* Bright orange torchlight */
    --torch-yellow: #ffd700; /* Golden yellow torchlight */
    --torch-light: #ffa500; /* Lighter orange */
    --fire-glow: rgba(255, 140, 0, 0.3); /* Fire glow effect */
    
    /* Dragon red accents */
    --dragon-red: #8b0000; /* Deep red from dragon wings */
    --dragon-red-light: #dc143c; /* Brighter red accent */
    
    /* Primary colors */
    --primary-color: var(--stone-dark);
    --primary-light: var(--stone-medium);
    --primary-dark: var(--sky-dark);
    --secondary-color: var(--torch-orange);
    --accent-color: var(--torch-yellow);
    --accent-light: var(--torch-light);
    
    /* Background colors */
    --bg-dark: var(--sky-dark);
    --bg-primary: var(--stone-dark);
    --bg-secondary: var(--stone-medium);
    --bg-tertiary: var(--stone-light);
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-light: #b0b0b0;
    --border-color: var(--stone-medium);
    
    /* Shadows with warm glow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 140, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 140, 0, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 140, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 140, 0, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--sky-dark) 0%, var(--stone-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--torch-orange) 0%, var(--torch-yellow) 100%);
    --gradient-accent: linear-gradient(135deg, var(--torch-yellow) 0%, var(--torch-orange) 100%);
    --gradient-dragon: linear-gradient(135deg, var(--dragon-red) 0%, var(--dragon-red-light) 100%);
    --gradient-stone: linear-gradient(135deg, var(--stone-dark) 0%, var(--stone-medium) 100%);
}

/* Dark Mode Variables (always dark for fantasy theme) */
[data-theme="dark"] {
    --bg-primary: var(--stone-dark);
    --bg-secondary: var(--stone-medium);
    --bg-tertiary: var(--stone-light);
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-light: #b0b0b0;
    --border-color: var(--stone-medium);
}

body {
    font-family: 'Inter', 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

/* Overlay for better text readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.75); /* Dark overlay */
    z-index: -1;
    pointer-events: none;
}

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

/* Loading State */
body:not(.loaded) .hero-content > * {
    opacity: 0;
    transform: translateY(30px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 140, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.7);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--torch-yellow);
    transition: color 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-family: 'Cinzel', serif;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-link:hover {
    color: var(--torch-orange);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
    transition: width 0.3s ease;
}

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

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    white-space: nowrap;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--torch-orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

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

.hero {
    padding: 120px 0 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-secondary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    animation: pulse 2s infinite;
}

.hero-badge i {
    font-size: 1rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 140, 0, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 140, 0, 0.7); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.6s ease;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 30px rgba(255, 140, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    transition: all 0.6s ease;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    transition: all 0.6s ease;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 140, 0, 0.3);
    border-color: rgba(255, 140, 0, 0.5);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--torch-yellow);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    transition: all 0.6s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--torch-orange);
    border-color: var(--torch-orange);
    border-width: 2px;
    border-style: solid;
}

.btn-secondary:hover {
    background: var(--torch-orange);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.6);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    min-height: 56px;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 140, 0, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: var(--torch-orange);
}

/* Hero Visual - Floating Elements */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.5));
}

.element-1 {
    width: 130px;
    height: 130px;
    top: 8%;
    left: 5%;
    animation-delay: 0s;
}

.element-2 {
    width: 110px;
    height: 110px;
    top: 65%;
    right: 5%;
    animation-delay: 1s;
}

.element-3 {
    width: 90px;
    height: 90px;
    bottom: 15%;
    left: 25%;
    animation-delay: 2s;
}

.element-4 {
    width: 70px;
    height: 70px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 3s;
}

.element-5 {
    width: 60px;
    height: 60px;
    bottom: 40%;
    right: 25%;
    animation-delay: 4s;
}

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

/* Decorative torch flames */
.decorative-bubble {
    background: radial-gradient(circle, rgba(255, 140, 0, 0.4) 0%, rgba(255, 215, 0, 0.2) 50%, transparent 100%);
    opacity: 0.6;
    border: none;
    animation: flicker 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

@keyframes flicker {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    25% { opacity: 0.8; transform: scale(1.1); }
    50% { opacity: 0.5; transform: scale(0.9); }
    75% { opacity: 0.7; transform: scale(1.05); }
}

.bubble-1 {
    width: 45px;
    height: 45px;
    top: 5%;
    left: 15%;
    animation-delay: 0.5s;
}

.bubble-2 {
    width: 35px;
    height: 35px;
    top: 15%;
    left: 12%;
    animation-delay: 1.5s;
}

.bubble-3 {
    width: 55px;
    height: 55px;
    top: 25%;
    left: 18%;
    animation-delay: 2.5s;
}

.bubble-4 {
    width: 40px;
    height: 40px;
    top: 35%;
    left: 35%;
    animation-delay: 3.5s;
}

.bubble-5 {
    width: 30px;
    height: 30px;
    top: 45%;
    left: 40%;
    animation-delay: 4.5s;
}

.bubble-6 {
    width: 50px;
    height: 50px;
    top: 55%;
    left: 35%;
    animation-delay: 0.8s;
}

.bubble-7 {
    width: 38px;
    height: 38px;
    top: 10%;
    right: 30%;
    animation-delay: 1.8s;
}

.bubble-8 {
    width: 42px;
    height: 42px;
    top: 65%;
    right: 18%;
    animation-delay: 2.8s;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Blockchain Data Section */
.blockchain-data {
    padding: 80px 0;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

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

.data-card {
    background: rgba(42, 42, 74, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(10px);
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 140, 0, 0.6);
}

.data-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.data-icon i {
    font-size: 1.5rem;
    color: var(--bg-primary);
}

.data-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.data-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--torch-yellow);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.data-change {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--torch-orange);
}

.data-change.negative {
    color: var(--dragon-red-light);
}

.data-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Validator Performance Section */
.validator-performance {
    padding: 80px 0;
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

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

.performance-card {
    background: rgba(42, 42, 74, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.performance-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 140, 0, 0.6);
}

.performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.performance-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.performance-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--torch-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.performance-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 4px;
    transition: width 1s ease;
    width: 0%;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

/* About Section */
.about {
    padding: 80px 0;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.recovery-list {
    list-style: none;
    margin: 2rem 0;
}

.recovery-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.recovery-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--torch-orange);
    font-weight: bold;
    font-size: 1.25rem;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.network-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
}

.node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(42, 42, 74, 0.8);
    border-radius: 1rem;
    border: 2px solid rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.node:hover {
    transform: translateY(-5px);
    border-color: var(--torch-orange);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.4);
}

.node i {
    font-size: 2rem;
    color: var(--torch-orange);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.5));
}

.node span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Philosophy Section */
.philosophy {
    padding: 80px 0;
    background: rgba(42, 42, 74, 0.4);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

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

.philosophy-card {
    background: rgba(42, 42, 74, 0.8);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(10px);
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 140, 0, 0.6);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.card-icon i {
    font-size: 2rem;
    color: var(--bg-primary);
}

.philosophy-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Commitment Section */
.commitment {
    padding: 80px 0;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

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

.commitment-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(42, 42, 74, 0.8);
    border-radius: 1rem;
    border: 1px solid rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.commitment-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 140, 0, 0.6);
}

.commitment-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.commitment-icon i {
    font-size: 1.5rem;
    color: var(--bg-primary);
}

.commitment-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(10px);
}

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

.feature-card {
    background: rgba(42, 42, 74, 0.8);
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 140, 0, 0.6);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--bg-primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 140, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background: var(--gradient-secondary);
    color: var(--bg-primary);
}

.cta .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-footer {
    font-size: 1.125rem;
    opacity: 0.8;
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
}

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

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--torch-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.footer-section p {
    color: #9CA3AF;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--torch-orange);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--torch-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-family: 'Cinzel', serif;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 140, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--torch-orange);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.social-links a:hover {
    background: var(--torch-orange);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 140, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
    }
    
    .data-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .performance-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .theme-toggle {
        top: 90px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .philosophy-card,
    .commitment-item,
    .data-card,
    .performance-card,
    .community-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.philosophy-card:hover .card-icon,
.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.commitment-item:hover .commitment-icon {
    transform: scale(1.1);
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.social-links a:focus {
    outline: 2px solid var(--torch-orange);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--torch-orange);
    color: var(--bg-primary);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }
    
    .floating-elements {
        display: none;
    }
    
    .network-diagram {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .node {
        padding: 1.5rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-grid {
        grid-template-columns: 1fr;
    }
    
    .commitment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

