/* Custom Stylesheet for Transferly Site */

/* --- Reset & Base Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --bg-dark: #07090e;
    --bg-dark-accent: #111827;
    --glow-indigo: rgba(99, 102, 241, 0.1);
    --glow-purple: rgba(168, 85, 247, 0.05);
    
    /* Optimized solid/semi-transparent background colors */
    --card-bg: #0f1322;
    --modal-bg: #0d101a;
    --glass-border: rgba(255, 255, 255, 0.07);
    --text-white: #ffffff;
    --text-muted: #9ca3af;
    --text-dark: #374151;
    
    /* Google Brand Colors */
    --google-blue: #4285F4;
    --google-btn-hover: #f8fafd;
    
    /* Gold/Amber Accents for Lock State */
    --accent-gold: #f59e0b;
    --accent-gold-rgb: 245, 158, 11;
    
    /* Font Families */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-code: 'Fira Code', 'Courier New', Courier, monospace;
}

body {
    background: radial-gradient(circle at 50% 50%, #0c0f1d 0%, #05070d 100%);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    color: var(--text-white);
}

/* --- App Container & Ambient Backgrounds --- */
.app-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    overflow: hidden; /* Prevents scrollbars from appearing */
}

/* Wrapper to isolate background shapes from causing page scrollbars */
.ambient-glow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
}

/* Atmospheric glowing shapes behind the content (Creative, dynamic mesh) */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -2;
    opacity: 0.65;
    will-change: transform;
}

.glow-top {
    top: -15%;
    left: 15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(168, 85, 247, 0.05) 75%);
    animation: floatGlow1 24s infinite alternate ease-in-out;
}

.glow-bottom {
    bottom: -15%;
    right: 15%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(236, 72, 153, 0.06) 75%);
    animation: floatGlow2 28s infinite alternate ease-in-out;
}

@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8%, 12%) scale(1.08); }
    100% { transform: translate(-6%, -6%) scale(0.94); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, -10%) scale(0.92); }
    100% { transform: translate(6%, 8%) scale(1.06); }
}

/* --- WEBSITE HEADER --- */
.site-header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    background: rgba(7, 9, 14, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: #818cf8; /* Light Indigo */
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 60%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-badge {
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    color: #a5b4fc;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    color: var(--text-white);
    transform: translateY(-1px);
}

/* Balance spacer where buttons were */
.header-spacer {
    width: 160px;
}

/* --- WETRANSFER STYLE SPLIT LAYOUT --- */
.main-content-split {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 100px;
    align-items: center;
    width: 100%;
    max-width: 1440px; /* Wider canvas for a premium, spacious layout */
    margin: 0 auto;
    padding: 2rem 4rem;
}

/* Left Half Column */
.panel-column {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Wrapper handling card dimensions and transitions */
.transfer-card-wrapper {
    width: 100%;
    max-width: 440px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transfer-card-wrapper.switching {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
}

/* Base Card structure (WeTransfer style panel) */
.transfer-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    width: 100%;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 
        0 35px 60px -15px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    display: none;
    flex-direction: column;
    align-items: center;
}

.transfer-card.active {
    display: flex;
    animation: cardEntrance 0.3s ease-out;
}

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

/* --- HOLLYLAND STATE SPECIFIC STYLES --- */
.brand-avatar-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    width: 100%;
}

.brand-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); /* HollyLand red/yellow gradient */
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    flex-shrink: 0;
    object-fit: cover;
}

.brand-name-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
}

.brand-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
    font-size: 0.72rem;
    font-weight: 600;
}

.brand-verified-badge svg {
    flex-shrink: 0;
}

.invite-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: white;
    text-align: left;
    line-height: 1.25;
    margin-bottom: 16px;
    width: 100%;
    letter-spacing: -0.015em;
}

.invite-message-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px;
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.invite-message-box p {
    font-size: 0.86rem;
    line-height: 1.5;
    color: #cbd5e1;
    font-style: italic;
}

.file-list-preview {
    width: 100%;
    margin-bottom: 16px;
}

.file-item-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px;
    width: 100%;
}

