/* ==========================================================================
   Envato TemplateVerse - Design System & Modern UI
   Inspired by Envato Elements & Envato Market
   ========================================================================== */

:root {
    --primary: #82b440;
    --primary-hover: #71a033;
    --primary-light: #f2f8eb;
    --purple: #8338ec;
    --purple-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    --text-dark: #1e293b;
    --text-body: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --bg-light: #ffffff;
    --bg-surface: #f8fafc;
    --bg-footer: #faf8f5;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 9999px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   TOP BAR / HEADER
   ========================================================================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #111827;
}

.brand-logo svg {
    width: 26px;
    height: 26px;
    fill: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    white-space: nowrap;
    transition: var(--transition);
}

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

.nav-link i.chevron {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.nav-item {
    position: relative;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 1100;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13px;
    color: var(--text-body);
    font-weight: 500;
}

.nav-dropdown a:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-utility-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    transition: var(--transition);
}

.header-utility-link:hover {
    color: var(--text-dark);
}

.btn-primary-pill {
    background-color: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(130, 180, 64, 0.3);
}

.btn-primary-pill:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(130, 180, 64, 0.4);
}

.user-profile-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 16px;
    transition: var(--transition);
}

.user-profile-btn:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   SEARCH HERO BAR
   ========================================================================== */
.search-bar-section {
    padding: 24px 0 16px;
    background: #ffffff;
}

.search-bar-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

.search-pill-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-pill);
    height: 54px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    overflow: hidden;
}

.search-pill-box:focus-within {
    border-color: #94a3b8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.search-category-select-wrapper {
    position: relative;
    padding: 0 16px 0 24px;
    display: flex;
    align-items: center;
    border-right: 1px solid #e2e8f0;
    height: 100%;
}

.search-category-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    padding-right: 20px;
    cursor: pointer;
    outline: none;
}

.search-category-select-wrapper i {
    position: absolute;
    right: 16px;
    font-size: 11px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 100%;
}

.search-input-wrapper i.search-icon {
    font-size: 18px;
    color: var(--text-light);
    margin-right: 12px;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--text-dark);
    background: transparent;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-clear-btn {
    color: var(--text-light);
    font-size: 14px;
    display: none;
    padding: 4px;
}

/* ==========================================================================
   PAGE HERO / HEADLINE
   ========================================================================== */
.hero-content-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 24px 20px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a:hover {
    color: var(--text-dark);
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #111827;
}

.hero-title .title-highlight {
    background: var(--purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-body);
    max-width: 780px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ==========================================================================
   TRENDING TAGS PILLS
   ========================================================================== */
.trending-pills-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    overflow: hidden;
}

.trending-pills-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    width: 100%;
}

.trending-pills-scroll::-webkit-scrollbar {
    display: none;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    transition: var(--transition);
}

.tag-pill i {
    font-size: 12px;
    color: var(--text-muted);
}

.tag-pill:hover, .tag-pill.active {
    background-color: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.tag-pill.active {
    background-color: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.tag-pill.active i {
    color: #ffffff;
}

/* ==========================================================================
   FILTER TOOLBAR & MAIN LAYOUT
   ========================================================================== */
.filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 28px;
}

.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.filter-toggle-btn:hover {
    background: #f1f5f9;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.results-count {
    font-size: 13px;
    color: var(--text-muted);
}

.sort-select-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-body);
}

.sort-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
    background: #ffffff;
    cursor: pointer;
}

/* Main Catalog Body */
.catalog-layout {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

/* Sidebar */
.catalog-sidebar {
    width: 260px;
    flex-shrink: 0;
    transition: var(--transition);
}

.catalog-sidebar.hidden {
    display: none;
}

.sidebar-group {
    margin-bottom: 28px;
}

.sidebar-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-body);
    cursor: pointer;
    user-select: none;
}

.filter-checkbox-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    accent-color: var(--primary);
    cursor: pointer;
}

.filter-checkbox-item:hover {
    color: var(--text-dark);
}

/* Database Sync Box in Sidebar */
.db-plugin-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 24px;
}

.db-plugin-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.db-plugin-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.btn-sync-action {
    width: 100%;
    padding: 8px 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-sync-action:hover {
    background: #334155;
}

/* ==========================================================================
   CARDS GRID (MATCHING IMAGE 1)
   ========================================================================== */
.catalog-grid-wrapper {
    flex: 1;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.template-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-hover-shadow);
    border-color: #cbd5e1;
}

