* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #00ff00;
    --secondary-color: #00cc00;
    --dark-bg: #0a0e27;
    --darker-bg: #050810;
    --text-color: #e0e0e0;
    --accent-color: #bb00bb;
    --border-color: #1a3a3a;
    --shadow: 0 10px 40px rgba(0, 255, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 100%);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    height: 60px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}
.nav-links a.active {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    padding: 90px 20px 80px 20px;
    min-height: 100vh;
    margin-top: 0;
}

.hero-content h1 {
    font-size: 72px;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--accent-color);
    margin-bottom: 20px;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--accent-color); }
    50% { text-shadow: 0 0 30px var(--primary-color), 0 0 60px var(--accent-color); }
}

.hero-content p {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.subtitle {
    color: #a0a0a0;
    font-size: 16px;
    margin-bottom: 40px !important;
}

.btn {
    padding: 12px 30px;
    margin-right: 15px;
    margin-bottom: 15px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    font-weight: bold;
}

.btn-primary:hover {
    background: var(--secondary-color);
    box-shadow: 0 0 20px var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ascii-art {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    font-size: 14px;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ==================== VERSION 2.5 SECTION ==================== */
.ver25-section {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
    border: 3px solid #8a2be2;
}

.ver25-section h2 {
    font-size: 56px;
    text-shadow: 0 0 30px #8a2be2, 0 0 60px #00ffff;
    animation: glow-ver25 2s ease-in-out infinite alternate;
}

@keyframes glow-ver25 {
    from { text-shadow: 0 0 20px #8a2be2, 0 0 40px #00ffff; }
    to { text-shadow: 0 0 40px #8a2be2, 0 0 80px #00ffff; }
}

.ver25-showcase {
    margin-top: 40px;
}

.ver25-hero {
    text-align: center;
    padding: 40px;
    background: rgba(138, 43, 226, 0.05);
    border-radius: 15px;
    border: 2px dashed #00ffff;
    margin-bottom: 40px;
}

.ver25-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8a2be2, #00ffff);
    color: #000;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    animation: pulse-badge-ver25 2s ease-in-out infinite;
}

@keyframes pulse-badge-ver25 {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ver25-hero h3 {
    font-size: 36px;
    color: #8a2be2;
    margin-bottom: 15px;
}

.ver25-description {
    font-size: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.ver25-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.ver25-feature {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #8a2be2;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.ver25-feature:hover {
    transform: translateY(-10px);
    border-color: #00ffff;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.ver25-feature i {
    font-size: 48px;
    color: #8a2be2;
    margin-bottom: 15px;
}

.ver25-feature h4 {
    font-size: 20px;
    color: #8a2be2;
    margin-bottom: 10px;
}

.ver25-feature p {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
}

.ver25-comparison {
    margin: 50px 0;
    overflow-x: auto;
}

.ver25-comparison h3 {
    font-size: 32px;
    color: #8a2be2;
    margin-bottom: 25px;
    text-align: center;
}

.ver25-highlights {
    margin: 50px 0;
}

.ver25-highlights h3 {
    font-size: 32px;
    color: #8a2be2;
    margin-bottom: 30px;
    text-align: center;
}

.ver25-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 15px;
    border: 2px solid #00ffff;
}

.ver25-cta .btn-primary {
    background: linear-gradient(135deg, #8a2be2, #00ffff);
    color: #000;
    border-color: #8a2be2;
}

.ver25-cta .btn-primary:hover {
    background: linear-gradient(135deg, #00ffff, #8a2be2);
    box-shadow: 0 0 20px #8a2be2;
}

/* ==================== VERSION 2.0 SECTION ==================== */
.ver2-section {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, rgba(187, 0, 187, 0.1) 100%);
    border: 3px solid var(--primary-color);
}

.ver2-section h2 {
    font-size: 56px;
    text-shadow: 0 0 30px var(--primary-color), 0 0 60px var(--accent-color);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--accent-color); }
    to { text-shadow: 0 0 40px var(--primary-color), 0 0 80px var(--accent-color); }
}

.ver2-showcase {
    margin-top: 40px;
}

.ver2-hero {
    text-align: center;
    padding: 40px;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 15px;
    border: 2px dashed var(--secondary-color);
    margin-bottom: 40px;
}

.ver2-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #000;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ver2-hero h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ver2-description {
    font-size: 20px;
    color: var(--text-color);
    line-height: 1.8;
}

.ver2-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.ver2-feature {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.ver2-feature:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
}

.ver2-feature i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ver2-feature h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.ver2-feature p {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
}

.ver2-comparison {
    margin: 50px 0;
    overflow-x: auto;
}

.ver2-comparison h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: rgba(0, 255, 0, 0.1);
    color: var(--primary-color);
    font-size: 18px;
    text-transform: uppercase;
}

.comparison-table td {
    font-size: 16px;
}

.comparison-table tr:hover {
    background: rgba(0, 255, 0, 0.05);
}

.comparison-table td:last-child {
    color: var(--primary-color);
}

.ver2-highlights {
    margin: 50px 0;
}

.ver2-highlights h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

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

.highlight {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.2);
}

.highlight i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.highlight h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.highlight p {
    font-size: 14px;
    color: #a0a0a0;
}

.ver2-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: rgba(187, 0, 187, 0.1);
    border-radius: 15px;
    border: 2px solid var(--accent-color);
}

.cta-text {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* ==================== DOWNLOAD SECTION ==================== */
.download-section {
    padding: 80px 20px;
}

.download-section h2 {
    text-align: center;
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-shadow: 0 0 20px var(--primary-color);
}

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

.download-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
}

.download-card.featured {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, rgba(187, 0, 187, 0.1) 100%);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    grid-column: 1 / -1;
    padding: 45px;
}