.file-info-mini {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.file-info-mini .f-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.file-info-mini .f-size {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.transfer-expiry-text {
    font-size: 0.72rem;
    color: #4b5563;
    width: 100%;
    text-align: left;
    margin-bottom: 24px;
    font-weight: 500;
}

/* Big Action View button */
.primary-view-btn {
    background: #818cf8; /* Beautiful Indigo */
    color: white;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.25);
    transition: all 0.25s ease;
    outline: none;
    text-decoration: none;
}

.company-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: white;
    outline: none;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.company-input:focus {
    border-color: #818cf8;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px rgba(129, 140, 248, 0.15);
}

.primary-view-btn:hover {
    background: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(129, 140, 248, 0.35);
}

.primary-view-btn:active {
    transform: translateY(0);
}

/* --- GOOGLE LOCK STATE SPECIFIC STYLES --- */
.lock-icon-container {
    position: relative;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-gold);
    margin-bottom: 18px;
}

.lock-icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(var(--accent-gold-rgb), 0.15);
    animation: lockPulse 3.5s infinite ease-in-out;
}

.lock-svg {
    width: 26px;
    height: 26px;
}

@keyframes lockPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
        box-shadow: 0 0 35px rgba(var(--accent-gold-rgb), 0.3);
    }
}

/* File Metadata Pill */
.file-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    padding: 6px 14px;
    margin-bottom: 22px;
    font-size: 0.8rem;
    font-weight: 500;
    max-width: 100%;
}

.file-pill .file-icon {
    width: 14px;
    height: 14px;
    color: #818cf8;
    flex-shrink: 0;
}

.file-pill .file-name {
    color: var(--text-white);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-pill .file-size {
    color: var(--text-muted);
}

/* Locked Card Typography */
.lock-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.lock-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
    max-width: 100%;
}

/* Google Sign-in Button Styles */
.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #1f2937; /* charcoal text */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    outline: none;
}

.google-login-btn:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.google-login-btn:active {
    transform: translateY(0);
}

.google-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.google-svg {
    width: 100%;
    height: 100%;
}

.google-btn-text {
    font-weight: 600;
}

/* Public Summary Drawer styling */
.summary-drawer {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    margin-top: 10px;
}

.summary-drawer-content {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.summary-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.summary-meta-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-meta-item strong {
    color: var(--text-muted);
    font-weight: 500;
}

.summary-meta-item span {
    color: white;
    font-weight: 600;
}

.sender-verified {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #10b981 !important;
}

.mini-brand-logo {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.verified-check {
    width: 12px;
    height: 12px;
    color: #10b981;
}

.summary-desc-box {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.summary-desc-box strong {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.summary-desc-box p {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #94a3b8;
}

.summary-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    padding: 0;
    outline: none;
}

.summary-toggle-btn:hover {
    color: var(--text-white);
}

.summary-toggle-btn .chevron-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.summary-toggle-btn.active .chevron-icon {
    transform: rotate(180deg);
}


/* Google Sign-in Elements */
.login-helper-note {
    font-size: 0.72rem;
    color: #555c68;
    margin-top: 10px;
    margin-bottom: 4px;
    font-weight: 500;
}

.lock-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    user-select: none;
}

.security-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #818cf8;
    font-size: 0.84rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.security-link-btn:hover {
    color: #10b981;
}

.sec-link-icon {
    width: 14px;
    height: 14px;
    color: #10b981;
}

/* --- RIGHT HALF: MARKETING COLUMN & PREVIEW --- */
.marketing-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.marketing-text-wrap {
    max-width: 680px;
}

.main-headline {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: white;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.main-subheading {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* --- DOCUMENT VIEWER PREVIEW --- */
.document-viewer-container {
    width: 100%;
    max-width: 580px;
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    overflow: hidden;
}

/* Paper representation */
.document-page {
    background: #ffffff;
    padding: 50px 40px;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Lightweight Opacity Pulse Animation */
@keyframes pulseOpacity {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 0.95; }
}

/* Common Skeleton Element styling */
.skeleton-logo,
.skeleton-line-thick,
.skeleton-line-thin,
.skeleton-title-bar,
.skeleton-line,
.skeleton-cell,
.skeleton-sig-line,
.skeleton-sig-text {
    background: #cbd5e1; /* Darker grey to stand out clearly under the blur */
    border-radius: 4px;
}

/* Skeleton Layout Components */
.skeleton-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skeleton-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.skeleton-meta-left {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    width: 100px;
}

.skeleton-line-thick { height: 10px; }
.skeleton-line-thin { height: 5px; }

.skeleton-divider {
    width: 100%;
    height: 2px;
    background: #f1f5f9;
}

.skeleton-title-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0;
}

.skeleton-title-bar {
    height: 18px;
    border-radius: 4px;
}

.skeleton-paragraph {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line { height: 6px; }

/* Skeleton Table representation */
.skeleton-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
    margin: 4px 0;
}

.skeleton-table-header {
    display: flex;
    background: #f8fafc;
    padding: 10px 14px;
    gap: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.skeleton-table-row {
    display: flex;
    padding: 10px 14px;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.skeleton-table-row:last-child {
    border-bottom: none;
}

.skeleton-cell { height: 8px; }

/* Signatures & Seal Placements */
.skeleton-signatures {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 40px;
}

.skeleton-sig-box {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 24px;
}

.skeleton-sig-line { height: 2px; }
.skeleton-sig-text { height: 6px; }

/* Abstract blurred blobs imitating seals/stamps */
.skeleton-badge-blur {
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    top: 5px;
    right: 15%;
    opacity: 0.4;
    filter: blur(4px);
}

.stamp-1 {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.7) 0%, rgba(239, 68, 68, 0.1) 70%);
}

.stamp-2 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.7) 0%, rgba(59, 130, 246, 0.1) 70%);
    border-radius: 4px;
    width: 60px;
    height: 60px;
}