.card-media-wrapper {
    position: relative;
    height: 220px;
    background-color: #0f172a;
    overflow: hidden;
}

.card-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.template-card:hover .card-media-img {
    transform: scale(1.04);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-badge.react { background: rgba(8, 126, 164, 0.9); }
.card-badge.laravel { background: rgba(235, 68, 90, 0.9); }
.card-badge.vue { background: rgba(66, 184, 131, 0.9); }
.card-badge.bootstrap { background: rgba(121, 82, 179, 0.9); }

.card-favorite-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 15px;
    z-index: 2;
    transition: var(--transition);
}

.card-favorite-btn:hover {
    color: #ef4444;
    background: #ffffff;
    transform: scale(1.1);
}

.card-favorite-btn.favorited {
    color: #ef4444;
}

/* Hover Action Overlay */
.card-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 3;
}

.template-card:hover .card-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.btn-live-preview {
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-live-preview:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-open-site {
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-open-site:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Card Body */
.card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title-row {
    margin-bottom: 6px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
    transition: var(--transition);
}

.card-title:hover {
    color: var(--primary);
}

.card-author-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-author-meta span.author-name {
    color: var(--text-body);
    font-weight: 500;
}

.card-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.card-tech-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
}

.card-footer-meta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.rating-stars {
    color: #f59e0b;
    font-size: 12px;
}

.rating-score {
    font-weight: 700;
    color: var(--text-dark);
}

.rating-count {
    color: var(--text-muted);
}

.card-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #16a34a;
    background: #dcfce7;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
}

.card-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

/* Empty state */
.empty-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-lg);
}

.empty-results i {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 16px;
    display: block;
}

.empty-results h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.empty-results p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

/* ==========================================================================
   FOOTER (MATCHING IMAGE 2 EXACTLY)
   ========================================================================== */
.site-footer {
    background-color: var(--bg-footer);
    border-top: 1px solid #f1ece4;
    padding: 64px 0 32px;
    margin-top: 80px;
    color: #262626;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 56px;
}

.newsletter-box {
    padding-right: 20px;
}

.newsletter-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.35;
}

.newsletter-subtext {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.45;
}

