/* ============================================
   Carding Store - Main Stylesheet
   Dark Theme | Mobile-First | Premium Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============ CSS Variables ============ */
:root {
    /* Primary Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #1f1f35;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #5a5a72;

    /* Accent Colors */
    --accent-gold: #f0c040;
    --accent-blue: #4f8fff;
    --accent-green: #34d399;
    --accent-red: #ef4444;
    --accent-purple: #a855f7;
    --accent-cyan: #22d3ee;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-gold: linear-gradient(135deg, #f0c040 0%, #e2a400 100%);
    --gradient-green: linear-gradient(135deg, #34d399 0%, #059669 100%);
    --gradient-blue: linear-gradient(135deg, #4f8fff 0%, #3b5ff8 100%);
    --gradient-card: linear-gradient(145deg, #1a1a2e 0%, #16162a 100%);

    /* Status Colors */
    --status-pending: #f59e0b;
    --status-approved: #10b981;
    --status-rejected: #ef4444;

    /* Border & Shadow */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(79, 143, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(79, 143, 255, 0.15);

    /* Font Sizes */
    --font-xs: 11px;
    --font-sm: 13px;
    --font-base: 14px;
    --font-md: 16px;
    --font-lg: 18px;
    --font-xl: 22px;
    --font-2xl: 28px;
    --font-3xl: 36px;

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ============ Reset & Base ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(79, 143, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(240, 192, 64, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-cyan);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============ Container ============ */
.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 20px 16px;
    position: relative;
    z-index: 1;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: var(--font-base);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-success {
    background: var(--gradient-green);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--font-md);
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--font-sm);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-info {
    background: var(--gradient-blue);
    color: white;
    font-size: var(--font-sm);
    padding: 6px 14px;
}

/* ============ Cards ============ */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 143, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    border-color: rgba(79, 143, 255, 0.2);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.card:hover::before {
    opacity: 1;
}

/* ============ Forms ============ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: var(--font-base);
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(79, 143, 255, 0.1);
    background: var(--bg-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

small {
    display: block;
    margin-top: 4px;
    font-size: var(--font-xs);
    color: var(--text-muted);
}

/* ============ Navbar ============ */
.navbar {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
    max-width: 520px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-lg);
    font-weight: 800;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
}

.navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.navbar-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.navbar-links a {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-primary);
    background: rgba(79, 143, 255, 0.1);
}

/* ============ Hero Section ============ */
.hero {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: var(--font-3xl);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #a0a0ff 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: var(--font-md);
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero .btn {
    font-size: var(--font-md);
    padding: 16px 40px;
    border-radius: var(--radius-lg);
    letter-spacing: 0.3px;
}

/* ============ Platforms Banner ============ */
.platforms-banner {
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

.platforms-banner h2 {
    text-align: center;
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.platform-grid {
    display: grid;
    gap: 20px;
}

.platform-group {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.3s;
}

.platform-group:hover {
    border-color: rgba(79, 143, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.platform-group h3 {
    font-size: var(--font-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.platform-group ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-group li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(79, 143, 255, 0.06);
    border: 1px solid rgba(79, 143, 255, 0.1);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.platform-group li:hover {
    background: rgba(79, 143, 255, 0.12);
    color: var(--text-primary);
    border-color: rgba(79, 143, 255, 0.25);
    transform: translateY(-1px);
}

.platform-group li img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: contain;
}

/* ============ Features Section ============ */
.features {
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.35s;
}

.feature-card:hover {
    border-color: rgba(79, 143, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card .feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.feature-card h3 {
    font-size: var(--font-base);
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: var(--font-xs);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============ Track Order Section ============ */
.track-order-section {
    padding: 40px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.track-order-section h2 {
    font-size: var(--font-xl);
    margin-bottom: 12px;
}

.track-order-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ============ Page Header ============ */
.page-header {
    text-align: center;
    margin-bottom: 32px;
    padding-top: 20px;
}

.page-header h1 {
    font-size: var(--font-2xl);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #4f8fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: var(--text-secondary);
    font-size: var(--font-sm);
}

/* ============ Form Sections ============ */
.form-section {
    margin-bottom: 32px;
}

.form-section h2 {
    font-size: var(--font-md);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h2 .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: var(--font-sm);
    font-weight: 700;
    flex-shrink: 0;
}

/* ============ Radio Cards ============ */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.radio-card {
    cursor: pointer;
    display: block;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 90px;
}

.radio-content strong {
    font-size: var(--font-base);
    color: var(--text-primary);
}

.radio-content small {
    font-size: var(--font-xs);
    color: var(--text-muted);
    margin-top: 0;
}

.radio-content img {
    width: 50px;
    height: auto;
    margin: 0 auto;
}

.radio-card input[type="radio"]:checked+.radio-content {
    border-color: var(--accent-blue);
    background: rgba(79, 143, 255, 0.08);
    box-shadow: 0 0 20px rgba(79, 143, 255, 0.15);
}

.radio-card:hover .radio-content {
    border-color: rgba(79, 143, 255, 0.3);
    background: var(--bg-card-hover);
}

/* ============ Category Cards ============ */
.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.category-card {
    cursor: pointer;
    display: block;
}

.category-card input[type="radio"] {
    display: none;
}

.category-content {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-content h3 {
    font-size: var(--font-md);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-gold);
}

.category-content .price {
    margin-bottom: 8px;
}

.category-content .price-usd {
    display: block;
    font-size: var(--font-lg);
    font-weight: 800;
    color: var(--text-primary);
}

.category-content .price-pkr {
    display: block;
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

.category-content .balance {
    font-size: var(--font-xs);
    color: var(--text-muted);
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.category-content .balance strong {
    display: block;
    font-size: var(--font-xs);
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.category-card input[type="radio"]:checked+.category-content {
    border-color: var(--accent-gold);
    background: rgba(240, 192, 64, 0.06);
    box-shadow: 0 0 20px rgba(240, 192, 64, 0.15);
}

.category-card:hover .category-content {
    border-color: rgba(240, 192, 64, 0.3);
    background: var(--bg-card-hover);
}

/* ============ Preview Card ============ */
.preview-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.preview-card h2 {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-item .label {
    color: var(--text-secondary);
    font-size: var(--font-sm);
    font-weight: 500;
}

.preview-item .value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-base);
    text-align: right;
}

.preview-item.highlighted {
    background: rgba(79, 143, 255, 0.06);
    margin: 0 -28px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
}

.preview-item.highlighted .value {
    color: var(--accent-blue);
    font-size: var(--font-md);
    font-weight: 800;
}

/* ============ Button Group ============ */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.button-group .btn {
    flex: 1;
}

/* ============ QR Section ============ */
.qr-section {
    text-align: center;
    margin-bottom: 28px;
    padding: 28px;
}

.qr-section h2 {
    font-size: var(--font-lg);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.qr-container {
    display: inline-flex;
    padding: 16px;
    background: #ffffff;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(79, 143, 255, 0.2);
}

.qr-container img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.payment-amount {
    margin-top: 16px;
}

.payment-amount strong {
    display: block;
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.payment-amount .amount-usd {
    font-size: var(--font-2xl);
    font-weight: 800;
    color: var(--accent-green);
    margin: 0;
}

.payment-amount .amount-pkr {
    font-size: var(--font-md);
    color: var(--text-secondary);
    margin: 4px 0 0;
}

/* ============ File Upload ============ */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 100px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.file-upload-display:hover {
    border-color: var(--accent-blue);
    background: rgba(79, 143, 255, 0.05);
}

.file-upload-display .upload-icon {
    font-size: 32px;
}

.file-upload-display .placeholder {
    color: var(--text-muted);
    font-size: var(--font-sm);
}

.file-upload-display .file-name {
    color: var(--accent-green);
    font-weight: 600;
    font-size: var(--font-sm);
    word-break: break-all;
}

.file-upload-display .file-preview {
    max-width: 150px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 8px;
}

/* ============ Order Success ============ */
.success-icon {
    text-align: center;
    margin-bottom: 24px;
}

.success-icon .checkmark {
    width: 80px;
    height: 80px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    animation: successPop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.3);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.order-id-display {
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    margin: 20px 0;
}

.order-id-display .label {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.order-id-display .order-id {
    font-size: var(--font-xl);
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: 1px;
    user-select: all;
}

.copy-btn {
    margin-top: 10px;
    font-size: var(--font-sm);
    padding: 6px 16px;
    background: rgba(79, 143, 255, 0.15);
    border: 1px solid rgba(79, 143, 255, 0.3);
    color: var(--accent-blue);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: rgba(79, 143, 255, 0.25);
}

/* ============ Order Tracking ============ */
.order-result {
    margin-top: 24px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: var(--font-sm);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.status-pending {
    background: rgba(245, 158, 11, 0.12);
    color: var(--status-pending);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-approved {
    background: rgba(16, 185, 129, 0.12);
    color: var(--status-approved);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.12);
    color: var(--status-rejected);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.order-detail-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.order-detail-header {
    background: rgba(79, 143, 255, 0.06);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-detail-body {
    padding: 24px;
}

.card-info-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 16px;
}

.card-info-box h3 {
    color: var(--accent-green);
    font-size: var(--font-md);
    margin-bottom: 12px;
}

.card-info-box pre {
    color: var(--text-primary);
    font-family: 'Inter', monospace;
    font-size: var(--font-base);
    white-space: pre-wrap;
    word-break: break-all;
}

.remarks-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 16px;
}

.remarks-box h3 {
    color: var(--accent-red);
    font-size: var(--font-md);
    margin-bottom: 8px;
}

.remarks-box p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============ Alerts ============ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: var(--font-sm);
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--accent-red);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-green);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--status-pending);
}

/* ============ Footer ============ */
.footer {
    text-align: center;
    padding: 32px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: var(--font-xs);
    position: relative;
    z-index: 1;
}

.footer a {
    color: var(--text-secondary);
}

/* ============ Loader ============ */
.loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============ Animations ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============ Utilities ============ */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

/* ============ Responsive ============ */
@media (max-width: 480px) {
    .container {
        padding: 16px 14px;
    }

    .hero h1 {
        font-size: var(--font-2xl);
    }

    .features .container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .navbar-links a {
        font-size: var(--font-xs);
        padding: 6px 8px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 24px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .platform-grid {
        grid-template-columns: 1fr 1fr;
    }
}