:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --dark: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #2563eb;
    --accent: #10b981;
    --accent-purple: #7c3aed;
    --accent-purple-dark: #5b21b6;
    --accent-soft: #f5f3ff;
    --green-soft: #ecfdf5;
    --blue-soft: #eff6ff;
    --purple-soft: #f5f3ff;
    --radius: 22px;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 247, 244, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo,
.footer-logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo span,
.footer-logo span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-link-muted {
    color: var(--muted);
}

.nav-toggle {
    display: none;
    border: 0;
    background: var(--surface);
    border-radius: 12px;
    padding: 10px 13px;
    font-size: 1.3rem;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-small {
    padding: 10px 16px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
}

.hero {
    padding: 76px 0 54px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
}

.badge {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #9a3412;
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
    margin: 0 0 24px;
}

.hero p {
    font-size: 1.18rem;
    color: var(--muted);
    max-width: 620px;
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.mock-browser {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.browser-top {
    display: flex;
    gap: 7px;
    padding: 14px;
    background: #f3f4f6;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.mock-content {
    padding: 28px;
}

.mock-hero {
    min-height: 180px;
    border-radius: 22px;
    background: linear-gradient(135deg, #111827, #d97706);
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.mock-hero h3 {
    font-size: 2rem;
    margin: 0 0 8px;
    letter-spacing: -0.05em;
}

.mock-lines {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.mock-line {
    height: 14px;
    border-radius: 999px;
    background: #e5e7eb;
}

.mock-line.short {
    width: 65%;
}


.section {
    padding: 70px 0;
}

/*This one thing was added to reduce padding for the pricing header section*/
.pricing-hero-section {
    padding-top: 48px;
}


.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 14px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.info-card,
.price-card,
.template-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.info-card h3,
.price-card h3,
.template-card h3 {
    margin-top: 0;
    letter-spacing: -0.03em;
}

.info-card p,
.price-card p,
.template-card p {
    color: var(--muted);
}

.price {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin: 12px 0;
}

.price span {
    font-size: 1rem;
    color: var(--muted);
    letter-spacing: normal;
}

.feature-list {
    padding: 0;
    margin: 20px 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.feature-list li::before {
    content: "\2713";
    color: var(--accent);
    font-weight: 900;
    margin-right: 8px;
}

.cta-band {
    background: var(--dark);
    color: white;
    border-radius: 34px;
    padding: 44px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.cta-band p {
    color: #d1d5db;
    margin: 0;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--line);
    padding: 54px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
}

.footer-grid a,
.footer-grid p {
    display: block;
    color: var(--muted);
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-card {
    max-width: 560px;
    margin: 50px auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-card h1 {
    margin-top: 0;
    letter-spacing: -0.05em;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 7px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    background: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.alert {
    padding: 13px 15px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-weight: 700;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
}

@media (max-width: 820px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: white;
        padding: 18px;
        border-radius: 20px;
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero-grid,
    .card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 56px;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
    }
}








/**//**//**//**//**//**//**//**//**//**//**//**/

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 240px auto;
    gap: 12px;
    margin: 28px 0 34px;
    background: white;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.template-card {
    padding: 0;
    overflow: hidden;
}

.template-thumb {
    min-height: 220px;
    background: #f3f4f6;
}

.template-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.template-placeholder {
    height: 220px;
    padding: 24px;
    background:
        radial-gradient(circle at 80% 20%, rgba(217,119,6,0.35), transparent 30%),
        linear-gradient(135deg, #111827, #374151);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.template-placeholder span {
    color: #fed7aa;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.template-placeholder strong {
    font-size: 2rem;
    letter-spacing: -0.06em;
    line-height: 1;
    margin-top: 8px;
}

.template-card-body {
    padding: 22px;
}

.template-category {
    display: inline-flex;
    color: #9a3412;
    background: var(--accent-soft);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.template-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.empty-state {
    background: white;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 36px;
    text-align: center;
}

.empty-state h2 {
    margin-top: 0;
}

@media (max-width: 900px) {
    .filter-bar,
    .template-grid {
        grid-template-columns: 1fr;
    }
}



/*Adding Dashboard CSS*/
.form-note {
    color: var(--muted);
    margin-top: 18px;
}

.form-note a {
    color: var(--accent);
    font-weight: 800;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.dashboard-header h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 12px;
}

.dashboard-header p:not(.badge) {
    color: var(--muted);
    margin: 0;
}

.table-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow-x: auto;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.data-table th,
.data-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.data-table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    background: #f9fafb;
}

.data-table td span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.status-pill {
    display: inline-flex !important;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.82rem !important;
    font-weight: 900;
    background: #f3f4f6;
    color: #374151 !important;
}

.status-submitted,
.status-invoice_pending {
    background: #fff7ed;
    color: #9a3412 !important;
}

.status-paid,
.status-published {
    background: #ecfdf5;
    color: #065f46 !important;
}

.status-cancelled {
    background: #fef2f2;
    color: #991b1b !important;
}

@media (max-width: 820px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
}







/*Form Layout CSS*/
.wide-form {
    max-width: 860px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

@media (max-width: 720px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}












/*Soe Admin CSS*/
.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-card strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: -0.06em;
}

.admin-nav-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    margin: 24px 0;
}

.admin-nav-panel a {
    padding: 10px 14px;
    background: #f9fafb;
    border-radius: 999px;
    font-weight: 800;
    color: var(--dark);
}

.admin-section-heading {
    margin-top: 42px;
}

.table-link {
    color: var(--accent);
    font-weight: 900;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.detail-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
    margin-bottom: 18px;
}

.detail-card h2 {
    font-size: 1.6rem;
    margin-top: 0;
    letter-spacing: -0.04em;
}

@media (max-width: 900px) {
    .stats-grid,
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }
}












/*CSS for checkbox group*/
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.checkbox-group input {
    width: auto;
}










/*small CSS for table actions*/

.table-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}







/*Clarifying Preview and Edit buttons in admin/templates.php*/

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    border: 1px solid var(--line);
}

.mini-btn-light {
    background: #ffffff;
    color: var(--accent);
}

.mini-btn-dark {
    background: var(--dark);
    color: #ffffff;
    border-color: var(--dark);
}









/*Request Success*/
.success-card {
    max-width: 820px;
    margin: 40px auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 46px;
    text-align: center;
    box-shadow: var(--shadow);
}

.success-icon {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #065f46;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.success-card h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 18px;
}

.success-card p {
    color: var(--muted);
    font-size: 1.08rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.small-muted {
    font-size: 0.9rem !important;
    margin-top: 18px;
}







/*category CSS*/
.category-list {
    display: grid;
    gap: 10px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f9fafb;
}

.category-item strong {
    display: block;
}

.category-item span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 3px;
}

.category-item em {
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}
















/*For Pricing.php*/
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.pricing-featured {
    border: 2px solid var(--accent);
    position: relative;
}

.pricing-label {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #9a3412;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.pricing-card h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 14px;
}

.pricing-card p {
    color: var(--muted);
}

.price-block {
    margin: 24px 0 4px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.price-block strong {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.price-block span {
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 8px;
}

.billing-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.pricing-card .feature-list {
    margin: 26px 0;
    flex: 1;
}

.addon-price {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin: 14px 0 4px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.faq-item {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.faq-item h3 {
    margin-top: 0;
    letter-spacing: -0.03em;
}

.faq-item p {
    color: var(--muted);
}

@media (max-width: 820px) {
    .pricing-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}








/* =========================================================
   BasicWebsite colour refresh
   Clean white background with blue / green / purple accents
   ========================================================= */

body {
    background: #ffffff;
    color: var(--dark);
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.04);
}

.logo {
    color: var(--dark);
}

.logo span,
.footer-logo span {
    color: var(--primary);
}

.footer-logo {
    color: var(--dark);
}

.main-nav a {
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.nav-link-muted {
    color: var(--muted);
}

.btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.btn:hover {
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.24);
}

.btn-outline {
    background: #ffffff;
    color: var(--dark);
    border-color: #cbd5e1;
    box-shadow: none;
}

.btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.2);
}

.btn-accent:hover {
    box-shadow: 0 16px 35px rgba(16, 185, 129, 0.28);
}

/* Purple labels / category pills */
.badge,
.pricing-label,
.template-category {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-dark));
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.16);
    letter-spacing: 0.08em;
}

.mock-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.45), transparent 32%),
        linear-gradient(135deg, #0f172a, #2563eb 55%, #7c3aed);
}

.template-placeholder {
    background:
        radial-gradient(circle at 82% 20%, rgba(16, 185, 129, 0.35), transparent 32%),
        linear-gradient(135deg, #0f172a, #1e293b 45%, #2563eb);
}

.template-placeholder span {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.45);
}

.feature-list li::before {
    color: var(--accent);
}

.cta-band {
    background:
        radial-gradient(circle at 85% 18%, rgba(16, 185, 129, 0.22), transparent 30%),
        linear-gradient(135deg, #0f172a, #111827 55%, #1e1b4b);
    color: #ffffff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.cta-band p {
    color: #cbd5e1;
}

.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--line);
}

/* Cards now stand out against the plain white page */
.info-card,
.price-card,
.template-card,
.form-card,
.table-card,
.stat-card,
.detail-card,
.success-card,
.pricing-card,
.faq-item,
.empty-state,
.filter-bar,
.admin-nav-panel {
    background: #ffffff;
    border-color: var(--line);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.template-card:hover,
.price-card:hover,
.info-card:hover,
.pricing-card:hover {
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.pricing-featured {
    border: 2px solid var(--primary);
    box-shadow: 0 22px 60px rgba(37, 99, 235, 0.15);
}

input,
select,
textarea {
    background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.data-table th {
    background: #f8fafc;
    color: #475569;
}

.table-link {
    color: var(--primary);
}

.admin-nav-panel a {
    background: #ffffff;
    color: var(--dark);
    border: 1px solid var(--line);
}

.admin-nav-panel a:hover {
    background: var(--purple-soft);
    color: var(--accent-purple);
}

.mini-btn-light {
    background: #ffffff;
    color: var(--primary);
}

.mini-btn-dark {
    background: var(--dark);
    color: #ffffff;
    border-color: var(--dark);
}

.category-item {
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.status-submitted,
.status-invoice_pending {
    background: var(--blue-soft);
    color: #1d4ed8 !important;
}

.status-paid,
.status-published {
    background: var(--green-soft);
    color: #047857 !important;
}

.status-cancelled {
    background: #fef2f2;
    color: #991b1b !important;
}

.success-icon {
    background: var(--green-soft);
    color: #047857;
}

.form-note a {
    color: var(--primary);
}

.alert-success {
    background: var(--green-soft);
    color: #047857;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
}

/* Keep hero/page hero backgrounds clean and white */
.hero,
.page-hero {
    background: #ffffff;
}

.section,
.pricing-section,
.templates-section {
    background: #ffffff;
}




/* =========================================================
   Active navbar tabs
   ========================================================= */

.main-nav a.nav-active {
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.36), transparent 34%),
        linear-gradient(135deg, #0f172a, #1e293b 42%, #2563eb);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.main-nav a.nav-active::after {
    display: none;
}

@media (max-width: 820px) {
    .main-nav a.nav-active {
        color: #ffffff;
        border-radius: 14px;
        padding: 10px 12px;
        background:
            radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.36), transparent 34%),
            linear-gradient(135deg, #0f172a, #1e293b 42%, #2563eb);
    }

    .main-nav a.nav-active::after {
        display: none;
    }
}



/* =========================================================
   Template category gradient badges
   ========================================================= */

.template-category,
.badge,
.pricing-label {
    background:
        radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.38), transparent 34%),
        linear-gradient(135deg, #0f172a, #1e293b 42%, #2563eb);
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.55);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}










/* =========================================================
   Template pagination
   ========================================================= */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 42px;
}

.pagination-link,
.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
}

.pagination-link {
    background: #ffffff;
    color: var(--dark);
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.pagination-link:hover {
    color: #ffffff;
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.18);
}

.pagination-active {
    color: #ffffff;
    border-color: var(--accent-purple);
    background:
        radial-gradient(circle at 80% 15%, rgba(16, 185, 129, 0.35), transparent 32%),
        linear-gradient(135deg, #0f172a, #2563eb 58%, #7c3aed);
    box-shadow: 0 16px 34px rgba(124, 58, 237, 0.22);
}

.pagination-dots {
    color: var(--muted);
}










/* =========================================================
   Homepage hero image
   ========================================================= */

.hero-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrap::before {
    display: none;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 690px;
    height: auto;
    display: block;
    border-radius: 0;
    filter: none;
}

@media (max-width: 900px) {
    .hero-image {
        max-width: 520px;
    }
}

@media (max-width: 620px) {
    .hero-image {
        border-radius: 20px;
    }
}







/* =========================================================
   Header and footer image logo
   ========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    height: 38px;
    max-width: 230px;
}

.footer-logo-image {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-logo-image img {
    display: block;
    width: auto;
    height: 34px;
    max-width: 220px;
}

@media (max-width: 620px) {
    .site-logo img {
        height: 32px;
        max-width: 190px;
    }

    .footer-logo-image img {
        height: 30px;
        max-width: 180px;
    }
}






/* =========================================================
   Pricing page heading
   ========================================================= */

.pricing-page-heading {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    max-width: 980px;
    margin-bottom: 30px;
}

.pricing-page-heading .badge {
    margin-bottom: 0;
    color: #ffffff;
    white-space: nowrap;
}

.pricing-heading-content h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 12px;
    color: var(--dark);
}

.pricing-heading-content p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .pricing-page-heading {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 24px;
    }

    .pricing-heading-content h1 {
        font-size: 2rem;
    }

    .pricing-heading-content p {
        font-size: 1rem;
    }
}









/* =========================================================
   Pricing page hero
   ========================================================= */

.pricing-hero-section {
    padding-top: 44px;
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 46px;
    align-items: center;
    margin-bottom: 42px;
}

.pricing-hero-content .badge {
    color: #ffffff;
    margin-bottom: 18px;
}

.pricing-hero-content h1 {
    max-width: 620px;
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 4.4vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
    color: var(--dark);
}

.pricing-hero-content p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.pricing-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pricing-hero-points span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-hero-image {
    display: flex;
    justify-content: center;
}

.pricing-hero-image img {
    width: 100%;
    max-width: 760px;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .pricing-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .pricing-hero-content h1,
    .pricing-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-hero-points {
        justify-content: center;
    }

    .pricing-hero-image img {
        max-width: 620px;
    }
}

@media (max-width: 560px) {
    .pricing-hero-section {
        padding-top: 32px;
    }

    .pricing-hero-content h1 {
        font-size: 2.35rem;
    }

    .pricing-hero-content p {
        font-size: 1rem;
    }

    .pricing-hero-points {
        gap: 8px;
    }

    .pricing-hero-points span {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}




/* =========================================================
   Pricing page compact refinements
   ========================================================= */

.pricing-grid {
    gap: 18px;
    align-items: stretch;
}

.pricing-card {
    padding: 28px 30px;
    border-radius: 28px;
}

.pricing-label {
    margin-bottom: 10px;
}

.pricing-card h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    line-height: 1.02;
    margin-bottom: 10px;
}

.pricing-card p {
    margin-top: 0;
    margin-bottom: 12px;
}

.price-block {
    margin: 18px 0 2px;
}

.price-block strong {
    font-size: clamp(3rem, 5.8vw, 4.35rem);
}

.billing-note {
    font-size: 0.92rem;
    margin-top: 0;
}

.pricing-card .feature-list {
    margin: 20px 0 22px;
    gap: 8px;
}

.pricing-card .feature-list li {
    line-height: 1.35;
}

.pricing-card .btn {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Optional add-ons section */
.card-grid .price-card {
    padding: 22px;
    border-radius: 20px;
}

.card-grid .price-card h3 {
    margin-bottom: 10px;
}

.card-grid .price-card p {
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.5;
}

.addon-price {
    font-size: 1.7rem;
    margin: 10px 0 4px;
}

/* FAQ cards slightly tighter */
.faq-item {
    padding: 22px;
}

.faq-item h3 {
    margin-bottom: 10px;
}

.faq-item p {
    margin-bottom: 0;
}






/* =========================================================
   Templates page hero
   ========================================================= */

.templates-hero-section {
    padding-top: 46px;
}

.templates-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
    gap: 44px;
    align-items: center;
    margin-bottom: 34px;
}

.templates-hero-content .badge {
    color: #ffffff;
    margin-bottom: 18px;
}

.templates-hero-content h1 {
    max-width: 650px;
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 4.7vw, 4.2rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
    color: var(--dark);
}

