/* DemocraticTech.Fund - Main Stylesheet */

:root {
    --fki-green: #00a652;
    --fki-grey: #6d6e71;
    --fki-dark-grey: #4a4a4a;
    --fki-light-grey: #f0f0f0;
    --fki-bg: #ffffff;
    --fki-danger: #e74c3c;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: var(--fki-bg);
    color: var(--fki-dark-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =================
   GENERAL LINK STYLES
   ================= */
a {
    text-decoration: none !important;
}

a:hover,
a:focus,
a:visited,
a:active {
    text-decoration: none !important;
}

/* Remove underline from all links globally */
* {
    text-decoration: none !important;
}

*:hover,
*:focus,
*:visited,
*:active {
    text-decoration: none !important;
}

/* =================
   HEADER COMPONENT
   ================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
    border: none;
    outline: none;
}

.logo:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

.logo:focus {
    text-decoration: none !important;
    outline: none;
}

.logo:visited {
    text-decoration: none !important;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border: 3px solid var(--fki-grey);
    border-radius: 50%;
    position: relative;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: var(--fki-green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-text {
    font-size: 18px;
    color: var(--fki-grey);
    font-weight: 300;
}

.logo-text .green {
    color: var(--fki-green);
    font-weight: bold;
}

/* =================
   FOOTER COMPONENT
   ================= */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 60px 40px 40px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--fki-green);
}

.footer p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact {
    font-size: 18px;
    color: var(--fki-green);
    margin-bottom: 20px;
}

.footer-logo {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-logo .logo {
    text-decoration: none !important;
    justify-content: center;
    opacity: 1;
}

.footer-logo .logo:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

.footer-logo .logo-text {
    color: #ffffff !important;
}

.footer-logo .logo-text .green {
    color: var(--fki-green) !important;
}

.footer-logo .logo-circle {
    border-color: #ffffff !important;
}

.footer-logo .logo-dot {
    background: var(--fki-green) !important;
}

/* =================
   TYPOGRAPHY
   ================= */
h1 {
    font-size: clamp(42px, 6vw, 72px);
    color: var(--fki-grey);
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 300;
}

h2 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--fki-grey);
    margin-bottom: 40px;
    font-weight: 300;
}

h3 {
    font-size: 24px;
    color: var(--fki-grey);
    margin-bottom: 15px;
    font-weight: bold;
}

.subtitle {
    font-size: clamp(20px, 3vw, 32px);
    color: var(--fki-green);
    margin-bottom: 40px;
    font-weight: 400;
}

.description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--fki-dark-grey);
    margin-bottom: 60px;
    line-height: 1.6;
}

.lead {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--fki-dark-grey);
    line-height: 1.6;
}

.highlight {
    background: linear-gradient(135deg, var(--fki-green) 0%, var(--fki-grey) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* =================
   LAYOUT UTILITIES
   ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 80px 0;
}

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

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* =================
   STATS COMPONENTS
   ================= */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.stat {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 166, 82, 0.1);
}

.stat-number {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: bold;
    color: var(--fki-green);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--fki-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =================
   ACTION CARDS
   ================= */
.actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.action-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fki-green), var(--fki-grey));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 166, 82, 0.15);
    border-color: var(--fki-green);
}

.action-card:hover::before {
    transform: scaleX(1);
}

.action-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--fki-green), var(--fki-grey));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: white;
}

.action-card h3 {
    font-size: 24px;
    color: var(--fki-grey);
    margin-bottom: 15px;
    font-weight: bold;
}

.action-card p {
    font-size: 16px;
    color: var(--fki-dark-grey);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* =================
   BUTTONS
   ================= */
.btn,
.action-btn {
    background: var(--fki-green);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before,
.action-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 ease;
}

.btn:hover,
.action-btn:hover {
    background: var(--fki-grey);
    transform: scale(1.05);
    text-decoration: none !important;
}

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

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

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

/* =================
   CRISIS SECTION
   ================= */
.crisis {
    background: var(--fki-danger);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.crisis h2 {
    color: white;
    margin-bottom: 30px;
}

.crisis p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.crisis-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 60px auto 0;
}

.crisis-stat {
    text-align: center;
}

.crisis-stat-number {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.crisis-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Call to Action */
        .cta-section {
            background: linear-gradient(135deg, var(--fki-green) 0%, #008a45 100%);
            color: white;
            padding: 60px;
            border-radius: 15px;
            text-align: center;
            margin: 60px 0;
        }

        .cta-section h2 {
            font-size: 36px;
            margin-bottom: 20px;
            color: white;
        }

        .cta-section p {
            font-size: 20px;
            margin-bottom: 30px;
        }

        .cta-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .cta-stat {
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 10px;
        }

        .cta-stat-number {
            font-size: 32px;
            font-weight: bold;
            display: block;
            margin-bottom: 5px;
        }

        .cta-stat-label {
            font-size: 16px;
            opacity: 0.9;
        }


/* =================
   HERO SECTION
   ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fki-bg) 0%, var(--fki-light-grey) 100%);
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f0f0f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* =================
   CONTENT SECTIONS
   ================= */
.content-section {
    padding: 100px 40px;
    background: var(--fki-bg);
}

.content-section.alt {
    background: var(--fki-light-grey);
}

/* =================
   FORMS
   ================= */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--fki-grey);
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--fki-light-grey);
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--fki-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =================
   LISTS
   ================= */
ul {
    list-style: none;
    padding-left: 0;
}

li {
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

li:before {
    content: "▶";
    color: var(--fki-green);
    position: absolute;
    left: 0;
    font-size: 14px;
}

/* =================
   RESPONSIVE DESIGN
   ================= */
@media (max-width: 768px) {
    .nav {
        padding: 0 20px;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .actions {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-card {
        padding: 30px 20px;
    }

    .crisis {
        padding: 60px 20px;
    }

    .footer {
        padding: 40px 20px 30px;
    }

    .content-section {
        padding: 60px 20px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 480px) {
    .logo-text {
        font-size: 16px;
    }

    .nav {
        padding: 0 15px;
    }

    .container {
        padding: 0 15px;
    }

    .action-card {
        padding: 25px 15px;
    }

    .form-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* =================
   UTILITY CLASSES
   ================= */
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.opacity-0 { opacity: 0; }
.opacity-1 { opacity: 1; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.relative { position: relative; }
.absolute { position: absolute; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }