/* mars.cheap - SpaceX/Apple inspired design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #999999;
    --white: #FFFFFF;
    --mars-red: #CD5C5C;
    --accent-green: #00D084;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Starfield Background */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: twinkle 3s infinite ease-in-out;
}

.star.small {
    width: 1px;
    height: 1px;
}

.star.medium {
    width: 2px;
    height: 2px;
}

.star.large {
    width: 3px;
    height: 3px;
    opacity: 0.6;
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2);
    }
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-gray);
    z-index: 1000;
    padding: 0 5%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: 40px;
}

.nav-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, var(--black) 0%, var(--dark-gray) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(205, 92, 92, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero h2 {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 300;
    color: var(--light-gray);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--light-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Buttons */
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

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

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* Content Sections */
.section {
    padding: 120px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-dark {
    background: var(--dark-gray);
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -1.5px;
}

.section h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.section p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.section ul {
    margin-left: 30px;
    margin-bottom: 30px;
}

.section li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-gray);
    margin-bottom: 12px;
}

.section strong {
    color: var(--white);
    font-weight: 600;
}

/* Blockquote */
blockquote {
    border-left: 4px solid var(--mars-red);
    padding: 30px 40px;
    margin: 60px 0;
    background: var(--dark-gray);
    font-size: 24px;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
}

blockquote cite {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    font-style: normal;
    color: var(--light-gray);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 16px;
}

th, td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

th {
    font-weight: 700;
    color: var(--white);
    background: var(--dark-gray);
}

td {
    color: var(--light-gray);
}

/* Code blocks */
code {
    background: var(--dark-gray);
    padding: 2px 8px;
    border-radius: 3px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    color: var(--accent-green);
}

/* Form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--dark-gray);
    border-radius: 8px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-container p {
    text-align: center;
    margin-bottom: 40px;
}

input[type="email"] {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    background: var(--black);
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    color: var(--white);
    margin-bottom: 20px;
    font-family: inherit;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--white);
}

button[type="submit"] {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background: var(--light-gray);
}

/* Footer */
footer {
    background: var(--black);
    border-top: 1px solid var(--dark-gray);
    padding: 60px 5%;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    list-style: none;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.copyright {
    color: var(--light-gray);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
        font-size: 12px;
    }

    .nav-brand {
        font-size: 20px;
    }

    .nav-logo img {
        height: 32px;
        width: 32px;
    }

    .section {
        padding: 80px 5%;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    blockquote {
        padding: 20px;
        font-size: 20px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--mars-red);
    color: var(--white);
}