.templates-hero-content p {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.templates-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.templates-hero-points span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.templates-hero-image {
    display: flex;
    justify-content: center;
}

.templates-hero-image img {
    width: 100%;
    max-width: 740px;
    height: auto;
    display: block;
    border-radius: 0;
    filter: none;
}

.templates-filter-bar {
    margin-top: 0;
    margin-bottom: 34px;
    padding: 16px;
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.templates-filter-bar input,
.templates-filter-bar select {
    min-height: 54px;
}

.templates-filter-bar .btn {
    min-height: 54px;
    padding-left: 26px;
    padding-right: 26px;
}

@media (max-width: 900px) {
    .templates-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .templates-hero-content h1,
    .templates-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .templates-hero-points {
        justify-content: center;
    }

    .templates-hero-image img {
        max-width: 620px;
    }
}

@media (max-width: 620px) {
    .templates-hero-section {
        padding-top: 34px;
    }

    .templates-hero-content h1 {
        font-size: 2.35rem;
    }

    .templates-hero-content p {
        font-size: 1rem;
    }

    .templates-hero-points span {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .templates-filter-bar {
        padding: 12px;
    }
}










/* Invoice system */
.admin-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.inline-form {
    display: inline;
    margin: 0;
}

.invoice-link-input {
    width: 100%;
    max-width: 760px;
    padding: 14px 16px;
    border: 1px solid #d8e0ef;
    border-radius: 14px;
    font-size: 0.95rem;
    color: #111827;
    background: #f8fafc;
}

.invoice-page {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
    color: #111827;
}

.invoice-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5eaf2;
}

.invoice-top h1,
.invoice-top h2,
.invoice-two-col h3,
.invoice-payment h3 {
    color: #0f172a;
}

.invoice-top p,
.invoice-two-col p,
.invoice-payment p,
.invoice-footer-note p {
    color: #475569;
    margin: 6px 0;
}

.invoice-meta {
    text-align: right;
}

.invoice-meta h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.invoice-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 32px 0;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    overflow: hidden;
    border-radius: 18px;
}

.invoice-table th,
.invoice-table td {
    padding: 16px;
    border-bottom: 1px solid #e5eaf2;
    vertical-align: top;
}

.invoice-table thead th {
    background: #f8fafc;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.invoice-table tfoot th {
    background: #0f172a;
    color: #ffffff;
    font-size: 1.05rem;
}

.text-right {
    text-align: right;
}

.invoice-payment {
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    padding: 22px;
    margin-top: 24px;
}

.invoice-footer-note {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e5eaf2;
}

@media (max-width: 768px) {
    .invoice-page {
        padding: 24px;
    }

    .invoice-top,
    .invoice-two-col {
        grid-template-columns: 1fr;
        display: grid;
    }

    .invoice-meta {
        text-align: left;
    }

    .admin-action-row {
        justify-content: flex-start;
    }
}

@media print {
    .site-header,
    .site-footer,
    .no-print,
    .nav-toggle,
    .main-nav {
        display: none !important;
    }

    body {
        background: #ffffff !important;
    }

    main,
    .section,
    .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }

    .invoice-page {
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 20px !important;
    }
}







/* Invoice page layout refinements */
.invoice-admin-section .dashboard-header h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    word-break: normal;
    overflow-wrap: normal;
}

.invoice-admin-section .dashboard-header {
    align-items: flex-start;
}

.invoice-admin-section .admin-action-row {
    max-width: 620px;
}

/**/
.invoice-admin-section .admin-action-row .inline-form {
    display: inline-flex;
}

.invoice-admin-section .admin-action-row .btn {
    white-space: nowrap;
}









/* Admin invoices page */
.admin-filter-form {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr auto;
    gap: 18px;
    align-items: end;
}

.admin-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
}

.admin-table th,
.admin-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #e5eaf2;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background: #f8fafc;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.muted-small {
    color: #64748b;
    font-size: 0.9rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-draft {
    background: #f1f5f9;
    color: #334155;
}

.status-sent {
    background: #e0f2fe;
    color: #075985;
}

.status-paid {
    background: #dcfce7;
    color: #166534;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.pagination a.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

@media (max-width: 900px) {
    .admin-filter-form {
        grid-template-columns: 1fr;
    }

    .admin-filter-actions {
        justify-content: flex-start;
    }
}



/* Improved invoice design and one-page print layout */
.invoice-page {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 34px 40px;
    border-radius: 26px;
    border: 1px solid #dbe4f0;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(16, 185, 129, 0.05)) top left / 100% 120px no-repeat,
        #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.invoice-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    border-radius: 26px 26px 0 0;
    background: linear-gradient(90deg, #2563eb, #10b981);
}

.invoice-top {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
    padding-bottom: 22px;
    border-bottom: 1px solid #e5eaf2;
}

.invoice-top h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.invoice-top p {
    margin: 5px 0;
    color: #475569;
    line-height: 1.45;
}

.invoice-meta {
    text-align: right;
}

.invoice-meta h1 {
    margin: 0 0 14px;
    font-size: 2.3rem;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.invoice-meta p {
    margin: 6px 0;
}

.invoice-meta strong {
    color: #0f172a;
}

.invoice-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 24px 0 22px;
}

.invoice-two-col h3,
.invoice-payment h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #0f172a;
}

.invoice-two-col p {
    margin: 6px 0;
    color: #475569;
    line-height: 1.45;
}

.invoice-table {
    width: 100%;
    margin: 20px 0 22px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    overflow: hidden;
}

.invoice-table th,
.invoice-table td {
    padding: 15px 18px;
    border-bottom: 1px solid #e5eaf2;
}

.invoice-table thead th {
    background: #f8fafc;
    color: #334155;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.invoice-table tbody td {
    color: #0f172a;
}

.invoice-table tbody tr:last-child td {
    border-bottom: none;
}

.invoice-table tfoot th {
    padding: 17px 18px;
    background: #0f172a;
    color: #ffffff;
    font-size: 1rem;
    border-bottom: none;
}

.invoice-payment {
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
}

.invoice-payment p {
    margin: 6px 0;
    color: #334155;
    line-height: 1.45;
}

.invoice-payment strong {
    color: #0f172a;
}

.invoice-footer-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5eaf2;
}

.invoice-footer-note p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.text-right {
    text-align: right;
}

