/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    /* Premium Dark Theme Palette */
    --bg-color: #030712;
    /* Very deep blue/black */
    --bg-secondary: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    /* Glassmorphic */
    --card-border: rgba(255, 255, 255, 0.08);

    /* Primary Accents - Electric Violet & Cyan */
    --primary-color: #6366f1;
    /* Indigo 500 */
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent-color: #06b6d4;
    /* Cyan 500 */
    --accent-glow: rgba(99, 102, 241, 0.5);

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Functional Colors */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    --backdrop-blur: blur(12px);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(to bottom, #0f172a 0%, #030712 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.8));
    --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 25%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand i {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.nav-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
    transition: all 0.3s ease;
}

.nav-brand:hover .nav-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.6));
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a i {
    font-size: 1.1em;
}

/* Special styling for Connect Wallet/Admin to stand out */
#connect-wallet-btn {
    border: 1px solid var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
}

#connect-wallet-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

#nav-admin {
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Pages */
.page {
    display: none;
    padding: 2rem 0;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.active {
    display: block;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3.5rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(to right, #ffffff, #a5b4fc, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 4rem;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 100%);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-light);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(45, 55, 72, 0.9);
    border-color: var(--text-muted);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

/* Cards & Containers */
.card,
.feature-card,
.rate-card,
.tool-card,
.stat-card-large,
.info-card-large,
.form-container,
.success-card,
.dashboard-search-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.85));
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                0 0 80px rgba(99, 102, 241, 0.1);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        var(--accent-color), 
        var(--primary-color), 
        transparent);
    opacity: 0.6;
}

.feature-card::before,
.rate-card::before,
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-surface);
    pointer-events: none;
}

.feature-card:hover,
.rate-card:hover,
.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Typography Headings */
h2,
h3,
h4 {
    color: var(--text-primary);
    font-weight: 700;
}

h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Feature & Tool Icons */
.feature-icon,
.tool-icon,
.stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary-light);
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

/* Grids */
.features-grid,
.steps,
.info-grid-large,
.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 1200px) {
    .rates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .rates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Inputs & Forms */
.form-group label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.2px;
}

.form-group label i {
    color: var(--primary-light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group:hover label i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.search-form input,
.link-display-large input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.6));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) inset;
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.search-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2), 
                0 0 24px rgba(99, 102, 241, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.2) inset;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.8));
    transform: translateY(-2px);
}

.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus) {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.7));
}

.form-group small {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.password-helper {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-helper i {
    font-size: 0.875rem;
    flex-shrink: 0;
}

#password-helper-text {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.65rem;
    line-height: 1.6;
    padding-left: 0.25rem;
}

.form-group small i {
    color: var(--info-color);
    font-size: 0.8rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Modern Form Enhancements */
.form-section {
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.5), 
        transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.form-section:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.4));
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15),
                0 0 0 1px rgba(99, 102, 241, 0.1) inset;
    transform: translateY(-2px);
}

.form-section:hover::before {
    opacity: 1;
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.form-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
}

.section-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-section:hover .section-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.section-icon.wallet {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(251, 191, 36, 0.2));
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.form-section:hover .section-icon.wallet {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.form-section-header h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Modern Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    padding-right: 3rem;
}

.input-icon {
    position: absolute;
    right: 1.25rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
}

.input-wrapper input:focus + .input-icon {
    color: var(--primary-light);
    transform: scale(1.1);
}

.input-wrapper input:hover:not(:focus) + .input-icon {
    color: var(--text-secondary);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
}

.select-wrapper select:focus + .select-arrow {
    color: var(--primary-light);
    transform: translateY(-50%) rotate(180deg);
}

.select-wrapper:hover .select-arrow {
    color: var(--text-secondary);
}

/* Badges */
.required-badge {
    color: var(--error-color);
    font-weight: 700;
    margin-left: 0.25rem;
}

.optional-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.1));
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-left: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Help Box Modern Design */
.help-box.modern {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.help-box.modern:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2),
                0 0 0 1px rgba(99, 102, 241, 0.1) inset;
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.12));
}

.help-box-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(251, 191, 36, 0.2));
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
}

.help-box.modern:hover .help-box-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.help-box-content {
    flex: 1;
}

