* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background: #3a4664;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    color: white;
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
}

.logo-sub {
    color: white;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: -5px;
}

/* Hero Section */
.hero {
    background: #3a4664;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    color: #fce5a3;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero h1 span {
    color: #ff7a6b;
}

.hero-subtitle {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Referral Code Section - CENTER */
.referral-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
}

.referral-label {
    color: #fce5a3;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    font-weight: 600;
}

.referral-code-container {
    background: #fce5a3;
    border-radius: 15px;
    padding: 25px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.referral-code-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.referral-code-container:active {
    transform: translateY(0);
}

.referral-code {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3a4664;
    letter-spacing: 2px;
}

.copy-icon {
    font-size: 1.5rem;
    color: #3a4664;
}

.referral-hint {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: #ff7a6b;
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 122, 107, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 122, 107, 0.5);
}

.cta-button svg {
    margin-left: 8px;
}

/* Benefits Section */
.benefits {
    background: #fef6f0;
    padding: 100px 20px;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #3a4664;
    margin-bottom: 20px;
}

.benefits-intro {
    color: #666;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    color: #ff7a6b;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item h3 {
    color: #3a4664;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Features Section */
.features {
    background: #6b5b5b;
    padding: 100px 20px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #fce5a3;
    margin-bottom: 60px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
}

.feature-hex {
    width: 150px;
    height: 150px;
    background: #fce5a3;
    border-radius: 30px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.feature-hex::before {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    border: 3px solid rgba(252, 229, 163, 0.3);
    border-radius: 35px;
    transform: rotate(45deg);
}

.feature-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Footer */
footer {
    background: #3a4664;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff7a6b;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .referral-code {
        font-size: 2rem;
    }
    .referral-section {
        padding: 30px 20px;
    }
    .referral-code-container {
        padding: 20px 30px;
    }
    .benefits h2, .features h2 {
        font-size: 1.8rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}