@media print {
    @page {
        size: A4;
        margin: 10mm;
    }

    html,
    body {
        background: #ffffff !important;
        font-size: 14px !important;
    }

    .site-header,
    .site-footer,
    .no-print,
    .nav-toggle,
    .main-nav {
        display: none !important;
    }

    main,
    .section,
    .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .invoice-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        padding: 14mm 14mm !important;
        border: 1px solid #e5eaf2 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #ffffff !important;
        color: #0f172a !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .invoice-page::before {
        height: 5px !important;
        border-radius: 0 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .invoice-top {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
        padding-bottom: 22px !important;
    }

    .invoice-top h2 {
        font-size: 20px !important;
        margin-bottom: 11px !important;
    }

    .invoice-meta {
        text-align: right !important;
    }

    .invoice-meta h1 {
        font-size: 38px !important;
        margin-bottom: 12px !important;
    }

    .invoice-top p,
    .invoice-meta p,
    .invoice-two-col p,
    .invoice-payment p,
    .invoice-footer-note p {
        margin: 5px 0 !important;
        line-height: 1.42 !important;
    }

    .invoice-two-col {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 28px !important;
        margin: 28px 0 24px !important;
    }

    .invoice-two-col h3,
    .invoice-payment h3 {
        font-size: 17px !important;
        margin-bottom: 10px !important;
    }

    .invoice-table {
        margin: 22px 0 24px !important;
        border-radius: 12px !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .invoice-table th,
    .invoice-table td {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }

    .invoice-table thead th {
        font-size: 11px !important;
        letter-spacing: 0.12em !important;
    }

    .invoice-table tfoot th {
        padding: 15px 16px !important;
        font-size: 15px !important;
        background: #0f172a !important;
        color: #ffffff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .invoice-payment {
        margin-top: 22px !important;
        padding: 20px 22px !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        page-break-inside: avoid;
        break-inside: avoid;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .invoice-footer-note {
        margin-top: 22px !important;
        padding-top: 14px !important;
    }
}



.invoice-logo {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    margin: 10px 0 14px;
}

@media print {
    .invoice-logo {
        width: 130px !important;
        margin: 7px 0 10px !important;
    }
}




/* Invoice header alignment refinement */
.invoice-top {
    align-items: start;
}

.invoice-top > div:first-child {
    padding-top: 4px;
}

.invoice-top > div:first-child h2 {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.invoice-logo {
    width: 160px;
    margin: 8px 0 12px;
}

.invoice-meta h1 {
    line-height: 1.05;
}

@media print {
    .invoice-top {
        align-items: start !important;
    }

    .invoice-top > div:first-child {
        padding-top: 2px !important;
    }

    .invoice-top > div:first-child h2 {
        font-size: 20px !important;
        line-height: 1.12 !important;
        margin-bottom: 9px !important;
    }

    .invoice-logo {
        width: 125px !important;
        margin: 6px 0 9px !important;
    }

    .invoice-meta h1 {
        line-height: 1.05 !important;
    }
}


/* Final invoice header balance */
.invoice-meta h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.invoice-top > div:first-child h2 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.invoice-logo {
    width: 150px;
    margin: 7px 0 11px;
}

.invoice-top > div:first-child p,
.invoice-meta p {
    line-height: 1.45;
}

@media print {
    .invoice-meta h1 {
        font-size: 32px !important;
        margin-bottom: 10px !important;
    }

    .invoice-top > div:first-child h2 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .invoice-logo {
        width: 118px !important;
        margin: 5px 0 8px !important;
    }

    .invoice-top > div:first-child p,
    .invoice-meta p {
        line-height: 1.35 !important;
    }
}


/* =========================================================
   Homepage launch special banner
   ========================================================= */

.launch-special-section {
    background: #020b2f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.launch-special-container {
    max-width: 2048px;
    margin: 0 auto;
}

.launch-special-link {
    display: block;
    line-height: 0;
}

.launch-special-image {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 700px) {
    .launch-special-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .launch-special-container {
        min-width: 980px;
    }
}




/* =========================================================
   Business Graphics page
   ========================================================= */

.business-graphics-hero-section {
    padding-top: 48px;
    padding-bottom: 62px;
    background:
        radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.08), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(16, 185, 129, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.business-graphics-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 40px;
    align-items: center;
}

.business-graphics-hero-content h1 {
    max-width: 660px;
    margin: 0 0 18px;
    font-size: clamp(2.35rem, 5vw, 4.55rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
}

.business-graphics-hero-content p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.72;
}

.business-graphics-hero-actions,
.home-graphics-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.business-graphics-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.business-graphics-points span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    color: var(--dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.graphics-hero-visual {
    display: flex;
    justify-content: center;
}

.graphics-hero-visual img {
    width: min(100%, 520px);
    height: auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.graphics-package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.graphics-package-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.graphics-package-featured {
    border: 2px solid var(--primary);
    box-shadow: 0 24px 68px rgba(37, 99, 235, 0.16);
}

.graphics-package-card h3 {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.graphics-package-card p {
    color: var(--muted);
    margin-top: 0;
}

.graphics-price {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
    font-weight: 950;
    margin: 16px 0 4px;
}

.graphics-package-card .feature-list {
    flex: 1;
    margin: 20px 0 24px;
}

.graphics-extra-grid,
.graphics-example-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.graphics-example-grid {
    grid-template-columns: repeat(3, 1fr);
}

.graphics-example-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.graphics-example-card span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.38), transparent 34%),
        linear-gradient(135deg, #0f172a, #1e293b 42%, #2563eb);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.graphics-example-card h3 {
    margin: 0 0 10px;
    letter-spacing: -0.03em;
}

.graphics-example-card p {
    margin: 0;
    color: var(--muted);
}

.home-graphics-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 34px;
    background:
        radial-gradient(circle at 88% 18%, rgba(16, 185, 129, 0.13), transparent 28%),
        linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: var(--shadow);
}

.home-graphics-band h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.home-graphics-band p {
    max-width: 720px;
    color: var(--muted);
    margin: 0;
}

.home-graphics-mini {
    display: grid;
    gap: 14px;
}

.home-graphics-mini-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    color: var(--muted);
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.home-graphics-mini-card strong {
    display: block;
    margin-top: 4px;
    color: var(--dark);
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.graphics-faq-section {
    padding-top: 40px;
}

@media (max-width: 980px) {
    .business-graphics-hero-grid,
    .graphics-package-grid,
    .home-graphics-band {
        grid-template-columns: 1fr;
    }

    .business-graphics-hero-grid {
        text-align: center;
    }

    .business-graphics-hero-content h1,
    .business-graphics-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .business-graphics-hero-actions,
    .business-graphics-points {
        justify-content: center;
    }

    .graphics-extra-grid,
    .graphics-example-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .business-graphics-hero-section {
        padding-top: 34px;
    }

    .business-graphics-hero-content h1 {
        font-size: 2.35rem;
    }

    .business-graphics-hero-content p {
        font-size: 1rem;
    }

    .graphics-hero-visual img {
        width: min(100%, 440px);
    }

    .graphics-hero-visual img,
    .home-graphics-band {
        border-radius: 24px;
    }

    .graphics-mini-grid,
    .graphics-extra-grid,
    .graphics-example-grid {
        grid-template-columns: 1fr;
    }
}

/* Business Graphics portfolio */
.graphics-portfolio-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.08), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(16, 185, 129, 0.08), transparent 26%),
        #f8fafc;
}

.graphics-portfolio-section .section-heading {
    max-width: 820px;
}

.graphics-portfolio-note {
    max-width: 920px;
    margin: 0 auto 28px;
    padding: 16px 18px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--muted);
    text-align: center;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.graphics-portfolio-note strong {
    color: var(--dark);
}

.graphics-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.graphics-portfolio-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.graphics-portfolio-card:hover,
.graphics-portfolio-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.14);
}

.graphics-portfolio-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.graphics-portfolio-image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e2e8f0;
}

.graphics-portfolio-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.graphics-portfolio-card:hover img {
    transform: scale(1.025);
}

.graphics-portfolio-view {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 900;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.graphics-portfolio-card:hover .graphics-portfolio-view,
.graphics-portfolio-card:focus-visible .graphics-portfolio-view {
    opacity: 1;
    transform: translateY(0);
}

.graphics-portfolio-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 17px 18px;
}

.graphics-portfolio-caption span {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.graphics-portfolio-caption strong {
    color: var(--dark);
    font-size: 1rem;
}

.graphics-portfolio-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
    padding: 28px;
    border-radius: 26px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

.graphics-portfolio-cta h3 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    letter-spacing: -0.04em;
}

.graphics-portfolio-cta p {
    margin: 0;
    color: #dbeafe;
}

@media (max-width: 1100px) {
    .graphics-portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .graphics-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .graphics-portfolio-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .graphics-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .graphics-portfolio-card {
        max-width: 420px;
        margin-inline: auto;
    }

    .graphics-portfolio-view {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   Business Graphics sales feature and order process
   ========================================================= */
.graphics-sales-section {
    padding: 28px 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.06), transparent 30%),
        radial-gradient(circle at 92% 85%, rgba(16, 185, 129, 0.06), transparent 26%),
        #f8fafc;
}

.graphics-sales-grid {
    width: min(930px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.graphics-sales-image {
    width: 100%;
    max-width: 390px;
    justify-self: end;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.11);
}

.graphics-sales-image img {
    width: 100%;
    height: auto;
    display: block;
}

.graphics-sales-content {
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(145deg, #0f172a, #13264a);
    color: #ffffff;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
}

.graphics-sales-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.graphics-sales-content h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.graphics-sales-content h2 span {
    color: #86efac;
}

.graphics-sales-description {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.94rem;
    line-height: 1.58;
}

.graphics-sales-list {
    display: grid;
    gap: 8px;
    margin: 17px 0 20px;
    padding: 0;
    list-style: none;
}

.graphics-sales-list li {
    position: relative;
    padding-left: 29px;
    color: #f8fafc;
    font-weight: 700;
}

.graphics-sales-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #34d399;
    font-weight: 900;
}

.graphics-sales-content .btn {
    width: 100%;
}

.graphics-sales-content small {
    display: block;
    margin-top: 12px;
    color: #cbd5e1;
    text-align: center;
    font-weight: 700;
}

.graphics-order-section {
    background: #f8fafc;
}

.graphics-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 24px;
    align-items: start;
}

.graphics-order-checklist,
.graphics-order-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.graphics-order-checklist {
    padding: 26px;
}

.graphics-order-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.graphics-order-list li {
    position: relative;
    min-width: 0;
    padding: 16px 16px 16px 48px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fafc;
}

.graphics-order-list li::before {
    content: "\2713";
    position: absolute;
    top: 17px;
    left: 16px;
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
}

.graphics-order-list strong,
.graphics-order-list span {
    display: block;
}

.graphics-order-list strong {
    margin-bottom: 3px;
    color: var(--dark);
}

.graphics-order-list span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.graphics-order-card {
    position: sticky;
    top: 104px;
    padding: 28px;
}

.graphics-order-card h3 {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.graphics-order-card p {
    margin: 0 0 22px;
    color: var(--muted);
}

.graphics-order-card .btn {
    width: 100%;
}

.graphics-order-card small {
    display: block;
    margin-top: 16px;
    text-align: center;
    color: var(--muted);
    font-weight: 800;
}

.graphics-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.graphics-step-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.graphics-step-card > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 900;
}

.graphics-step-card h3 {
    margin: 0 0 9px;
    font-size: 1.12rem;
    line-height: 1.15;
}

.graphics-step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

