/* ==========================================================================
   1. GLOBAL RESET & VARIABLES
   ========================================================================== */
:root {
    --bg-main: #F9F9FB;
    --bg-card: #FFFFFF;
    --text-primary: #0F0F11;
    --text-muted: #8E8E93;
    --accent: #FF451D; /* Vermillion Orange */
    --accent-yellow: #FFC700;
    --border-color: #E5E5EA;
    --font-stack: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-stack);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   GLOBAL MOBILE OVERFLOW FIX 
   ========================================================================== */
html, body {
    max-width: 100vw;
    overflow-x: hidden; 
}
img, iframe, video {
    max-width: 100%; 
    height: auto;
}

/* ==========================================================================
   2. REUSABLE UTILITIES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #E03610;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #ECECED;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: #E2E2E4;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-small {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    margin-top: auto;
}

.text-muted {
    color: var(--text-muted);
}

/* Section Header Typography */
.home-section {
    padding: 8rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.section-alt {
    background-color: #FFFFFF;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.section-num {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    font-family: monospace;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1.5px;
}

.section-subtitle-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 4rem;
}

/* ==========================================================================
   3. HEADER & NAVIGATION SYSTEM (ULTRA-STYLISH TRANSITIONS)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(249, 249, 251, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(15, 15, 17, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* 1. Update your existing .logo class to act as an image wrapper */
.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 1020; /* Keeps your original z-index stacking intact */
}

/* 2. Add a new rule specifically targeting your image */
.logo img {
    max-height: 54px; /* Adjust this value up or down to match your button heights */
    width: auto;      /* Maintains the original proportions of image_cea679.png */
    height: auto;     /* Maintains aspect ratio */
    display: block;   /* Removes the default extra space below inline images */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(15, 15, 17, 0.03);
    padding: 0.4rem;
    border-radius: 100px;
    border: 1px solid rgba(15, 15, 17, 0.02);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    cursor: pointer;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.nav-link small {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.nav-link:hover {
    background-color: rgba(15, 15, 17, 0.05);
    color: var(--text-primary);
}

.nav-link:hover small {
    transform: translateY(1px);
    color: var(--accent);
}

.nav-dropdown {
    position: relative;
    padding-bottom: 12px; 
    margin-bottom: -12px; 
}

.dropdown-content {
    display: block; 
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    min-width: 240px;
    box-shadow: 0 30px 60px rgba(15, 15, 17, 0.08), 0 0 0 1px rgba(15, 15, 17, 0.01);
    padding: 0.5rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1010;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0px);
}

.nav-dropdown:hover .drop-trigger small {
    transform: rotate(180deg);
}

.dropdown-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.dropdown-content a:hover {
    background-color: var(--text-primary);
    color: #FFFFFF;
}

.dropdown-content a::after {
    content: '→';
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-smooth);
}

.dropdown-content a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-actions .btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1.2rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1020;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   4. HERO HERO SECTION
   ========================================================================== */
