
:root {
    --primary: #8B2942;
    --primary-light: #B94A67;
    --primary-dark: #6B1F33;
    --accent: #D4A574;
    --accent-light: #E8C9A8;
    --text-dark: #2D2D2D;
    --text-light: #F8F4F0;
    --bg-cream: #FDF9F5;
    --bg-warm: #F5EDE6;
    --shadow: 0 4px 20px rgba(139, 41, 66, 0.15);
    --shadow-lg: 0 8px 40px rgba(139, 41, 66, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url(../images/bgc.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero h1 span {
    color: var(--accent-light);
    font-style: italic;
}

.hero p {
    font-family: 'Lora', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary-dark);
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.4);
    font-family: 'Source Sans 3', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.5);
}

.btn-primary svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    flex-direction: row;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    opacity: 0.9;
}

.badge svg {
    width: 20px;
    height: 20px;
    color: var(--accent-light);
}

/* Quiz Section */
.quiz-section {
    display: none;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-warm) 100%);
    padding: 3rem 1.5rem;
}

.quiz-section.active {
    display: block;
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-header {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-step {
    font-family: 'Lora', serif;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(139, 41, 66, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-btn {
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(139, 41, 66, 0.15);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-dark);
    text-align: center;
}

.option-btn:hover {
    border-color: var(--primary-light);
    background: rgba(139, 41, 66, 0.03);
}

.option-btn.selected {
    border-color: var(--primary);
    background: rgba(139, 41, 66, 0.08);
    color: var(--primary);
    font-weight: 600;
}

.option-btn.multi-select.selected {
    position: relative;
}

.option-btn.multi-select.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    color: var(--primary);
    font-weight: bold;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.interest-btn {
    padding: 1rem;
    border: 2px solid rgba(139, 41, 66, 0.15);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-family: 'Source Sans 3', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.interest-btn:hover {
    border-color: var(--primary-light);
}

.interest-btn.selected {
    border-color: var(--primary);
    background: rgba(139, 41, 66, 0.08);
    color: var(--primary);
}

.interest-btn .emoji {
    font-size: 1.2rem;
}

/* Select dropdowns */
.select-group {
    margin-bottom: 1.5rem;
}

.select-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(139, 41, 66, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    background: white;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--primary);
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--primary);
    pointer-events: none;
}

/* City input */
.city-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(139, 41, 66, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    transition: all 0.3s ease;
}

.city-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Navigation buttons */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-back {
    padding: 1rem 2rem;
    border: 2px solid rgba(139, 41, 66, 0.2);
    border-radius: 50px;
    background: transparent;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans 3', sans-serif;
}

.btn-back:hover {
    background: rgba(139, 41, 66, 0.05);
}

.btn-next {
    flex: 1;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans 3', sans-serif;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-whatsapp {
    flex: 1;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans 3', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-whatsapp:hover {
    background: #20BA5C;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
}

/* Telegram Button */
.btn-telegram {
    flex: 1;
    padding: 1rem 2rem;
    background: #0088CC;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans 3', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-telegram:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

.btn-telegram svg {
    width: 24px;
    height: 24px;
}

/* Success Screen */
.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.success-text {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .social-buttons {
        flex-direction: row;
    }
}

/* Features Section */
.features-section {
    padding: 5rem 1.5rem;
    background: white;
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: var(--bg-cream);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Success Stories */
.stories-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
}

.stories-container {
    max-width: 900px;
    margin: 0 auto;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.story-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.story-image::before {
    content: '❤️';
    font-size: 4rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.story-content {
    padding: 2rem;
}

.story-quote {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.story-author {
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem 1.5rem;
}

footer a {
    color: var(--accent-light);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }

    .hero-badges {
        flex-direction: column;
        gap: 1.25rem;
    }

    .quiz-card {
        padding: 2rem 1.5rem;
    }

    .quiz-nav {
        flex-direction: column;
    }

    .btn-back {
        order: 2;
    }
}

@media (min-width: 769px) {
    .hero-badges {
        flex-direction: row;
        gap: 3rem;
    }
}