@media (max-width: 980px) {
    .graphics-order-grid {
        grid-template-columns: 1fr;
    }

    .graphics-order-card {
        position: static;
    }

    .graphics-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .graphics-order-list,
    .graphics-steps-grid {
        grid-template-columns: 1fr;
    }

    .graphics-order-checklist,
    .graphics-order-card {
        padding: 18px;
        border-radius: 22px;
    }

    .graphics-order-list li {
        padding-right: 13px;
    }
}

@media (max-width: 820px) {
    .graphics-sales-grid {
        grid-template-columns: 1fr;
        width: min(560px, 100%);
    }

    .graphics-sales-image {
        justify-self: center;
        max-width: 390px;
    }
}

@media (max-width: 560px) {
    .graphics-sales-section {
        padding: 24px 0;
    }

    .graphics-sales-grid {
        gap: 20px;
    }

    .graphics-sales-image,
    .graphics-sales-content {
        border-radius: 22px;
    }

    .graphics-sales-content {
        padding: 22px 18px;
    }
}


/* =========================================================
   Business Graphics package examples
   ========================================================= */
.graphics-package-examples-section {
    padding-top: 56px;
    padding-bottom: 64px;
    background:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.07), transparent 28%),
        radial-gradient(circle at 92% 82%, rgba(16, 185, 129, 0.07), transparent 25%),
        #f8fafc;
}

.graphics-package-examples-heading {
    max-width: 820px;
}

.graphics-package-example-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 30px;
    align-items: center;
}

.graphics-package-example-image {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
}

.graphics-package-example-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 220ms ease;
}

.graphics-package-example-image:hover img,
.graphics-package-example-image:focus-visible img {
    transform: scale(1.012);
}

.graphics-package-example-image span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
}

.graphics-package-example-image:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 4px;
}

.graphics-package-example-card {
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(145deg, #0f172a, #13264a);
    color: #ffffff;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
}

.graphics-package-example-label {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.graphics-package-example-card h3 {
    margin: 18px 0 13px;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.graphics-package-example-card > p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.65;
}

.graphics-package-example-price {
    margin: 22px 0 10px;
    color: #86efac;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.graphics-package-example-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 25px;
    padding: 0;
    list-style: none;
}

.graphics-package-example-list li {
    position: relative;
    padding-left: 28px;
    color: #f8fafc;
    font-weight: 750;
}

.graphics-package-example-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #34d399;
    font-weight: 950;
}

.graphics-package-example-card .btn {
    width: 100%;
}

.graphics-package-example-card small {
    display: block;
    margin-top: 15px;
    color: #cbd5e1;
    text-align: center;
    font-weight: 700;
}


.graphics-package-example-grid-secondary {
    margin-top: 42px;
}

.graphics-package-example-grid-secondary .graphics-package-example-image {
    order: 2;
}

.graphics-package-example-grid-secondary .graphics-package-example-card {
    order: 1;
}

.graphics-package-example-card-light {
    background: linear-gradient(145deg, #10213d, #0f2f55);
}


.graphics-package-example-grid-tertiary {
    margin-top: 42px;
}

.graphics-package-example-card-orange {
    background: linear-gradient(145deg, #111827, #1f2937);
    border: 1px solid rgba(249, 115, 22, 0.28);
}

.graphics-package-example-card-orange .graphics-package-example-price {
    color: #fb923c;
}

.graphics-package-example-card-orange .graphics-package-example-list li::before {
    color: #fb923c;
}

@media (max-width: 900px) {
    .graphics-package-example-grid-secondary,
    .graphics-package-example-grid-tertiary {
        margin-top: 32px;
    }

    .graphics-package-example-grid-secondary .graphics-package-example-image,
    .graphics-package-example-grid-secondary .graphics-package-example-card {
        order: initial;
    }
}

@media (max-width: 900px) {
    .graphics-package-example-grid {
        grid-template-columns: 1fr;
        width: min(680px, 100%);
        margin: 0 auto;
    }

    .graphics-package-example-card {
        padding: 28px;
    }
}

@media (max-width: 620px) {
    .graphics-package-examples-section {
        padding-top: 44px;
        padding-bottom: 48px;
    }

    .graphics-package-example-grid {
        gap: 22px;
    }

    .graphics-package-example-image,
    .graphics-package-example-card {
        border-radius: 22px;
    }

    .graphics-package-example-card {
        padding: 23px 19px;
    }
}


/* =========================================================
   Launch Pack detail page
   ========================================================= */
.graphics-package-example-actions {
    display: grid;
    gap: 10px;
}

.graphics-package-example-actions .btn {
    width: 100%;
}

.graphics-package-example-card .graphics-package-example-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

.launch-detail-hero {
    padding-top: 52px;
    background:
        radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.08), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(16, 185, 129, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.launch-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 48px;
    align-items: center;
}

.launch-detail-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    line-height: 0.94;
    letter-spacing: -0.075em;
}

.launch-detail-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1.07rem;
}

.launch-detail-price {
    margin-top: 24px;
    color: var(--primary);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.launch-detail-price small {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}

.launch-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.launch-detail-overview {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 26px 64px rgba(15, 23, 42, 0.13);
}

.launch-detail-overview img {
    width: 100%;
    height: auto;
    display: block;
}

.launch-detail-overview span,
.launch-detail-image span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
}

.launch-detail-included {
    background: #ffffff;
}

.launch-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.launch-detail-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.launch-detail-card:first-child {
    grid-column: span 2;
}

.launch-detail-image {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    background: #f1f5f9;
}

.launch-detail-card:first-child .launch-detail-image {
    min-height: 300px;
}

.launch-detail-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: contain;
    display: block;
    padding: 10px;
    transition: transform 220ms ease;
}

.launch-detail-image:hover img,
.launch-detail-image:focus-visible img {
    transform: scale(1.018);
}

.launch-detail-card-copy {
    padding: 20px;
}

.launch-detail-card-copy h3 {
    margin: 0 0 7px;
    font-size: 1.28rem;
}

.launch-detail-card-copy p {
    margin: 0;
    color: var(--muted);
}

.launch-detail-summary {
    background: #f8fafc;
}

.launch-detail-summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.launch-detail-summary-card h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.launch-detail-summary-card p {
    margin: 0;
    color: var(--muted);
}

.launch-detail-summary-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.launch-detail-summary-card li {
    position: relative;
    padding-left: 28px;
    font-weight: 800;
}

.launch-detail-summary-card li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 950;
}

.launch-detail-summary-card .btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.launch-detail-disclaimer {
    margin: 22px auto 0;
    max-width: 920px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 920px) {
    .launch-detail-hero-grid,
    .launch-detail-summary-card {
        grid-template-columns: 1fr;
    }

    .launch-detail-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .launch-detail-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .launch-detail-hero {
        padding-top: 34px;
    }

    .launch-detail-hero-grid {
        gap: 30px;
    }

    .launch-detail-hero h1 {
        font-size: 2.65rem;
    }

    .launch-detail-gallery {
        grid-template-columns: 1fr;
    }

    .launch-detail-card:first-child {
        grid-column: auto;
    }

    .launch-detail-image,
    .launch-detail-card:first-child .launch-detail-image {
        min-height: 240px;
    }

    .launch-detail-summary-card {
        padding: 22px;
        border-radius: 24px;
    }
}


/* Facebook Cover + Profile Pack detail page */
.cover-profile-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cover-profile-detail-gallery .launch-detail-card:first-child,
.cover-profile-detail-gallery .launch-detail-card:last-child {
    grid-column: 1 / -1;
}
.cover-profile-detail-gallery .launch-detail-card:first-child .launch-detail-image img,
.cover-profile-detail-gallery .launch-detail-card:last-child .launch-detail-image img {
    aspect-ratio: auto;
    object-fit: contain;
}
@media (max-width: 760px) {
    .cover-profile-detail-gallery {
        grid-template-columns: 1fr;
    }
    .cover-profile-detail-gallery .launch-detail-card:first-child,
    .cover-profile-detail-gallery .launch-detail-card:last-child {
        grid-column: auto;
    }
}


/* Website Launch Graphics Add-on detail page */
.graphics-package-example-actions {
    display: grid;
    gap: 10px;
}

.graphics-package-example-card .package-example-detail-link {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
    color: #ffffff !important;
    box-shadow: none;
}

