/* PDF Master Pro Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #E11D48; /* Premium Rose Red */
    --primary-hover: #BE123C;
    --primary-light: #FFF1F2; /* Modern Light Pink Tint */
    --bg-color: #F8FAFC; /* Clean Modern Slate */
    --card-bg: #FFFFFF;
    --text-color: #0F172A; /* Slate 900 */
    --text-muted: #64748B; /* Slate 500 */
    --border-color: #E2E8F0; /* Slate 200 */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 12px 24px -4px rgba(225, 29, 72, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 24px 48px -12px rgba(225, 29, 72, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.05);
    --glow-color: rgba(225, 29, 72, 0.15);
}



body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

/* Header & Navigation */
.navbar {
    background-color: var(--card-bg) !important;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.navbar-brand:hover {
    transform: scale(1.02);
}
.navbar-brand-logo {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
    animation: gentlePulse 3s ease-in-out infinite;
    transition: var(--transition);
}
.navbar-brand:hover .navbar-brand-logo {
    transform: scale(1.08);
}
.navbar-brand svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    width: 2rem;
    height: 2rem;
    animation: rotateLogo 8s linear infinite;
}
@keyframes gentlePulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}
.nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1.25rem !important;
    border-radius: 0.75rem;
    position: relative;
}
.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 50% 50%, rgba(255, 241, 242, 0.75) 0%, rgba(248, 250, 252, 1) 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}


.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

/* Floating Shapes Animation */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.03;
    animation: floatParticle 20s infinite ease-in-out;
}


/* Tool Cards with Micro-Interactions */
.tool-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.25rem 1.75rem;
    text-decoration: none !important;
    color: var(--text-color) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
    /* MCD 4D animations settings */
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease;
    will-change: transform, box-shadow;
}
.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    opacity: 0;
    transition: var(--transition);
}
.tool-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(225, 29, 72, 0.15);
}
.tool-card:hover::before {
    opacity: 1;
}
.tool-icon-wrapper {
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.05);
    /* 3D Depth Layering */
    transform: translateZ(25px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.tool-card:hover .tool-icon-wrapper {
    background-color: var(--primary-color);
    color: #FFFFFF;
    transform: translateZ(35px) scale(1.1) rotate(6deg);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
}
.tool-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    transition: var(--transition);
    transform: translateZ(15px);
}
.tool-card:hover h3 {
    color: var(--primary-color);
}
.tool-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    transform: translateZ(10px);
}

/* Custom Premium Buttons */
.btn-primary-red {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 0.875rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}
.btn-primary-red:hover, .btn-primary-red:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
    color: #FFFFFF;
}
.btn-primary-red:active {
    transform: translateY(0);
}

/* Upload Box / Drag & Drop Area */
.upload-container {
    max-width: 700px;
    margin: 0 auto;
}
.upload-box {
    border: 3px dashed var(--border-color);
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    padding: 4.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}
.upload-box:hover, .upload-box.highlight {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
    box-shadow: 0 0 0 4px var(--glow-color);
}
.upload-box i.display-1, .upload-box i.display-2 {
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
    animation: iconBounce 3s infinite ease-in-out;
}
.upload-box:hover i.display-1, .upload-box:hover i.display-2 {
    transform: scale(1.1) translateY(-5px);
}

/* File Previews */
.file-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.file-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}
.file-item:hover {
    border-color: var(--primary-color);
}
.file-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.file-item-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.file-item-name {
    font-weight: 500;
}
.file-item-size {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.remove-file-btn {
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.25rem;
    padding: 0;
}
.remove-file-btn:hover {
    color: var(--primary-color);
}

/* Progress Area */
.progress-container {
    max-width: 450px;
    margin: 2rem auto 0 auto;
}
.progress {
    height: 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--border-color);
    overflow: hidden;
}
.progress-bar {
    background-color: var(--primary-color);
    background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
}

/* Tool Settings Panel */
.tool-options {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

/* Footer styling */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    transition: var(--transition);
}
footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
footer a:hover {
    color: var(--primary-color);
}

/* Admin Dashboard layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 260px;
    background-color: #1E293B;
    color: #F8FAFC;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.admin-sidebar .nav-link {
    color: #94A3B8 !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    color: #FFFFFF !important;
    background-color: #334155;
}
.admin-content {
    flex-grow: 1;
    background-color: var(--bg-color);
    padding: 2rem;
    transition: var(--transition);
}
.admin-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

/* Dark mode switch */
.theme-switch {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: none;
}

/* Card overrides */
.card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 1rem !important;
}

