/* 
   x10aix - Retro Terminal Style
   Landingpage Stylesheet
*/

@font-face {
    font-family: 'VT323';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../vt323.ttf') format('truetype');
}

:root {
    --bg-color: #2a2420;
    --terminal-black: #1a1612;
    --text-primary: #d4c5a9;
    --text-muted: #a89968;
    --accent: #e8d4a0;
    --accent-hover: #e8a030;
    --highlight: #5fd35f;
    --border-color: #6b5d4f;
    --font-mono: 'VT323', 'Courier New', Courier, monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

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

html {
    font-size: 20px; /* VT323 needs a larger base to be readable */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-mono); /* Using Mono for the terminal feel */
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    /* Make typography crisp */
    -webkit-font-smoothing: none;
    image-rendering: crisp-edges;
}

/* Typography base */
h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

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

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Container */
.terminal-container {
    background-color: var(--terminal-black);
    width: 100%;
    max-width: 800px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.terminal-header {
    background-color: rgba(48, 54, 61, 0.3);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.status-indicatorblink {
    color: var(--highlight);
    margin-right: 10px;
    font-weight: bold;
    animation: blink 1s step-end infinite;
}

.active-process {
    color: var(--accent);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Main Content Area */
.content-wrapper {
    padding: 60px 40px;
    min-height: 400px;
    position: relative;
}

.text-center {
    text-align: center;
}

/* Steps System */
.survey-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.survey-step.active-step {
    display: block;
}

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

.step-indicator {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Buttons and Options */
.btn {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 15px 30px;
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 350px;
    text-decoration: none;
}

.btn-primary {
    background-color: rgba(46, 160, 67, 0.1);
    border-color: var(--highlight);
    color: var(--highlight);
}

.btn-primary:hover {
    background-color: var(--highlight);
    color: var(--terminal-black);
}

.btn-icon {
    margin-left: 15px;
    font-size: 1.2rem;
}

.subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 15px;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 20px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
}

.option-btn:hover {
    border-color: var(--text-primary);
    background-color: rgba(255,255,255,0.05);
}

.opt-key {
    color: var(--accent);
    margin-right: 15px;
    min-width: 30px;
    display: inline-block;
}

/* Forms */
.lead-capture-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 1rem;
    border-radius: 0;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 15px;
    text-align: center;
}

/* Thank You Page specifics */
.vsl-container {
    margin: 40px auto;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border-color);
    background-color: rgba(0,0,0,0.5);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vsl-placeholder {
    text-align: center;
    padding: 20px;
}

.play-btn {
    font-size: 3rem;
    color: var(--highlight);
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.vsl-instruction {
    color: var(--accent);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.vsl-fallback-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.next-step-box {
    border: 1px dashed var(--border-color);
    padding: 30px;
    margin-top: 40px;
    background-color: rgba(255,255,255,0.02);
}

.next-step-box h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.next-step-box p {
    margin-bottom: 25px;
    color: var(--text-muted);
}

.btn-calendly {
    width: auto;
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(88, 166, 255, 0.1);
}

.btn-calendly:hover {
    background-color: var(--accent);
    color: var(--terminal-black);
}

/* Footer */
.terminal-footer {
    border-top: 1px solid var(--border-color);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    background-color: rgba(0,0,0,0.2);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 600px) {
    html {
        font-size: 18px; /* Slightly smaller base on mobile to prevent overflow */
    }
    
    .content-wrapper {
        padding: 40px 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
}