.graphics-package-example-card .package-example-detail-link:hover,
.graphics-package-example-card .package-example-detail-link:focus-visible {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

.website-launch-detail-hero {
    background:
        radial-gradient(circle at 92% 18%, rgba(249, 115, 22, 0.11), transparent 28%),
        radial-gradient(circle at 8% 15%, rgba(15, 23, 42, 0.07), transparent 30%),
        #f8fafc;
}

.website-launch-detail-price {
    color: #f97316;
}

.website-launch-detail-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.website-launch-detail-gallery .launch-detail-card:nth-child(1),
.website-launch-detail-gallery .launch-detail-card:nth-child(2) {
    grid-column: span 3;
}

.website-launch-detail-gallery .launch-detail-card:nth-child(1) .launch-detail-image,
.website-launch-detail-gallery .launch-detail-card:nth-child(2) .launch-detail-image {
    min-height: 360px;
}

.website-launch-detail-gallery .launch-detail-card:last-child {
    grid-column: span 1;
}

.website-launch-detail-summary {
    background:
        radial-gradient(circle at 90% 12%, rgba(249, 115, 22, 0.08), transparent 28%),
        #f8fafc;
}

@media (max-width: 920px) {
    .website-launch-detail-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .website-launch-detail-gallery .launch-detail-card:nth-child(1),
    .website-launch-detail-gallery .launch-detail-card:nth-child(2) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .website-launch-detail-gallery {
        grid-template-columns: 1fr;
    }

    .website-launch-detail-gallery .launch-detail-card:nth-child(1),
    .website-launch-detail-gallery .launch-detail-card:nth-child(2),
    .website-launch-detail-gallery .launch-detail-card:last-child {
        grid-column: auto;
    }

    .website-launch-detail-gallery .launch-detail-card:nth-child(1) .launch-detail-image,
    .website-launch-detail-gallery .launch-detail-card:nth-child(2) .launch-detail-image {
        min-height: 240px;
    }
}

/* Keep every package-example detail button visible on dark cards */
.graphics-package-example-card .graphics-package-example-actions .btn-outline {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.graphics-package-example-card .graphics-package-example-actions .btn-outline:hover,
.graphics-package-example-card .graphics-package-example-actions .btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

/* =========================================================
   Business Graphics page consistency + sticky sub-navigation
   ========================================================= */
:root {
    --graphics-header-height: 76px;
    --graphics-subnav-height: 54px;
}

.graphics-subnav {
    position: sticky;
    top: var(--graphics-header-height);
    z-index: 45;
    border-bottom: 1px solid rgba(203, 213, 225, 0.8);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.graphics-subnav-inner {
    min-height: var(--graphics-subnav-height);
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.graphics-subnav-inner::-webkit-scrollbar { display: none; }

.graphics-subnav a {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 999px;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 850;
    white-space: nowrap;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.graphics-subnav a:hover,
.graphics-subnav a:focus-visible,
.graphics-subnav a.is-active {
    background: #0f2747;
    color: #ffffff;
}

.graphics-subnav a:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.22); }

.graphics-anchor-section {
    scroll-margin-top: calc(var(--graphics-header-height) + var(--graphics-subnav-height) + 18px);
}

.graphics-consistent-section {
    padding-top: clamp(58px, 7vw, 92px);
    padding-bottom: clamp(58px, 7vw, 92px);
}

.graphics-consistent-section:nth-of-type(even) {
    background: #ffffff;
}

.graphics-section-heading,
.graphics-package-examples-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.graphics-section-heading .badge,
.graphics-package-examples-heading .badge {
    margin-bottom: 12px;
}

.graphics-section-heading h2,
.graphics-package-examples-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.graphics-section-heading p,
.graphics-package-examples-heading p {
    max-width: 680px;
    margin: 0;
}

.graphics-package-grid {
    align-items: stretch;
}

.graphics-package-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 24px;
}

.graphics-package-card > p {
    min-height: 3.2em;
}

.graphics-package-card .feature-list {
    flex: 1;
}

.graphics-package-card-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.graphics-package-card-actions .btn {
    width: 100%;
}

.graphics-package-example-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(24px, 4vw, 44px);
    align-items: center;
    margin-top: clamp(30px, 5vw, 58px);
}

.graphics-package-example-grid-secondary .graphics-package-example-image {
    order: 2;
}

.graphics-package-example-grid-secondary .graphics-package-example-card {
    order: 1;
}

.graphics-package-example-image,
.graphics-package-example-card {
    width: 100%;
    border-radius: 28px;
}

.graphics-package-example-image {
    aspect-ratio: 1 / 1;
    display: block;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.10);
}