.hero {
    padding: 11rem 2rem 6rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.accent-dot {
    color: var(--accent);
    font-size: clamp(1.5rem, 4vw, 3rem);
    vertical-align: middle;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ==========================================================================
   5. CATALOGUE RUNWAY LAYER
   ========================================================================== */
.catalogue-runway {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.catalogue-item {
    display: flex;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 3.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.catalogue-item:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
    border-color: var(--text-primary);
}

.cat-left-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cat-number {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.cat-tag-cloud {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag-pill {
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--bg-main);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    letter-spacing: -0.1px;
}

.cat-item-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.cat-item-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 580px;
}

.cat-right-canvas {
    flex: 1;
    height: 380px;
    background-color: var(--bg-main);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.canvas-window {
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.02);
    overflow: hidden;
}

.window-topbar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.win-dots { display: flex; gap: 5px; }
.win-dots span { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; }
.win-address { font-size: 0.7rem; color: var(--text-muted); font-family: monospace; }

.window-body-grid { display: flex; height: 180px; }
.mock-sidebar { width: 50px; background: var(--bg-main); border-right: 1px solid var(--border-color); }
.mock-main-view { flex: 1; padding: 15px; display: flex; flex-direction: column; gap: 15px; }
.mock-chart-line { height: 40px; background: rgba(255, 69, 29, 0.05); border-bottom: 2px solid var(--accent); border-radius: 4px; }
.mock-blocks { display: flex; gap: 10px; }
.mock-blocks span { flex: 1; height: 50px; background: var(--bg-main); border-radius: 6px; }
.mock-blocks .block-fill { background: #FFC700; }

.canvas-phone {
    width: 170px;
    height: 320px;
    background: #0F0F11;
    border: 4px solid #2C2C2E;
    border-radius: 32px;
    position: relative;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.phone-notch {
    width: 50px;
    height: 12px;
    background: #2C2C2E;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 8px 8px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-header { font-size: 0.75rem; font-weight: 700; margin-bottom: 5px; }
.phone-card-bento { width: 100%; height: 80px; background: var(--bg-main); border-radius: 10px; border: 1px solid var(--border-color); }
.phone-card-bento.bento-short { height: 45px; background: rgba(0, 122, 255, 0.05); border-color: rgba(0, 122, 255, 0.2); }
.phone-nav-dock { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--border-color); }
.phone-nav-dock span { width: 12px; height: 12px; background: var(--text-muted); border-radius: 4px; }

.canvas-design-grid {
    width: 100%;
    max-width: 380px;
    height: 260px;
    border: 1px dashed var(--text-muted);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.grid-layer {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.grid-layer.layer-2 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: monospace;
}

.grid-layer.layer-3 { display: flex; gap: 15px; }
.grid-layer .sub-box { width: 60px; height: 40px; border: 1px solid var(--text-primary); }
.grid-layer .sub-box.box-accent { background-color: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   6. USEFUL MICRO-TOOLS DECK
   ========================================================================== */
.tools-deck-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.tool-preview-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition-smooth);
}

.tool-preview-card:hover {
    background-color: #FFFFFF;
    box-shadow: 0 12px 24px rgba(0,0,0,0.02);
    transform: translateY(-2px);
    border-color: var(--text-primary);
}

.tool-icon-box {
    font-size: 1.75rem;
    background: #FFFFFF;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.tool-meta h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.tool-meta p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   7. EDITORIAL HUB / STREAMLINED BLOG LAYOUT
   ========================================================================== */
.hub-editorial-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 1rem;
}

.editorial-card {
    display: flex;
    gap: 3rem;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    align-items: center;
    transition: var(--transition-smooth);
}

.editorial-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.02);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.editorial-img-wrapper {
    position: relative;
    width: 280px;
    min-width: 280px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-main);
}

.editorial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

.editorial-card:hover .editorial-img-wrapper img {
    transform: scale(1.05);
}

.editorial-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(15, 15, 17, 0.85);
    color: #FFFFFF;
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editorial-badge.badge-satire {
    background-color: rgba(255, 69, 29, 0.9);
}

.editorial-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.editorial-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.editorial-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.editorial-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.editorial-title a:hover {
    color: var(--accent);
}

.editorial-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 800px;
}

.editorial-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.editorial-read-more:hover {
    color: var(--accent);
    padding-left: 4px;
}

.hub-footer-actions {
    text-align: center;
    margin-top: 4rem;
}

/* ==========================================================================
   8. PREMIUM PROFESSIONAL STUDIO FOOTER
   ========================================================================== */
.main-footer {
    background-color: #0F0F11;
    color: #FFFFFF;
    border-radius: 40px 40px 0 0;
    padding: 6rem 2rem 3rem 2rem;
    margin-top: 0rem;
    font-family: var(--font-stack);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-brand-statement {
    flex: 1;
    min-width: 320px;
}

.footer-brand-statement h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.footer-brand-statement p {
    color: #8E8E93;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 480px;
}

.footer-primary-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-label {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.large-email {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -1px;
    transition: var(--transition-smooth);
    margin-bottom: 1.5rem;
}

.large-email:hover {
    color: var(--accent);
}

.footer-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #2C2C2E;
}

.btn-whatsapp:hover {
    background-color: #2C2C2E;
    border-color: #8E8E93;
}

.wa-icon {
    color: #34C759;
    margin-right: 8px;
    font-size: 0.8rem;
}

.footer-divider {
    border: none;
    border-top: 1px solid #1C1C1E;
    margin: 4rem 0;
}

.footer-middle-matrix {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.9fr);
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.footer-vcard {
    background-color: #1C1C1E;
    border: 1px solid #2C2C2E;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 320px;
    transition: var(--transition-smooth);
}

.footer-vcard:hover {
    border-color: #48484A;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.vcard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vcard-logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.vcard-logo span { color: var(--accent); }

.vcard-status {
    font-size: 0.7rem;
    font-weight: 600;
    color: #34C759;
    background: rgba(52, 199, 89, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vcard-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 0.25rem;
}

.vcard-title {
    font-size: 0.85rem;
    color: #8E8E93;
    margin-bottom: 1rem;
}

.vcard-meta-loc {
    font-size: 0.85rem;
    color: #E5E5EA;
}

.vcard-footer {
    border-top: 1px solid #2C2C2E;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vcard-scan-text {
    font-size: 0.75rem;
    color: #8E8E93;
    font-weight: 500;
}

.vcard-qr-box {
    width: 44px;
    height: 44px;
    background-color: #FFFFFF;
    border-radius: 6px;
    padding: 4px;
}

.mini-qr-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.mini-qr-grid span {
    background-color: #0F0F11;
    border-radius: 1px;
}

.mini-qr-grid span:nth-child(3n) { background-color: transparent; }
.mini-qr-grid span:nth-child(7n) { background-color: var(--accent); }

.footer-link-col h4 {
    color: #8E8E93;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-link-col a {
    display: block;
    color: #E5E5EA;
    font-size: 0.95rem;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition-smooth);
}

.footer-link-col a:hover {
    color: var(--accent);
    padding-left: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1rem;
}

.footer-studio-logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: block;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.footer-copyright-block p {
    font-size: 0.85rem;
    color: #636366;
    line-height: 1.5;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: #8E8E93;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: #FFFFFF;
}

.system-status-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: #34C759;
    border: 1px solid rgba(52, 199, 89, 0.2);
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    background: rgba(52, 199, 89, 0.03);
}

/* ==========================================================================
   9. RESPONSIVE UNIFIED MEDIA QUERY BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
    .catalogue-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
        padding: 2.5rem;
    }
    .cat-right-canvas {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .tools-deck-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .footer-middle-matrix {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 900px) {
    .editorial-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .editorial-img-wrapper {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .nav-menu, .header-actions .btn { 
        display: none; 
    }
    .mobile-toggle { 
        display: flex; 
    }
    .tools-deck-grid { 
        grid-template-columns: 1fr; 
    }
    .footer-top { 
        flex-direction: column; 
        gap: 2rem; 
    }
    .footer-middle-matrix { 
        grid-template-columns: 1fr; 
        gap: 2.5rem; 
    }
    .footer-vcard { 
        max-width: 100%; 
    }
    .footer-bottom { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1.5rem; 
    }
}

/* ==========================================================================
   10. INDEPENDENT UTILITY MODULE VIEWPORTS (IMAGE SPLITTER)
   ========================================================================== */
.studio-workspace-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 2rem 6rem 2rem; 
}

.studio-title-area {
    margin-bottom: 3.5rem;
}

.studio-badge-pill {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.studio-title-area h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.studio-title-area p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.6;
}

.studio-command-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 1.25rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(15, 15, 17, 0.01);
}

.command-group.dropdown-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.command-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.studio-command-bar select {
    padding: 0.6rem 1.2rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.studio-command-bar select:hover {
    border-color: var(--text-primary);
}

.studio-grid-viewport {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 2rem;
    align-items: start;
}

/* Ensure the preview engine container behaves as a block element */
#gridPreview {
    width: 100%;
    /* Removed the hard min-height block that forced the vertical stretching */
    display: grid;     
    gap: 4px;
    transition: var(--transition-smooth);
}

.studio-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.studio-card-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.indicator-tag {
    font-size: 0.7rem;
    background-color: var(--bg-main);
    color: var(--text-muted);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Framing Boxes adjustment */
.studio-canvas-box {
    background-color: var(--bg-main);
    border-radius: 16px;
    min-height: 480px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-color);
    position: relative;
    box-sizing: border-box;
}

.studio-canvas-box img {
    max-width: 100%;
    display: block;
}

/* Updated Slice Viewport To Stop Compression Stretches */
.grid-slice {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    /* Changed from 100% 100% to cover/contain ratios to respect natural proportions */
    background-size: cover; 
    border-radius: 4px;
    aspect-ratio: auto; /* Lets individual layout configuration rules handle sizes */
}


@media (max-width: 968px) {
    .studio-grid-viewport {
        grid-template-columns: 1fr;
    }
    .studio-command-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }
    .command-group.dropdown-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .studio-command-bar select {
        width: 100%;
    }
}

