@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Imperial Color Palette */
    --primary: #E31E24;
    /* India Post Red */
    --primary-dark: #b31419;
    --secondary: #1A1A1A;
    /* Deep Navy */
    --gold: #C5A059;
    /* Premium Gold */
    --gold-light: #e0c58e;
    --success: #27ae60;
    --warning: #f39c12;
    --text: #1A1A1A;
    --text-light: #444444;
    --text-muted: #777777;
    --bg-light: #fdfdfd;
    --bg-card: #ffffff;
    --border: #eeeeee;

    /* Glassmorphism Effect */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    /* Spacing */
    --page-padding: 50px;
    --section-gap: 35px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: #f4f4f4;
    line-height: 1.6;
}

h1,
h2,
h3,
.name {
    font-family: 'Playfair Display', serif;
}

/* ========================================
   Page Layout
   ======================================== */

.page {
    width: 210mm;
    min-height: 297mm;
    margin: 20px auto;
    padding: var(--page-padding);
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    page-break-after: always;
    position: relative;
    overflow: hidden;
}

@media print {
    body {
        background: white;
    }

    .page {
        margin: 0;
        box-shadow: none;
        page-break-after: always;
    }
}

.page-header {
    text-align: center;
    margin-bottom: var(--section-gap);
}

.page-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
}

/* ========================================
   Page 1: Cover
   ======================================== */

.cover-page {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cover-content {
    z-index: 2;
    position: relative;
}

.india-post-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.logo-ts {
    font-family: 'Playfair Display', serif;
    font-size: 82px;
    font-weight: 800;
    color: var(--gold);
    line-height: 0.8;
    letter-spacing: -4px;
}

.logo-text-group {
    text-align: left;
    border-left: 2px solid var(--gold);
    padding-left: 15px;
}

.logo-main-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    color: white;
}

.logo-sub-text {
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 1px;
    color: var(--gold-light);
}

.cover-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.cover-subtitle {
    font-size: 68px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    padding: 30px;
}

.page-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.page-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.cover-tagline span {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.tagline-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.cover-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 60px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 32px;
}

.feature-item span:last-child {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.cover-since {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cover-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -80px;
}

.circle-3 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    right: 50px;
}

/* ========================================
   Page 2: Why RPLI
   ======================================== */

