/* Base Styles */
:root {
    --primary-color: #ffcc00;
    --primary-dark: #e6b800;
    --secondary-color: #e64500;
    --text-color: #d3d7cf;
    --bg-color: #1e1e1e;
    --panel-color: #252526;
    --accent-color: #323234;
    --highlight: #474745;
    --primary-glow: rgba(255, 204, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1024px;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="%231e1e1e"/><path d="M0,0 L100,100 M0,100 L100,0" stroke="%23323234" stroke-width="0.5"/></svg>');
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

h2 {
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.description {
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 1.5rem;
    background-color: var(--panel-color);
    border: 1px solid var(--accent-color);
    border-left: 3px solid var(--primary-color);
    text-align: left;
    line-height: 1.7;
}

.description p {
    margin-bottom: 1rem;
}

.description ul {
    padding: 1rem 0 1rem 1.5rem;
}

.highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background-color: var(--panel-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 0 10px var(--primary-glow);
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature {
    flex: 1 1 200px;
    padding: 1.5rem;
    background-color: var(--panel-color);
    border: 1px solid var(--accent-color);
    border-left: 3px solid var(--primary-color);
    text-align: left;
    position: relative;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

footer {
    margin-top: 3rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    border-top: 1px solid var(--accent-color);
    padding-top: 1rem;
}

.signup-container {
    margin: 3rem auto;
    padding: 2rem;
    background-color: var(--panel-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
    max-width: 600px;
}

.signup-heading {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.email-form {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.email-form input {
    padding: 0.8rem;
    width: 300px;
    background-color: var(--bg-color);
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    font-size: 1rem;
    border-radius: 4px 0 0 4px;
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

.email-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
    border-radius: 0 4px 4px 0;
}

.email-form button:hover {
    background-color: var(--primary-dark);
}

/* SVG Barcode styles */
.barcode-container {
    margin: 2rem auto;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.stats-container {
    background-color: var(--panel-color);
    border: 1px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem auto;
    max-width: 800px;
}

.stats-heading {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    padding: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Source Code Pro', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Success and error message styles */
.success-message {
    background-color: rgba(82, 196, 26, 0.2);
    border: 1px solid #52c41a;
    color: #52c41a;
    padding: 0.8rem;
    margin: 1rem 0;
    border-radius: 4px;
    display: none;
}

.error-message {
    background-color: rgba(255, 77, 79, 0.2);
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
    padding: 0.8rem;
    margin: 1rem 0;
    border-radius: 4px;
    display: none;
}

/* Loading spinner */
.spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 204, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .email-form {
        flex-direction: column;
        align-items: center;
    }
    
    .email-form input {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }
    
    .email-form button {
        width: 100%;
        border-radius: 4px;
    }
}