/* --- WEBSITE FOOTER --- */
.site-footer {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    background: rgba(7, 9, 14, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 10;
}

.footer-left span {
    font-size: 0.8rem;
    color: #4b5563;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 500;
}

.security-badge svg {
    color: #10b981; /* Verified Green */
}

.badge-icon {
    width: 16px;
    height: 16px;
}

/* --- INFORMATION MODAL POPUP --- */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 8, 0.84); /* Deep dark overlay for high readability and lag-free render */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 1.5rem;
    will-change: opacity;
}

.info-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.info-modal-card {
    background: var(--modal-bg);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.3), 
        0 40px 80px -15px rgba(0, 0, 0, 0.8),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    transform: scale(0.96) translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    will-change: transform, opacity;
}

.info-modal-overlay.active .info-modal-card {
    transform: scale(1) translateY(0);
}

/* --- Features Modal Grid & Cards --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
    text-align: left;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(129, 140, 248, 0.2);
    transform: translateY(-2px);
}

.info-card-icon {
    font-size: 1.8rem;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
}

.info-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* --- Security Modal List --- */
.security-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
    text-align: left;
}

.security-list li {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.25s ease;
}

.security-list li:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(129, 140, 248, 0.2);
}

.security-list-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-list-icon {
    font-size: 1.3rem;
}

.security-list-title strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
}

.security-list li p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    background: var(--modal-bg);
    z-index: 2;
}

.info-modal-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.info-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0 4px;
}

.info-modal-close:hover {
    color: var(--text-white);
}

.info-modal-body {
    padding: 32px;
    font-family: var(--font-body);
}

/* Scrollbar styling for modal card */
.info-modal-card::-webkit-scrollbar {
    width: 8px;
}

.info-modal-card::-webkit-scrollbar-track {
    background: transparent;
}

.info-modal-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
}

.info-modal-card::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- SECURITY SANDBOX SPECIFIC STYLES --- */
.sandbox-card {
    max-width: 780px;
}

/* Wizard step navigation */
.sandbox-steps-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 28px;
    gap: 6px;
}

.sandbox-step-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.sandbox-step-btn.active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Step content visibility */
.sandbox-step-content {
    display: none;
}

.sandbox-step-content.active {
    display: block;
    animation: fadeInStep 0.3s ease-out;
}

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

/* Layout splits */
.sandbox-flex {
    display: flex;
    gap: 32px;
    align-items: center;
}

.sandbox-flex.flex-col {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.sandbox-desc {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sandbox-desc h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: white;
}

.sandbox-desc p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* Account warning warning tip inside Step 1 Sandbox */
.sandbox-notice-tip {
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 4px;
    text-align: left;
}

.sandbox-notice-tip strong {
    display: block;
    color: #f59e0b;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.sandbox-notice-tip p {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.4;
    margin: 0;
}

.sandbox-ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}

.sandbox-ul li {
    font-size: 0.85rem;
    color: #d1d5db;
    line-height: 1.4;
    position: relative;
    padding-left: 20px;
}

.sandbox-ul li::before {
    content: "🛡️";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 0.88rem;
}