.upload-placeholder-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 3rem;
    cursor: pointer;
    background-color: transparent;
    transition: var(--transition-smooth);
    z-index: 10;
}

.upload-placeholder-zone:hover {
    background-color: rgba(15, 15, 17, 0.01);
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    box-shadow: 0 4px 12px rgba(15, 15, 17, 0.02);
    transition: var(--transition-smooth);
}

.upload-placeholder-zone:hover .placeholder-icon {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.placeholder-icon svg {
    width: 28px;
    height: 28px;
}

.placeholder-text-group {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.placeholder-text-group .main-prompt {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.placeholder-text-group .sub-prompt {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   11. TEMPORAL ANALYTICAL ENGINE MODULE (AGE CALCULATOR)
   ========================================================================== */
.studio-command-bar.alignment-stretch {
    align-items: flex-end;
}

.command-group input[type="date"],
.command-group input[type="time"] {
    padding: 0.6rem 1.2rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    font-family: var(--font-stack);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.command-group input:hover,
.command-group input:focus {
    border-color: var(--text-primary);
}

/* Master Layout Framework Grid */
.age-engine-dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: var(--transition-smooth);
}

.age-stat-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-smooth);
}

.age-stat-card:hover {
    box-shadow: 0 15px 35px rgba(15, 15, 17, 0.02);
    border-color: var(--text-primary);
}

.stat-card-label {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

/* Hero Top Display Window Box */
.card-hero-span {
    background-color: #FFFFFF;
    border-left: 4px solid var(--accent); /* Vermillion anchor axis indicator link line */
}

.massive-counter-display {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.massive-counter-display small {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--text-muted);
    margin-right: 1.5rem;
    margin-left: 0.25rem;
}

.stat-card-insight {
    font-size: 0.95rem;
    color: #34C759; /* System confirmation green text string fill color */
    font-weight: 500;
}

/* Sub-grid structure details box mapping */
.metrics-bento-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.metrics-bento-subgrid h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--text-primary);
}

.metrics-bento-subgrid .text-accent-color {
    color: var(--accent);
}

/* Responsive Scaling Overrides */
@media (max-width: 900px) {
    .metrics-bento-subgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .metrics-bento-subgrid {
        grid-template-columns: 1fr;
    }
    .massive-counter-display small {
        display: block;
        margin-bottom: 0.5rem;
        margin-top: -0.5rem;
    }
}

/* --- HOOK EXTENSIONS FOR THE MACHINE INTERFACE --- */
.life-progress-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
}

