/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --accent: #6366f1;
    --accent-dark: #4f46e5;
    --accent-light: #eef2ff;
    --text: #1e1e2e;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --card: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

[data-theme="dark"] {
    --accent: #818cf8;
    --accent-dark: #6366f1;
    --accent-light: #1e1b4b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --bg: #0f172a;
    --card: #1e293b;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== TOP NAV ===== */
.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition), gap var(--transition);
}
.back-link:hover { color: var(--accent); gap: 12px; }

.nav-actions { display: flex; gap: 8px; }

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.icon-btn:hover { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    padding: 60px 24px 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 600px; margin: 0 auto; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 24px;
}

.hero-offer { margin-top: 8px; }
.offer-pill {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ===== PAGE BG TINT on service select ===== */
body {
    transition: background-color 0.6s ease;
    background-color: #ffffff;
}
body.bg-website { background-color: #f3f2ff; }
body.bg-file    { background-color: #f0fdf8; }

/* ===== PAGE MAIN ===== */
.page-main {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* ===== SECTION ===== */
.section { margin-bottom: 40px; }

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ===== SERVICE CARDS ===== */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    position: relative;
    border-radius: 20px;
    padding: 28px 24px 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid transparent;
    background-clip: padding-box;
}

/* Glassy shimmer overlay */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 100%);
    pointer-events: none;
    z-index: 1;
}
.service-card:hover::before { opacity: 1; }

/* Card 1 — Website: Indigo → Violet */
.service-card[data-service="website"] {
    background: #ffffff;
    border-color: rgba(99,102,241,0.25);
    box-shadow: 0 4px 20px rgba(99,102,241,0.1);
}
.service-card[data-service="website"]:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(99,102,241,0.6);
    box-shadow: 0 20px 50px rgba(99,102,241,0.2);
}
.service-card[data-service="website"].selected {
    background: linear-gradient(145deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 100%);
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15), 0 20px 50px rgba(99,102,241,0.2);
}

/* Card 2 — File: Emerald → Teal */
.service-card[data-service="file"] {
    background: #ffffff;
    border-color: rgba(16,185,129,0.25);
    box-shadow: 0 4px 20px rgba(16,185,129,0.1);
}
.service-card[data-service="file"]:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(16,185,129,0.6);
    box-shadow: 0 20px 50px rgba(16,185,129,0.2);
}
.service-card[data-service="file"].selected {
    background: linear-gradient(145deg, rgba(16,185,129,0.12) 0%, rgba(20,184,166,0.08) 100%);
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15), 0 20px 50px rgba(16,185,129,0.2);
}

/* Icon bubble */
.service-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.service-card[data-service="website"] .service-icon {
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.15));
    border: 1px solid rgba(99,102,241,0.3);
    box-shadow: 0 4px 12px rgba(99,102,241,0.2);
}
.service-card[data-service="file"] .service-icon {
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(20,184,166,0.15));
    border: 1px solid rgba(16,185,129,0.3);
    box-shadow: 0 4px 12px rgba(16,185,129,0.2);
}

.service-info { position: relative; z-index: 2; }
.service-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.2px;
}
.service-card[data-service="website"] .service-info h3 { color: #4f46e5; }
.service-card[data-service="file"] .service-info h3 { color: #059669; }
[data-theme="dark"] .service-card[data-service="website"] .service-info h3 { color: #a5b4fc; }
[data-theme="dark"] .service-card[data-service="file"] .service-info h3 { color: #6ee7b7; }

.service-info p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}
.service-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.service-info li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
}
.service-card[data-service="website"] .service-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 700;
}
.service-card[data-service="file"] .service-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
    position: relative;
    z-index: 2;
}
.service-card[data-service="website"] .service-footer { border-top-color: rgba(99,102,241,0.2); }
.service-card[data-service="file"] .service-footer { border-top-color: rgba(16,185,129,0.2); }