.newsletter-form {
    position: relative;
    max-width: 320px;
    margin-bottom: 10px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 46px 12px 14px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.newsletter-input:focus {
    border-color: #111827;
}

.newsletter-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #111827;
    padding: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.newsletter-btn:hover {
    color: var(--primary);
}

.newsletter-disclaimer {
    font-size: 12px;
    color: #6b7280;
}

.newsletter-disclaimer a {
    text-decoration: underline;
}

.footer-col-heading {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list li a {
    font-size: 13.5px;
    color: #374151;
    transition: var(--transition);
}

.footer-links-list li a:hover {
    color: var(--primary);
}

.footer-bottom-bar {
    border-top: 1px solid #e5e0d8;
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-ecosystem-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    width: 100%;
}

.footer-ecosystem-links a {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.footer-ecosystem-links a:hover {
    color: var(--primary);
}

.footer-copyright {
    font-size: 12.5px;
    color: #6b7280;
}

.footer-language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
}

/* ==========================================================================
   INTERACTIVE LIVE PREVIEW DEVICE SIMULATOR MODAL (PLUGIN)
   ========================================================================== */
.preview-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.preview-simulator-bar {
    height: 56px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: #ffffff;
}

.preview-title-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-site-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.preview-badge-pill {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: rgba(130, 180, 64, 0.2);
    color: #a3e635;
    font-weight: 600;
}

.preview-device-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    padding: 3px;
    gap: 4px;
}

.device-btn {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.device-btn:hover {
    color: #ffffff;
}

.device-btn.active {
    background: #ffffff;
    color: #0f172a;
}

.preview-modal-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-sim-action {
    color: #cbd5e1;
    font-size: 15px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-sim-action:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-sim-open {
    background: var(--primary);
    color: #ffffff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-pill);
}

.btn-sim-open:hover {
    background: var(--primary-hover);
}

.preview-frame-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.preview-device-frame {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    height: 100%;
    width: 100%;
    transition: width 0.3s ease;
    display: flex;
    flex-direction: column;
}

.preview-device-frame.desktop { width: 100%; max-width: 100%; }
.preview-device-frame.laptop { width: 1024px; }
.preview-device-frame.tablet { width: 768px; }
.preview-device-frame.mobile { width: 390px; height: 844px; border-radius: 36px; border: 8px solid #1e293b; }

.preview-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
}

/* ==========================================================================
   DATABASE MANAGER MODAL (PLUGIN)
   ========================================================================== */
.db-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.db-modal-backdrop.active {
    display: flex;
}

.db-modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 28px;
}

.db-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.db-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.db-table-wrapper {
    overflow-x: auto;
    margin: 18px 0;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.db-table th {
    background: #f8fafc;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid var(--border-color);
}

.db-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    color: #334155;
}

/* Toast notifications */
.toast-notice {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   MOBILE NAVIGATION BUTTON & DRAWER
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #1e293b;
    font-size: 26px;
    padding: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2500;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer-content,
.mobile-drawer {
    background: #ffffff;
    width: 86%;
    max-width: 340px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.open .mobile-drawer-content,
.mobile-drawer-backdrop.open .mobile-drawer {
    transform: translateX(0);
}

.mobile-drawer-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
}

.drawer-close-btn {
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 16px;
    transition: var(--transition);
}

.drawer-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.mobile-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.drawer-section-title {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    transition: var(--transition);
}

.drawer-link i {
    font-size: 17px;
    color: var(--primary);
}

.drawer-link:hover {
    background: var(--primary-light);
    color: var(--primary-hover);
}

.drawer-sites-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-site-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.drawer-site-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--primary);
}

.site-tag-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.site-tag-badge.ai { background: #e0e7ff; color: #4338ca; }
.site-tag-badge.med { background: #e0f2fe; color: #0369a1; }
.site-tag-badge.web3 { background: #ccfbf1; color: #0f766e; }
.site-tag-badge.dine { background: #fef3c7; color: #92400e; }
.site-tag-badge.dev { background: #f3e8ff; color: #7e22ce; }
.site-tag-badge.vue { background: #dcfce7; color: #15803d; }
.site-tag-badge.prop { background: #fee2e2; color: #b91c1c; }
.site-tag-badge.shop { background: #ffedd5; color: #c2410c; }
.site-tag-badge.tour { background: #e0f2fe; color: #0284c7; }
.site-tag-badge.dash { background: #f1f5f9; color: #475569; }

/* Mobile Card Actions */
.card-mobile-actions {
    display: none;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.btn-card-action {
    flex: 1;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-card-action.live {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid var(--border-color);
}

.btn-card-action.live:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.btn-card-action.open {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
}

.btn-card-action.open:hover {
    background: var(--primary-hover);
}

/* Sidebar Reset Button */
.sidebar-actions-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.btn-clear-filters {
    width: 100%;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-clear-filters:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

/* ==========================================================================
   TEMPLATE SELLING & WHATSAPP COMMERCE EXTENSIONS
   ========================================================================== */

/* Top Announcement Banner */
.top-announcement-bar {
    background: linear-gradient(90deg, #092e1b 0%, #0f172a 50%, #064e3b 100%);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 500;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-badge {
    background: #22c55e;
    color: #052e16;
    font-weight: 800;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
}

.announcement-text strong {
    color: #86efac;
}

/* Header WhatsApp CTA Pill */
.header-whatsapp-pill {
    background: #25D366;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.header-whatsapp-pill:hover {
    background: #1eb857;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

/* Trust Bar under Hero */
.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin: 22px 0 28px;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.trust-item i {
    font-size: 17px;
    color: #16a34a;
}

/* Card Pricing Row */
.card-pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 10px;
    border-top: 1px solid var(--border-light);
    margin-top: 10px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-currency {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.price-amount {
    font-size: 23px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.price-original {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
    margin-left: 2px;
}

.price-discount-tag {
    font-size: 11px;
    font-weight: 800;
    background: #fee2e2;
    color: #dc2626;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 2px;
}

.sales-pill {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
}

.sales-pill i {
    color: #059669;
}

/* Card Action Bar (Always Visible on Desktop & Mobile) */
.card-action-bar {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-card-buy-wa {
    flex: 1.4;
    background: #25D366;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-card-buy-wa:hover {
    background: #1eb857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-card-preview {
    flex: 1;
    background: #f8fafc;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-card-preview:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Hover overlay buy button */
.btn-card-overlay-buy {
    background: #25D366;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    border: none;
    cursor: pointer;
}

.btn-card-overlay-buy:hover {
    background: #1eb857;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Simulator Top Bar Buy Button */
.btn-sim-buy-wa {
    background: #25D366;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-sim-buy-wa:hover {
    background: #1eb857;
    transform: translateY(-1px);
}

/* Price Range Filter Radio List */
.price-filter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
}

.price-filter-item input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ==========================================================================
   WHATSAPP ORDER & PURCHASE MODAL
   ========================================================================== */
.buy-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.buy-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.buy-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.buy-modal-backdrop.active .buy-modal-card {
    transform: scale(1);
}

.buy-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.buy-modal-template-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.buy-modal-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.buy-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 4px;
}

.buy-modal-category {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.buy-modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.buy-modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.buy-modal-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* License Selection Cards */
.license-selection-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.license-option-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
    background: #ffffff;
}

.license-option-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.license-option-card.selected {
    border-color: #16a34a;
    background: #f0fdf4;
}

.license-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.license-radio {
    accent-color: #16a34a;
    width: 18px;
    height: 18px;
}

.license-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.license-desc {
    font-size: 12px;
    color: #64748b;
}

.license-price-tag {
    font-size: 17px;
    font-weight: 800;
    color: #15803d;
}

/* Inclusions checklist */
.inclusions-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
}

.inclusions-title {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.inclusions-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 12.5px;
    color: #334155;
}

.inclusions-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.inclusions-list li i {
    color: #16a34a;
    font-size: 14px;
}

/* Primary WhatsApp CTA Button */
.btn-modal-whatsapp {
    width: 100%;
    padding: 14px 20px;
    background: #25D366;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.btn-modal-whatsapp:hover {
    background: #1eb857;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

/* UPI Quick-Pay Card */
.upi-quickpay-box {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px 16px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.upi-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.upi-badge {
    background: #0284c7;
    color: #fff;
    font-weight: 800;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
}

.upi-id-text {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    font-family: monospace;
}

.btn-copy-upi {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-copy-upi:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* ==========================================================================
   RESPONSIVE QUERIES (PHONE & TABLET OPTIMIZED)
   ========================================================================== */
@media (max-width: 1200px) {
    .footer-top-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1080px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .header-inner {
        height: 58px;
        padding: 0 16px;
    }
    .brand-logo {
        font-size: 20px;
    }
    .main-nav, .header-utility-link {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .btn-primary-pill {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Layout & Sidebar on Mobile */
    .catalog-layout {
        flex-direction: column;
        gap: 20px;
    }
    .catalog-sidebar {
        display: none;
        width: 100%;
    }
    .catalog-sidebar.open-mobile {
        display: block;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
        animation: slideDownMobile 0.25s ease-out;
    }
    @keyframes slideDownMobile {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .catalog-grid-wrapper {
        width: 100%;
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    /* Show mobile action buttons on cards */
    .card-mobile-actions {
        display: flex;
    }
    .card-hover-overlay {
        display: none !important;
    }
    .templates-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    .template-card {
        border-radius: 14px;
    }

    /* Mobile Live Preview Device Frame Fullscreen */
    .preview-modal-backdrop {
        padding: 0;
    }
    .preview-simulator-bar {
        padding: 8px 12px;
    }
    .preview-device-switcher {
        display: none !important;
    }
    .preview-device-frame {
        width: 100% !important;
        height: calc(100vh - 56px) !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
}

@media (max-width: 640px) {
    .inclusions-list {
        grid-template-columns: 1fr;
    }
    .hero-trust-bar {
        gap: 12px;
        padding: 12px;
    }
    .trust-item {
        font-size: 12px;
    }
    .top-announcement-bar {
        font-size: 11px;
        padding: 6px 10px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .card-action-bar {
        flex-direction: column;
    }
    .btn-card-buy-wa, .btn-card-preview {
        width: 100%;
        padding: 10px;
    }
    .container, .header-inner, .search-bar-container, .hero-content-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Clean compact search pill */
    .search-pill-box {
        height: 48px;
        padding: 0 8px;
    }
    .search-category-select-wrapper {
        padding: 0 8px 0 6px;
        max-width: 115px;
    }
    .search-category-select {
        font-size: 12px;
    }
    .search-input-wrapper {
        padding-left: 8px;
    }
    .search-input {
        font-size: 13px;
    }
    .search-input::placeholder {
        font-size: 12px;
    }

    /* Hero Typography */
    .hero-title {
        font-size: 26px;
        line-height: 1.25;
    }
    .hero-desc {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* Trending Pills */
    .trending-pills-scroll {
        gap: 8px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .trending-pills-scroll::-webkit-scrollbar {
        display: none;
    }
    .tag-pill {
        padding: 7px 14px;
        font-size: 12.5px;
        white-space: nowrap;
    }

    /* Results Toolbar */
    .filter-toolbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin-bottom: 18px;
    }
    .filter-toggle-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    .toolbar-right {
        gap: 8px;
    }
    .results-count {
        display: none;
    }
    .sort-select-wrapper span {
        display: none;
    }
    .sort-select {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* Single column grid on narrow phones */
    .templates-grid {
        grid-template-columns: 1fr;
    }

    /* Footer on phone */
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-ecosystem-links {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ==========================================================================
   CATALOG MODE SWITCHER (20 FULL TEMPLATES VS 40 UI SECTIONS)
   ========================================================================== */
.catalog-mode-switcher-container {
    display: flex;
    justify-content: center;
    margin: 28px 0 20px;
}

.catalog-mode-switcher {
    display: inline-flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: var(--radius-pill);
    border: 1px solid #e2e8f0;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.mode-tab-btn {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.mode-tab-btn:hover {
    color: #0f172a;
}

.mode-tab-btn.active {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.mode-pill-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;
}

.mode-tab-btn:not(.active) .mode-pill-count {
    background: #e2e8f0;
    color: #334155;
}

.mode-free-tag {
    background: #16a34a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   SECTIONS BUNDLE PROMO BANNER
   ========================================================================== */
.sections-bundle-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
    border-radius: 20px;
    padding: 36px 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px -15px rgba(30, 27, 75, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.bundle-badge {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.8px;
    display: inline-block;
    margin-bottom: 10px;
}

.bundle-banner-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.bundle-banner-content p {
    font-size: 14px;
    color: #cbd5e1;
    max-width: 680px;
    line-height: 1.5;
}

.btn-bundle-buy {
    background: #22c55e;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
    transition: var(--transition);
}

.btn-bundle-buy:hover {
    background: #16a34a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.5);
}

/* ==========================================================================
   SECTIONS FILTER BAR & CARDS GRID
   ========================================================================== */
.sections-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 6px;
}

.sec-filter-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.sec-filter-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.sec-filter-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.sec-filter-btn.free-pill {
    border-color: #86efac;
    color: #15803d;
    background: #f0fdf4;
}

.sec-filter-btn.free-pill.active {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.section-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.section-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.section-card.is-free-card {
    border-top: 4px solid #16a34a;
}

.section-card.is-premium-card {
    border-top: 4px solid #6366f1;
}

.sec-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sec-cat-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.sec-badge-free {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sec-badge-premium {
    background: #e0e7ff;
    color: #4338ca;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sec-card-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.sec-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.sec-card-preview-mini {
    background: #0f172a;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-mini-dots {
    display: flex;
    gap: 5px;
}

.preview-mini-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.preview-mini-title {
    font-family: monospace;
    font-size: 11.5px;
    color: #38bdf8;
}

.sec-card-actions {
    display: flex;
    gap: 10px;
}

.btn-sec-preview {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sec-preview:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-sec-code {
    flex: 1.2;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-sec-code.free {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

.btn-sec-code.free:hover {
    background: #15803d;
}

.btn-sec-code.prem {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-sec-code.prem:hover {
    background: #1d4ed8;
}

/* ==========================================================================
   UI SECTION LIVE PREVIEW & CODE MODAL
   ========================================================================== */
.section-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.section-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 1100px;
    height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-modal-backdrop.active .section-modal-card {
    transform: scale(1);
}

.section-modal-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sec-modal-badge {
    font-size: 11px;
    font-weight: 800;
    color: #16a34a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.sec-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.sec-modal-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: var(--radius-pill);
    gap: 4px;
}

.sec-tab-btn {
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.sec-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.section-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.section-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.section-modal-body {
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
    position: relative;
    display: flex;
    flex-direction: column;
}

.sec-tab-pane {
    display: none;
    flex: 1;
    height: 100%;
    flex-direction: column;
}

.sec-tab-pane.active {
    display: flex;
}

/* Viewport preview bar */
.sec-preview-viewport-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
}

.vp-btn {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vp-btn.active {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.sec-iframe-container {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.sec-preview-iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: width 0.3s ease;
}

/* Code Viewer & Lock Overlay */
.code-viewer-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: 100%;
}

.code-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0b0f19;
    padding: 10px 18px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-lang {
    font-family: monospace;
    font-size: 12px;
    color: #38bdf8;
    font-weight: 700;
}

.btn-copy-code {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-copy-code:hover {
    background: rgba(255, 255, 255, 0.2);
}

.code-content-wrapper {
    position: relative;
    flex: 1;
    background: #090d16;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    display: flex;
}

.code-content-wrapper pre {
    margin: 0;
    padding: 20px;
    color: #e2e8f0;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    overflow: auto;
    width: 100%;
    height: 100%;
}

.code-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10;
}

.code-lock-overlay.active {
    display: flex;
}

.lock-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 36px 30px;
    text-align: center;
    max-width: 440px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lock-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.lock-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.lock-card p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 18px;
}

.lock-pricing {
    font-size: 18px;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 20px;
}

.btn-buy-section-now {
    width: 100%;
    padding: 12px;
    background: #22c55e;
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.btn-buy-section-now:hover {
    background: #16a34a;
    color: #ffffff;
}

.btn-lock-bundle {
    display: block;
    font-size: 12.5px;
    color: #38bdf8;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sections-bundle-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    .btn-bundle-buy {
        width: 100%;
        justify-content: center;
    }
    .sections-grid {
        grid-template-columns: 1fr;
    }
    .catalog-mode-switcher {
        width: 100%;
        flex-direction: column;
    }
    .mode-tab-btn {
        width: 100%;
        justify-content: center;
    }
    .section-modal-card {
        height: 95vh;
    }
}




/* ==========================================================================
   STANDALONE PAGES & INNER VIEW STYLES
   (About, Pricing, Custom Dev, Support, Contact, Legal, Sections)
   ========================================================================== */

.page-hero-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 48px 20px 40px;
    text-align: center;
}

.page-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.page-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.7px;
    margin-bottom: 14px;
}

.page-title .highlight {
    color: var(--primary);
    background: linear-gradient(120deg, #15803d 0%, #82b440 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 24px;
}

.page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

/* Stats Counter Grid */
.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.stat-strip-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.stat-strip-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.stat-strip-number {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-strip-number.green {
    color: #16a34a;
}

.stat-strip-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature 3-Col Grid */
.features-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.feature-box-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.feature-box-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(130, 180, 64, 0.12);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-box-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-box-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
}

/* Pricing Page Grid */
.pricing-tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 64px;
}

.pricing-card-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.pricing-card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.pricing-card-box.popular {
    border: 2px solid #22c55e;
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.15);
}

.popular-badge-pill {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #22c55e;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
}

.pricing-tier-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.pricing-tier-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 22px;
    min-height: 40px;
}

.pricing-amount-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.pricing-currency {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.pricing-num {
    font-size: 38px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1px;
}

.pricing-period {
    font-size: 13px;
    color: #64748b;
}

.pricing-orig-striked {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 20px;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 12px;
    line-height: 1.45;
}

.pricing-features-list li i {
    color: #16a34a;
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-pricing-cta {
    width: 100%;
    padding: 13px 20px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-pricing-cta:hover {
    background: var(--primary);
    color: #ffffff;
}

.pricing-card-box.popular .btn-pricing-cta {
    background: #22c55e;
    color: #0f172a;
    font-weight: 800;
}

.pricing-card-box.popular .btn-pricing-cta:hover {
    background: #16a34a;
    color: #ffffff;
}

/* FAQ Accordion */
.faq-container {
    max-width: 820px;
    margin: 0 auto 56px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-answer-content {
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.65;
}

/* Legal & Policy Content Layout */
.legal-card-layout {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 44px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h2 {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.legal-section p, .legal-section li {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-highlight-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 18px 22px;
    color: #166534;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 20px 0;
}

/* Contact & Custom Dev Layout */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: flex-start;
}

.contact-info-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 20px;
    padding: 40px;
}

.contact-info-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-info-desc {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #22c55e;
    flex-shrink: 0;
}

.contact-method-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.contact-method-val {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.contact-form-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.form-group-custom {
    margin-bottom: 20px;
}

.form-label-custom {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 7px;
}

.form-control-custom {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 14.5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control-custom:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.btn-submit-action {
    width: 100%;
    padding: 14px 24px;
    background: #22c55e;
    color: #0f172a;
    font-weight: 800;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-action:hover {
    background: #16a34a;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pricing-tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pricing-tiers-grid {
        grid-template-columns: 1fr;
    }
    .stats-strip-grid {
        grid-template-columns: 1fr;
    }
    .features-grid-3 {
        grid-template-columns: 1fr;
    }
    .page-title {
        font-size: 28px;
    }
    .legal-card-layout {
        padding: 24px;
    }
    .contact-info-card, .contact-form-box {
        padding: 24px;
    }
}


/* ==========================================================================
   SECTIONS.PHP - PREMIUM COMPONENT MARKETPLACE STYLES
   ========================================================================== */

.sections-hero-modern {
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0a0f1d 100%);
    color: #ffffff;
    padding: 56px 20px 48px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.sections-hero-modern::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 250px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.sections-hero-inner {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.sections-badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 9999px;
    margin-bottom: 18px;
}

.sections-hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #ffffff;
}

.sections-hero-title .highlight {
    background: linear-gradient(120deg, #4ade80 0%, #22c55e 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sections-hero-subtitle {
    font-size: 16.5px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 28px;
}

/* Quick Metrics Row in Hero */
.sections-metrics-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.sec-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
}

.sec-metric-pill i {
    color: #22c55e;
}

/* Live Search Box */
.sec-search-box-wrapper {
    max-width: 620px;
    margin: 0 auto;
    position: relative;
}

.sec-search-input-group {
    display: flex;
    align-items: center;
    background: #1e293b;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 6px 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.sec-search-input-group:focus-within {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.sec-search-input-group i {
    color: #94a3b8;
    font-size: 18px;
    margin-right: 12px;
}

.sec-search-input-field {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    padding: 10px 0;
}

.sec-search-input-field:focus {
    outline: none;
}

.sec-search-input-field::placeholder {
    color: #64748b;
}

.sec-search-count-badge {
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Enhanced Section Cards */
.section-card-v2 {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.section-card-v2.is-free-card {
    border-top: 4px solid #16a34a;
}

.section-card-v2.is-premium-card {
    border-top: 4px solid #6366f1;
}

/* Canvas Mockup Frame */
.sec-canvas-wrapper {
    background: #0b0f19;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
    cursor: pointer;
}

.sec-canvas-chrome {
    background: #111827;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sec-canvas-dots {
    display: flex;
    gap: 5px;
}

.sec-canvas-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.sec-canvas-tag {
    font-family: monospace;
    font-size: 11px;
    color: #38bdf8;
    font-weight: 600;
}

.sec-canvas-tech {
    font-size: 9.5px;
    font-weight: 800;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.sec-mockup-svg {
    width: 100%;
    height: auto;
    display: block;
}

.sec-canvas-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
}

.sec-canvas-wrapper:hover .sec-canvas-hover {
    opacity: 1;
}

.btn-canvas-preview {
    background: #22c55e;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
    transform: translateY(4px);
    transition: var(--transition);
}

.sec-canvas-wrapper:hover .btn-canvas-preview {
    transform: translateY(0);
}

.btn-canvas-preview:hover {
    background: #16a34a;
    color: #ffffff;
}

/* Card Meta & Badges */
.sec-card-header-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sec-cat-chip {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sec-badge-free-v2 {
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sec-badge-prem-v2 {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sec-card-title-v2 {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.35;
}

.sec-card-desc-v2 {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Card Tech Stack Tags */
.sec-card-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.sec-tech-chip {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 5px;
}

/* Card Actions */
.sec-card-actions-v2 {
    display: flex;
    gap: 10px;
}

.btn-sec-act-preview {
    flex: 1;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sec-act-preview:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-sec-act-code {
    flex: 1.3;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-sec-act-code.free {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.btn-sec-act-code.free:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.btn-sec-act-code.prem {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-sec-act-code.prem:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .sections-hero-title {
        font-size: 30px;
    }
    .sections-hero-subtitle {
        font-size: 14.5px;
    }
}


/* ==========================================================================
   DESIGN-ASSETS.PHP - DESIGN ASSETS MARKETPLACE STYLES
   ========================================================================== */

.design-assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.asset-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
}

.asset-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 36px -4px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.asset-card.is-free-asset {
    border-top: 4px solid #16a34a;
}

.asset-card.is-premium-asset {
    border-top: 4px solid #6366f1;
}

/* Asset Thumbnail Container */
.asset-thumb-box {
    position: relative;
    width: 100%;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
    cursor: pointer;
}

.asset-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.asset-thumb-box:hover .asset-thumb-img {
    transform: scale(1.05);
}

.asset-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
}

.asset-thumb-box:hover .asset-thumb-overlay {
    opacity: 1;
}

.btn-asset-quick-view {
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(4px);
    transition: var(--transition);
}

.asset-thumb-box:hover .btn-asset-quick-view {
    transform: translateY(0);
}

.btn-asset-quick-view:hover {
    background: #22c55e;
    color: #0f172a;
}

/* Format Tags & Badge Floating on Image */
.asset-floating-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.asset-floating-tag {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.4px;
}

.asset-floating-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #22c55e;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Asset Card Content */
.asset-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.asset-card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.asset-category-pill {
    font-size: 11.5px;
    font-weight: 800;
    color: #6366f1;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.asset-status-badge {
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.asset-status-badge.free {
    background: #dcfce7;
    color: #15803d;
}

.asset-status-badge.premium {
    background: #f1f5f9;
    color: #0f172a;
}

.asset-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.asset-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Feature Bullet Points */
.asset-features-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.asset-features-bullet-list li {
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asset-features-bullet-list li i {
    color: #16a34a;
    font-size: 14px;
}

/* Included Formats Chips */
.asset-formats-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.asset-format-chip {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Card Pricing & Action Row */
.asset-card-pricing-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.asset-pricing-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.asset-currency {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.asset-price-val {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.asset-orig-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.asset-sales-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* Card Action Buttons */
.asset-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
}

.btn-asset-details {
    padding: 10px 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-asset-details:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-asset-buy {
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-asset-buy.free {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.btn-asset-buy.free:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.btn-asset-buy.prem {
    background: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-asset-buy.prem:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Modal for Asset Details */
.asset-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.asset-modal-backdrop.active {
    display: flex;
}

.asset-modal-dialog {
    background: #ffffff;
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.asset-modal-hero-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
}

.asset-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.asset-modal-close-btn:hover {
    background: #0f172a;
    transform: scale(1.08);
}

.asset-modal-body {
    padding: 32px;
}

@media (max-width: 1024px) {
    .design-assets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .design-assets-grid {
        grid-template-columns: 1fr;
    }
    .asset-card-actions {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MOBILE & RESPONSIVE HEADER & BUTTONS ENHANCEMENTS
========================================================================== */
.header-customer-pill {
    background: #0f172a;
    border: 1px solid #334155;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.header-customer-pill:hover {
    background: #1e293b;
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
}
.header-customer-pill i {
    color: var(--primary);
    font-size: 14px;
}
.header-customer-pill.logged-in {
    background: rgba(16, 185, 129, 0.12);
    border-color: #10b981;
    color: #10b981;
}

.pill-text-mobile {
    display: none !important;
}

@media (max-width: 1080px) {
    .header-right {
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 56px;
        padding: 0 12px;
    }
    .header-right {
        gap: 6px;
    }
    /* Compact icon button on mobile for Phone Unlock */
    .header-customer-pill {
        width: 38px;
        height: 38px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #0f172a;
        flex-shrink: 0;
    }
    .header-customer-pill .pill-text-desktop {
        display: none !important;
    }
    .header-customer-pill i {
        font-size: 16px;
        margin: 0;
    }
    
    /* Responsive WhatsApp Lifetime Pass pill */
    .header-whatsapp-pill {
        padding: 7px 12px;
        font-size: 12px;
        gap: 5px;
        white-space: nowrap;
    }
    .header-whatsapp-pill .pill-text-desktop {
        display: none !important;
    }
    .header-whatsapp-pill .pill-text-mobile {
        display: inline !important;
    }
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        padding: 0;
        flex-shrink: 0;
    }
    
    /* Top announcement bar mobile */
    .top-announcement-bar {
        font-size: 11px;
        padding: 6px 10px;
        line-height: 1.35;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-whatsapp-pill {
        display: none !important;
    }
    .brand-logo {
        font-size: 18px;
    }
    .brand-logo svg {
        width: 24px !important;
        height: 24px !important;
    }
}

@media (max-width: 600px) {
    .buy-modal-backdrop {
        padding: 10px !important;
    }
    .buy-modal-card {
        border-radius: 16px !important;
        max-height: 92vh !important;
        width: 100% !important;
    }
    .buy-modal-header {
        padding: 16px 18px !important;
    }
    .buy-modal-body {
        padding: 18px 16px !important;
    }
    .license-option-card {
        padding: 12px 14px !important;
    }
    .btn-modal-whatsapp {
        padding: 13px 18px !important;
        font-size: 14.5px !important;
        border-radius: 10px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .page-hero-section {
        padding: 40px 16px !important;
    }
    .page-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    .pricing-card-box {
        padding: 24px 18px !important;
    }
}