:root {
    --color-bg: #0a0a0a;
    --color-surface: #121212;
    --color-surface-hover: #1e1e1e;
    --color-gold: #C5A059;
    /* Passport gold color */
    --color-gold-hover: #dcb867;
    --color-text: #f0f0f0;
    --color-text-muted: #888888;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    /* Precision Grid Background */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    color: var(--color-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0) 100%);
}

.hero-content {
    max-width: 600px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
    border: 2px solid var(--color-gold);
}

.title {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.tagline {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.description {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-gold);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-text-muted);
    color: var(--color-text-muted);
}

.btn-secondary.disabled {
    cursor: default;
    opacity: 0.7;
}

.btn svg {
    display: block;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem 4rem;
    /* Bottom padding to separate from footer */
    margin-top: 4rem;
    /* Additional space from hero */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background-color: rgb(12 12 12 / 80%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    position: relative;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(197, 160, 89, 0.1);
}

/* The Corner Accent (Reference Style) */
.card-accent {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--color-gold);
    border-left: 2px solid var(--color-gold);
    border-radius: 4px 0 0 0;
    box-shadow: -1px -1px 10px rgba(197, 160, 89, 0.5);
    /* Glowing corner */
}

.feature-card .icon {
    width: 40px;
    height: 40px;
    color: var(--color-text);
    /* White icon as per ref */
    margin-bottom: 2rem;
}

.feature-card .icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: 'Space Mono', monospace;
    /* Tech/Mono font for title */
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: capitalize;
    letter-spacing: -0.5px;
}

.feature-card p {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    /* More top padding */
    text-align: center;
    background-color: transparent;
    /* Transparent match */
    /* No border top for cleaner look, or maybe subtle one */
    /* border-top: 1px solid rgba(255, 255, 255, 0.05); */
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.social-links a:hover {
    color: var(--color-gold);
    opacity: 1;
}

.legal-links {
    margin-bottom: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    /* Precision font */
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.text-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    transition: color 0.3s;
    padding: 0;
    text-transform: uppercase;
}

.text-btn:hover {
    color: var(--color-gold);
    /* Gold hover */
    text-decoration: none;
}

.separator {
    color: var(--color-text-muted);
    margin: 0 0.8rem;
    opacity: 0.5;
}

.copyright {
    color: #666;
    font-size: 0.75rem;
    font-family: 'Courier New', Courier, monospace;
    opacity: 0.8;
}

.copyright a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.copyright a:hover {
    color: var(--color-gold);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Darker overlay */
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #0f0f0f;
    padding: 2.5rem;
    border-radius: 2px;
    /* Sharper corners for precision */
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.2);
    /* Gold subtle border */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    animation: modalFadeIn 0.3s ease;
    font-family: 'Courier New', Courier, monospace;
    /* Tech feel */
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--color-gold);
}

.modal-content h2 {
    color: var(--color-gold);
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.scroll-area {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 2rem;
    padding-right: 0.5rem;
    text-align: left;
}

.scroll-area::-webkit-scrollbar {
    width: 4px;
}

.scroll-area::-webkit-scrollbar-thumb {
    background-color: #333;
}

.scroll-area p {
    margin-bottom: 1.2rem;
    color: #bbb;
    font-size: 0.85rem;
    line-height: 1.7;
}

.scroll-area strong {
    color: #fff;
    font-weight: 600;
}

.modal-close-action {
    display: block;
    width: 100%;
    margin-top: 0;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.modal-close-action:hover {
    background: rgba(197, 160, 89, 0.1);
    transform: none;
    box-shadow: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .title {
        font-size: 2.2rem;
    }

    .hero {
        padding: 4rem 1.5rem 2rem;
        /* Reduce top padding on mobile */
    }

    .features {
        grid-template-columns: 1fr;
        /* Force single column on mobile */
        padding: 0 1.5rem 3rem;
        gap: 1.5rem;
    }

    .logo {
        width: 100px;
        height: 100px;
        margin-bottom: 2rem;
    }

    .tagline {
        font-size: 0.9rem;
    }
}

/* Blinking Dot Animation */
.blink {
    animation: blink-animation 2s infinite;
}

@keyframes blink-animation {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}