.service-price {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.service-card[data-service="website"] .service-price { color: #6366f1; }
.service-card[data-service="file"] .service-price { color: #10b981; }
[data-theme="dark"] .service-card[data-service="website"] .service-price { color: #a5b4fc; }
[data-theme="dark"] .service-card[data-service="file"] .service-price { color: #6ee7b7; }

.service-select-label {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    transition: all 0.25s ease;
}
.service-card[data-service="website"] .service-select-label {
    color: #6366f1;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.25);
}
.service-card[data-service="file"] .service-select-label {
    color: #10b981;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
}
.service-card[data-service="website"]:hover .service-select-label,
.service-card[data-service="website"].selected .service-select-label {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}
.service-card[data-service="file"]:hover .service-select-label,
.service-card[data-service="file"].selected .service-select-label {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

/* ===== FORM CARD ===== */
.form-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.form-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px 24px;
    border-bottom: 1px solid var(--border);
}
.form-card-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.form-card-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.selected-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    white-space: nowrap;
    flex-shrink: 0;
}
.selected-badge span { font-size: 0.8rem; color: var(--accent); }
.selected-badge strong { font-size: 1.1rem; color: var(--accent); }

/* ===== SERVICE-BASED FORM SWITCHING ===== */
.website-only, .file-only {
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.website-only[style*="display: none"], .file-only[style*="display: none"] {
    opacity: 0;
    transform: translateY(-6px);
}

/* Form card accent line based on service */
.form-card { border-top: 3px solid var(--accent); }
.form-card.service-file { border-top-color: #10b981; }

/* ===== FIELDSETS ===== */
fieldset.form-block {
    border: none;
    padding: 28px 32px;
    border-bottom: 1px solid var(--border);
}
fieldset.form-block:last-of-type { border-bottom: none; }

legend {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    float: none;
    width: 100%;
}

.optional-tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--border);
    padding: 2px 8px;
    border-radius: 100px;
}

/* ===== FIELDS ===== */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.field-row:last-child { margin-bottom: 0; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }

label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}
.req { color: #ef4444; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select { cursor: pointer; }
textarea { resize: vertical; min-height: 90px; }

small {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===== CHECKBOXES ===== */
.checkbox-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
}
.check-item:hover { border-color: var(--accent); background: var(--accent-light); }
.check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}
.check-item input[type="checkbox"]:focus { box-shadow: none; border: none; }

.toggle-check {
    border: none;
    padding: 0;
    font-weight: 500;
    margin-bottom: 16px;
}
.toggle-check:hover { background: none; border: none; }

/* ===== COLLABORATION ===== */
.collab-info-box {
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 16px;
}

.collab-options { margin-top: 16px; }
.collab-options.hidden { display: none; }

.collab-cost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.88rem;
    margin-top: 12px;
}
.collab-cost.hidden { display: none; }
.collab-cost strong { color: var(--accent); }

/* ===== PAYMENT BLOCK ===== */
.payment-block { background: var(--bg); }

.price-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: none; }
.total-row {
    background: var(--accent-light);
    font-weight: 600;
}
.total-row strong { color: var(--accent); font-size: 1.1rem; }

.upi-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}
.upi-id-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.upi-id-display strong { color: var(--text); }

.qr-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
#qrcode, #mgmtQrcode {
    background: white;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.qr-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1.5px solid var(--accent);
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.qr-btn:hover { background: var(--accent); color: white; }

/* ===== SUBMIT ===== */
.submit-area {
    padding: 28px 32px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    font-family: inherit;
}
.submit-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.submit-note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== MODALS ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.modal-box {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: modalIn 0.25s ease;
}
.modal-box.wide { max-width: 680px; text-align: left; }

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon { font-size: 3rem; margin-bottom: 16px; }
.modal-box h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.modal-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.modal-head h3 { margin: 0; }
.modal-sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }

.close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.close-btn:hover { background: var(--border); color: var(--text); }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 16px;
}
.btn-outline:hover { background: var(--accent); color: white; }

/* ===== PLANS ===== */
.plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.plan-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    transition: all var(--transition);
}
.plan-card:hover { border-color: var(--accent); }
.plan-card.popular { border-color: var(--accent); background: var(--accent-light); }

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.plan-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.plan-price { font-size: 1.8rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.plan-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.plan-save { font-size: 0.8rem; color: #16a34a; font-weight: 500; margin-bottom: 16px; }

.plan-card ul { list-style: none; margin-bottom: 20px; }
.plan-card li {
    font-size: 0.83rem;
    color: var(--text-muted);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}
.plan-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

.plan-btn {
    width: 100%;
    padding: 10px;
    border: 1.5px solid var(--accent);
    background: transparent;
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.plan-btn:hover, .plan-btn.primary { background: var(--accent); color: white; }

.collab-addon {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
}
.collab-addon h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.collab-addon p { font-size: 0.85rem; color: var(--text-muted); }

.selected-plan-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.selected-plan-display strong { color: var(--accent); font-size: 1.1rem; }

/* ===== NOTIFICATIONS ===== */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #16a34a;
    color: white;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 30px rgba(22, 163, 74, 0.35);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 320px;
}
.success-notification.show { transform: translateX(0); }
.notification-content { display: flex; align-items: center; gap: 12px; }
.notification-text strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.notification-text p { margin: 0; font-size: 0.82rem; opacity: 0.85; }

/* ===== HIDDEN UTILITY ===== */
.hidden { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .hero { padding: 40px 20px 36px; }
    .hero h1 { font-size: 1.8rem; }

    .service-grid { grid-template-columns: 1fr; }

    .form-card-header { flex-direction: column; gap: 12px; }
    .selected-badge { align-items: flex-start; }

    fieldset.form-block { padding: 20px 16px; }
    .submit-area { padding: 20px 16px; }

    .field-row { grid-template-columns: 1fr; gap: 0; }
    .checkbox-row { grid-template-columns: 1fr; }

    .plans-grid { grid-template-columns: 1fr; }

    .modal-box { padding: 24px 20px; }
    .modal-box.wide { padding: 20px 16px; }

    .topnav { padding: 12px 16px; }
}

@media (max-width: 400px) {
    .page-main { padding: 24px 12px 60px; }
}