.sandbox-visual {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Mock Browser Window */
.mock-browser {
    width: 100%;
    max-width: 320px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.browser-header {
    background: #161b22;
    height: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 12px;
}

.browser-header .dots {
    display: flex;
    gap: 6px;
}

.browser-header .dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dots span.red { background: #ff5f56; }
.dots span.yellow { background: #ffbd2e; }
.dots span.green { background: #27c93f; }

.address-bar {
    flex-grow: 1;
    background: #0d1117;
    height: 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 6px;
    font-size: 0.68rem;
    color: #8b949e;
    overflow: hidden;
}

.lock-small {
    width: 10px;
    height: 10px;
    color: #56d364;
}

.browser-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-body);
}

.mock-google-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.mock-g-text {
    font-size: 0.88rem;
    font-weight: 500;
    color: #e6edf3;
}

.mock-input-field {
    width: 100%;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 10px 12px;
    position: relative;
    margin-bottom: 20px;
    background: transparent;
}

.field-label {
    position: absolute;
    top: -8px;
    left: 8px;
    background: #0d1117;
    padding: 0 4px;
    font-size: 0.65rem;
    color: #58a6ff;
}

.field-input {
    font-size: 0.78rem;
    color: #c9d1d9;
}

.mock-button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.mock-create-account {
    font-size: 0.75rem;
    color: #58a6ff;
    cursor: pointer;
}

.mock-next-btn {
    background: #1f6feb;
    color: white;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
}

/* Scope Allowed/Blocked lists */
.scope-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
    width: 100%;
}

.scope-type {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    align-items: flex-start;
}

.scope-type.allowed {
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.scope-type.blocked {
    background: rgba(239, 68, 68, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.scope-status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.scope-status-icon.check {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.scope-status-icon.cross {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.scope-type strong {
    font-size: 0.88rem;
    color: white;
    display: block;
    margin-bottom: 2px;
}

.scope-type p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Mock Consent Dialog UI */
.consent-dialog-mock {
    width: 100%;
    max-width: 320px;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    padding: 20px;
    font-family: var(--font-body);
}

.consent-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 10px;
}

.g-mini-logo {
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    color: #4285f4;
    font-weight: 900;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.consent-header span {
    font-size: 0.78rem;
    color: #c9d1d9;
    font-weight: 500;
}

.consent-body-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.consent-scope-item {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.checkbox-mocked {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #1f6feb;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.scope-desc strong {
    display: block;
    font-size: 0.78rem;
    color: white;
    margin-bottom: 2px;
    line-height: 1.2;
}

.scope-desc span {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.consent-trust-text {
    font-size: 0.65rem;
    color: #8b949e;
    line-height: 1.3;
    margin-bottom: 18px;
}

.consent-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.consent-btn {
    border: none;
    border-radius: 4px;
    padding: 7px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.consent-btn.cancel {
    background: transparent;
    color: #58a6ff;
}

.consent-btn.allow {
    background: #1f6feb;
    color: white;
}

/* --- API SIMULATION UI --- */
.sandbox-desc-full h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: white;
    margin-bottom: 6px;
}

.sandbox-desc-full p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.sandbox-simulation-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}

/* Simulate Button */
.simulate-api-btn {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    outline: none;
}

.simulate-api-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.simulate-api-btn:active {
    transform: translateY(0);
}

/* Loading dots animation */
.loading-dots {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: simLoad 0.8s infinite linear;
}

.simulate-api-btn.loading .loading-dots {
    display: inline-block;
}

@keyframes simLoad {
    to { transform: rotate(360deg); }
}

/* Console logs panel */
.api-console-wrapper {
    width: 100%;
    background: #0b0e14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.console-header {
    background: #0f141e;
    height: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.indicator-dot.idle { background: #6b7280; }
.indicator-dot.loading { background: #fbbf24; animation: pulseGlow 1s infinite alternate; }
.indicator-dot.success { background: #10b981; }

@keyframes pulseGlow {
    from { opacity: 0.4; }
    to { opacity: 1; box-shadow: 0 0 8px #fbbf24; }
}

.console-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: #e5e7eb;
    letter-spacing: 0.01em;
}

.console-status {
    font-family: var(--font-code);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
}

.console-status.idle { color: #9ca3af; }
.console-status.fetching { color: #fbbf24; }
.console-status.completed { color: #10b981; background: rgba(16, 185, 129, 0.1); }

.console-body {
    padding: 16px 20px;
    margin: 0;
    background: transparent;
    overflow-x: auto;
}

.console-body code {
    font-family: var(--font-code);
    font-size: 0.75rem;
    line-height: 1.5;
    color: #38bdf8;
    white-space: pre;
    display: block;
}

/* Syntax colors */
.json-key { color: #38bdf8; }
.json-string { color: #34d399; }
.json-number { color: #f59e0b; }
.json-boolean { color: #f472b6; }
.json-comment { color: #4b5563; font-style: italic; }

/* --- BRAND PRICING CARD (MODAL) --- */
.brand-pricing-card {
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.brand-badge {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand-pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.brand-pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 540px;
}

.brand-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
    margin-bottom: 36px;
    width: 100%;
}

.b-feature {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.b-feature-icon {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.b-feature h4 {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: white;
}

.b-feature p {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.brand-cta-box {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.brand-cta-heading {
    font-size: 0.95rem;
    font-weight: 500;
    color: #e5e7eb;
}

.brand-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #6366f1;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
    transition: all 0.25s ease;
}

.brand-email-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.brand-email-btn:active {
    transform: translateY(0);
}

.brand-cta-note {
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 2px;
}

/* FAQ/Help List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 20px;
}

.faq-item h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.faq-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* --- PREVIEW WORKSPACE (Full Screen Document + Centered Card) --- */
.preview-workspace {
    position: relative;
    flex-grow: 1;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: calc(100vh - 140px); /* header + footer offset */
    padding: 3rem 2rem;
    overflow: hidden;
}

.fullscreen-document-bg {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 600px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.fullscreen-document-bg .document-viewer-container {
    width: 100%;
    max-width: 580px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    filter: blur(5px);
}

.preview-lock-overlay {
    grid-column: 1;
    grid-row: 1;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    display: flex;
    justify-content: center;
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marketing-features-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(129, 140, 248, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.badge-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(129, 140, 248, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.15);
    color: #a5b4fc;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-badge:hover .badge-icon-wrap {
    background: rgba(129, 140, 248, 0.15);
    color: white;
    box-shadow: 0 0 15px rgba(129, 140, 248, 0.3);
}

.badge-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.badge-text-wrap h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
}

.badge-text-wrap p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .main-content-split {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 3rem 1.5rem;
    }
    
    .panel-column {
        order: 1; /* Card first on mobile */
    }
    
    .marketing-column {
        order: 2; /* Headlines below card */
        align-items: center;
        text-align: center;
    }
    
    .main-headline {
        font-size: 2.6rem;
    }
    
    .main-subheading {
        font-size: 1rem;
    }
    
    .header-spacer {
        display: none;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .brand-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sandbox-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .sandbox-desc {
        order: 1;
    }
    
    .sandbox-visual {
        order: 2;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 0 1.5rem;
        justify-content: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .main-content-split {
        padding: 2rem 1rem;
        gap: 36px;
    }
    
    .document-page {
        padding: 40px 24px;
        min-height: 800px;
        gap: 20px;
    }
    
    .pdf-toolbar {
        padding: 0 10px;
    }
    
    .transfer-card {
        padding: 2.2rem 1.5rem 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .lock-title {
        font-size: 1.55rem;
    }
    
    .lock-text {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }
    
    .google-login-btn {
        padding: 13px 20px;
        font-size: 0.9rem;
    }
    
    .skeleton-signatures {
        flex-direction: column;
        gap: 24px;
        margin-top: 20px;
    }
    
    .info-modal-card {
        border-radius: 20px;
        max-height: 85vh;
    }
    
    .info-modal-header {
        padding: 16px 24px;
    }
    
    .info-modal-body {
        padding: 24px;
    }
    
    .info-modal-title {
        font-size: 1.35rem;
    }
    
    .sandbox-steps-nav {
        flex-direction: column;
        gap: 4px;
    }
    
    .sandbox-step-btn {
        font-size: 0.8rem;
        padding: 8px 6px;
    }
    
    .lock-card-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-separator {
        display: none;
    }

    .preview-workspace {
        padding: 1.5rem 1rem;
    }

    .fullscreen-document-bg {
        max-width: 100%;
        transform: scale(0.85); /* scale down document blur background on mobile */
    }

    .feature-badge {
        padding: 16px 18px;
        gap: 16px;
    }

    .badge-icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* --- Modal Open Performance Optimizations --- */
body.modal-open .ambient-glow {
    animation: none !important;
}

body.modal-open .fullscreen-document-bg,
body.modal-open .document-viewer-container {
    opacity: 0 !important;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* --- Features & Security Content Custom Styling --- */
.features-content,
.security-content,
.pricing-content,
.help-content {
    width: 100%;
}

.section-intro-text {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: left;
}

