/* =====================================
   BITSAFRIC WEBSITE
   Main stylesheet
   Updated: High-visibility colour theme
===================================== */

:root {
    --background: #080D12;
    --surface: #14232A;
    --surface-light: #1C3038;

    --green: #00E6A0;
    --green-dark: #00B981;
    --green-light: #75FFD0;

    --white: #FFFFFF;
    --text: #DCE7EC;
    --muted: #B1C0C8;

    --border: rgba(0, 230, 160, 0.25);
}

/* =====================================
   GENERAL STYLES
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 100px 0;
}

/* =====================================
   NAVIGATION AND LOGO
===================================== */

.header {
    background: rgba(8, 13, 18, 0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* BITSAFRIC LOGO */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 210px;
    object-fit: contain;
}

.footer-logo {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 18px;
}

/* NAVIGATION LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--green);
}

.nav-button {
    background: var(--green);
    color: #06110D;
    padding: 12px 19px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    transition: 0.3s ease;
    white-space: nowrap;
}

.nav-button:hover,
.primary-button:hover {
    background: var(--green-light);
    color: #06110D;
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    color: var(--green);
    background: transparent;
    border: 0;
    font-size: 28px;
    cursor: pointer;
}

/* =====================================
   HERO SECTION
===================================== */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(0, 230, 160, 0.18),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #080D12,
            #10231F
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    padding: 70px 0;
}

.eyebrow,
.section-label {
    color: var(--green);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.hero-text h1 {
    color: var(--white);
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.hero-text h1 span,
.hero-text h2,
.intro h2 span,
.insights h2 span,
.contact h2 span {
    color: var(--green);
}

.hero-text h2 {
    font-size: 23px;
    margin-bottom: 18px;
}

.hero-description {
    max-width: 530px;
    color: var(--text);
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 14px 23px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s ease;
}

.primary-button {
    background: var(--green);
    color: #06110D;
}

.secondary-button {
    border: 1px solid var(--green);
    color: var(--white);
}

.secondary-button:hover {
    background: rgba(0, 230, 160, 0.10);
    border-color: var(--green-light);
    color: var(--green-light);
}

/* =====================================
   CRYPTO VISUAL
===================================== */

.hero-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-circle {
    width: 230px;
    height: 230px;
    border: 2px solid var(--green);
    border-radius: 50%;
    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle,
            #176B50,
            #10231F
        );

    box-shadow: 0 0 85px rgba(0, 230, 160, 0.24);
}

.crypto-circle span {
    color: var(--green-light);
    font-size: 125px;
    font-weight: bold;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;

    background: var(--surface-light);
    padding: 13px 17px;

    border: 1px solid var(--border);
    border-radius: 8px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.floating-card > span {
    font-size: 25px;
    color: var(--green);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    color: var(--white);
    font-size: 12px;
}

.floating-card small {
    font-size: 10px;
    color: var(--muted);
}

.bitcoin-card {
    top: 35px;
    right: 0;
}

.blockchain-card {
    bottom: 95px;
    left: 0;
}

.learning-card {
    bottom: 15px;
    right: 0;
}

/* =====================================
   INTRODUCTION
===================================== */

.intro {
    text-align: center;
    background: #101B22;
}

.intro h2,
.insights h2,
.contact h2 {
    color: var(--white);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
    margin-bottom: 25px;
}

.intro p:not(.section-label) {
    max-width: 760px;
    margin: auto;
    color: var(--text);
    font-size: 15px;
}

/* =====================================
   EDUCATION AND SERVICE CARDS
===================================== */

.education,
.services {
    background: var(--background);
    text-align: center;
}

.education h2,
.services h2 {
    color: var(--white);
    font-size: 39px;
    margin-bottom: 45px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: left;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 30px;
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);
    border-color: var(--green);
    background: var(--surface-light);
    box-shadow: 0 12px 30px rgba(0, 230, 160, 0.09);
}

.card-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;

    background: rgba(0, 230, 160, 0.13);
    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--green);
    font-size: 24px;
    margin-bottom: 25px;
}

.card h3 {
    color: var(--white);
    font-size: 19px;
    margin-bottom: 12px;
}

