:root {
    --primary-color: #6c42f5;
    --secondary-color: #ff00ff;
    --accent-color: #00ffaa;
    --background-color: #0a0a2a;
    --card-bg: #1a1a3a;
    --text-color: #fff;
    --header-bg: rgba(10, 10, 42, 0.9);
    --section-bg: #121233;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

body {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(108, 66, 245, 0.1), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 0, 255, 0.1), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(0, 255, 170, 0.1), transparent 25%);
    background-attachment: fixed;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

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

header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-content { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 10px; user-select: none; text-decoration: none; }
.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 10px;
    border-radius: 12px;
    transition: background 0.2s;
}
nav a:hover, nav a.active {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: #fff;
}

main { padding: 40px 0 10px; }

.page-title,
.home-section h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 18px rgba(108, 66, 245, 0.5);
}

.subtitle,
.home-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 760px;
    margin: 0 auto 30px;
}

.home-section { text-align: center; padding: 12px 0 10px; }

.hero-actions,
.section-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.action-button,
.secondary-button,
.card-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 13px 26px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 66, 245, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secondary-button {
    background: rgba(108, 66, 245, 0.25);
    border: 1px solid rgba(108, 66, 245, 0.5);
}

.action-button:hover,
.secondary-button:hover,
.card-button:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(108, 66, 245, 0.4); }

.section-card {
    background: var(--section-bg);
    border-radius: 16px;
    margin: 25px 0 40px;
    padding: 35px 24px;
}

.section-card h2 {
    font-size: 2rem;
    margin-bottom: 14px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.how-support-note {
    margin-bottom: 30px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.05rem;
    opacity: 0.97;
}

.how-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    max-width: 950px;
    position: relative;
    gap: 15px;
}

.how-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.how-step,
.step-item { text-align: center; position: relative; z-index: 2; flex: 1; }

.how-step-number,
.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 13px;
    font-size: 1.8rem;
    font-weight: bold;
    border: 2px solid var(--primary-color);
}

.how-step.active .how-step-number,
.step-item .step-number {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 20px rgba(108, 66, 245, 0.5);
}

.how-step h3,
.step-item h3 { margin-bottom: 8px; font-size: 1.1rem; color: var(--accent-color); }
.how-step p,
.step-item p { font-size: 0.98rem; opacity: 0.84; }

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px 15px;
    width: 100%;
    max-width: 550px;
    margin: 0 auto 24px;
}

.search-bar input { background: transparent; border: none; color: white; width: 100%; outline: none; padding: 6px; }
.search-bar i { color: var(--accent-color); }

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-button {
    background: var(--card-bg);
    border: none;
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
}
.tab-button.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 15px rgba(108, 66, 245, 0.5);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 18px;
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 400% 400%;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before { opacity: 1; animation: gradientGlow 3s ease infinite; }
@keyframes gradientGlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.card:hover { transform: translateY(-5px); }
.card img {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.card:hover img { transform: scale(1.06); }
.card h3 { margin-bottom: 9px; font-size: 1.2rem; }
.card p { font-size: 0.95rem; opacity: 0.78; margin-bottom: 14px; }

.featured-offer {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 20px;
    align-items: center;
}
.featured-offer img { width: 100%; border-radius: 14px; max-width: 220px; }
.trust-list,
.content-list { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.trust-list li::before,
.content-list li::before { content: '✓'; color: var(--accent-color); margin-right: 10px; }

.note-text { color: rgba(255,255,255,0.8); margin-top: 14px; }
.safety-note { margin-top: 16px; color: var(--accent-color); font-weight: 600; }

.contact-form {
    display: grid;
    gap: 12px;
    max-width: 700px;
    margin: 18px auto 0;
}
.contact-form label { font-weight: 600; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    padding: 12px;
    outline: none;
}

footer {
    margin-top: 25px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { color: #fff; text-decoration: none; opacity: 0.9; }
.footer-links a:hover { color: var(--accent-color); }

@media (max-width: 950px) {
    .how-steps { flex-direction: column; gap: 30px; }
    .how-steps::before { display: none; }
    .featured-offer { grid-template-columns: 1fr; text-align: center; }
    .featured-offer img { margin: 0 auto; }
}

@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 12px; }
    .page-title,
    .home-section h1 { font-size: 2.2rem; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 576px) {
    .cards-grid { grid-template-columns: 1fr; gap: 18px; }
    nav a { font-size: 0.9rem; }
    .tab-button { min-width: 0; flex: 1; }
}
