:root {
    --primary-color: #003366; /* Navy blue - common in govt portals */
    --accent-color: #ff9933; /* Saffron/orange for trust */
    --secondary-color: #555;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-bg: #f0f2f5;
    --dark-text: #212529;
    --white: #ffffff;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 5px 0;
    font-size: 0.8rem;
    text-align: center;
}

header {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 3px solid var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    object-fit: contain;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.main-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
}

.card-image-section {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.card-content-section {
    flex: 1.2;
    min-width: 300px;
    padding: 2.5rem;
}

.trust-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-blue { background: #e7f1ff; color: #0056b3; }
.badge-green { background: #e6fffa; color: #088a68; }

h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.guarantee-box {
    background: #fff9e6;
    border: 1px solid #ffeeba;
    padding: 1rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guarantee-text {
    font-size: 0.9rem;
    color: #856404;
    font-weight: 600;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin: 1rem 0;
}

.stock-status {
    color: var(--danger-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.input-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.btn-buy {
    background: var(--primary-color);
    color: white;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s, background 0.2s;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,51,102,0.2);
}

.btn-buy:hover {
    background: #002244;
}

.btn-buy:active {
    transform: translateY(2px);
}

footer {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
    font-size: 0.85rem;
}

.govt-footer {
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    margin-top: 4rem;
}

/* Checkout Specific */
.checkout-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.qr-box {
    margin: 2rem auto;
    padding: 15px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: inline-block;
    background: white;
}

.timer-display {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--danger-color);
    font-family: monospace;
    margin: 1rem 0;
}

.payment-steps {
    text-align: left;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.step {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.step-num {
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}
