@import url('variables.css');

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

body {
    font-family: 'Courier New', monospace;
    background-color: #1a1a1a;
    color: var(--terminal-white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--terminal-bg);
    border-bottom: 2px solid var(--terminal-green);
    padding: 20px 0;
    text-align: center;
}

#site-title {
    color: var(--terminal-green);
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: normal;
}

#site-tagline {
    color: var(--terminal-cyan);
    font-size: 16px;
}

/* Main Content */
main {
    flex: 1;
    padding: 20px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: var(--terminal-green);
    font-size: 20px;
    margin: 40px 0 20px 0;
    padding: 15px 0;
    font-weight: normal;
    text-align: left;
    position: relative;
    text-transform: uppercase;
}

/* Add >> before h2 text */
h2::before {
    content: '>> ';
}

/* Top line */
.container h2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background-color: var(--terminal-white);
}

/* Bottom line - using a wrapper div would be cleaner but this works */
section[id] > h2 {
    border-bottom: 1px solid var(--terminal-white);
}

h3 {
    color: var(--terminal-yellow);
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: normal;
}

/* Cyan subheadings for Tenets, Online, Offline */
h3.section-subheading {
    color: var(--terminal-cyan);
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
}

p {
    margin-bottom: 16px;
    font-size: 16px;
}

a {
    color: var(--terminal-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--terminal-white);
    text-decoration: underline;
}

/* Welcome Section */
.welcome-text {
    margin-top: 20px;
}

.welcome-text p {
    text-align: center;
    font-size: 18px;
}

/* About Section */
.ascii-art-mobile {
    font-size: 3px;
    line-height: 1;
    color: var(--terminal-green);
    overflow-x: auto;
    white-space: pre;
    margin: 20px 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* Larger ASCII art in welcome section */
.ascii-art-welcome {
    font-size: 5px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    background-color: transparent;
}

.bio-section {
    margin: 20px 0;
}

/* About Me subsections styling */
.about-subsection {
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(0, 255, 0, 0.02);
    border-radius: 5px;
}

.about-subsection:first-of-type {
    margin-top: 30px;
}

.tenets-list, .interests-list {
    list-style: none;
    padding-left: 20px;
    margin: 10px 0;
}

.tenets-list li, .interests-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.tenets-list li:before, .interests-list li:before {
    content: '|';
    position: absolute;
    left: 0;
    color: var(--terminal-green);
}

/* Achievement items container */
.achievement-container {
    padding-left: 20px;
    margin: 10px 0;
}

.achievement-item {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.achievement-item:before {
    content: '|';
    position: absolute;
    left: 0;
    color: var(--terminal-green);
}

/* Section Lead-in */
.section-lead-in {
    margin: 20px 0;
}

.section-lead-in p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--terminal-white);
    margin-bottom: 16px;
}

/* Services Section */
.service-card {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--terminal-green);
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 40px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-subheading {
    color: var(--terminal-bright-black);
    font-size: 14px;
    margin-top: -8px;
    margin-bottom: 12px;
    font-style: italic;
}

/* Services Section Headings */
.services-section-heading {
    color: var(--terminal-cyan);
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--terminal-cyan);
    padding-bottom: 8px;
}

/* Service Highlights */
.service-highlights {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.service-highlights li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--terminal-white);
    font-size: 15px;
}

.service-highlights li:before {
    content: '|';
    position: absolute;
    left: 0;
    color: var(--terminal-green);
}

/* Service CTA Button */
.service-cta {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-top: 20px;
    background-color: var(--terminal-green);
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--terminal-green);
}

.service-cta:hover {
    background-color: transparent;
    color: var(--terminal-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.2);
}

/* Tools Section */
.loading {
    text-align: center;
    color: var(--terminal-cyan);
    padding: 40px 0;
}

.repo-card {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--terminal-cyan);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.repo-card h3 {
    color: var(--terminal-yellow);
    margin-bottom: 10px;
}

.repo-description {
    margin-bottom: 12px;
    color: var(--terminal-white);
}

.repo-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.repo-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Newsletter Section */
#newsletter {
    margin-bottom: 0;
    padding-bottom: 0;
}

.beehiiv-embed {
    display: block;
    padding-top: 15px;
    margin: 40px auto 0;
    max-width: 100%;
    height: 382px !important;
}


/* Footer */
footer {
    background-color: var(--terminal-bg);
    border-top: 2px solid var(--terminal-green);
    padding: 30px 0 20px 0;
    text-align: center;
    margin-top: 0;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-icon {
    color: var(--terminal-cyan);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-icon:hover {
    color: var(--terminal-green);
    transform: translateY(-2px);
}

.footer-icon svg {
    width: 24px;
    height: 24px;
}

.terminal-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--terminal-green);
    color: #000;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.terminal-link:hover {
    background-color: var(--terminal-white);
    text-decoration: none;
}

.copyright {
    color: var(--terminal-cyan);
    font-size: 14px;
}

/* Mobile Optimizations */
@media (max-width: 600px) {
    #site-title {
        font-size: 24px;
    }
    
    #site-tagline {
        font-size: 14px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .service-card, .repo-card {
        padding: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-label {
        min-width: auto;
    }
}

/* Waitlist Form Styles */
.launchlist-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.launchlist-form input[type="text"],
.launchlist-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--terminal-green);
    border-radius: 5px;
    color: var(--terminal-white);
    font-family: 'Courier New', monospace;
    font-size: 16px;
    transition: all 0.3s ease;
}

.launchlist-form input[type="text"]::placeholder,
.launchlist-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.launchlist-form input[type="text"]:focus,
.launchlist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--terminal-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.launchlist-form .service-cta {
    margin-top: 8px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

/* Utility Classes */
.highlight-yellow {
    color: var(--terminal-yellow);
}

.highlight-green {
    color: var(--terminal-green);
}

.highlight-cyan {
    color: var(--terminal-cyan);
}