.graphics-package-example-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.graphics-package-example-card {
    min-height: 100%;
    padding: clamp(26px, 4vw, 38px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.graphics-package-example-card h3 {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.02;
}

.graphics-package-example-price {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.graphics-package-example-actions {
    margin-top: 22px;
}

.graphics-extra-grid .info-card,
.graphics-feature-grid .info-card,
.graphics-step-card,
.faq-item,
.graphics-order-list li,
.graphics-order-card {
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.graphics-extra-grid .info-card,
.graphics-feature-grid .info-card {
    min-height: 100%;
}

@media (max-width: 920px) {
    .graphics-package-example-grid,
    .graphics-package-example-grid-secondary,
    .graphics-package-example-grid-tertiary {
        grid-template-columns: 1fr;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .graphics-package-example-grid-secondary .graphics-package-example-image,
    .graphics-package-example-grid-secondary .graphics-package-example-card {
        order: initial;
    }
}

@media (max-width: 820px) {
    :root {
        --graphics-header-height: 76px;
        --graphics-subnav-height: 50px;
    }

    .graphics-subnav-inner {
        width: 100%;
        padding: 0 16px;
    }

    .graphics-subnav a {
        padding: 8px 11px;
        font-size: 0.78rem;
    }
}

@media (max-width: 620px) {
    .graphics-consistent-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .graphics-section-heading,
    .graphics-package-examples-heading {
        margin-bottom: 24px;
    }

    .graphics-package-example-image,
    .graphics-package-example-card {
        border-radius: 22px;
    }

    .graphics-package-example-card {
        padding: 24px 20px;
    }
}

/* =========================================================
   R199 SOCIAL MEDIA PACK IMAGE CLEANUP
   Removes the thin exported edge from the displayed previews
   while leaving the original full-size PNG files unchanged.
   ========================================================= */
.social-pack-detail-overview img,
.social-pack-detail-gallery .launch-detail-image img {
    padding: 0;
    clip-path: inset(2px);
    transform: scale(1.01);
    transform-origin: center;
}

.social-pack-detail-overview:hover img,
.social-pack-detail-overview:focus-visible img,
.social-pack-detail-gallery .launch-detail-image:hover img,
.social-pack-detail-gallery .launch-detail-image:focus-visible img {
    transform: scale(1.03);
}

/* R349 Larger Social Pack detail page */
.larger-social-detail-hero {
    background:
        radial-gradient(circle at 8% 12%, rgba(220, 38, 38, 0.09), transparent 28%),
        radial-gradient(circle at 92% 18%, rgba(15, 23, 42, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.larger-social-detail-price {
    color: #dc2626;
}

.larger-social-detail-overview {
    border: 0;
}

.larger-social-detail-overview img,
.larger-social-detail-gallery .launch-detail-image img {
    padding: 0;
    clip-path: inset(1px);
    transform: scale(1.005);
    transform-origin: center;
}

.larger-social-detail-overview:hover img,
.larger-social-detail-overview:focus-visible img,
.larger-social-detail-gallery .launch-detail-image:hover img,
.larger-social-detail-gallery .launch-detail-image:focus-visible img {
    transform: scale(1.025);
}

.larger-social-detail-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.larger-social-detail-gallery .launch-detail-card:first-child {
    grid-column: span 2;
}

.larger-social-detail-gallery .launch-detail-card:nth-child(10) {
    grid-column: span 2;
}

.larger-social-detail-gallery .launch-detail-card:nth-child(10) .launch-detail-image {
    min-height: 300px;
}

@media (max-width: 1050px) {
    .larger-social-detail-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .larger-social-detail-gallery .launch-detail-card:first-child,
    .larger-social-detail-gallery .launch-detail-card:nth-child(10) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .larger-social-detail-gallery {
        grid-template-columns: 1fr;
    }
}


/* R349 second package example: Tree Felling */
.larger-social-example-section {
    padding-top: 64px;
    padding-bottom: 70px;
}

.larger-social-tree-section {
    background:
        radial-gradient(circle at 8% 12%, rgba(132, 204, 22, 0.10), transparent 28%),
        radial-gradient(circle at 92% 20%, rgba(20, 83, 45, 0.10), transparent 25%),
        linear-gradient(180deg, #f7fbf5, #ffffff);
}

.larger-social-example-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.larger-social-example-header h2 {
    margin: 10px 0 6px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.larger-social-example-header p {
    margin: 0;
    color: var(--muted);
}

.larger-social-example-header-auto {
    border-top: 5px solid #dc2626;
}

.larger-social-example-header-tree {
    border-top: 5px solid #65a30d;
}

.larger-social-example-header-tree .badge {
    background: linear-gradient(135deg, #14532d, #65a30d);
}

.larger-social-example-header-tree .btn-outline {
    border-color: #14532d;
    color: #14532d;
}

.larger-social-example-header-tree .btn-outline:hover,
.larger-social-example-header-tree .btn-outline:focus-visible {
    background: #14532d;
    color: #ffffff;
}

.larger-social-secondary-overview {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(20, 83, 45, 0.13);
}

.larger-social-secondary-overview img {
    display: block;
    width: 100%;
    height: auto;
    clip-path: inset(1px);
    transform: scale(1.003);
    transition: transform 220ms ease;
}

.larger-social-secondary-overview:hover img,
.larger-social-secondary-overview:focus-visible img {
    transform: scale(1.015);
}

.larger-social-secondary-overview span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(20, 83, 45, 0.92);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
}

.larger-social-tree-gallery .launch-detail-card {
    border-color: rgba(101, 163, 13, 0.22);
}

.larger-social-tree-gallery .launch-detail-image span {
    background: rgba(20, 83, 45, 0.92);
}

@media (max-width: 760px) {
    .larger-social-example-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 20px;
    }

    .larger-social-example-header .btn {
        width: 100%;
    }

    .larger-social-secondary-overview {
        border-radius: 20px;
    }
}

/* R349 package example selector */
.larger-social-example-picker {
    padding-top: 58px;
    padding-bottom: 58px;
    background: #ffffff;
}

.larger-social-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.larger-social-toggle-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 12px;
    border: 2px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.larger-social-toggle-card:hover,
.larger-social-toggle-card:focus-visible {
    transform: translateY(-3px);
    border-color: #2563eb;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.13);
    outline: none;
}

.larger-social-toggle-card.is-active {
    border-color: #65a30d;
    box-shadow: 0 20px 48px rgba(20, 83, 45, 0.18);
}

.larger-social-toggle-card-auto.is-active {
    border-color: #dc2626;
    box-shadow: 0 20px 48px rgba(127, 29, 29, 0.18);
}

.larger-social-toggle-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.88 / 1;
    object-fit: cover;
    border-radius: 16px;
}

.larger-social-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.larger-social-toggle-copy strong {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.05;
}

.larger-social-toggle-copy small {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.4;
}

.larger-social-toggle-status {
    position: absolute;
    right: 18px;
    bottom: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 0.74rem;
    font-weight: 900;
}

.larger-social-toggle-card.is-active .larger-social-toggle-status {
    background: #14532d;
    color: #ffffff;
}

.larger-social-toggle-card-auto.is-active .larger-social-toggle-status {
    background: #991b1b;
}

.larger-social-example-panel[hidden] {
    display: none !important;
}

.larger-social-example-panel {
    animation: largerSocialPanelIn 260ms ease;
}

@keyframes largerSocialPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 800px) {
    .larger-social-toggle {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .larger-social-toggle-card {
        grid-template-columns: 1fr;
        padding-bottom: 52px;
    }

    .larger-social-toggle-card img {
        aspect-ratio: 1.75 / 1;
    }
}

/* R349 example selector — compact contained cards */
.larger-social-example-picker {
    padding-top: 48px;
    padding-bottom: 52px;
}

.larger-social-example-picker .section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.larger-social-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.larger-social-toggle-card {
    appearance: none;
    position: relative;
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 18px;
    row-gap: 8px;
    min-height: 142px;
    width: 100%;
    padding: 14px 16px;
    overflow: hidden;
    border: 2px solid #dbe3ef;
    border-radius: 22px;
    background: #ffffff;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.larger-social-toggle-card:hover,
.larger-social-toggle-card:focus-visible {
    transform: translateY(-2px);
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 17px 38px rgba(15, 23, 42, 0.11);
}

.larger-social-toggle-card.is-active {
    border-color: #65a30d;
    box-shadow: 0 17px 38px rgba(20, 83, 45, 0.15);
}

.larger-social-toggle-card-auto.is-active {
    border-color: #dc2626;
    box-shadow: 0 17px 38px rgba(127, 29, 29, 0.15);
}

.larger-social-toggle-preview {
    grid-row: 1 / span 2;
    display: block;
    width: 142px;
    height: 108px;
    border-radius: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.larger-social-toggle-preview-tree {
    background-image: url('../images/business-graphics/larger-social-pack/tree-felling/overview.png');
}

.larger-social-toggle-preview-auto {
    background-image: url('../images/business-graphics/larger-social-pack/overview.png');
}

.larger-social-toggle-copy {
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.larger-social-toggle-copy strong {
    font-size: clamp(1.08rem, 1.7vw, 1.38rem);
    line-height: 1.08;
}

.larger-social-toggle-copy small {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

.larger-social-toggle-status {
    position: static;
    align-self: start;
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e3a8a;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.larger-social-toggle-card.is-active .larger-social-toggle-status {
    background: #14532d;
    color: #ffffff;
}

.larger-social-toggle-card-auto.is-active .larger-social-toggle-status {
    background: #991b1b;
}

@media (max-width: 820px) {
    .larger-social-toggle {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .larger-social-toggle-card {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 118px;
        padding: 12px;
        column-gap: 14px;
    }

    .larger-social-toggle-preview {
        width: 104px;
        height: 82px;
        border-radius: 12px;
    }
}


/* R349 dynamic hero theme follows the selected example */
.larger-social-detail-hero {
    transition: background 260ms ease;
}

.larger-social-detail-hero.is-tree-theme {
    background:
        radial-gradient(circle at 8% 12%, rgba(101, 163, 13, 0.12), transparent 29%),
        radial-gradient(circle at 92% 18%, rgba(20, 83, 45, 0.10), transparent 25%),
        linear-gradient(180deg, #ffffff, #f7fbf5);
}

.larger-social-detail-hero.is-auto-theme {
    background:
        radial-gradient(circle at 8% 12%, rgba(220, 38, 38, 0.10), transparent 29%),
        radial-gradient(circle at 92% 18%, rgba(15, 23, 42, 0.09), transparent 25%),
        linear-gradient(180deg, #ffffff, #faf7f7);
}

.larger-social-detail-hero .badge,
.larger-social-detail-price {
    transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.larger-social-detail-hero.is-tree-theme .badge {
    background: linear-gradient(135deg, #14532d, #65a30d);
    box-shadow: 0 12px 28px rgba(20, 83, 45, 0.18);
}

.larger-social-detail-hero.is-auto-theme .badge {
    background: linear-gradient(135deg, #111827, #dc2626);
    box-shadow: 0 12px 28px rgba(127, 29, 29, 0.18);
}

.larger-social-detail-hero.is-tree-theme .larger-social-detail-price {
    color: #4d7c0f;
}

.larger-social-detail-hero.is-auto-theme .larger-social-detail-price {
    color: #dc2626;
}

.larger-social-detail-overview img {
    transition: opacity 160ms ease, transform 220ms ease;
}

.larger-social-detail-overview.is-switching img {
    opacity: 0.35;
}

/* =========================================================
   BUSINESS GRAPHICS SHOWCASE COMPACTNESS PASS
   Tightens the featured R199 block and standardises the three
   package-example rows without changing their content or links.
   ========================================================= */
.graphics-sales-section {
    padding-top: clamp(48px, 6vw, 70px);
    padding-bottom: clamp(48px, 6vw, 70px);
}

.graphics-sales-heading {
    max-width: 660px;
    margin: 0 auto 26px;
    text-align: center;
}

.graphics-sales-heading .badge {
    margin-bottom: 10px;
}

.graphics-sales-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.graphics-sales-heading p {
    margin: 0 auto;
    max-width: 620px;
}

.graphics-sales-grid {
    width: min(980px, 100%);
    margin: 0 auto;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(18px, 3vw, 28px);
    align-items: stretch;
}

.graphics-sales-image,
.graphics-sales-content {
    border-radius: 24px;
}

.graphics-sales-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.graphics-sales-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.graphics-sales-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 4vw, 36px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.graphics-sales-content h2 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.graphics-sales-description {
    margin-bottom: 18px;
}

.graphics-sales-list {
    gap: 8px;
    margin-bottom: 20px;
}

.graphics-sales-content .btn {
    margin-top: 0;
}

.graphics-intro-section {
    padding-top: clamp(52px, 6vw, 72px);
}

.graphics-package-examples-section {
    padding-top: clamp(58px, 7vw, 82px);
    padding-bottom: clamp(58px, 7vw, 82px);
}

.graphics-package-examples-section .container {
    width: min(1080px, calc(100% - 32px));
}

.graphics-package-examples-heading {
    margin-bottom: 24px;
}

.graphics-package-example-grid,
.graphics-package-example-grid-secondary,
.graphics-package-example-grid-tertiary {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
    gap: clamp(22px, 3vw, 34px);
    align-items: center;
    margin-top: 34px;
}

.graphics-package-example-grid-secondary,
.graphics-package-example-grid-tertiary {
    margin-top: 38px;
}

.graphics-package-example-image {
    aspect-ratio: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 24px;
    background: transparent;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.09);
}

.graphics-package-example-image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    padding: 0;
}

.graphics-package-example-card {
    min-height: 0;
    padding: clamp(24px, 3vw, 31px);
    border-radius: 24px;
    justify-content: flex-start;
}

.graphics-package-example-label {
    padding: 6px 11px;
    font-size: 0.72rem;
}

.graphics-package-example-card h3 {
    margin: 14px 0 9px;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.02;
}

.graphics-package-example-card > p {
    line-height: 1.52;
}

.graphics-package-example-price {
    margin: 17px 0 7px;
    font-size: clamp(2.55rem, 4.5vw, 3.55rem);
}

.graphics-package-example-list {
    gap: 7px;
    margin: 15px 0 19px;
}

.graphics-package-example-list li {
    padding-left: 25px;
    font-size: 0.94rem;
}

.graphics-package-example-actions {
    gap: 9px;
    margin-top: 0;
}

.graphics-package-example-card small {
    margin-top: 11px;
    font-size: 0.74rem;
}

.graphics-package-example-grid-tertiary .graphics-package-example-image {
    align-self: center;
}

@media (max-width: 920px) {
    .graphics-sales-grid {
        grid-template-columns: 1fr;
        width: min(680px, 100%);
    }

    .graphics-sales-image img {
        height: auto;
        object-fit: contain;
    }

    .graphics-package-example-grid,
    .graphics-package-example-grid-secondary,
    .graphics-package-example-grid-tertiary {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 700px;
        margin-top: 30px;
    }

    .graphics-package-example-grid-secondary .graphics-package-example-image,
    .graphics-package-example-grid-secondary .graphics-package-example-card {
        order: initial;
    }
}

@media (max-width: 620px) {
    .graphics-sales-heading {
        text-align: left;
        margin-bottom: 20px;
    }

    .graphics-sales-content,
    .graphics-package-example-card {
        padding: 22px 19px;
    }

    .graphics-sales-image,
    .graphics-sales-content,
    .graphics-package-example-image,
    .graphics-package-example-card {
        border-radius: 20px;
    }

    .graphics-package-example-grid-secondary,
    .graphics-package-example-grid-tertiary {
        margin-top: 28px;
    }
}


/* =========================================================
   BUSINESS GRAPHICS PAGE — CLARITY REDESIGN
   ========================================================= */
.bg-redesign-hero {
    padding: 58px 0 66px;
    background:
        radial-gradient(circle at 8% 14%, rgba(37, 99, 235, 0.10), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(16, 185, 129, 0.10), transparent 27%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.bg-redesign-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
    gap: 58px;
    align-items: center;
}

.bg-redesign-hero-copy h1 {
    max-width: 760px;
    margin: 18px 0 20px;
    font-size: clamp(3.1rem, 6.6vw, 6.2rem);
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.bg-redesign-hero-copy > p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.7;
}

.bg-redesign-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.bg-redesign-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.bg-redesign-trust-row span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 850;
}

.bg-redesign-hero-visual {
    position: relative;
    min-width: 0;
}

.bg-redesign-hero-visual > img {
    display: block;
    width: min(100%, 540px);
    max-height: 590px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 28px;
    filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.14));
}

.bg-redesign-price-snapshot {
    position: absolute;
    right: 0;
    bottom: 24px;
    width: min(330px, 70%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background: rgba(15, 35, 70, 0.96);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(12px);
}

.bg-redesign-price-snapshot div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.bg-redesign-price-snapshot div:last-child { border-bottom: 0; }
.bg-redesign-price-snapshot span { font-size: 0.86rem; opacity: 0.82; }
.bg-redesign-price-snapshot strong { font-size: 1.05rem; }

.bg-offers-section {
    background: #ffffff;
    padding-top: 78px;
    padding-bottom: 88px;
}

.bg-centered-heading {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.bg-offer-group-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin: 54px 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.bg-offer-group-heading span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bg-offer-group-heading h3 {
    margin: 4px 0 0;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
}

.bg-offer-group-heading > p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    text-align: right;
}

.bg-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bg-offer-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.bg-offer-card.is-popular {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.14);
}

.bg-offer-card h3 {
    min-height: 2.35em;
    margin: 14px 0 4px;
    font-size: 1.42rem;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.bg-offer-price {
    margin: 12px 0 12px;
    color: var(--navy);
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 950;
    letter-spacing: -0.06em;
}

.bg-offer-card > p {
    min-height: 4.6em;
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.55;
}

.bg-offer-card .feature-list {
    margin-bottom: 22px;
}

.bg-offer-card .feature-list li {
    margin-bottom: 9px;
    font-size: 0.91rem;
    line-height: 1.4;
}

.bg-offer-actions {
    display: grid;
    gap: 9px;
    margin-top: auto;
}

.bg-offer-actions .btn {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    font-size: 0.86rem;
}

.bg-offer-group-heading-secondary { margin-top: 64px; }
.bg-offer-grid-secondary .bg-offer-card { background: #f8fafc; }

.bg-example-explorer {
    padding-top: 84px;
    padding-bottom: 92px;
    background:
        radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.08), transparent 30%),
        radial-gradient(circle at 92% 20%, rgba(16, 185, 129, 0.07), transparent 26%),
        #f8fafc;
}

.bg-example-tabs {
    display: flex;
    gap: 10px;
    margin: 36px 0 22px;
    padding: 8px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    scrollbar-width: thin;
}

.bg-example-tab {
    flex: 1 0 auto;
    min-width: 150px;
    padding: 13px 16px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 900;
    cursor: pointer;
    transition: 180ms ease;
}

.bg-example-tab span {
    display: block;
    margin-bottom: 2px;
    color: var(--primary);
    font-size: 0.76rem;
}

.bg-example-tab:hover,
.bg-example-tab:focus-visible { background: #eef4ff; }
.bg-example-tab.is-active { background: var(--navy); color: #ffffff; box-shadow: 0 10px 24px rgba(15, 35, 70, 0.20); }
.bg-example-tab.is-active span { color: #63e6be; }

.bg-example-panel {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: stretch;
}

.bg-example-panel[hidden] { display: none; }

.bg-example-image {
    position: relative;
    display: flex;
    min-height: 520px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
}

.bg-example-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
    padding: 18px;
}

.bg-example-image span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(15, 35, 70, 0.92);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
}

.bg-example-info {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 26px;
    background: linear-gradient(145deg, #102445, #17385f);
    box-shadow: 0 22px 48px rgba(15, 35, 70, 0.18);
    color: #ffffff;
}

.bg-example-info h3 {
    margin: 18px 0 8px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.bg-example-info > p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.65;
}

.bg-example-info .graphics-package-example-price {
    margin: 10px 0 16px;
}

.bg-example-info .graphics-package-example-list {
    margin: 0 0 22px;
}

.bg-example-actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.bg-example-actions .btn { width: 100%; }
.bg-example-info small { margin-top: 14px; color: rgba(255,255,255,.68); text-align: center; }

/* Hide obsolete page sections if older cached markup briefly appears. */
.graphics-sales-section,
.graphics-intro-section,
.graphics-packages-section,
.graphics-package-examples-section,
.graphics-extra-section { display: none !important; }

@media (max-width: 1100px) {
    .bg-redesign-hero-grid { grid-template-columns: 1fr 0.9fr; gap: 34px; }
    .bg-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .bg-redesign-hero-grid,
    .bg-example-panel { grid-template-columns: 1fr; }
    .bg-redesign-hero-copy h1 { font-size: clamp(3rem, 13vw, 5rem); }
    .bg-redesign-hero-visual > img { max-height: 500px; }
    .bg-redesign-price-snapshot { position: relative; right: auto; bottom: auto; width: 100%; margin: -10px auto 0; }
    .bg-offer-group-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .bg-offer-group-heading > p { text-align: left; }
    .bg-example-image { min-height: 0; }
    .bg-example-image img { height: auto; max-height: 520px; }
}

@media (max-width: 620px) {
    .bg-redesign-hero { padding-top: 42px; }
    .bg-redesign-hero-actions .btn { width: 100%; }
    .bg-redesign-trust-row { display: grid; grid-template-columns: 1fr; }
    .bg-offer-grid { grid-template-columns: 1fr; }
    .bg-offer-card h3,
    .bg-offer-card > p { min-height: 0; }
    .bg-example-tab { min-width: 132px; }
    .bg-example-info { padding: 24px 20px; }
    .bg-example-info h3 { font-size: 2.15rem; }
    .bg-example-image img { padding: 8px; }
}