.help-box-content strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.help-box-content > p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.help-box-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.help-detail-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.help-detail-item i {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.help-detail-item div {
    flex: 1;
}

.help-detail-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.help-detail-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.help-link {
    color: var(--primary-light) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.help-link:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Section Note Box */
.section-note-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-left: 4px solid var(--info-color);
    border-radius: 14px;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.section-note-box:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.12));
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
    transform: translateX(4px);
}

.section-note-box i {
    color: var(--info-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.section-note-box.info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.section-note-box.info i {
    color: var(--info-color);
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Modern Submit Button */
.modern-submit {
    position: relative;
    overflow: hidden;
    padding: 1.15rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    letter-spacing: 0.5px;
}

.modern-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.45),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                0 0 40px rgba(99, 102, 241, 0.2);
}

.modern-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.modern-submit .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-shine {
    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;
}

.modern-submit:hover .btn-shine {
    left: 100%;
}

/* Form Actions */
.form-actions {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.form-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        transparent);
    opacity: 0.5;
}

.form-note-box {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(30, 41, 59, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-note-box.info {
    border-left: 3px solid var(--info-color);
}

.form-note-box i {
    color: var(--info-color);
    font-size: 1.1rem;
}

/* Dashboard Stats */
.stat-card-large {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.stat-card-large.success {
    border-left-color: var(--success-color);
}

.stat-card-large.success .stat-icon {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.stat-card-large.warning {
    border-left-color: var(--warning-color);
}

.stat-card-large.warning .stat-icon {
    color: var(--warning-color);
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.2);
}

.stat-value-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-top: 0.25rem;
}

/* Tables & Lists */
.affiliate-item,
.commission-item,
.conversion-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.affiliate-item:hover,
.commission-item:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Badges */
.status-badge,
.status-badge-large {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.suspended {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.85);
    /* Darker backdrop */
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    /* Override display none with class toggling in JS if possible, but existing code uses inline style */
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-content {
    background: #0f172a;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.close {
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}

.close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

/* Rate Cards Premium Highlight */
.rate-card.premium {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(30, 41, 59, 0.4) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.rate-card.premium .rate-value,
.rate-card.premium .rate-header i {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Admin Dashboard Grid Layout */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.admin-section-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 0;
    /* Header/Body structure handles padding */
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.admin-section-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.admin-section-card .card-header {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-section-card .card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.admin-section-card .card-body {
    padding: 1.5rem;
}

/* Full width for stats/important sections */
.admin-section-full {
    grid-column: 1 / -1;
}

/* Specific Input Improvements for Admin */
.commission-rates-section input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.2s;
}

.commission-rates-section input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    outline: none;
}

@media (max-width: 768px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Dashboard Specifics */
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--card-border);
    transition: .4s;
    border: 1px solid var(--text-muted);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    /* visual adjustment */
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--success-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

    /* Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(20px);
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--card-border);
        box-shadow: var(--shadow-xl);
        animation: slideDown 0.3s ease-out;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem;
        justify-content: flex-start;
        background: rgba(30, 41, 59, 0.4);
        border: 1px solid var(--card-border);
    }

    .nav-links a:hover {
        background: rgba(99, 102, 241, 0.1);
        transform: translateX(5px);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Hero Section */
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
        flex-direction: row;
        /* Keep row but wrap if needed */
        flex-wrap: wrap;
    }

    /* Forms */
    .form-container,
    .card,
    .success-card {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group input,
    .form-group select {
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    .form-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-section-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .help-box.modern {
        flex-direction: column;
        padding: 1.25rem;
    }

    .help-box-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .help-box-details {
        gap: 0.75rem;
    }

    .help-detail-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-actions {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .modern-submit {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    /* Stats & Cards */
    .stat-card-large {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .stat-icon {
        margin-bottom: 0.5rem;
    }

    .info-card-large .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .link-display-large {
        flex-direction: column;
    }

    .link-display-large input {
        border-radius: 8px;
    }

    .link-options {
        width: 100%;
    }

    .link-options .btn {
        flex: 1;
        justify-content: center;
    }

    /* Tables/Lists */
    .affiliate-item,
    .commission-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .item-actions {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }

    .item-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* Animations */
.loading {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-style: italic;
}

::selection {
    background: rgba(99, 102, 241, 0.3);
    color: white;
}

/* Modern Notification System */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 320px;
    max-width: 420px;
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    margin-bottom: 1rem;
}

.notification-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    position: relative;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.notification-message {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.notification-text {
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
    color: var(--text-primary);
}

.notification-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    transition: all 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.notification-close i {
    font-size: 0.85rem;
}

/* Success Notification */
.notification-success {
    border-left: 4px solid var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(15, 23, 42, 0.9));
}

.notification-success .notification-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.notification-success .notification-title {
    color: #34d399;
}

.notification-success .notification-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Error Notification */
.notification-error {
    border-left: 4px solid var(--error-color);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(15, 23, 42, 0.9));
}

.notification-error .notification-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.notification-error .notification-title {
    color: #f87171;
}

.notification-error .notification-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* Warning Notification */
.notification-warning {
    border-left: 4px solid var(--warning-color);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(15, 23, 42, 0.9));
}

.notification-warning .notification-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.notification-warning .notification-title {
    color: #fbbf24;
}

.notification-warning .notification-text {
    color: var(--text-primary);
}

/* Info Notification */
.notification-info {
    border-left: 4px solid var(--info-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(15, 23, 42, 0.9));
}

.notification-info .notification-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.notification-info .notification-title {
    color: #60a5fa;
}

.notification-info .notification-text {
    color: var(--text-primary);
}

/* Stack multiple notifications */
.notification-toast + .notification-toast {
    top: calc(20px + 100px);
}

.notification-toast + .notification-toast + .notification-toast {
    top: calc(20px + 200px);
}

/* Banner Creator Styles */
.banner-creator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.banner-settings {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.banner-preview {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.banner-preview-container {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

#banner-canvas {
    display: none;
    background: white;
}

.tool-section {
    margin-top: 2rem;
    animation: fadeIn 0.4s ease-out;
}

/* Alert Error Styling */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: slideDown 0.3s ease-out;
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.08));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid var(--error-color);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
}

.alert-error::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--error-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Success Card Styling */
.success-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.95));
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: fadeInScale 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--success-color), 
        var(--accent-color), 
        var(--success-color), 
        transparent);
    opacity: 0.6;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    border: 3px solid var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success-color);
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
    }
}

