:root {
    --bg-color: #050505;
    --surface-color: #111111;
    --surface-light: #1a1a1a;
    --accent-color: #ff5500;
    --accent-hover: #ff702b;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.accent {
    color: var(--accent-color);
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* Utilities */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 85, 0, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #444;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.glass-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-glow {
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('hero-bg.png') no-repeat center center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5,5,5,0.6) 0%, rgba(5,5,5,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.glitch-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 0;
}

.subtitle {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Benefits Section */
.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.modern-card {
    background: var(--surface-color);
    padding: 40px 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.modern-card:hover {
    transform: translateY(-10px);
    background: var(--surface-light);
    border-color: rgba(255, 85, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 85, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.modern-card:hover .icon-wrapper {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.modern-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.modern-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

.card-border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.modern-card:hover .card-border {
    width: 100%;
}

/* Quiz Section */
.quiz-section {
    position: relative;
    background: url('cta-bg.png') no-repeat center center;
    background-size: cover;
}

.quiz-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.8) 100%);
}

.quiz-wrapper {
    position: relative;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.quiz-header p {
    color: var(--text-secondary);
}

.progress-bar-container {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-top: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 25%;
    transition: width 0.4s ease;
}

.quiz-body {
    min-height: 250px;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-step h3 {
    font-size: 22px;
    margin-bottom: 30px;
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grid-options-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-options-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.wide-option {
    grid-column: 1 / -1;
}

.quiz-option {
    cursor: pointer;
    position: relative;
}

.quiz-option input {
    display: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition-fast);
    display: block;
    height: 100%;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.quiz-option input:checked + .option-content,
.quiz-option input:checked ~ .option-content-flex {
    color: var(--accent-color);
}

.quiz-option input:checked + .option-content i {
    color: var(--accent-color);
}

.quiz-option input:checked ~ .selected-ring {
    opacity: 1;
    transform: scale(1);
}

.quiz-option input:checked ~ .option-content-flex .budget-circle {
    border-color: var(--accent-color);
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 85, 0, 0.5);
}

.selected-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-fast);
    pointer-events: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.option-content i {
    font-size: 32px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.option-content h4 {
    font-size: 16px;
    margin: 5px 0;
}

.option-content span {
    font-size: 13px;
    color: var(--text-secondary);
}

.option-content-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
}

.budget-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    transition: var(--transition-fast);
}

.step-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.form-container {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-input {
    position: relative;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transition: var(--transition-fast);
}

.modern-input:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255,85,0,0.1);
}

.modern-input i {
    color: var(--text-secondary);
    font-size: 18px;
}

.modern-input input {
    background: transparent;
    border: none;
    color: white;
    padding: 18px 15px;
    width: 100%;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.modern-input input:focus {
    outline: none;
}

.modern-input input::placeholder {
    color: rgba(255,255,255,0.3);
}

.privacy-note {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 20px;
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.quiz-footer button {
    min-width: 140px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 0;
}

.success-animation {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark-circle {
    position: absolute;
    inset: 0;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: growCircle 0.5s ease-out forwards;
}

.success-animation i {
    font-size: 36px;
    color: var(--accent-color);
    opacity: 0;
    transform: scale(0.5);
    animation: popCheck 0.4s 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes growCircle {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes popCheck {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.success-message h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,85,0,0.05) 0%, var(--bg-color) 70%);
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 60px;
    z-index: 2;
    border-radius: 12px;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 85, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 85, 0, 0);
    }
}

.telegram-icon-bounce {
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(-5px);}
    60% {transform: translateX(-3px);}
}

/* Footer */
footer {
    background: #000;
    padding: 60px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 14px;
}

.footer-links {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .glitch-title, .subtitle { font-size: 48px; }
    .hero-stats { gap: 30px; }
}

@media (max-width: 768px) {
    .navbar { padding: 20px; }
    .nav-links { display: none; }
    .glitch-title, .subtitle { font-size: 36px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-buttons { flex-direction: column; }
    .quiz-wrapper { padding: 30px 20px; }
    .grid-options-4, .grid-options-2 { grid-template-columns: 1fr; }
    .cta-content { padding: 40px 20px; }
    .footer-container { flex-direction: column; gap: 30px; text-align: center; }
    .footer-links { text-align: center; }
}
