/* ================================== */
/* TYPOGRAPHY ELEMENTS */
/* ================================== */

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    background: var(--eco-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.welcome-title {
    font-size: 1.85rem;
    font-weight: 700;
    background: var(--eco-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================== */
/* CARD COMPONENTS */
/* ================================== */

/* Glass Cards */
.glass-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 20px 20px 0 0;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border-color: #475569;
}

.glass-card.featured::before {
    background: var(--eco-gradient);
}

.glass-card.premium::before {
    background: var(--success-gradient);
}

/* Dark Cards */
.dark-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dark-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: #475569;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

/* Step Cards */
.step-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

/* Stats Cards */
.stats-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stat-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.stat-card.rewards {
    background: linear-gradient(135deg, rgba(17, 153, 142, 0.1) 0%, rgba(56, 239, 125, 0.05) 100%);
    border-color: #11998e55;
    border-width: 1px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

/* Product Cards */
.product-card {
    padding: 2.5rem;
    height: 100%;
    position: relative;
}

/* Purchase Cards */
.purchase-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
}

.purchase-card.subscription {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: #667eea33;
}

.purchase-card.units {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.05) 100%);
    border-color: #4facfe33;
}

/* Activity Cards */
.activity-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
}

/* Quick Link Cards */
.quick-link-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    text-decoration: none;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
}

/* News Cards */
.news-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Stat Highlights */
.stat-highlight {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-highlight:hover {
    transform: translateY(-3px);
    border-color: #11998e;
    box-shadow: 0 15px 30px rgba(17, 153, 142, 0.2);
}

/* ================================== */
/* BUTTON COMPONENTS */
/* ================================== */

/* Primary Gradient Button */
.btn-gradient {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Eco Button */
.btn-eco {
    background: var(--eco-gradient);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-eco::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-eco:hover::before {
    left: 100%;
}

.btn-eco:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(17, 153, 142, 0.4);
    color: white;
}

/* withdraw Button */
.btn-withdraw {
    background: rgb(185,16,17);
    background: -moz-linear-gradient(205deg, rgba(185,16,17,1) 0%, rgba(238,70,124,1) 100%);
    background: -webkit-linear-gradient(205deg, rgba(185,16,17,1) 0%, rgba(238,70,124,1) 100%);
    background: linear-gradient(205deg, rgba(185,16,17,1) 0%, rgba(238,70,124,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b91011",endColorstr="#ee467c",GradientType=1);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-withdraw::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-withdraw:hover::before {
    left: 100%;
}

.btn-withdraw:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(153, 17, 44, 0.4);
    color: white;
}

/* Outline Button */
.btn-outline-custom {
    border: 2px solid var(--dark-border);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-outline-custom.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Header Button Variants */
.btn-header {
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-header:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-header-eco {
    background: var(--eco-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(17, 153, 142, 0.3);
}

.btn-header-eco::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.4s;
}

.btn-header-eco:hover::before {
    left: 100%;
}

.btn-header-eco:hover {
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
    color: white;
}

.btn-header-gradient {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-header-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.4s;
}

.btn-header-gradient:hover::before {
    left: 100%;
}

.btn-header-gradient:hover {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-header-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-header-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* ================================== */
/* FORM COMPONENTS */
/* ================================== */

.form-control {
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    background: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: #0066FF;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 255, 0.25);
    color: white;
}

.form-label {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-check-input {
    background-color: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
    background-color: #0066FF;
    border-color: #0066FF;
}

.card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ================================== */
/* DROPDOWN COMPONENTS */
/* ================================== */

.dropdown-menu {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    color: var(--text-secondary) !important;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    border: none;
    background: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(102, 126, 234, 0.1) !important;
    color: var(--text-primary) !important;
}

.dropdown-item i {
    width: 1rem;
    font-size: 0.875rem;
}

.dropdown-divider {
    border-color: var(--dark-border);
    margin: 0.5rem 0;
}

.dropdown-toggle::after {
    border-top-color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown-toggle {
    border: none;
    background: none;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* ================================== */
/* ICON COMPONENTS */
/* ================================== */

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(45, 127, 249, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #2D7FF9;
}

.product-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 16px;
    background: var(--eco-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    float: right;
}

.product-card.premium .product-icon {
    background: var(--success-gradient);
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    color: white;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--eco-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-link-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.activity-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--eco-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin-right: 1rem;
    font-size: 0.9rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--eco-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

/* ================================== */
/* BADGE & LABEL COMPONENTS */
/* ================================== */

.features-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #2D7FF9;
    background: rgba(45, 127, 249, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.reward-badge {
    background: rgba(56, 239, 125, 0.2);
    color: #38ef7d;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.premium .reward-badge {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
}

.tier-label {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 1rem;
}

.glass-card .badge {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

/* ================================== */
/* PROGRESS COMPONENTS */
/* ================================== */

.progress-bar-custom {
    height: 8px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--eco-gradient);
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* ================================== */
/* TEXT & NUMBER COMPONENTS */
/* ================================== */

.stats-number {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.stat-value.large {
    font-size: 3rem;
    background: var(--eco-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--eco-green);
}

.product-card.premium .product-price {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-description {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.activity-amount {
    color: #38ef7d;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ================================== */
/* LIST COMPONENTS */
/* ================================== */

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-check {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--eco-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-check i {
    color: white;
    font-size: 0.75rem;
}

/* ================================== */
/* PARTNER & MEDIA COMPONENTS */
/* ================================== */

.partner-logo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================== */
/* ELEMENT HOVER EFFECTS */
/* ================================== */

.glass-card img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.glass-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.glass-card .row.g-2 .col-6 > div {
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-card .row.g-2 .col-6 > div:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

/* ================================== */
/* RESPONSIVE ELEMENTS */
/* ================================== */

@media (max-width: 768px) {
    /* Typography responsive */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-value.large {
        font-size: 2.5rem;
    }
    
    /* Cards responsive */
    .product-card {
        padding: 2rem;
    }
    
    /* Buttons responsive */
    .btn-header {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    .align-items-center .btn-header {
        margin-bottom: 0.25rem;
    }
    
    /* Dropdowns responsive */
    .dropdown-menu {
        min-width: 180px;
        margin-top: 0.25rem;
    }
    
    .dropdown-item {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}