.success-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #ffffff, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.success-info {
    text-align: left;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-info .info-item {
    margin-bottom: 1.5rem;
}

.success-info .info-item:last-child {
    margin-bottom: 0;
}

.success-info strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.code-display-large {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    letter-spacing: 2px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.success-info ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
}

.success-info ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.success-info ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-size: 0.9rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .notification-toast {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }

    .notification-toast.show {
        transform: translateY(0);
    }

    .notification-content {
        padding: 1rem;
    }

    .notification-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .notification-title {
        font-size: 0.85rem;
    }

    .notification-text {
        font-size: 0.85rem;
    }

    .banner-creator-grid {
        grid-template-columns: 1fr;
    }
}
 
 / *   S e c t i o n   H e a d e r   * / 
 
 . s e c t i o n - h e a d e r   { 
 
         t e x t - a l i g n :   c e n t e r ; 
 
         m a r g i n - b o t t o m :   3 r e m ; 
 
 } 
 
 
 
 . s e c t i o n - h e a d e r   . s e c t i o n - t i t l e   { 
 
         m a r g i n - b o t t o m :   0 . 7 5 r e m ; 
 
 } 
 
 
 
 . s e c t i o n - h e a d e r   . s e c t i o n - s u b t i t l e   { 
 
         m a r g i n - b o t t o m :   0 ; 
 
         f o n t - s i z e :   1 . 1 5 r e m ; 
 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 
 } 
 
 
 
 / *   H o w   I t   W o r k s   S e c t i o n   * / 
 
 . h o w - i t - w o r k s   { 
 
         m a r g i n :   5 r e m   0 ; 
 
         p a d d i n g :   4 r e m   0 ; 
 
         p o s i t i o n :   r e l a t i v e ; 
 
 } 
 
 
 
 . h o w - i t - w o r k s : : b e f o r e   { 
 
         c o n t e n t :   ' ' ; 
 
         p o s i t i o n :   a b s o l u t e ; 
 
         t o p :   0 ; 
 
         l e f t :   5 0 % ; 
 
         t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % ) ; 
 
         w i d t h :   2 0 0 p x ; 
 
         h e i g h t :   2 p x ; 
 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( t o   r i g h t ,   t r a n s p a r e n t ,   v a r ( - - p r i m a r y - c o l o r ) ,   t r a n s p a r e n t ) ; 
 
 } 
 
 
 
 . s t e p s   { 
 
         d i s p l a y :   g r i d ; 
 
         g r i d - t e m p l a t e - c o l u m n s :   r e p e a t ( a u t o - f i t ,   m i n m a x ( 2 5 0 p x ,   1 f r ) ) ; 
 
         g a p :   2 . 5 r e m ; 
 
         m a r g i n - t o p :   3 r e m ; 
 
         p o s i t i o n :   r e l a t i v e ; 
 
 } 
 
 
 
 . s t e p   { 
 
         p o s i t i o n :   r e l a t i v e ; 
 
         p a d d i n g :   2 r e m ; 
 
         b a c k g r o u n d :   v a r ( - - c a r d - b g ) ; 
 
         b a c k d r o p - f i l t e r :   v a r ( - - b a c k d r o p - b l u r ) ; 
 
         b o r d e r :   1 p x   s o l i d   v a r ( - - c a r d - b o r d e r ) ; 
 
         b o r d e r - r a d i u s :   2 0 p x ; 
 
         t e x t - a l i g n :   c e n t e r ; 
 
         t r a n s i t i o n :   a l l   0 . 4 s   c u b i c - b e z i e r ( 0 . 4 ,   0 ,   0 . 2 ,   1 ) ; 
 
         o v e r f l o w :   h i d d e n ; 
 
 } 
 
 
 
 . s t e p : : b e f o r e   { 
 
         c o n t e n t :   ' ' ; 
 
         p o s i t i o n :   a b s o l u t e ; 
 
         t o p :   0 ; 
 
         l e f t :   0 ; 
 
         w i d t h :   1 0 0 % ; 
 
         h e i g h t :   1 0 0 % ; 
 
         b a c k g r o u n d :   v a r ( - - g r a d i e n t - s u r f a c e ) ; 
 
         o p a c i t y :   0 ; 
 
         t r a n s i t i o n :   o p a c i t y   0 . 4 s   e a s e ; 
 
         p o i n t e r - e v e n t s :   n o n e ; 
 
 } 
 
 
 
 . s t e p : h o v e r   { 
 
         t r a n s f o r m :   t r a n s l a t e Y ( - 8 p x ) ; 
 
         b o r d e r - c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ; 
 
         b o x - s h a d o w :   0   1 2 p x   4 0 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 2 ) ,   v a r ( - - s h a d o w - g l o w ) ; 
 
 } 
 
 
 
 . s t e p : h o v e r : : b e f o r e   { 
 
         o p a c i t y :   1 ; 
 
 } 
 
 
 
 . s t e p - i c o n - w r a p p e r   { 
 
         p o s i t i o n :   r e l a t i v e ; 
 
         d i s p l a y :   i n l i n e - f l e x ; 
 
         a l i g n - i t e m s :   c e n t e r ; 
 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
 
         w i d t h :   1 0 0 p x ; 
 
         h e i g h t :   1 0 0 p x ; 
 
 } 
 
 
 
 . s t e p - n u m b e r   { 
 
         p o s i t i o n :   a b s o l u t e ; 
 
         t o p :   - 1 0 p x ; 
 
         r i g h t :   - 1 0 p x ; 
 
         w i d t h :   3 6 p x ; 
 
         h e i g h t :   3 6 p x ; 
 
         b a c k g r o u n d :   v a r ( - - g r a d i e n t - p r i m a r y ) ; 
 
         c o l o r :   w h i t e ; 
 
         b o r d e r - r a d i u s :   5 0 % ; 
 
         d i s p l a y :   f l e x ; 
 
         a l i g n - i t e m s :   c e n t e r ; 
 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
 
         f o n t - w e i g h t :   8 0 0 ; 
 
         f o n t - s i z e :   1 r e m ; 
 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 4 ) ; 
 
         z - i n d e x :   2 ; 
 
         b o r d e r :   3 p x   s o l i d   v a r ( - - b g - c o l o r ) ; 
 
 } 
 
 
 
 . s t e p - i c o n   { 
 
         w i d t h :   8 0 p x ; 
 
         h e i g h t :   8 0 p x ; 
 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 2 ) ,   r g b a ( 1 3 9 ,   9 2 ,   2 4 6 ,   0 . 1 5 ) ) ; 
 
         b o r d e r :   2 p x   s o l i d   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 3 ) ; 
 
         b o r d e r - r a d i u s :   2 0 p x ; 
 
         d i s p l a y :   f l e x ; 
 
         a l i g n - i t e m s :   c e n t e r ; 
 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
 
         c o l o r :   v a r ( - - p r i m a r y - l i g h t ) ; 
 
         f o n t - s i z e :   2 r e m ; 
 
         t r a n s i t i o n :   a l l   0 . 4 s   e a s e ; 
 
         b o x - s h a d o w :   0   8 p x   2 4 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 1 5 ) ; 
 
 } 
 
 
 
 . s t e p : h o v e r   . s t e p - i c o n   { 
 
         t r a n s f o r m :   s c a l e ( 1 . 1 )   r o t a t e ( 5 d e g ) ; 
 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 3 ) ,   r g b a ( 1 3 9 ,   9 2 ,   2 4 6 ,   0 . 2 5 ) ) ; 
 
         b o r d e r - c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ; 
 
         b o x - s h a d o w :   0   1 2 p x   3 2 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 3 ) ; 
 
 } 
 
 
 
 . s t e p   h 3   { 
 
         f o n t - s i z e :   1 . 5 r e m ; 
 
         m a r g i n - b o t t o m :   0 . 7 5 r e m ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
         f o n t - w e i g h t :   7 0 0 ; 
 
 } 
 
 
 
 . s t e p   p   { 
 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 
         l i n e - h e i g h t :   1 . 7 ; 
 
         f o n t - s i z e :   0 . 9 5 r e m ; 
 
         m a r g i n :   0 ; 
 
 } 
 
 
 
 / *   C T A   S e c t i o n   * / 
 
 . c t a - s e c t i o n   { 
 
         m a r g i n :   5 r e m   0 ; 
 
         p a d d i n g :   4 r e m   0 ; 
 
 } 
 
 
 
 . c t a - c a r d   { 
 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 1 5 ) ,   r g b a ( 1 3 9 ,   9 2 ,   2 4 6 ,   0 . 1 ) ) ; 
 
         b o r d e r :   2 p x   s o l i d   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 3 ) ; 
 
         b o r d e r - r a d i u s :   2 4 p x ; 
 
         p a d d i n g :   4 r e m   3 r e m ; 
 
         t e x t - a l i g n :   c e n t e r ; 
 
         p o s i t i o n :   r e l a t i v e ; 
 
         o v e r f l o w :   h i d d e n ; 
 
         b o x - s h a d o w :   0   2 0 p x   6 0 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 1 5 ) ; 
 
         t r a n s i t i o n :   a l l   0 . 4 s   e a s e ; 
 
 } 
 
 
 
 . c t a - c a r d : : b e f o r e   { 
 
         c o n t e n t :   ' ' ; 
 
         p o s i t i o n :   a b s o l u t e ; 
 
         t o p :   - 5 0 % ; 
 
         r i g h t :   - 5 0 % ; 
 
         w i d t h :   2 0 0 % ; 
 
         h e i g h t :   2 0 0 % ; 
 
         b a c k g r o u n d :   r a d i a l - g r a d i e n t ( c i r c l e ,   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 1 )   0 % ,   t r a n s p a r e n t   7 0 % ) ; 
 
         a n i m a t i o n :   p u l s e   4 s   e a s e - i n - o u t   i n f i n i t e ; 
 
         p o i n t e r - e v e n t s :   n o n e ; 
 
 } 
 
 
 
 @ k e y f r a m e s   p u l s e   { 
 
         0 % ,   1 0 0 %   { 
 
                 o p a c i t y :   0 . 5 ; 
 
                 t r a n s f o r m :   s c a l e ( 1 ) ; 
 
         } 
 
         5 0 %   { 
 
                 o p a c i t y :   0 . 8 ; 
 
                 t r a n s f o r m :   s c a l e ( 1 . 1 ) ; 
 
         } 
 
 } 
 
 
 
 . c t a - c a r d : h o v e r   { 
 
         b o r d e r - c o l o r :   v a r ( - - p r i m a r y - c o l o r ) ; 
 
         b o x - s h a d o w :   0   2 4 p x   8 0 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 2 5 ) ; 
 
         t r a n s f o r m :   t r a n s l a t e Y ( - 4 p x ) ; 
 
 } 
 
 
 
 . c t a - c o n t e n t   { 
 
         p o s i t i o n :   r e l a t i v e ; 
 
         z - i n d e x :   1 ; 
 
 } 
 
 
 
 . c t a - i c o n   { 
 
         w i d t h :   8 0 p x ; 
 
         h e i g h t :   8 0 p x ; 
 
         m a r g i n :   0   a u t o   1 . 5 r e m ; 
 
         b a c k g r o u n d :   v a r ( - - g r a d i e n t - p r i m a r y ) ; 
 
         b o r d e r - r a d i u s :   2 0 p x ; 
 
         d i s p l a y :   f l e x ; 
 
         a l i g n - i t e m s :   c e n t e r ; 
 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
 
         c o l o r :   w h i t e ; 
 
         f o n t - s i z e :   2 . 5 r e m ; 
 
         b o x - s h a d o w :   0   8 p x   2 4 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 4 ) ; 
 
         a n i m a t i o n :   f l o a t   3 s   e a s e - i n - o u t   i n f i n i t e ; 
 
 } 
 
 
 
 @ k e y f r a m e s   f l o a t   { 
 
         0 % ,   1 0 0 %   { 
 
                 t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
 
         } 
 
         5 0 %   { 
 
                 t r a n s f o r m :   t r a n s l a t e Y ( - 1 0 p x ) ; 
 
         } 
 
 } 
 
 
 
 . c t a - c a r d   h 2   { 
 
         f o n t - s i z e :   2 . 5 r e m ; 
 
         f o n t - w e i g h t :   8 0 0 ; 
 
         m a r g i n - b o t t o m :   1 r e m ; 
 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( t o   r i g h t ,   # f f f f f f ,   # a 5 b 4 f c ) ; 
 
         - w e b k i t - b a c k g r o u n d - c l i p :   t e x t ; 
 
         - w e b k i t - t e x t - f i l l - c o l o r :   t r a n s p a r e n t ; 
 
         b a c k g r o u n d - c l i p :   t e x t ; 
 
 } 
 
 
 
 . c t a - c a r d   p   { 
 
         f o n t - s i z e :   1 . 1 5 r e m ; 
 
         c o l o r :   v a r ( - - t e x t - s e c o n d a r y ) ; 
 
         m a r g i n - b o t t o m :   2 r e m ; 
 
         m a x - w i d t h :   6 0 0 p x ; 
 
         m a r g i n - l e f t :   a u t o ; 
 
         m a r g i n - r i g h t :   a u t o ; 
 
         l i n e - h e i g h t :   1 . 7 ; 
 
 } 
 
 
 
 . c t a - f e a t u r e s   { 
 
         d i s p l a y :   f l e x ; 
 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
 
         g a p :   2 r e m ; 
 
         f l e x - w r a p :   w r a p ; 
 
         m a r g i n - b o t t o m :   2 . 5 r e m ; 
 
 } 
 
 
 
 . c t a - f e a t u r e   { 
 
         d i s p l a y :   f l e x ; 
 
         a l i g n - i t e m s :   c e n t e r ; 
 
         g a p :   0 . 5 r e m ; 
 
         c o l o r :   v a r ( - - t e x t - p r i m a r y ) ; 
 
         f o n t - w e i g h t :   6 0 0 ; 
 
         f o n t - s i z e :   0 . 9 5 r e m ; 
 
 } 
 
 
 
 . c t a - f e a t u r e   i   { 
 
         c o l o r :   v a r ( - - s u c c e s s - c o l o r ) ; 
 
         f o n t - s i z e :   1 . 1 r e m ; 
 
 } 
 
 
 
 . b t n - c t a   { 
 
         p a d d i n g :   1 . 2 5 r e m   3 r e m ; 
 
         f o n t - s i z e :   1 . 2 r e m ; 
 
         f o n t - w e i g h t :   7 0 0 ; 
 
         b o x - s h a d o w :   0   8 p x   2 4 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 4 ) ; 
 
         p o s i t i o n :   r e l a t i v e ; 
 
         o v e r f l o w :   h i d d e n ; 
 
 } 
 
 
 
 . b t n - c t a : : b e f o r e   { 
 
         c o n t e n t :   ' ' ; 
 
         p o s i t i o n :   a b s o l u t e ; 
 
         t o p :   5 0 % ; 
 
         l e f t :   5 0 % ; 
 
         w i d t h :   0 ; 
 
         h e i g h t :   0 ; 
 
         b o r d e r - r a d i u s :   5 0 % ; 
 
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 3 ) ; 
 
         t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 5 0 % ) ; 
 
         t r a n s i t i o n :   w i d t h   0 . 6 s ,   h e i g h t   0 . 6 s ; 
 
 } 
 
 
 
 . b t n - c t a : h o v e r : : b e f o r e   { 
 
         w i d t h :   3 0 0 p x ; 
 
         h e i g h t :   3 0 0 p x ; 
 
 } 
 
 
 
 . b t n - c t a : h o v e r   { 
 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
 
         b o x - s h a d o w :   0   1 2 p x   3 2 p x   r g b a ( 9 9 ,   1 0 2 ,   2 4 1 ,   0 . 5 ) ; 
 
 } 
 
 
 
 / *   R e s p o n s i v e   D e s i g n   f o r   S t e p s   a n d   C T A   * / 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
 
         . s t e p s   { 
 
                 g r i d - t e m p l a t e - c o l u m n s :   1 f r ; 
 
                 g a p :   2 r e m ; 
 
         } 
 
         
 
         . c t a - c a r d   { 
 
                 p a d d i n g :   2 . 5 r e m   1 . 5 r e m ; 
 
         } 
 
         
 
         . c t a - c a r d   h 2   { 
 
                 f o n t - s i z e :   2 r e m ; 
 
         } 
 
         
 
         . c t a - f e a t u r e s   { 
 
                 f l e x - d i r e c t i o n :   c o l u m n ; 
 
                 g a p :   1 r e m ; 
 
         } 
 
         
 
         . s t e p - i c o n - w r a p p e r   { 
 
                 w i d t h :   8 0 p x ; 
 
                 h e i g h t :   8 0 p x ; 
 
         } 
 
         
 
         . s t e p - i c o n   { 
 
                 w i d t h :   6 4 p x ; 
 
                 h e i g h t :   6 4 p x ; 
 
                 f o n t - s i z e :   1 . 5 r e m ; 
 
         } 
 
 } 
 
 
 
 
