/* Inherits core structure from about.css */
/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 13px 8%;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px); /* Glass effect over the grid */
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px;  }
.logo span { color: var(--mint); }
.navbar .logo img{
    width: 130px;
}

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { text-decoration: none; color: var(--gray); font-weight: 600; font-size: 0.9rem; }

.btn-black { 
    background: var(--dark); color: white; border: none; 
    padding: 12px 24px; border-radius: 10px; font-weight: 600; cursor: pointer;
}

/* Existing Navbar Base Styles */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 13px 8%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-links { display: flex; align-items: center; gap: 40px; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-links a { text-decoration: none; color: #444; font-weight: 600; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover { color: #00d285; }

/* Hamburger Icon */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #000;
    border-radius: 10px;
    transition: 0.3s;
}

/* Mobile Breakpoint (Under 1024px) */
@media (max-width: 1024px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 40px;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0; /* Slides in */
    }

    .nav-links a {
        font-size: 1.5rem; /* Larger links for touch */
        font-weight: 800;
        letter-spacing: -1px;
    }

    /* Animate Hamburger to "X" when active */
    .menu-toggle.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.open .bar:nth-child(2) { transform: translateY(0px) rotate(-45deg); }
}



.terms-hero {
    padding: 120px 0 60px;
    border-bottom: 1px solid #eee;
}

.terms-intro {
    max-width: 600px;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #666;
    margin-top: 40px;
}

/* TERMS MODULES STYLING */
.terms-modules {
    padding: 80px 0;
}

.terms-card {
    padding: 50px 0;
    border-bottom: 1px solid #f0f0f0;
    display: grid;
    grid-template-columns: 0.5fr 2fr; /* Precision Studio Alignment */
    gap: 40px;
}

.terms-id {
    font-family: monospace;
    font-size: 10px;
    font-weight: 900;
    color: var(--mint);
    letter-spacing: 2px;
}

.terms-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
    margin-top: 0;
}

.terms-card p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0;
    grid-column: 2; /* Keeps text aligned under the heading */
}

/* GOVERNANCE FOOTER */
.governance-footer {
    padding: 60px 0 120px;
}

.gov-box {
    background: #fbfbfb;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #eee;
    font-family: monospace;
    font-size: 11px;
    font-weight: 800;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.contact-detail {
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    text-decoration: none;
}

.contact-detail a {
    text-decoration: none;
    color: #000;
}

@media (max-width: 900px) {
    .terms-card {
        grid-template-columns: 1fr;
        padding: 40px 0;
    }
    .terms-card p {
        grid-column: 1;
    }
    .terms-card h3 {
        font-size: 1.5rem;
    }
}