.download-card.featured h3 {
    font-size: 34px;
}

.download-card.featured .version-info {
    font-size: 18px;
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    animation: pulse-badge 2s ease-in-out infinite;
}

.download-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.download-card .version-info {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.download-card .version-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.download-card .version-features li {
    padding: 8px 0;
    color: #a0a0a0;
    font-size: 14px;
}

/* download tab layout (v2 big + two small below) */
.download-tab-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.download-tab-featured {
    width: 100%;
}

.download-tab-previous {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .download-tab-previous {
        grid-template-columns: 1fr;
    }
}

.features, .profiles, .examples, .installation, .contact {
    padding: 80px 20px;
}

.features h2, .profiles h2, .examples h2, .installation h2, .contact h2 {
    text-align: center;
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 60px;
    text-shadow: 0 0 20px var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* how it works section */
.how-it-works {
    background: rgba(0,0,0,0.4);
    padding-top: 60px;
    padding-bottom: 60px;
}
.how-it-works h2 {
    margin-bottom: 20px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    z-index: 0;
    transform: translateY(-50%);
}
.step {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    z-index: 1;
    position: relative;
}
.step:not(:last-child)::after {
    content: '\f061'; /* FontAwesome arrow-right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    color: var(--secondary-color);
}
.step i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.step p {
    font-size: 14px;
    color: #a0a0a0;
}

.code-block-wrapper {
    background: rgba(0,0,0,0.2);
    border: 2px dashed var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
}
.code-block-wrapper .code-block {
    background: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    overflow-x: auto;
}


.feature-card {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05) 0%, rgba(255, 0, 255, 0.05) 100%);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: #a0a0a0;
    margin-bottom: 15px;
}

.char-sets {
    list-style: none;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.char-sets li {
    font-size: 12px;
    margin-bottom: 8px;
    color: #80ff00;
    font-family: 'Courier New', monospace;
}

.char-sets code {
    background: rgba(0, 0, 0, 0.5);
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
}

/* additional graphic enhancements */

/* animated gradient background */
body {
    background-size: 400% 400%;
    animation: bgAnimation 15s ease infinite;
}
@keyframes bgAnimation {
    0% {background-position:0% 50%;}
    50% {background-position:100% 50%;}
    100% {background-position:0% 50%;}
}

/* pulsating overlay on hero */
.hero {
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,255,0,0.1), transparent 70%);
    pointer-events: none;
    animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {opacity: 0.1;}
    50% {opacity: 0.3;}
}

/* hero heading typewriter */
.hero-content h1 {
    overflow: hidden;
    border-right: .15em solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
}
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color); }
}

/* ascii art flicker effect */
.ascii-art {
    animation: flicker 2s infinite;
}
@keyframes flicker {
    0%,100% {opacity:1;}
    50% {opacity:0.85;}
    70% {opacity:0.9;}
}

/* button pulse on hover */
.btn:hover {
    animation: pulse-btn 0.6s infinite;
}
@keyframes pulse-btn {
    0%,100% {transform: scale(1);}    
    50% {transform: scale(1.05);}    
}

/* floating background dots */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at 10% 20%, rgba(0,255,0,0.1) 1%, transparent 0),
                radial-gradient(circle at 80% 40%, rgba(255,0,255,0.1) 1%, transparent 0),
                radial-gradient(circle at 50% 80%, rgba(0,255,255,0.1) 1%, transparent 0);
    animation: moveDots 20s linear infinite;
}
@keyframes moveDots {
    from {background-position:0 0, 0 0, 0 0;}
    to {background-position:1000px 1000px, -1000px 1000px, 1000px -1000px;}
}

/* framed sections */
section {
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    margin: 40px 0;
    position: relative;
}
section:hover {
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.4);
}

/* contact card hover effect */
.contact-grid .contact-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-grid .contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 255, 0, 0.4);
}

/* tone down intense visual effects */
:root {
    --shadow: 0 5px 20px rgba(0, 255, 0, 0.05);
}
body {
    /* optional solid background for calmer look */
    background: #0a0e27;
    animation: none;
}
body::before { animation: none; }
.hero::after { animation: none; }
.ascii-art { animation: none; }
.btn:hover { animation: none; }
.hero-content h1 {
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--accent-color);
}
.navbar, section, .feature-card, .download-card, .example-card, .contact-card {
    box-shadow: 0 5px 20px rgba(0,255,0,0.05);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.profile-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.profile-info p {
    margin: 5px 0;
    font-size: 14px;
}

.profile-info strong {
    color: var(--primary-color);
}

/* responsive adjustments for phones */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 70px 20px 60px 20px;
        margin-top: 0;
    }
    .hero-content h1 {
        font-size: 48px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        display: none;          /* hidden until toggled */
        margin-top: 10px;
    }
    .navbar {
        height: auto;
        min-height: 60px;
    }
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }
    .ascii-art {
        font-size: 12px;
    }
    .menu-toggle {
        display: block;
        font-size: 24px;
        color: var(--text-color);
        cursor: pointer;
        padding: 10px;
    }
    /* open nav links when active */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: rgba(10, 14, 39, 0.95);
        padding: 10px 0;
    }
    /* smaller font sizes on very small screens */
    @media (max-width: 480px) {
        .hero-content h1 { font-size: 36px; }
        .hero-content p { font-size: 16px; }
        .btn { padding: 10px 20px; font-size: 14px; }
        .feature-card h3 { font-size: 18px; }
        .features h2, .profiles h2, .examples h2, .installation h2, .contact h2 { font-size: 36px; }
        .nav-links { gap: 5px; }
        .logo { font-size: 20px; }
    }
}