/* How It Works Section - Modern Design */
.how-it-works {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.how-it-works .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.how-it-works .section-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.how-it-works .section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.step {
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.step:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25),
                0 0 0 1px rgba(99, 102, 241, 0.1) inset;
}

.step:hover::before {
    transform: scaleX(1);
}

.step-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    border: 3px solid var(--bg-secondary);
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-light);
    border: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.step p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

/* CTA Section - Modern Design */
.cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.4s ease;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 24px 80px rgba(99, 102, 241, 0.2),
                0 0 0 1px rgba(99, 102, 241, 0.1) inset;
    transform: translateY(-4px);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cta-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.875rem 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-feature:hover {
    background: rgba(15, 23, 42, 0.7);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.cta-feature i {
    color: var(--success-color);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.btn-cta {
    padding: 1.5rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
    width: 400px;
    height: 400px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-cta:active {
    transform: translateY(-1px);
}

/* Responsive Design for How It Works & CTA */
@media (max-width: 768px) {
    .how-it-works {
        padding: 4rem 0;
    }

    .how-it-works .section-title {
        font-size: 2rem;
    }

    .how-it-works .section-subtitle {
        font-size: 1rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step {
        padding: 2rem 1.5rem;
    }

    .step-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .step-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 1.75rem;
    }

    .cta-card p {
        font-size: 1rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .cta-feature {
        justify-content: center;
    }

    .btn-cta {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }
}

/* Commission Summary Styles */
.commission-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.commission-summary-item {
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.commission-summary-item:hover {
    background: rgba(15, 23, 42, 0.7);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.commission-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.commission-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Commissions & Conversions Tables */
.commissions-list,
.conversions-list {
    overflow-x: auto;
}

.commissions-table table,
.conversions-table table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.commissions-table th,
.conversions-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    background: rgba(15, 23, 42, 0.3);
}

.commissions-table td,
.conversions-table td {
    padding: 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.commissions-table tr:hover,
.conversions-table tr:hover {
    background: rgba(15, 23, 42, 0.3);
}

.commissions-table tr:last-child td,
.conversions-table tr:last-child td {
    border-bottom: none;
}

/* Conversion Item Styles */
.conversion-item {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 8px;
    border: 1px solid var(--card-border);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.conversion-item:hover {
    background: rgba(15, 23, 42, 0.5);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

/* Payout Button States */
#request-payout-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#payout-message {
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

#payout-message.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--success-color);
    color: var(--success-color);
}

#payout-message.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--error-color);
    color: var(--error-color);
}