.progress-bar-track {
    width: 100%;
    height: 12px;
    background-color: var(--bg-main);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.progress-bar-fill {
    height: 100%;
    width: 0%; /* Spans dynamically on verification click */
    background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--accent) 100%);
    border-radius: 100px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
}

.age-stat-card.card-highlight {
    background-color: var(--bg-main);
    border: 1px dashed var(--border-color);
}

.age-stat-card.card-highlight h3 {
    margin-bottom: 0.5rem;
}

.card-mini-footer {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- BIOLOGICAL SYSTEM METRIC CARDS --- */
.age-stat-card.card-biological {
    background-color: #FFFFFF;
    border-bottom: 3px solid #007AFF; /* Deep Tech Blue engine line axis */
    transition: var(--transition-smooth);
}

.age-stat-card.card-biological:hover {
    border-bottom-color: var(--text-primary);
}

/* Premium macOS Code Snippet Window Layout Rules */
.mac-code-window pre {
    font-family: monospace !important;
    border-left: none !important; /* Removes standard code sidebar indicators */
}

/* Ensure native embeds scale correctly inside mobile views */
.native-embed-wrapper iframe {
    max-width: 100% !important;
    width: 100% !important;
}


/* ==========================================================================
   REFINED BLOG MARKDOWN VIEWPORT SPACING
   ========================================================================== */

/* Sare components ki extra margins ko strictly level par lana */
.article-markdown-viewport p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0 0 1rem 0; /* Tight paragraph spacing */
}

.article-markdown-viewport h3 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 2rem 0 0.75rem 0; /* Refined header padding */
    line-height: 1.2;
}

