:root {
    --bg-color: #030303;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --primary-color: #008C1F; /* Green button */
    --primary-hover: #00A625;
    --logo-red: #E63946;
    --border-color: #333333;
    --input-focus: #FFFFFF;
    --card-bg: transparent;
    --card-border: #444444;
    --card-hover-bg: rgba(255,255,255,0.05);
    
    --font-family: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent scrolling for app feel */
}

/* Header & Logo */
.header {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    max-width: 140px;
    height: auto;
}

/* App Container */
.app-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 2rem;
}

/* Steps Container */
.form-container {
    width: 100%;
    max-width: 800px;
    position: relative;
}

/* Steps Animation */
.step {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.step.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.step.fade-out-up {
    transform: translate(-50%, -80%);
    opacity: 0;
}

.step.fade-in-up {
    transform: translate(-50%, 20%);
    animation: fadeInUp 0.4s forwards;
}

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


/* Typography & Layout */
.content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.content-wrapper.align-left {
    max-width: 600px;
    margin: 0 auto;
}

.content-wrapper.center-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.question-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.question-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Inputs */
.input-group {
    margin: 2rem 0;
    position: relative;
}

.clean-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 0.5rem 0;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.clean-input::placeholder {
    color: #444;
}

.clean-input:focus {
    border-bottom-color: var(--input-focus);
}

.phone-input-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.phone-input-group:focus-within {
    border-bottom-color: var(--input-focus);
}

.phone-input-group .clean-input {
    border-bottom: none;
}

.country-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Options / Cards */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.option-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    background-color: var(--card-hover-bg);
    border-color: #666;
}

.option-card.selected {
    border-color: var(--input-focus);
    background-color: rgba(255,255,255,0.1);
}

.option-letter {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 1rem;
}

.option-text {
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s;
    outline: none;
}

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

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-small {
    font-size: 1rem;
    padding: 0.8rem 2rem;
}

.mt-large {
    margin-top: 3rem;
}

.mt-medium {
    margin-top: 1.5rem;
}

/* Success Icon */
.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 140, 31, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.success-icon svg {
    width: 40px;
    height: 40px;
}

/* Navigation Controls (Side Arrows) */
.navigation-controls {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.nav-arrow {
    background: transparent;
    border: none;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-arrow:hover {
    color: #fff;
}

/* Media Queries */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
    }
    .question-title {
        font-size: 1.3rem;
    }
    .clean-input {
        font-size: 1.2rem;
    }
    .option-text {
        font-size: 1rem;
    }
    .navigation-controls {
        display: none !important;
    }
}
