:root {
    --bg-color: #0a0a1a;
    --box-bg: #1a1a3a;
    --border-color: #383858;
    --header-bg: #101028;
    --text-color: #cccccc;
    --link-color: #7f7fff;
    --link-hover: #ffffff;
    --heading-color: #ffffff;
}

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

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    background-color: var(--bg-color);
    background-image: url('background-tile.png');
    background-repeat: repeat;
    color: var(--text-color);
    line-height: 1.5;
}

#wrapper {
    width: 800px;
    margin: 10px auto;
    background-color: var(--box-bg);
    border: 2px solid var(--border-color);
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: var(--heading-color);
    font-weight: bold;
}

header nav {
    font-size: 11px;
    font-weight: bold;
    color: var(--link-color);
}

header nav a {
    color: var(--link-color);
    text-decoration: none;
    padding: 0 5px;
}

header nav a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.login-btn {
    font-weight: bold;
    color: #ffff88;
}

/* Banner */
#banner {
    border-bottom: 2px solid var(--border-color);
}
#banner img {
    display: block;
    width: 100%;
}

/* Main Content */
main {
    display: flex;
    padding: 10px;
}

#content {
    width: 70%;
    padding-right: 10px;
}

#sidebar {
    width: 30%;
}

.box {
    background: #151530;
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 10px;
}

h2 {
    font-size: 18px;
    color: var(--heading-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
    margin-bottom: 10px;
}

h3 {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 8px;
}

p {
    margin-bottom: 10px;
}

.cta-button {
    font-family: Arial, Helvetica, sans-serif;
    background: #5555ff;
    color: #fff;
    padding: 8px 12px;
    border-width: 2px;
    border-style: solid;
    border-color: #8888ff #2222aa #2222aa #8888ff;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}

.cta-button:active {
    border-color: #2222aa #8888ff #8888ff #2222aa;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    text-align: center;
}

.features-section h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.feature-card {
    text-align: center;
    width: 33%;
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #2a284d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card img {
    height: 64px;
    margin-bottom: 10px;
    background-color: #2a2a4a;
    border: 1px solid #444466;
    padding: 5px;
}

.feature-card h3 {
    font-size: 13px;
    color: var(--link-color);
}

.feature-card p {
    font-size: 1rem;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--header-bg);
    color: #888;
    padding: 10px;
    text-align: center;
    border-top: 2px solid var(--border-color);
    font-size: 10px;
}

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.ie-logo {
    margin-top: 5px;
    font-style: italic;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hiding for small screens */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    footer .container {
        flex-direction: column;
    }

    .footer-links {
        margin-top: 1rem;
    }
}