/* Global styles - honeycomb background everywhere */
html {
    background-color: #000;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='30,0 60,15 60,45 30,60 0,45 0,15' fill='none' stroke='%23CAB876' stroke-width='0.3'/%3E%3C/svg%3E");
    background-size: 60px 52px;
    background-repeat: repeat;
    min-height: 100vh;
}

body {
    margin: 0;
    font-family: 'Georgia', serif;
    color: #ffffff;
    line-height: 1.6;
    background: transparent;
}

/* Inner pages only */
.text-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    background-color: #333333;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Navigation */
.main-nav {
    max-width: 100%;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.92);
    border-radius: 0;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 2rem;
    border-bottom: 1px solid #CAB876;
}

.nav-home {
    font-size: 1.35rem;
    font-weight: bold;
    color: #CAB876;
    text-decoration: none;
}

.nav-home:hover {
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: normal;
    font-size: 1rem;
    transition: 0.3s;
    border: 1px solid #CAB876;
    padding: 0.45rem 0.85rem;
    border-radius: 5px;
    background-color: transparent;
}

.nav-links a:hover {
    color: #000;
    background-color: #CAB876;
}

/* Header - compact and fold-conscious */
header {
    width: 100%;
    margin: 0;
    padding: 8rem 2rem 5rem 2rem;
    min-height: auto;
    background-color: rgba(0, 0, 0, 0.9);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

header::before {
    content: "";
    background-image: url('/assets/ndii-spiral-logo.png');
    background-size: 220px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

header h3 {
    position: relative;
    z-index: 1;
    max-width: 700px;
    font-size: 1.32rem;
    font-weight: bold;
    color: #d6c28a;
    line-height: 1.55;
    margin: 0;
    padding: 0;
}

/* Features section */
.features {
    width: 100%;
    margin: 0;
    padding: 2rem 2rem 3rem 2rem;
    background-color: rgba(17, 17, 17, 0.95);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    box-sizing: border-box;
}

/* Feature boxes */
.feature {
    flex: 1 1 230px;
    max-width: 280px;
    min-height: 210px;
    background-color: rgba(26, 26, 26, 0.95);
    border: 1.5px solid #CAB876;
    padding: 2.25rem;
    text-align: center;
    border-radius: 8px;
    box-sizing: border-box;
}

.feature h3 {
    color: #CAB876;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.feature p {
    color: #e0e0e0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.45;
}

.feature a {
    color: #CAB876;
    text-decoration: underline;
    font-weight: bold;
}

.feature a:hover {
    color: #fff;
}

/* Footer */
footer {
    width: 100%;
    margin: 0;
    padding: 2rem;
    background-color: rgba(17, 17, 17, 0.95);
    text-align: center;
    font-size: .9rem;
    color: #999;
    box-sizing: border-box;
}
.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-logo img {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #CAB876;
    text-align: center;
}

h2 {
    font-size: 2rem;
    color: #CAB876;
    margin: 2rem 0 1rem 0;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #CAB876;
    margin: 1.5rem 0 1rem 0;
}

p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: left;
    line-height: 1.7;
}

header p {
    text-align: center;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    color: #ccc;
}

/* Buttons */
.cta-buttons a {
    display: inline-block;
    margin: 0 0.75rem;
    padding: 0.85rem 1.5rem;
    border: 1.5px solid #CAB876;
    color: #CAB876;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
    border-radius: 5px;
}

.cta-buttons a:hover {
    background-color: #CAB876;
    color: #000;
}

/* Links */
a {
    color: #CAB876;
    font-weight: bold;
}

a:hover {
    color: #fff;
}

footer a {
    color: #CAB876;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Lists */
ul, ol {
    text-align: left;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 0.4rem 0.75rem;
    }

    header {
        padding: 1.75rem 1rem 1.25rem 1rem;
    }

    header::before {
        background-size: 180px;
    }

    header h3 {
        max-width: 95%;
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .text-page {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cta-buttons a {
        margin: 0;
        width: 200px;
    }

    .features {
        padding: 1.5rem 1rem 2.5rem 1rem;
        gap: 1rem;
    }

    .feature {
        max-width: 100%;
        min-height: auto;
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }
}