/* Micro-animations (MCD Animations) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

@keyframes rotateLogo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatParticle {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-30px) translateX(15px) rotate(180deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* 4D/MCD Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.34, 1.56, 0.64, 1), transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.scroll-reveal.reveal-left {
    transform: translateX(-80px) scale(0.9) rotate(-3deg);
}

.scroll-reveal.reveal-right {
    transform: translateX(80px) scale(0.9) rotate(3deg);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1) rotate(0deg);
}

/* Premium Glassmorphic App Promotion Modal CSS */
.app-promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.70) 0%, rgba(15, 23, 42, 0.88) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.app-promo-modal-container {
    position: relative;
    width: 900px;
    max-width: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.app-promo-modal-card {
    position: relative;
    width: 820px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: scale(0.85) translateY(30px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    opacity: 0;
    z-index: 10;
}

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

.app-promo-modal-overlay.slide-out .app-promo-modal-card {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.btn-close-modal:hover {
    background: rgba(225, 29, 72, 0.1);
    color: #E11D48;
    transform: rotate(90deg) scale(1.05);
}

.app-promo-icon-squircle {
    width: 120px;
    height: 120px;
    border-radius: 32px;
    background: linear-gradient(135deg, #60A5FA, #1D4ED8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(29, 78, 216, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.app-promo-icon-squircle:hover {
    transform: scale(1.05);
}

.app-promo-large-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.app-promo-large-placeholder-svg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.squircle-gloss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
    border-radius: 32px 32px 0 0;
    pointer-events: none;
}

.app-promo-main-title {
    color: #0F172A;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.app-promo-tagline {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.border-end-desktop {
    border-right: 1px dashed rgba(15, 23, 42, 0.12);
}

.text-blue-gradient {
    background: linear-gradient(135deg, #1D4ED8, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.blue-divider {
    height: 4px;
    width: 55px;
    background: linear-gradient(90deg, #3B82F6, #1D4ED8);
    border-radius: 4px;
}

.app-promo-body-text {
    line-height: 1.6;
    font-size: 0.98rem;
}

/* Concentric Background Rings/Ripples */
.promo-bg-rings {
    position: absolute;
    top: -150px;
    left: -150px;
    right: -150px;
    bottom: -150px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-bg-rings svg {
    width: 110%;
    height: 110%;
    animation: spin-slow 75s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Decorative Floating 3D Hexagon */
.promo-3d-hexagon-wrapper {
    position: absolute;
    top: -35px;
    right: 40px;
    width: 75px;
    height: 75px;
    z-index: 12;
    pointer-events: none;
    filter: drop-shadow(0 15px 25px rgba(29, 78, 216, 0.3));
}

.promo-3d-hexagon {
    width: 100%;
    height: 100%;
}

/* Decorative Floating 3D Arrow */
.promo-3d-arrow-wrapper {
    position: absolute;
    bottom: 110px;
    right: -60px;
    width: 95px;
    height: 95px;
    z-index: 12;
    pointer-events: none;
    filter: drop-shadow(0 15px 20px rgba(59, 130, 246, 0.25));
}

.promo-3d-arrow {
    width: 100%;
    height: 100%;
}

/* Decorative Floating Tilted Chart Card */
.promo-3d-chart-card {
    position: absolute;
    bottom: -35px;
    right: -15px;
    width: 220px;
    z-index: 15;
    pointer-events: none;
    transform: rotateY(-18deg) rotateX(12deg) rotateZ(-6deg) translateZ(50px);
    transform-style: preserve-3d;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.18));
    transition: transform 0.4s ease;
}

.promo-3d-chart-card:hover {
    transform: rotateY(-12deg) rotateX(8deg) rotateZ(-4deg) translateZ(70px);
}

.chart-card-glass {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pie-chart-wrapper {
    width: 44px;
    height: 44px;
}

.circular-chart {
    display: block;
    width: 100%;
    height: 100%;
}

.circle-bg {
    stroke: rgba(148, 163, 184, 0.2);
}

.circle {
    stroke: #3B82F6;
}

.chart-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.chart-title-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.chart-line-short {
    height: 5px;
    width: 35px;
    background: rgba(59, 130, 246, 0.4);
    border-radius: 3px;
}

.chart-line-long {
    height: 5px;
    width: 70px;
    background: rgba(148, 163, 184, 0.25);
    border-radius: 3px;
}

.chart-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chart-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.item-dot.blue { background: #3B82F6; }
.item-dot.cyan { background: #06B6D4; }
.item-dot.gray { background: #94A3B8; }

.item-line {
    height: 5px;
    flex-grow: 1;
    background: rgba(148, 163, 184, 0.18);
    border-radius: 2px;
}

/* Animations */
.float-animation {
    animation: promo-float 6s ease-in-out infinite;
}

.float-animation-delayed {
    animation: promo-float 6s ease-in-out infinite;
    animation-delay: 2.2s;
}

@keyframes promo-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Horizontal Features List Styles */
.promo-features-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
}

.feature-item-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.feature-icon-wrapper-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    color: #3B82F6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.04);
    transition: all 0.3s ease;
}

.feature-item-col:hover .feature-icon-wrapper-circle {
    background: #3B82F6;
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.22);
}

.feature-svg-icon {
    width: 18px;
    height: 18px;
}

.feature-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.feature-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #1E293B;
}

.feature-sub {
    font-size: 0.76rem;
    font-weight: 700;
    color: #1E293B;
}

/* Play Store Badge Premium */
.play-store-badge-btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.play-store-badge-btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
    background: #0A0A0A;
}

.play-store-badge-btn-premium:active {
    transform: translateY(0);
}

.play-store-logo-svg {
    width: 22px;
    height: 24px;
}

.badge-text-wrapper-premium {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.badge-sub-text-premium {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #94A3B8;
}

.badge-main-text-premium {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* Strict Height Boundary & Responsiveness Controls */
@media (max-height: 820px) {
    .app-promo-modal-card {
        max-height: 90vh;
        overflow-y: auto;
        padding: 30px;
    }
    .app-promo-modal-card::-webkit-scrollbar {
        width: 6px;
    }
    .app-promo-modal-card::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    .app-promo-modal-card::-webkit-scrollbar-thumb {
        background: rgba(59, 130, 246, 0.3);
        border-radius: 10px;
    }
    .app-promo-modal-card::-webkit-scrollbar-thumb:hover {
        background: rgba(59, 130, 246, 0.5);
    }
}

/* Responsive adjustments for Mobile & Tablet */
@media (max-width: 767.98px) {
    .border-end-desktop {
        border-right: none !important;
        border-bottom: 1px dashed rgba(15, 23, 42, 0.12);
        padding-bottom: 24px;
        margin-bottom: 16px;
    }
    
    .app-promo-modal-container {
        width: 100%;
        max-width: 90%;
    }
    
    .app-promo-modal-card {
        padding: 30px 20px;
        max-height: 85vh;
        overflow-y: auto;
        border-radius: 20px;
    }
    
    /* Hide floating decorative elements on mobile */
    .promo-bg-rings,
    .promo-3d-hexagon-wrapper,
    .promo-3d-arrow-wrapper,
    .promo-3d-chart-card {
        display: none !important;
    }
    
    .app-promo-heading {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .blue-divider {
        margin: 0 auto 12px auto;
    }
    
    .app-promo-body-text {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .promo-features-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 8px;
    }
    
    .feature-item-col {
        flex: 0 0 45%;
    }
    
    .play-store-badge-btn-premium {
        margin: 0 auto;
    }
}

/* Mobile Optimization Tweaks */
@media (max-width: 576px) {
    .upload-box {
        padding: 2.5rem 1rem !important;
    }
    .upload-box i.display-1, .upload-box i.display-2 {
        font-size: 3rem !important;
    }
    .card {
        padding: 1.25rem !important;
    }
    .display-5 {
        font-size: 2rem !important;
    }
    .lead {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.15rem !important;
    }
    .navbar-brand svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
    .tool-card {
        padding: 1.5rem 1rem !important;
    }
    .tool-icon-wrapper {
        width: 3.5rem !important;
        height: 3.5rem !important;
        margin-bottom: 1rem !important;
    }
    .tool-icon-wrapper i {
        font-size: 1.5rem !important;
    }
}

/* ==========================================
   MCD 4D Scroll Reveal System (Progressive Enhancement)
   ========================================== */
.js-enabled .mcd-reveal {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal-slide-up {
    transform: translate3d(0, 40px, 0);
}

.js-enabled .reveal-slide-down {
    transform: translate3d(0, -40px, 0);
}

.js-enabled .reveal-slide-left {
    transform: translate3d(40px, 0, 0);
}

.js-enabled .reveal-slide-right {
    transform: translate3d(-40px, 0, 0);
}

.js-enabled .reveal-zoom-in {
    transform: scale3d(0.94, 0.94, 0.94);
}

.js-enabled .reveal-zoom-out {
    transform: scale3d(1.06, 1.06, 1.06);
}

.js-enabled .reveal-fade-in {
    transform: none;
}

/* Triggered State when scrolled into view */
.js-enabled .mcd-reveal.mcd-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

/* ==========================================================
   Comprehensive Dark Mode Fixes & Overrides (Global for all)
   ========================================================== */
body.dark {
    background-color: #090d16 !important;
}

/* Page Background Wrapper Fix */
body.dark .bg-\[\#F8FAFC\] {
    background-color: #090d16 !important;
}

/* Form Controls (Select, Input, Textarea, Options) */
body.dark select,
body.dark input[type="text"],
body.dark input[type="email"],
body.dark input[type="number"],
body.dark input[type="password"],
body.dark textarea {
    background-color: rgba(15, 23, 42, 0.6) !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark select:focus,
body.dark input[type="text"]:focus,
body.dark input[type="email"]:focus,
body.dark input[type="number"]:focus,
body.dark input[type="password"]:focus,
body.dark textarea:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
    background-color: rgba(15, 23, 42, 0.8) !important;
}

body.dark select option {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
}

body.dark input::placeholder,
body.dark textarea::placeholder {
    color: #64748b !important;
}

/* Checkbox and Radio styling in dark mode */
body.dark input[type="checkbox"],
body.dark input[type="radio"] {
    accent-color: #3b82f6 !important;
}

/* Range Slider styling in dark mode */
body.dark input[type="range"] {
    accent-color: #3b82f6 !important;
}
body.dark .bg-slate-200 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Alerts, Badges and Progress Bar */
body.dark .bg-red-50 {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

body.dark .bg-green-100 {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #a7f3d0 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

body.dark .border-green-400 {
    border-color: rgba(16, 185, 129, 0.4) !important;
}

body.dark .text-green-500,
body.dark .text-green-700 {
    color: #34d399 !important;
}

body.dark .bg-green-100.rounded-full {
    background-color: rgba(16, 185, 129, 0.2) !important;
}

body.dark #progressBar.bg-rose-500 {
    background-color: #3b82f6 !important;
    background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent) !important;
}

body.dark .bg-gray-200 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark .text-gray-600 {
    color: #94a3b8 !important;
}

/* Drag-Drop Zone Highlighting in Dark Mode */
body.dark #dropZone.bg-rose-100\/60 {
    background-color: rgba(59, 130, 246, 0.15) !important;
}
body.dark #dropZone.border-rose-400 {
    border-color: #3b82f6 !important;
}

/* Upload zone page icon box */
body.dark #dropZone .bg-white {
    background-color: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Global Gray Text & Border Mappings for Dark Mode */
body.dark .text-gray-900 {
    color: #f1f5f9 !important;
}

body.dark .text-gray-700,
body.dark .text-gray-600,
body.dark .text-gray-500,
body.dark .text-gray-400 {
    color: #94a3b8 !important;
}

body.dark .border-gray-100,
body.dark .border-gray-200 {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* App Promotion Modal Dark Mode Overrides */
body.dark .app-promo-modal-card {
    background: rgba(11, 15, 25, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.dark .app-promo-main-title {
    color: #f1f5f9 !important;
}

body.dark .chart-card-glass {
    background: rgba(17, 24, 39, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.dark .feature-title,
body.dark .feature-sub {
    color: #e2e8f0 !important;
}

body.dark .border-end-desktop {
    border-right-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark .app-promo-body-text {
    color: #94a3b8 !important;
}

body.dark .btn-close-modal {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}
body.dark .btn-close-modal:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
}

/* Mobile responsive app promo adjustments */
@media (max-width: 767.98px) {
    body.dark .border-end-desktop {
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }
}

/* Card Icons Accent Colors in Dark Mode */
body.dark .bg-rose-50,
body.dark .bg-rose-50\/70,
body.dark .bg-rose-100\/60,
body.dark .bg-emerald-50,
body.dark .bg-emerald-50\/80,
body.dark .bg-emerald-100\/60,
body.dark .bg-blue-50,
body.dark .bg-blue-50\/60,
body.dark .bg-blue-100\/60,
body.dark .bg-indigo-50,
body.dark .bg-indigo-100\/60,
body.dark .bg-purple-50,
body.dark .bg-purple-100\/60,
body.dark .bg-orange-50,
body.dark .bg-orange-50\/80,
body.dark .bg-orange-100\/60,
body.dark .bg-teal-50,
body.dark .bg-slate-100 {
    background-color: rgba(59, 130, 246, 0.1) !important;
}

body.dark .text-rose-500,
body.dark .text-rose-400,
body.dark .text-rose-500\/90,
body.dark .text-rose-600,
body.dark .text-emerald-500,
body.dark .text-emerald-600,
body.dark .text-emerald-700,
body.dark .text-blue-500,
body.dark .text-blue-600,
body.dark .text-blue-500\/80,
body.dark .text-indigo-500,
body.dark .text-indigo-600,
body.dark .text-purple-500,
body.dark .text-purple-600,
body.dark .text-purple-500\/90,
body.dark .text-orange-500,
body.dark .text-orange-600,
body.dark .text-orange-500\/80,
body.dark .text-orange-700,
body.dark .text-teal-600,
body.dark .text-slate-700 {
    color: #60a5fa !important;
}



