/* ===========================
   STEEKPOEL WEBSITE STYLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #f59e0b;
    --accent: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --success: #10b981;
    --spacing-unit: 1rem;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Language Selector */
.lang-selector-wrapper {
    margin-left: auto;
    border-left: 1px solid var(--border);
    padding-left: 1rem;
    display: flex;
    align-items: center;
}

.lang-selector {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 0.4rem;
    background: white;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    height: 36px;
    display: flex;
    align-items: center;
}

.lang-selector:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-dark);
}

.lang-selector:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.lang-selector option {
    color: var(--text-primary);
    padding: 0.5rem;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, #2563eb, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

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

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pool-icon {
    width: 200px;
    height: 200px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(37, 99, 235, 0.2));
}

.pool-icon svg {
    width: 100%;
    height: 100%;
}

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

/* ===========================
   STATS SECTION
   =========================== */

.stats {
    padding: 1.5rem 0;
    background: var(--secondary);
    color: white;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.6rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* ===========================
   SECTIONS
   =========================== */

section {
    padding: 1.5rem 0;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.about-card {
    padding: 1.25rem;
    border-radius: 0.6rem;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.about-card .icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.about-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.85rem;
}

/* ===========================
   METRICS SECTION
   =========================== */

.metrics {
    background: var(--bg);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-box {
    background: white;
    padding: 1.1rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
}

.metric-box h4 {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.metric-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 4px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.metric-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.data-source {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 0.8rem;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.data-source a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.data-source a:hover {
    text-decoration: underline;
}

/* ===========================
   IMPACT SECTION
   =========================== */

.impact {
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
}

.impact-header {
    margin-bottom: 1.25rem;
}

.impact-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-statement {
    background: white;
    padding: 1.1rem;
    border-radius: 0.6rem;
    border-left: 3px solid var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.impact-statement p {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Story Section */
.impact-story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.75rem;
    background: white;
    padding: 1.5rem;
    border-radius: 0.6rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.story-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.story-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.story-visual {
    display: flex;
    justify-content: center;
}

.visual-badge {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.impact-card {
    padding: 2.5rem;
    border-radius: 1.2rem;
    background: white;
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.impact-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

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

.impact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.impact-location {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.impact-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.impact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.detail-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.impact-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: white;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Impact Metrics */
.impact-metrics {
    background: white;
    padding: 1.5rem;
    border-radius: 0.6rem;
    margin-bottom: 1.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.impact-metrics h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

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

.metric-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.metric-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Philosophy Section */
.impact-philosophy {
    margin-bottom: 1.75rem;
}

.impact-philosophy h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.philosophy-card {
    background: white;
    padding: 1.1rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.philosophy-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.philosophy-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.philosophy-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.philosophy-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.8rem;
}

/* Impact CTA */
.impact-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 0.6rem;
    text-align: center;
    margin-bottom: 1.75rem;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.impact-cta h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.impact-cta p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
}

/* Logo Meaning */
.logo-meaning {
    background: white;
    padding: 1.5rem;
    border-radius: 0.6rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: center;
    border: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.logo-meaning-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-meaning-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.logo-meaning-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .impact-story-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .logo-meaning {
        grid-template-columns: 1fr;
    }

    .impact-header h2 {
        font-size: 1.6rem;
    }

    .metrics-row {
        grid-template-columns: 1fr 1fr;
    }

    .stats .container,
    .about-grid,
    .metrics-grid,
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .delegation-info {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   DELEGATE SECTION
   =========================== */

.delegate {
    background: linear-gradient(135deg, #f8fafc 0%, var(--bg) 100%);
}

.delegation-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.info-box {
    background: white;
    padding: 1.2rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
}

.info-box h4,
.delegation-steps h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.pool-id {
    display: block;
    background: var(--secondary);
    color: var(--primary);
    padding: 1rem;
    border-radius: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    word-break: break-all;
    margin-bottom: 1rem;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.delegation-steps ol {
    list-style-position: inside;
    color: var(--text-secondary);
}

.delegation-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.reward-calculator {
    background: white;
    padding: 1.2rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border);
    margin-bottom: 1.2rem;
    max-width: 500px;
}

.reward-calculator h4 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.calculator-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.calculator-output {
    padding: 1.5rem;
    background: var(--bg);
    border-radius: 0.5rem;
}

.calculator-output p {
    margin-bottom: 0.5rem;
}

#rewardEstimate {
    color: var(--accent);
}

.calculator-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cta-final {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .delegation-info {
        grid-template-columns: 1fr;
    }

    .cta-final {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--secondary);
    color: white;
    padding: 1.5rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-content {
    display: contents;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero .subtitle {
        font-size: 1.05rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .pool-icon {
        width: 200px;
        height: 200px;
    }

    h2 {
        font-size: 2rem;
    }

    .stats .container {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }

    @media (max-width: 480px) {
        .stats .container {
            grid-template-columns: 1fr;
        }

        .hero-content h1 {
            font-size: 1.75rem;
        }

        h2 {
            font-size: 1.5rem;
        }
    }
}