.why-page .page-header {
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.highlight-box {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.highlight-icon {
    font-size: 28px;
}

.highlight-box p {
    font-size: 16px;
    color: var(--primary-dark);
}

/* ========================================
   Plan Pages Common Styles
   ======================================== */

.plan-page .page-header {
    margin-bottom: 25px;
}

.plan-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.plan-badge.best-value {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--primary-dark);
}

.plan-badge.recommended {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.plan-badge.popular {
    background: linear-gradient(135deg, var(--success) 0%, #48bb78 100%);
    color: white;
}

.plan-type {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.overview-item {
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.overview-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.overview-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.overview-value.highlight {
    color: var(--success);
}

.table-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    margin-top: 20px;
}

/* ========================================
   Premium Tables
   ======================================== */

.premium-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 20px;
}

.premium-table th {
    background: var(--primary);
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

.premium-table th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.premium-table th:last-child {
    border-radius: 0 8px 0 0;
}

.premium-table td {
    padding: 10px 15px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.premium-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--primary);
}

.premium-table tbody tr:nth-child(even) {
    background: var(--bg-light);
}

.premium-table tbody tr:hover {
    background: #edf2f7;
}

.premium-table.compact th,
.premium-table.compact td {
    padding: 8px 10px;
    font-size: 12px;
}

.premium-table.small {
    max-width: 400px;
}

.plan-benefit {
    background: linear-gradient(135deg, var(--bg-light) 0%, #edf2f7 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--success);
    margin-top: 20px;
}

.plan-benefit h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.plan-benefit p {
    font-size: 14px;
    color: var(--text);
}

.plan-benefit .example {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

/* ========================================
   Money Back Visual (Gram Sumangal)
   ======================================== */

.money-back-visual {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.money-back-visual h3 {
    text-align: center;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 20px;
}

.timeline-section {
    margin-bottom: 20px;
}

.timeline-section h4 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.timeline-item {
    background: white;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--primary);
    flex: 1;
}

.timeline-item.final {
    background: var(--primary);
    color: white;
}

.timeline-item .year {
    display: block;
    font-size: 11px;
    margin-bottom: 4px;
}

.timeline-item .amount {
    font-size: 14px;
    font-weight: 700;
}

.timeline-arrow {
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
}

.example-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--gold);
}

.example-box h4 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 15px;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.example-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: 6px;
}

.example-item.final {
    grid-column: 1 / -1;
    background: var(--primary);
    color: white;
}

.example-total {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: var(--gold);
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
}

/* ========================================
   Gram Suvidha Specific
   ======================================== */

.feature-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.feature-highlight h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.conversion-visual {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.conversion-from,
.conversion-to {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
}

.conversion-from h4,
.conversion-to h4 {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.conversion-from p,
.conversion-to p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.conversion-from .bonus,
.conversion-to .bonus {
    font-size: 12px;
    opacity: 0.9;
}

.conversion-arrow {
    text-align: center;
}

.conversion-arrow span {
    font-size: 11px;
    display: block;
    margin-bottom: 5px;
    opacity: 0.8;
}

.conversion-arrow .arrow {
    font-size: 32px;
}

.benefit-list {
    margin-bottom: 25px;
}

.benefit-list h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit-list ul {
    list-style: none;
}

.benefit-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.benefit-list li:last-child {
    border-bottom: none;
}

/* ========================================
   Gram Priya Specific
   ======================================== */

.feature-highlight.short-term {
    background: linear-gradient(135deg, var(--success) 0%, #48bb78 100%);
}

.example-box.compact {
    margin-bottom: 20px;
}

.example-simple {
    text-align: center;
}

.example-simple p {
    font-size: 14px;
    margin-bottom: 10px;
}

.example-simple .calculation {
    font-size: 16px;
    color: var(--primary);
}

.example-simple .calculation strong {
    color: var(--success);
    font-size: 20px;
}

.premium-highlight {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 10px;
}

.premium-highlight span {
    font-size: 14px;
    color: var(--text);
}

.plan-benefit .note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}

/* ========================================
   Page 8: Risk vs Reward
   ======================================== */

.risk-page .page-header {
    margin-bottom: 30px;
}

.risk-reward-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.rewards-section,
.risks-section {
    padding: 25px;
    border-radius: 12px;
}

.rewards-section {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 1px solid #9ae6b4;
}

.risks-section {
    background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
    border: 1px solid #f6ad55;
}

.rewards-section h3,
.risks-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.rewards-section ul,
.risks-section ul {
    list-style: none;
}

.rewards-section li,
.risks-section li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.rewards-section li .icon,
.risks-section li .icon {
    font-size: 20px;
    flex-shrink: 0;
}

.rewards-section li strong,
.risks-section li strong {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
}

.rewards-section li p,
.risks-section li p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

.verdict-box {
    background: var(--primary);
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    text-align: center;
}

.verdict-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.verdict-box p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
}

/* ========================================
   Page 9: Recommendations
   ======================================== */

.recommend-page .page-header {
    margin-bottom: 30px;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.recommend-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.recommend-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.recommend-card h3 {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
}

.recommend-plan {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.recommend-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.ideal-for {
    text-align: left;
    background: white;
    padding: 12px;
    border-radius: 8px;
}

.ideal-for span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ideal-for ul {
    list-style: none;
    margin-top: 8px;
}

.ideal-for li {
    font-size: 12px;
    padding: 4px 0;
    color: var(--text);
}

.quick-pick {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
}

.quick-pick h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.age-picks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.age-pick {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.age-pick .age {
    background: white;
    color: var(--primary);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
}

.age-pick .plan {
    font-size: 12px;
    opacity: 0.95;
}

/* ========================================
   Page 10: Comparison
   ======================================== */

.comparison-page .page-header {
    margin-bottom: 25px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-bottom: 20px;
}

.comparison-table th {
    background: var(--primary);
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
    border-radius: 8px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 8px 0 0;
}

.comparison-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-light);
    font-size: 12px;
}

.comparison-table td.best {
    background: #f0fff4;
    color: var(--success);
    font-weight: 700;
}

.comparison-table tr.highlight-row td {
    background: #fffaf0;
    font-weight: 600;
}

.comparison-table tr.highlight-row td.best {
    background: #f0fff4;
}

.comparison-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.best-indicator {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #f0fff4;
    border: 1px solid var(--success);
    border-radius: 4px;
}

.final-note {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    padding: 20px 25px;
    border-radius: 12px;
}

.final-note p {
    font-size: 14px;
    color: var(--primary-dark);
    text-align: center;
}

/* ========================================
   Page 11: Contact & Registration
   ======================================== */

.contact-page .page-header {
    margin-bottom: 30px;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.process-section h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 20px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 2px;
}

.step-content p {
    font-size: 11px;
    color: var(--text-muted);
}

.claim-types {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.claim-type h4 {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--gold);
}

.claim-type ul {
    list-style: none;
    padding-left: 15px;
}

.claim-type li {
    font-size: 12px;
    color: var(--text-light);
    padding: 4px 0;
    position: relative;
}

.claim-type li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: var(--primary);
}

.contact-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.contact-card h3 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 18px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.contact-details {
    flex: 1;
}

.contact-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-designation {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.contact-location,
.contact-phone {
    font-size: 16px;
    margin-bottom: 8px;
}

.contact-phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
}

.contact-website {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-light);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.qr-codes {
    display: flex;
    gap: 20px;
}

.qr-section {
    text-align: center;
}

.qr-placeholder {
    background: white;
    padding: 8px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.qr-placeholder img {
    display: block;
    width: 110px;
    height: 110px;
}

.qr-label {
    font-size: 11px;
    opacity: 0.9;
}

.footer-tagline {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.footer-tagline p {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

/* ========================================
   Print Optimizations
   ======================================== */

@media print {
    .page {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .cover-page,
    .feature-highlight,
    .verdict-box,
    .quick-pick,
    .contact-card {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}

/* ========================================
   Mobile Responsive Styles
   ======================================== */

/* Tablet and below (max-width: 768px) */
@media screen and (max-width: 768px) {
    :root {
        --page-padding: 25px;
        --section-gap: 20px;
    }

    .page {
        width: 100%;
        min-height: auto;
        margin: 10px auto;
        padding: var(--page-padding);
        border-radius: 0;
    }

    /* Cover Page */
    .cover-title {
        font-size: 28px;
    }

    .cover-subtitle {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .cover-features {
        flex-direction: column;
        gap: 20px;
    }

    .cover-tagline span {
        font-size: 16px;
    }

    .tagline-line {
        width: 40px;
    }

    /* Page Headers */
    .page-header h2 {
        font-size: 22px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-card {
        padding: 20px;
    }

    .benefit-icon {
        font-size: 28px;
    }

    /* Plan Overview */
    .plan-overview {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .overview-item {
        padding: 12px 15px;
    }

    /* Premium Tables */
    .premium-table {
        font-size: 11px;
    }

    .premium-table th,
    .premium-table td {
        padding: 8px 6px;
    }

    .premium-table.compact th,
    .premium-table.compact td {
        padding: 6px 4px;
        font-size: 10px;
    }

    /* Money Back Timeline */
    .timeline {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-arrow {
        transform: rotate(90deg);
        font-size: 14px;
    }

    .timeline-item {
        padding: 10px 12px;
    }

    /* Example Grid */
    .example-grid {
        grid-template-columns: 1fr;
    }

    /* Conversion Visual */
    .conversion-visual {
        flex-direction: column;
        gap: 15px;
    }

    .conversion-arrow {
        transform: rotate(90deg);
    }

    .conversion-arrow .arrow {
        font-size: 24px;
    }

    /* Risk vs Reward */
    .risk-reward-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rewards-section,
    .risks-section {
        padding: 20px;
    }

    /* Recommendation Grid */
    .recommendation-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .recommend-card {
        padding: 20px;
    }

    /* Quick Pick */
    .age-picks {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .age-pick {
        padding: 10px 12px;
    }

    /* Comparison Table */
    .comparison-table {
        font-size: 9px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 6px 4px;
    }

    /* Process Grid */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Contact Card */
    .contact-info {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .contact-details {
        text-align: center;
    }

    .qr-codes {
        justify-content: center;
    }

    .contact-name {
        font-size: 20px;
    }

    .contact-phone {
        font-size: 18px;
    }

    .contact-website {
        font-size: 16px;
    }
}

/* Phone (max-width: 480px) */
@media screen and (max-width: 480px) {
    :root {
        --page-padding: 15px;
        --section-gap: 15px;
    }

    body {
        font-size: 14px;
    }

    /* Cover Page */
    .cover-title {
        font-size: 22px;
    }

    .cover-subtitle {
        font-size: 36px;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }

    .india-post-logo {
        flex-direction: column;
        gap: 8px;
    }

    .logo-icon {
        font-size: 36px;
    }

    .india-post-logo span {
        font-size: 18px;
    }

    .cover-tagline {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 30px;
    }

    .tagline-line {
        width: 60px;
        height: 1px;
    }

    .cover-since {
        font-size: 12px;
    }

    /* Page Headers */
    .page-header h2 {
        font-size: 20px;
    }

    .plan-badge {
        font-size: 10px;
        padding: 4px 12px;
    }

    .plan-type {
        font-size: 14px;
    }

    /* Benefits */
    .benefit-card h3 {
        font-size: 14px;
    }

    .benefit-card p {
        font-size: 12px;
    }

    .highlight-box {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
    }

    .highlight-box p {
        font-size: 14px;
    }

    /* Tables */
    .table-title {
        font-size: 12px;
    }

    .premium-table {
        font-size: 10px;
    }

    .premium-table th,
    .premium-table td {
        padding: 6px 4px;
    }

    /* Make tables horizontally scrollable */
    .premium-table,
    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Plan Benefit */
    .plan-benefit {
        padding: 15px;
    }

    .plan-benefit h4 {
        font-size: 13px;
    }

    .plan-benefit p {
        font-size: 12px;
    }

    .plan-benefit .example {
        font-size: 11px;
        padding: 8px;
    }

    /* Money Back Visual */
    .money-back-visual {
        padding: 15px;
    }

    .money-back-visual h3 {
        font-size: 14px;
    }

    .timeline-item {
        padding: 8px 10px;
    }

    .timeline-item .year {
        font-size: 10px;
    }

    .timeline-item .amount {
        font-size: 12px;
    }

    /* Example Box */
    .example-box {
        padding: 15px;
    }

    .example-box h4 {
        font-size: 13px;
    }

    .example-total {
        font-size: 14px;
        padding: 10px;
    }

    /* Feature Highlight */
    .feature-highlight {
        padding: 20px;
    }

    .feature-highlight h3 {
        font-size: 16px;
    }

    .conversion-from,
    .conversion-to {
        padding: 15px 20px;
    }

    .conversion-from p,
    .conversion-to p {
        font-size: 14px;
    }

    /* Benefit List */
    .benefit-list h3 {
        font-size: 14px;
    }

    .benefit-list li {
        font-size: 13px;
        padding: 8px 0;
    }

    /* Risk vs Reward */
    .rewards-section h3,
    .risks-section h3 {
        font-size: 14px;
    }

    .rewards-section li,
    .risks-section li {
        margin-bottom: 12px;
    }

    .rewards-section li strong,
    .risks-section li strong {
        font-size: 12px;
    }

    .rewards-section li p,
    .risks-section li p {
        font-size: 11px;
    }

    .verdict-box {
        padding: 20px;
    }

    .verdict-box h3 {
        font-size: 16px;
    }

    .verdict-box p {
        font-size: 13px;
    }

    /* Recommendations */
    .recommend-icon {
        font-size: 30px;
    }

    .recommend-card h3 {
        font-size: 14px;
    }

    .recommend-plan {
        font-size: 12px;
        padding: 5px 12px;
    }

    .recommend-card p {
        font-size: 12px;
    }

    .ideal-for {
        padding: 10px;
    }

    .ideal-for li {
        font-size: 11px;
    }

    .quick-pick {
        padding: 20px;
    }

    .quick-pick h3 {
        font-size: 14px;
    }

    .age-pick .age {
        font-size: 11px;
        padding: 4px 8px;
    }

    .age-pick .plan {
        font-size: 11px;
    }

    /* Comparison */
    .comparison-table th,
    .comparison-table td {
        padding: 5px 3px;
        font-size: 8px;
    }

    .final-note {
        padding: 15px 20px;
    }

    .final-note p {
        font-size: 12px;
    }

    /* Contact Page */
    .process-section h3 {
        font-size: 14px;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .step-content strong {
        font-size: 12px;
    }

    .step-content p {
        font-size: 10px;
    }

    .claim-type h4 {
        font-size: 12px;
    }

    .claim-type li {
        font-size: 11px;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-card h3 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .contact-name {
        font-size: 18px;
    }

    .contact-designation {
        font-size: 12px;
    }

    .contact-location,
    .contact-phone {
        font-size: 14px;
    }

    .contact-phone {
        font-size: 16px;
    }

    .contact-website {
        font-size: 14px;
    }

    .qr-codes {
        flex-direction: column;
        gap: 15px;
    }

    .qr-placeholder {
        padding: 6px;
    }

    .qr-placeholder img {
        width: 100px;
        height: 100px;
    }

    .qr-label {
        font-size: 10px;
    }

    .footer-tagline {
        padding: 12px;
    }

    .footer-tagline p {
        font-size: 12px;
    }
}

/* Extra small phones (max-width: 360px) */
@media screen and (max-width: 360px) {
    :root {
        --page-padding: 12px;
    }

    .cover-title {
        font-size: 18px;
    }

    .cover-subtitle {
        font-size: 28px;
    }

    .page-header h2 {
        font-size: 18px;
    }

    .premium-table th,
    .premium-table td {
        padding: 4px 2px;
        font-size: 9px;
    }

    .comparison-table th,
    .comparison-table td {
        font-size: 7px;
        padding: 4px 2px;
    }
}

/* ========================================
   Utility & New Sections
   ======================================== */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.description-text {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
}

.nested-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    font-size: 13px;
}

.nested-table th, .nested-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nested-table th {
    color: var(--primary);
    font-weight: 600;
}

.note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic;
}

/* Survival Timeline */
.survival-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 15px;
}

.s-item {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border);
}

.s-item span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.s-item strong {
    font-size: 15px;
    color: var(--primary);
}

.s-item.final {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.s-item.final strong {
    color: white;
}

/* Eligibility & Checklist */
.check-list, .cross-list {
    list-style: none;
    margin-top: 15px;
}

.check-list li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: bold;
}

.cross-list li::before {
    content: "! ";
    color: var(--warning);
    font-weight: bold;
}

.label-info {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.status-warning {
    border-color: var(--warning) !important;
}

/* Calculator Steps */
.calculator-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.calc-step {
    text-align: center;
    padding: 25px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    font-size: 18px;
}

/* Final CTA Section */
.contact-cta {
    text-align: center;
    margin-top: 40px;
}

.officer-identity {
    margin-bottom: 30px;
}

.officer-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
}

.officer-lic {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-success {
    background: #25D366; /* WhatsApp Green */
    color: white;
}

.btn-gold {
    background: var(--gold);
    color: var(--secondary);
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    font-size: 18px;
    border: 1px solid var(--gold-light);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.qr-container {
    margin-bottom: 40px;
}

.qr-box {
    text-align: center;
}

.qr-box img {
    border: 4px solid white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.qr-box p {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Section */
.site-footer {
    border-top: 1px solid var(--border);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
}

.site-footer p {
    font-size: 13px;
    color: var(--text-muted);
}

.copyright {
    margin-top: 10px;
    font-size: 11px !important;
    opacity: 0.6;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .page {
        width: 100%;
        margin: 10px 0;
        padding: 20px;
    }
    .grid-2, .calculator-steps {
        grid-template-columns: 1fr !important;
    }
    .survival-timeline {
        flex-direction: column;
    }
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
}