/* macOS Code Window Spacing Fix */
.article-markdown-viewport .mac-code-window {
    margin: 1.25rem 0 !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

/* Inline Images Spacing Fix */
.article-markdown-viewport .inline-image-wrapper {
    margin: 1.5rem 0 !important;
}

/* ==========================================================================
   NATIVE PLATFORM EMBEDS GRID CONFIGURATION
   ========================================================================== */

/* General Embed Framework Container */
.article-markdown-viewport .native-embed-wrapper {
    margin: 1.25rem 0 !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Twitter (X) Embed Custom Scaling Bounds */
.article-markdown-viewport .x-embed {
    max-width: 500px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* INSTAGRAM EMBED MATRIX: Compact Scaling & Center Axis Alignment */
.article-markdown-viewport .instagram-embed {
    max-width: 420px !important; /* Made significantly smaller as requested */
    margin-left: auto !important;
    margin-right: auto !important;
}

.article-markdown-viewport .instagram-embed iframe {
    max-width: 420px !important;
    width: 100% !important;
    border-radius: 12px;
}

/* ==========================================================================
   GLOBAL OVERRIDES FOR HISTORICAL EMBED ASSETS
   ========================================================================== */

/* Sare purane aur naye Twitter (X) embeds ko dynamically left-align aur limit karna */
.article-markdown-viewport .x-embed,
.article-markdown-viewport .twitter-tweet {
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
    display: flex !important;
}

/* Sare purane aur naye Instagram widgets ko left baseline par forcefully align karna */
.article-markdown-viewport .instagram-embed,
.article-markdown-viewport .instagram-media {
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 400px !important; /* Compact size configuration lock */
    width: 100% !important;
}

/* Fallback logic agar native iframe injection elements center align hone ki koshish karein */
.article-markdown-viewport iframe {
    margin-left: 0 !important;
    margin-right: auto !important;
}



/* ==========================================================================
   FLAGSHIP DIGITAL CARD BENTO HERO (NEW SECTION)
   ========================================================================== */
.hot-badge {
    font-size: 0.65rem;
    background: var(--accent);
    color: #FFF;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 4px;
}

.hero-trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-sep {
    color: var(--border-color);
}

.btn-whatsapp-nav {
    background-color: rgba(52, 199, 89, 0.1);
    color: #27ae60;
    border: 1px solid rgba(52, 199, 89, 0.3);
    font-weight: 600;
}

.btn-whatsapp-nav:hover {
    background-color: #27ae60;
    color: #FFF;
}

.wa-dot {
    margin-right: 4px;
}

/* Flagship Card Bento Grid */
.flagship-card-bento {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 36px;
    padding: 4rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(15, 15, 17, 0.03);
}

.pill-highlight {
    display: inline-block;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 69, 29, 0.08);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    margin-bottom: 1.2rem;
}

.flagship-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.flagship-sub {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.flagship-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.feature-checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.flagship-action-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Visual Interactive Phone Showcase */
.flagship-visual {
    display: flex;
    justify-content: center;
}

.demo-phone-wrapper {
    width: 270px;
    background: #0F0F11;
    border: 6px solid #2C2C2E;
    border-radius: 40px;
    padding: 1.25rem 1rem;
    box-shadow: 0 30px 70px rgba(15, 15, 17, 0.2);
    position: relative;
}

.demo-phone-notch {
    width: 60px;
    height: 14px;
    background: #2C2C2E;
    border-radius: 0 0 10px 10px;
    margin: -1.25rem auto 1rem auto;
}

.demo-card-content {
    background: #FFFFFF;
    border-radius: 26px;
    padding: 1.5rem 1rem;
    text-align: center;
}

.demo-avatar-box {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 0.75rem auto;
}

.demo-card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.demo-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.demo-btn-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.d-btn {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 8px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
}

.d-btn.wa { background: rgba(52, 199, 89, 0.1); color: #27ae60; border-color: rgba(52, 199, 89, 0.2); }
.d-btn.call { background: rgba(0, 122, 255, 0.08); color: #007AFF; border-color: rgba(0, 122, 255, 0.2); }

.demo-qr-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mini-qr-box {
    width: 24px;
    height: 24px;
    background: var(--text-primary);
    border-radius: 4px;
}

/* Biodata Mock Art */
.biodata-mock-card {
    width: 220px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.biodata-photo-placeholder {
    width: 50px;
    height: 60px;
    background: var(--bg-main);
    border: 1px dashed var(--text-muted);
    border-radius: 6px;
    margin: 0 auto;
}

.biodata-lines .b-line {
    height: 6px;
    background: var(--bg-main);
    border-radius: 4px;
    margin-bottom: 0.4rem;
}

.biodata-lines .b-line.title { width: 70%; background: var(--text-primary); height: 8px; }
.biodata-lines .b-line.sub { width: 50%; }
.b-click-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(255, 69, 29, 0.08);
    padding: 4px 6px;
    border-radius: 4px;
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .flagship-card-bento {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
    .feature-checklist-grid {
        grid-template-columns: 1fr;
    }
}

/*New Rules*/
/* ==========================================================================
   CLEAN STUDIO SERVICES HEADER & BENTO GRID
   ========================================================================== */
   
   
.studio-menu-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem auto;
}

.studio-kicker-badge {
    display: inline-block;
    font-family: var(--font-stack);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(255, 69, 29, 0.08);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.studio-main-heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1.2px;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.studio-lead-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto;
}

/* 2x2 Bento Matrix */
.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.bento-service-card {
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    transition: var(--transition-smooth);
    position: relative;
}

.bento-service-card:hover {
    border-color: var(--text-primary);
    box-shadow: 0 20px 40px rgba(15, 15, 17, 0.04);
    transform: translateY(-3px);
}

.bento-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-pill {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--bg-main);
    color: var(--text-primary);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    letter-spacing: -0.1px;
}

.service-format {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.bento-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.bento-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.bento-card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-top: auto;
}

.service-btn-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.service-btn-link span {
    transition: transform 0.2s ease;
}

.bento-service-card:hover .service-btn-link {
    color: var(--accent);
}

.bento-service-card:hover .service-btn-link span {
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .services-bento-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .bento-service-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
}


/* ==========================================================================
   AESTHETIC MATRIMONY BIODATA MOCKUP STYLING
   ========================================================================== */
.matrimony-canvas-bg {
    background: radial-gradient(circle at center, #fff9f5 0%, #fff1ea 100%) !important;
    border: 1px solid rgba(205, 61, 34, 0.15) !important;
    padding: 1rem;
}

.matrimony-mock-sheet {
    width: 100%;
    max-width: 310px;
    background: #FFFFFF;
    border: 1.5px solid #E8D3C3;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 10px 25px rgba(184, 80, 56, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matrimony-header-motif {
    text-align: center;
    border-bottom: 1px dashed #E8D3C3;
    padding-bottom: 6px;
}

.motif-symbol {
    font-size: 0.68rem;
    font-weight: 700;
    color: #CD3D22;
    letter-spacing: 0.5px;
    display: block;
}

.matrimony-body-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.matrimony-photo-frame {
    width: 48px;
    height: 58px;
    background: #FFF8F4;
    border: 1.5px solid #D4AF37; /* Warm Gold Border */
    border-radius: 8px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.photo-inner {
    width: 100%;
    height: 100%;
    background: #FFEFE6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.matrimony-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.m-line.name-line {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #191A1E;
}

.m-line.sub-line {
    font-size: 0.72rem;
    font-weight: 600;
    color: #CD3D22;
}

.m-line.meta-line {
    font-size: 0.65rem;
    color: #8E8E93;
}

.matrimony-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    border-top: 1px dashed #E8D3C3;
    padding-top: 8px;
}

.m-action-btn {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
}

.m-action-btn.phone {
    background: #FFF5F2;
    color: #CD3D22;
    border-color: rgba(205, 61, 34, 0.2);
}

.m-action-btn.wa {
    background: #F0FDF4;
    color: #16A34A;
    border-color: rgba(22, 163, 74, 0.2);
}

.m-action-btn.horo {
    background: #FEFCE8;
    color: #CA8A04;
    border-color: rgba(202, 138, 4, 0.2);
}

/* ==========================================================================
   AESTHETIC SMART DIGITAL INVITATION CARD MOCKUP
   ========================================================================== */
.invite-canvas-bg {
    background: radial-gradient(circle at center, #f4fbf7 0%, #e8f5ee 100%) !important;
    border: 1px solid rgba(22, 163, 74, 0.15) !important;
    padding: 1rem;
}

.invite-mock-card {
    width: 100%;
    max-width: 310px;
    background: #FFFFFF;
    border: 1.5px solid #C8E6D9;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 10px 25px rgba(22, 101, 52, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.invite-top-header {
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-bottom: 1px dashed #C8E6D9;
    padding-bottom: 8px;
}

.invite-monogram {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #0F766E;
    text-transform: uppercase;
}

.invite-couple-names {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #191A1E;
    letter-spacing: -0.3px;
}

.invite-date-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: #D97706;
}

.invite-interactive-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.invite-action-pill.map-pill {
    background: #0F172A;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.invite-sub-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.invite-mini-btn {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
}

.invite-mini-btn.cal {
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.invite-mini-btn.rsvp {
    background: #F0FDF4;
    color: #16A34A;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* ==========================================================================
   AESTHETIC SOCIAL MEDIA & LOGO POST MOCKUP
   ========================================================================== */
.social-canvas-bg {
    background: radial-gradient(circle at center, #f3f4fd 0%, #e3e6fa 100%) !important;
    border: 1px solid rgba(255, 69, 29, 0.15) !important;
    padding: 1rem;
}

.social-mock-post {
    width: 100%;
    max-width: 290px;
    background: #FFFFFF;
    border: 1px solid #dcd3f0;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 10px 25px rgba(159, 11, 184, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sm-post-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-avatar {
    width: 26px;
    height: 26px;
    background: var(--accent);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
}

.sm-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.sm-brand-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.sm-badge-tag {
    font-size: 0.58rem;
    color: var(--text-muted);
}

.sm-dots {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.sm-graphic-canvas {
    background: #0F0F11;
    border-radius: 8px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
}

.sm-art-element {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-symbol-mark {
    font-size: 1.2rem;
    color: var(--accent-yellow);
}

.sm-art-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: 0.5px;
    text-align: left;
}

.sm-art-text .highlight {
    color: var(--accent);
}

.sm-post-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-top: 2px;
}

.sm-actions-left {
    display: flex;
    gap: 8px;
}

.sm-save {
    color: var(--accent);
    font-weight: 700;
}

/* ==========================================================================
   AESTHETIC IMITATION JEWELLERY SHOPIFY STORE MOCKUP
   ========================================================================== */
.jewellery-canvas-bg {
    background: radial-gradient(circle at center, #fff5fc 0%, #ede2fa 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important; /* Gold Border Glow */
    padding: 1rem;
}

.jewellery-mock-browser {
    width: 100%;
    max-width: 295px;
    background: #FFFFFF;
    border: 1.5px solid #f3d3d3;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(63, 11, 184, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.jewellery-browser-bar {
    background: #FAF5F0;
    border-bottom: 1px solid #F0DFD0;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.jewellery-url-pill {
    font-size: 0.62rem;
    font-weight: 600;
    color: #8C7355;
    background: #FFFFFF;
    border: 1px solid #EBD5C2;
    padding: 2px 8px;
    border-radius: 20px;
}

.gold-speed-tag {
    font-size: 0.58rem;
    font-weight: 700;
    color: #92400E;
    background: #FEF3C7;
    padding: 2px 5px;
    border-radius: 4px;
}

.jewellery-viewport-body {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jewellery-product-thumb {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFEEDD 100%);
    border: 1.5px solid #D4AF37; /* Warm Gold Polish Accent */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: relative;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.15);
}

.jewellery-sparkle {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.65rem;
}

.jewellery-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.jewellery-tag-pill {
    font-size: 0.56rem;
    font-weight: 700;
    color: #B45309;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jewellery-p-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1F1610;
    line-height: 1.15;
}

.jewellery-p-price {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0F172A;
}

.jewellery-p-price .old-price {
    font-size: 0.6rem;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 3px;
}

.jewellery-p-btn {
    font-size: 0.62rem;
    font-weight: 700;
    background: #0F172A;
    color: #FFF;
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    margin-top: 3px;
    display: inline-block;
    border: 1px solid #1E293B;
}




/* Card interactive feel */
.footer-vcard {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-vcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* Pulsing status dot */
.vcard-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.6);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Functional QR container */
.vcard-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #ffffff;
    border-radius: 8px;
    padding: 3px;
    transition: transform 0.2s ease, filter 0.2s ease;
    text-decoration: none;
    overflow: hidden;
}

.vcard-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.vcard-qr-box:hover {
    transform: scale(1.08);
    filter: brightness(1.05);
}