.card p {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 22px;
}

.card a {
    color: var(--green);
    font-size: 13px;
    font-weight: bold;
    transition: 0.3s ease;
}

.card a:hover {
    color: var(--green-light);
}

/* =====================================
   MARKET INSIGHTS
===================================== */

.insights {
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(0, 230, 160, 0.14),
            transparent 45%
        ),
        #14232A;

    text-align: center;
}

.insights p:not(.section-label) {
    color: var(--text);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* =====================================
   CONTACT
===================================== */

.contact {
    text-align: center;
    background: #101B22;
}

.contact p:not(.section-label) {
    color: var(--text);
    margin-bottom: 30px;
}

/* =====================================
   FOOTER
===================================== */

.footer {
    background: #050A0E;
    border-top: 1px solid var(--border);
    padding: 55px 0 25px;
    text-align: center;
}

.footer p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 15px;
}

.footer .copyright {
    border-top: 1px solid var(--border);
    margin-top: 35px;
    padding-top: 20px;
}

.footer .disclaimer {
    max-width: 750px;
    margin: 15px auto 0;
    font-size: 11px;
    color: #A6B5BC;
}

/* =====================================
   KEYBOARD ACCESSIBILITY
===================================== */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--green-light);
    outline-offset: 4px;
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */

@media (max-width: 900px) {

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .hero-content {
        grid-template-columns: 1fr 0.8fr;
    }

    .hero-visual {
        transform: scale(0.85);
    }

}

@media (max-width: 700px) {

    .section {
        padding: 70px 0;
    }

    .navbar {
        min-height: 70px;
    }

    /* MOBILE LOGO */

    .site-logo {
        height: 45px;
        max-width: 165px;
    }

    /* MOBILE MENU */

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;

        background: #101B22;
        padding: 20px 5%;

        flex-direction: column;
        align-items: flex-start;
        gap: 18px;

        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        color: var(--text);
        font-size: 14px;
    }

    .nav-button {
        display: none;
    }

    /* MOBILE HERO */

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        height: 330px;
        transform: scale(0.85);
        margin-top: 15px;
    }

    /* MOBILE CARDS */

    .cards {
        grid-template-columns: 1fr;
    }

    .education h2,
    .services h2 {
        font-size: 31px;
    }

}

@media (max-width: 400px) {

    .hero-text h1 {
        font-size: 46px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        text-align: center;
    }

    .floating-card {
        padding: 9px;
    }

}
/* =====================================
   BITSAFRIC COOKIE CONSENT
===================================== */

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 420px;
    max-width: calc(100% - 40px);
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    padding: 25px;
    background: #14232A;
    border: 1px solid rgba(0, 230, 160, 0.35);
    border-radius: 18px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    color: #FFFFFF;
    box-sizing: border-box;
}

.cookie-brand {
    color: #00E6A0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cookie-content h2 {
    font-size: 24px;
    margin: 12px 0;
    color: #FFFFFF;
}

.cookie-content p {
    color: #B1C0C8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.cookie-actions button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #00E6A0;
    border: 1px solid #00E6A0;
}

.cookie-actions button:hover {
    background: rgba(0, 230, 160, 0.1);
}

.cookie-policy {
    color: #B1C0C8;
    font-size: 13px;
    text-decoration: underline;
}

.cookie-settings {
    display: block;
    margin: 15px auto;
    padding: 8px 15px;
    background: transparent;
    color: #00E6A0;
    border: 1px solid rgba(0, 230, 160, 0.35);
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.cookie-settings:hover {
    background: rgba(0, 230, 160, 0.1);
}

@media (max-width: 600px) {

    .cookie-banner {
        bottom: 15px;
        right: 15px;
        left: 15px;
        width: auto;
        max-width: none;
        padding: 20px;
    }

    .cookie-actions {
        flex-direction: column;
    }

}


.footer-privacy {
    text-align: center;
    padding: 15px;
    font-size: 13px;
}

.footer-privacy a {
    color: #00E6A0;
    text-decoration: none;
}

.footer-privacy a:hover {
    text-decoration: underline;
}

