:root {
    --bg-primary: #080B12;
    --bg-secondary: #101521;
    --bg-card: #151B29;
    --accent-red: #EF3340;
    --accent-red-dark: #C71F2B;
    --text-primary: #F5F7FA;
    --text-secondary: #9CA6B8;
    --border-color: #252D3D;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary) url('/images/background.webp') center center / cover no-repeat fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 11, 18, 0.85);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(8, 11, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 32px;
    height: 32px;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.language-selector {
    position: relative;
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-button:hover {
    border-color: var(--accent-red);
    transform: translateY(-1px);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--bg-secondary);
}

.lang-option.active {
    color: var(--accent-red);
    font-weight: 500;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 11, 18, 0.3);
    backdrop-filter: blur(2px);
    z-index: 0;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(239, 51, 64, 0.1);
    border: 1px solid var(--accent-red);
    border-radius: 20px;
    color: var(--accent-red);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
}

.trx-logo-container {
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

.trx-logo {
    width: 100%;
    height: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--accent-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 51, 64, 0.3);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    border-color: var(--accent-red);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

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

.btn-skip {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 14px;
}

.btn-skip:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-submit {
    width: 100%;
    margin-top: 24px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: rgba(16, 21, 33, 0.6);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: rgba(21, 27, 41, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red);
    box-shadow: var(--shadow);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Survey Section */
.survey-section {
    padding: 60px 0;
    min-height: 100vh;
}

.survey-progress {
    margin-bottom: 40px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
    transition: width 0.5s ease;
}

.survey-content {
    max-width: 700px;
    margin: 0 auto;
}

.question-card {
    background: rgba(21, 27, 41, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(15px);
}

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

.question-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.options-grid {
    display: grid;
    gap: 16px;
}

.option-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.option-card:hover {
    border-color: var(--accent-red);
    transform: translateX(4px);
}

.option-card.selected {
    background: rgba(239, 51, 64, 0.1);
    border-color: var(--accent-red);
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.option-card.selected .option-radio {
    border-color: var(--accent-red);
}

.option-card.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.option-text {
    font-size: 16px;
    flex: 1;
}

.survey-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    max-width: 700px;
    margin: 30px auto 0;
}

.survey-navigation .btn {
    flex: 1;
}

/* Address Section */
.address-section {
    padding: 60px 0;
    min-height: 100vh;
}

.address-content {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(21, 27, 41, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 50px;
    backdrop-filter: blur(15px);
}

.section-description {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.7;
    text-align: center;
}

.address-form {
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-red);
}

.form-input.error {
    border-color: #ff4444;
}

.form-error {
    color: #ff4444;
    font-size: 13px;
    margin-top: 8px;
    min-height: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--accent-red);
}

.checkbox-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Success Section */
.success-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.success-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.success-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.disclaimer-section {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 30px;
    background: rgba(21, 27, 41, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.disclaimer-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-red);
    margin-bottom: 20px;
    text-align: center;
}

.disclaimer-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: justify;
}

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

.footer-disclaimer {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-note {
    color: var(--text-secondary);
    font-size: 13px;
    opacity: 0.7;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-visual {
        display: none;
    }

    .hero-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .question-card {
        padding: 30px 20px;
    }

    .question-title {
        font-size: 20px;
    }

    .address-content {
        padding: 30px 20px;
    }

    .survey-navigation {
        flex-direction: column-reverse;
    }

    .brand-text {
        font-size: 16px;
    }

    .nav-content {
        height: 60px;
    }

    .main-content {
        margin-top: 60px;
    }

    .hero-features {
        flex-direction: column;
        gap: 16px;
    }

    .disclaimer-section {
        padding: 20px;
        margin: 0 auto 30px;
    }

    .disclaimer-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .disclaimer-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer {
        padding: 40px 0 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }

    .option-card {
        padding: 16px 18px;
    }

    .brand-text {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
