/* 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-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;
}

/* 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: var(--card-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.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.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary-light);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.search-form input,
.link-display-large input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.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.15), 0 0 20px rgba(99, 102, 241, 0.1);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-1px);
}

.form-group small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.form-group small i {
    color: var(--info-color);
    font-size: 0.75rem;
}

/* Modern Form Enhancements */
.form-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(15, 23, 42, 0.4);
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--card-border);
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.section-icon.wallet {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.2));
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.form-section-header h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Modern Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    padding-right: 2.5rem;
}

.input-icon {
    position: absolute;
    right: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s;
}

.input-wrapper input:focus + .input-icon {
    color: var(--primary-light);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    padding-right: 2.5rem;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: transform 0.3s, color 0.3s;
}

.select-wrapper select:focus + .select-arrow {
    color: var(--primary-light);
    transform: translateY(-50%) rotate(180deg);
}

/* Badges */
.required-badge {
    color: var(--error-color);
    font-weight: 700;
    margin-left: 0.25rem;
}

.optional-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

/* Help Box Modern Design */
.help-box.modern {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.help-box.modern:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.help-box-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.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: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.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: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.modern-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.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: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

.form-note-box {
    margin-top: 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;
}

.notification-text {
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.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);
}

/* 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);
}

/* 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;
}

/* 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 ;  
         }  
 }  
  
 