:root {
    --primary-color: #7f3295;
    --primary-dark: #5e2470;
    --secondary-color: #212121;
    --accent-color: #eebbfa;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --container-width: 1000px;
    --spacing: 1rem;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style-position: inside;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(127, 50, 149, 0.3);
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #000;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    color: var(--white);
}

.highlight {
    color: var(--primary-color);
}

.center-cta {
    text-align: center;
    margin-top: 2rem;
}

.micro-copy {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Header */
.header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.8rem 0;
}

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

.logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, white, #fdf4ff);
}

.badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Referral Box */
.referral-box-section {
    padding: 2rem 0;
}

.referral-card {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.referral-card h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.code-display {
    background-color: var(--light-bg);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.code-display span {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.btn-copy {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-copy:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.check-icon {
    color: #4caf50;
    width: 18px;
    height: 18px;
}

/* Section General */
.section {
    padding: 4rem 0;
    scroll-margin-top: 80px;
    /* Offset for sticky header */
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-bg);
    border: none;
}

.disclaimer-text {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
}

/* How To */
.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* Review */
.review-content {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.review-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.review-content p {
    margin-bottom: 1rem;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
}

.faq-question.active .icon {
    transform: rotate(45deg);
}

.faq-question.active+.faq-answer {
    max-height: 200px;
}

.icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
    margin-top: 4rem;
    font-size: 0.9rem;
    text-align: center;
}

.footer .disclaimer {
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .referral-card {
        padding: 1.5rem;
    }

    .code-display {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section {
        padding: 3rem 0;
    }
}