/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #67BED9;
    --primary-hover: #4fa8c4;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --bg-primary: rgba(10, 10, 10, 0.95);
    --bg-secondary: rgba(20, 20, 20, 0.95);
    --border-color: rgba(255, 255, 255, 0.1);
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --path-color: #67BED9;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #0a0a0a;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* Background Paths Container */
.background-paths-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #0a0a0a;
}

.background-svg {
    width: 100%;
    height: 100%;
    color: var(--path-color);
    overflow: visible;
    position: absolute;
    top: 0;
    left: 0;
}

.background-svg path {
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

/* ASCII Art Animals */
.ascii-animal {
    position: absolute;
    right: -600px;
    color: var(--path-color);
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 9px;
    line-height: 1.1;
    white-space: pre;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
    animation: floatLeft linear infinite;
    text-shadow: 0 0 10px rgba(103, 190, 217, 0.5);
    user-select: none;
}

@keyframes floatLeft {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    5% {
        opacity: 0.35;
    }
    95% {
        opacity: 0.35;
    }
    100% {
        transform: translateX(calc(-100vw - 600px)) translateY(-30px);
        opacity: 0;
    }
}

/* Responsive ASCII art */
@media (max-width: 768px) {
    .ascii-animal {
        font-size: 7px;
        opacity: 0.25;
    }
}

/* Page Content */
.page-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: fadeIn 0.5s ease-in;
    display: block;
    visibility: visible;
    border: 1px solid var(--border-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Main Content */
main {
    padding: 3rem 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Get Started Section */
.get-started {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter {
    margin: 3rem 0 2rem 0;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Code Blocks */
.code-block {
    background: #1e293b;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(103, 190, 217, 0.2);
}

.code-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--path-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.copy-btn {
    background: transparent;
    border: 1px solid rgba(103, 190, 217, 0.3);
    color: var(--path-color);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.copy-btn:hover {
    background: rgba(103, 190, 217, 0.2);
    color: #ffffff;
    border-color: var(--path-color);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-icon {
    font-size: 0.875rem;
}

.code-block pre {
    margin: 0;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.code-block code {
    color: #e2e8f0;
    font-family: inherit;
}

.quick-commands {
    margin-top: 2.5rem;
    text-align: center;
}

.commands-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.commands-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Email Form */
.email-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

#emailInput {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(20, 20, 20, 0.8);
    color: var(--text-primary);
}

#emailInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(103, 190, 217, 0.2);
}

#emailInput::placeholder {
    color: var(--text-secondary);
}

.submit-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #0a0a0a;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 140px;
}

.submit-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(103, 190, 217, 0.3);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    min-height: 20px;
    transition: all 0.3s ease;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-message:empty {
    display: none;
}

/* Footer */
footer {
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .code-block pre {
        font-size: 0.875rem;
        padding: 1rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    #emailInput,
    .submit-btn {
        width: 100%;
    }
    
    main {
        padding: 2rem 1.5rem;
    }

    .get-started,
    .newsletter {
        margin: 2rem 0;
    }
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-loader {
    display: inline-block;
}

/* Path Animation - Keyframes are generated dynamically in JavaScript */
