/* ===================================================================
   MODAL App Design System & Tokens
   Matching Modal App Main UI Theme & modal_db styling
   Primary Color: #4682B4 (Steel Blue)
   Scaffold Background: #F5F5F5
   =================================================================== */

:root {
    --primary: #4682B4;
    /* Modal App Steel Blue */
    --primary-hover: #36648B;
    /* Darker Steel Blue */
    --primary-light: #EBF3F9;
    /* Light primary tint */
    --primary-border: #BCD5E6;
    /* Subtle primary border */
    --text-dark: #1E293B;
    /* Slate dark */
    --text-muted: #64748B;
    /* Slate muted */
    --text-subtle: #94A3B8;
    /* Subtle secondary */
    --bg-page: #F5F5F5;
    /* Modal App Scaffold Background */
    --bg-card: #FFFFFF;
    /* Pure white card */
    --border-color: #E2E8F0;
    /* Card border */
    --border-subtle: #F1F5F9;
    --radius-lg: 14px;
    /* Modal App standard radius */
    --radius-md: 10px;
    --radius-sm: 6px;
    --radius-pill: 9999px;
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.04);
    --shadow-elevated: 0 4px 20px rgba(70, 130, 180, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

html,
body,
a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

html {
    min-width: 320px;
    min-height: 100%;
}

html,
body {
    height: 100%;
    min-width: 320px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    min-width: 320px;
    width: 100%;
}

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

/* ===================================================================
   Top Sticky Brand Navigation Bar (Exact bar UI as in screenshot)
   =================================================================== */
.top-navbar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.navbar-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Section (Logo + MODAL + BY KRAMANK) */
.brand-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    gap: 10px;
    transition: opacity 0.15s ease;
}

.brand-logo:hover {
    opacity: 0.9;
}

.brand-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.brand-icon-box .brand-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text {
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.5px;
    line-height: 1;
    color: var(--primary);
}

.brand-badge {
    margin-left: 0;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

/* Navigation Links (Home, Features, Pricing, Download, Contact, Privacy, Terms) */
.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 22px;
}

.nav-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 2px;
    position: relative;
    transition: color 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

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

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
}


/* Download App CTA Button (Solid Steel Blue with Tray Icon) */
.btn-download-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: #FFFFFF !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(70, 130, 180, 0.2);
}

.btn-download-app:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-download-app:active {
    transform: translateY(0);
}

.btn-download-app svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

/* Mobile Hamburger Menu Button */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-toggle svg {
    display: block;
}

/* ===================================================================
   Mobile App Drawer (Right to Left Slide) & Overlay
   =================================================================== */
.drawer-overlay {
    display: none;
}

.mobile-drawer {
    display: none;
}

@media (max-width: 900px) {
    .drawer-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 1050;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

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

    .mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 290px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: #FFFFFF;
        z-index: 1100;
        box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        border-bottom: 1px solid var(--border-color);
        flex-shrink: 0;
        background: #FFFFFF;
    }

    .drawer-close-btn {
        background: none;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        padding: 6px;
        color: var(--text-dark);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s ease, color 0.15s ease;
    }

    .drawer-close-btn:hover {
        background: #F1F5F9;
        color: var(--primary);
    }

    .drawer-body {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 14px 16px 20px 16px;
    }

    .drawer-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin: 0;
        padding: 0;
    }

    .drawer-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 14px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        color: #334155;
        text-decoration: none;
        transition: all 0.15s ease;
    }

    .drawer-link svg {
        color: #64748B;
        flex-shrink: 0;
        transition: color 0.15s ease;
    }

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

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

    .drawer-link.active {
        background: var(--primary-light);
        color: var(--primary);
        font-weight: 600;
    }

    .drawer-link.active svg {
        color: var(--primary);
    }

    .drawer-divider {
        height: 1px;
        background-color: #E2E8F0;
        margin: 12px 0 14px 0;
        width: 100%;
    }

    .drawer-cta-section {
        width: 100%;
    }
}

/* ===================================================================
   Main Content Layout & Cards
   =================================================================== */
.page-wrapper {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 20px auto 40px auto;
    padding: 0 16px;
}

/* Card Style (Modal App clean card) */
.modal-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    padding: 32px;
    margin-bottom: 24px;
}

/* Pill Badge */
.pill-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

/* Header Headings */
.page-header-center {
    text-align: center;
    margin-bottom: 30px;
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.7px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.page-subtitle {
    font-size: 15.5px;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}



.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    transition: background-color 0.15s ease;
}

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

.btn-secondary {
    background-color: #FFFFFF;
    color: var(--text-dark) !important;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}

.btn-secondary:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
}

/* ===================================================================
   Home App Preview / Screenshots Slider
   =================================================================== */
.preview-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 24px;
    margin-bottom: 24px;
}

@media (max-width: 680px) {
    .preview-card {
        padding: 18px 14px;
    }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.preview-header-text {
    min-width: 0;
    flex: 1;
}

.preview-nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    flex-shrink: 0;
}

.slider-btn:hover:not(:disabled) {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-border);
}

.slider-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.slider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Modern Centered Carousel Stage */
.preview-stage-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 24px 0 16px 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    outline: none;
}

.preview-stage-track {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: max-content;
    padding: 0;
}

/* Instant boundary swap without blink */
.preview-stage-track.no-transition,
.preview-stage-track.no-transition .preview-slide,
.preview-stage-track.no-transition .preview-frame,
.preview-stage-track.no-transition .preview-title {
    transition: none !important;
}

/* Slide Cards */
.preview-slide {
    flex: 0 0 auto;
    width: 220px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    contain: layout style;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (max-width: 600px) {
    .preview-slide {
        width: 175px;
    }

    .preview-stage-track {
        gap: 14px;
    }

    /* Mobile-optimized blur for smooth 60/120Hz GPU rasterization */
    .preview-slide.side-slide {
        transform: scale(0.88);
        filter: blur(3.5px) brightness(0.96);
        opacity: 0.55;
    }
}

/* Center / Focused Active Slide */
.preview-slide.active {
    transform: scale(1.05);
    filter: blur(0px) brightness(1);
    opacity: 1;
    z-index: 10;
}

.preview-slide.active .preview-frame {
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(70, 130, 180, 0.24);
}

/* Side Slides (Left & Right) - Blurred & Scaled Down */
.preview-slide.side-slide {
    transform: scale(0.86);
    filter: blur(5px) brightness(0.95);
    opacity: 0.52;
    z-index: 2;
}

.preview-slide.side-slide:hover {
    opacity: 0.75;
    filter: blur(2.5px) brightness(0.98);
    transform: scale(0.89);
}

.preview-frame {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.preview-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 20;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Slide Captions / Names (Word by Word Capitalized) */
.preview-caption {
    margin-top: 12px;
    text-align: center;
    width: 100%;
    padding: 0 4px;
}

.preview-title {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.2px;
    line-height: 1.35;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    word-break: break-word;
}

.preview-slide.active .preview-title {
    color: var(--primary);
    font-weight: 700;
    transform: scale(1.04);
}

.preview-slide.side-slide .preview-title {
    color: #64748B;
    opacity: 0.7;
}

/* Floating Stage Navigation Buttons */
.stage-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #E2E8F0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 0;
}

.stage-nav-btn:hover {
    background: #FFFFFF;
    color: var(--primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(70, 130, 180, 0.28);
    border-color: var(--primary-border);
}

.stage-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.stage-nav-btn.prev {
    left: 12px;
}

.stage-nav-btn.next {
    right: 12px;
}

@media (max-width: 600px) {
    .stage-nav-btn {
        width: 38px;
        height: 38px;
    }

    .stage-nav-btn.prev {
        left: 6px;
    }

    .stage-nav-btn.next {
        right: 6px;
    }
}

/* Pagination Dots */
.preview-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding-bottom: 4px;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #CBD5E1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pagination-dot:hover {
    background: #94A3B8;
}

.pagination-dot.active {
    width: 26px;
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(70, 130, 180, 0.35);
}

/* Lightbox Modal */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: zoom-out;
}

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

.preview-modal-content {
    position: relative;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.preview-modal-img {
    max-height: 86vh;
    max-width: 90vw;
    border-radius: 14px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    object-fit: contain;
    cursor: default;
    transition: transform 0.2s ease;
}

.preview-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.15s ease;
    z-index: 10;
}

.preview-modal-nav:hover {
    background: #FFFFFF;
    color: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.preview-modal-nav.prev {
    left: 20px;
}

.preview-modal-nav.next {
    right: 20px;
}

@media (max-width: 600px) {
    .preview-modal-nav.prev {
        left: 8px;
        width: 38px;
        height: 38px;
    }

    .preview-modal-nav.next {
        right: 8px;
        width: 38px;
        height: 38px;
    }

    .preview-modal-close {
        top: 10px;
        right: 10px;
    }
}

/* ===================================================================
   Feature Slider Sections (Core, Advanced, Utility)
   =================================================================== */
.feature-slider-section {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 680px) {
    .feature-slider-section {
        padding: 18px 14px;
        margin-bottom: 18px;
    }
}

.feature-slider-wrapper {
    position: relative;
    width: 100%;
}

.feature-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 14px 2px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.feature-slider-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.feature-slider-track::-webkit-scrollbar {
    height: 6px;
}

.feature-slider-track::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 3px;
}

.feature-slider-track::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.feature-slider-track::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.feature-slide-card {
    scroll-snap-align: start;
    flex: 0 0 320px;
    max-width: 340px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    user-select: none;
}

.feature-slide-card:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(70, 130, 180, 0.08);
}

@media (max-width: 680px) {
    .feature-slide-card {
        flex: 0 0 270px;
        max-width: 280px;
        padding: 16px 14px;
        gap: 4px;
    }
}

.feature-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
    margin: 0;
}

.feature-card-subtitle {
    font-size: 12.5px;
    font-weight: 500;
    color: #94A3B8;
    line-height: 1.4;
    margin: 0;
}

.feature-card-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin: 6px 0 0 0;
}

/* Legacy features styles fallback */
.features-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 24px;
    margin-bottom: 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.feature-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-item:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(70, 130, 180, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.feature-item-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    line-height: 1.3;
}

.feature-item-desc {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    margin: 6px 0 0 0;
}



/* ===================================================================
   Footer (Matching modal_db styling)
   =================================================================== */
.page-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    padding: 24px 20px;
    text-align: center;
    color: var(--text-subtle);
    font-size: 13px;
    margin-top: auto;
}

.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 8px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ===================================================================
   Company Information Card & Grid (Matching Flutter App legal_document_viewer.dart)
   =================================================================== */
.company-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 22px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 680px) {
    .company-card {
        padding: 18px 16px;
    }
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.card-header-row>div:last-child {
    min-width: 0;
    flex: 1;
}

.card-header-icon {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(70, 130, 180, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-header-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.card-header-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    margin: 0 0 3px 0;
}

.card-header-desc {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
    line-height: 1.4;
    word-break: break-word;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 36px;
    width: 100%;
}

@media (max-width: 680px) {
    .company-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.info-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-cell.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin: 0;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    line-height: 1.4;
    word-break: break-word;
}

.info-value .phone-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.info-value .phone-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.info-value .website-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}

.info-value .website-link:hover {
    color: var(--primary-hover);
}

.info-value .open-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
}

/* ===================================================================
   LOWER SECTION: Legal Document Card (Matching Flutter App)
   =================================================================== */
.document-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 20px 18px;
    margin-bottom: 24px;
}

@media (max-width: 680px) {
    .document-card {
        padding: 18px 16px;
    }
}

.doc-header {
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.doc-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.doc-header-row>div:last-child {
    min-width: 0;
    flex: 1;
}

.doc-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    margin: 0 0 2px 0;
}

.doc-subtitle {
    font-size: 12px;
    color: #64748B;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

.meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
}

.meta-pill svg {
    flex-shrink: 0;
}

.meta-pill.published-pill {
    background: rgba(70, 130, 180, 0.08);
    border: 1px solid rgba(70, 130, 180, 0.2);
    color: var(--primary);
}

.meta-pill.published-pill svg {
    color: var(--primary);
}

.meta-pill.effective-pill,
.meta-pill.version-pill {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #1E293B;
}

.meta-pill.effective-pill svg,
.meta-pill.version-pill svg {
    color: #475569;
}

/* Document Body (Matching Flutter App MarkdownStyleSheet) */
.content-body {
    color: #334155;
    font-size: 14.5px;
    line-height: 1.65;
}

.content-body h1 {
    display: none;
}

.content-body h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.5;
    margin: 20px 0 10px 0;
    padding-bottom: 0;
    border-bottom: none;
}

.content-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.4;
    margin: 16px 0 8px 0;
}

.content-body p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
    margin: 0 0 14px 0;
}

.content-body ul,
.content-body ol {
    margin: 8px 0 14px 22px;
    padding-left: 0;
}

.content-body li {
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 6px;
}

.content-body strong {
    color: #0F172A;
    font-weight: 600;
}

.content-body a {
    color: var(--primary);
    text-decoration: underline;
}

.content-body a:hover {
    color: var(--primary-hover);
}

.content-body blockquote {
    background: #F8FAFC;
    border-left: 3px solid var(--primary);
    padding: 10px 14px;
    margin: 14px 0;
    color: #334155;
    border-radius: 0 6px 6px 0;
}

.content-body hr {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin: 16px 0;
}

/* Tables (Matching Flutter App TableBorder & cellsPadding) */
.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
}

.content-body th {
    background: #F8FAFC;
    font-weight: 700;
    color: #0F172A;
    text-align: left;
    padding: 8px 10px;
    border: 1px solid #CBD5E1;
    font-size: 13.5px;
}

.content-body td {
    padding: 8px 10px;
    border: 1px solid #CBD5E1;
    font-size: 13px;
    color: #334155;
}

.content-body tr:last-child td {
    border-bottom: 1px solid #CBD5E1;
}

/* Legal Footer Note */
.doc-footer-note {
    text-align: center;
    font-size: 12px;
    color: #94A3B8;
    line-height: 1.5;
    margin: 24px 0 10px 0;
}

/* ===================================================================
   Pricing Page Styling (Clean, Minimal, Modern)
   =================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin: 10px 0 28px 0;
    align-items: stretch;
}

@media (max-width: 860px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 10px auto 28px auto;
    }

    /* Descending order on mobile: 1 Year (top), 6 Months (middle), 1 Month (bottom) */
    .pricing-grid .plan-1y {
        order: 1;
    }

    .pricing-grid .plan-6m {
        order: 2;
    }

    .pricing-grid .plan-1m {
        order: 3;
    }
}

/* Subscription Renewal Plans: Descending order on desktop (1 Year, 6 Months, 1 Month) */
.renewal-plans-grid .plan-1y {
    order: 1;
}

.renewal-plans-grid .plan-6m {
    order: 2;
}

.renewal-plans-grid .plan-1m {
    order: 3;
}

.pricing-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 22px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 16px rgba(70, 130, 180, 0.1);
}

.popular-ribbon {
    position: absolute;
    top: -10px;
    right: 18px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 20px;
}

.pricing-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    min-height: 22px;
}

.plan-name {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    line-height: 1.2;
}

.plan-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2.5px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.plan-badge.one-time {
    background: rgba(70, 130, 180, 0.08);
    color: var(--primary);
    border: 1px solid rgba(70, 130, 180, 0.2);
}

.pricing-price-box {
    margin: 0 0 16px 0;
}

.price-original-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.base-price {
    font-size: 12.5px;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 500;
}

.discount-pill {
    font-size: 10px;
    font-weight: 700;
    color: #16A34A;
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    padding: 1.5px 6px;
    border-radius: 8px;
}

.discount-pill.highlight {
    color: #16A34A;
    background: #F0FDF4;
    border-color: #BBF7D0;
    font-weight: 700;
}

.price-current-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-current-row .currency {
    font-size: 16.5px;
    font-weight: 700;
    color: #0F172A;
}

.price-current-row .amount {
    font-size: 24px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.3px;
    line-height: 1;
}

.price-current-row .period {
    font-size: 12px;
    color: #64748B;
    font-weight: 500;
    margin-left: 5px;
}

.plan-note {
    font-size: 11.5px;
    color: #64748B;
    line-height: 1.4;
    margin-bottom: 18px;
    flex-grow: 1;
}

.btn-plan {
    width: 100%;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-block;
    cursor: pointer;
    font-family: inherit;
    line-height: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    outline: none !important;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.btn-plan:hover,
.btn-plan:active,
.btn-plan:focus,
.btn-plan:focus-visible {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    outline: none !important;
}

.btn-plan:active {
    transform: scale(0.98);
}

.btn-primary-plan {
    background-color: var(--primary);
    color: #FFFFFF !important;
    border: 1px solid var(--primary);
}

.btn-primary-plan:hover,
.btn-primary-plan:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-secondary-plan {
    background-color: #FFFFFF;
    color: #0F172A !important;
    border: 1px solid #CBD5E1;
}

.btn-secondary-plan:hover,
.btn-secondary-plan:focus {
    background-color: #F8FAFC;
    border-color: #94A3B8;
}

.btn-secondary-plan:active {
    background-color: #F1F5F9;
}

.pricing-footer-hint {
    text-align: center;
    font-size: 13.5px;
    color: #64748B;
    margin: 8px 0 20px 0;
}

.pricing-footer-hint a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    transition: color 0.15s ease;
}

.pricing-footer-hint a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* ===================================================================
   Renewal Page Custom Styling
   =================================================================== */
.renewal-search-card,
.not-found-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 24px;
    width: 100%;
    max-width: 380px;
    margin: 16px auto 20px auto;
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.renewal-search-card:hover,
.not-found-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.search-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.search-card-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.search-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    line-height: 1.2;
}

.search-card-subtitle {
    font-size: 13px;
    color: #64748B;
    margin: 6px 0 0 0;
    line-height: 1.4;
    text-align: left;
}

.search-card-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(70, 130, 180, 0.08);
    color: var(--primary);
    border: 1px solid rgba(70, 130, 180, 0.2);
    white-space: nowrap;
}

.search-card-body {
    margin-bottom: 20px;
}

.renewal-search-form {
    width: 100%;
    margin: 0;
}

.search-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

@media (max-width: 540px) {
    .search-input-group {
        flex-direction: column;
    }
}

.search-input {
    width: 100%;
    height: 44px;
    max-height: 44px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.search-input:focus {
    border-color: var(--primary);
    background: #FFFFFF;
}

.search-btn {
    height: 44px;
    padding: 0 20px;
    white-space: nowrap;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 540px) {
    .search-btn {
        width: 100%;
        justify-content: center;
    }
}

.search-hint {
    font-size: 12.5px;
    color: #64748B;
    margin-top: 16px;
    line-height: 1.5;
}

.search-hint a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.search-card-footer-note {
    margin-top: 18px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.search-card-footer-note svg {
    color: var(--primary);
}

.search-card-footer-note strong {
    color: #0F172A;
}

.search-card-footer-note a,
.search-card-footer-note .note-inline-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.search-card-footer-note a:hover,
.search-card-footer-note .note-inline-link:hover {
    color: #1D4ED8;
    text-decoration: none;
}

.change-code-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-block;
}

.change-code-btn:hover {
    background: var(--primary);
    color: #FFFFFF !important;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 12px;
    line-height: 1.2;
}

.status-active {
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.status-expired,
.status-suspended {
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.type-pill {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 6px;
}

.code-pill {
    font-family: monospace;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 1px;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    padding: 2px 8px;
    border-radius: 6px;
    color: #0F172A;
}

/* Payment Success Modal */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.payment-modal-card {
    position: relative;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 100%;
    padding: 28px 24px;
    text-align: center;
    box-sizing: border-box;
    animation: fadeIn 0.2s ease;
}

.modal-close-cross-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
    padding: 0;
    z-index: 10;
}

.modal-close-cross-btn:hover {
    background-color: #F1F5F9;
    color: #334155;
}

.modal-close-cross-btn:active {
    background-color: #E2E8F0;
    transform: scale(0.95);
}

.success-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.success-modal-title {
    font-size: 19px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 4px 0;
}

.success-modal-sub {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 16px 0;
}

.success-details-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px 14px;
    text-align: left;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.success-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
}

.success-detail-row strong {
    color: #0F172A;
}

.success-note-box {
    margin-top: 14px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

.success-note-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.success-note-text p {
    margin: 0;
    line-height: 1.45;
}

.success-note-text .note-en {
    font-size: 12.5px;
    color: #1E40AF;
}

.success-note-text .note-hi {
    font-size: 12px;
    color: #1E3A8A;
}

.success-note-box strong {
    color: #1D4ED8;
    font-weight: 700;
}

.success-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.btn-done {
    width: 100%;
    height: 42px;
    background: #E2E8F0;
    color: #475569;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-done:hover {
    background: #CBD5E1;
    color: #1E293B;
}

.btn-elevated-invoice {
    width: 100%;
    height: 42px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-elevated-invoice svg {
    flex-shrink: 0;
}

.btn-elevated-invoice:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.btn-elevated-invoice:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

@media (max-width: 480px) {
    .payment-modal-overlay {
        padding: 12px;
    }

    .payment-modal-card {
        padding: 24px 14px;
    }

    .modal-close-cross-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }

    .success-modal-actions {
        gap: 8px;
    }

    .btn-done {
        height: 38px;
        padding: 0 8px;
        font-size: 12.5px;
    }

    .btn-elevated-invoice {
        height: 38px;
        padding: 0 6px;
        font-size: 12px;
        gap: 5px;
        white-space: nowrap;
    }

    .btn-elevated-invoice svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 350px) {

    .btn-done,
    .btn-elevated-invoice {
        font-size: 11.5px;
    }
}

/* Business Details Card on Renewal */
.business-info-card {
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 24px 28px;
    margin-bottom: 30px;
}

.business-info-card.two-plans {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 860px) {
    .business-info-card.two-plans {
        max-width: 440px;
    }
}

.business-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #F1F5F9;
    flex-wrap: wrap;
}

.business-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.business-title-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.business-name-heading {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    line-height: 1.3;
}

.business-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.business-address-sub {
    font-size: 13px;
    color: #64748B;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

.business-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 18px;
    width: 100%;
    align-items: center;
}

@media (max-width: 640px) {
    .business-info-card {
        padding: 18px 14px;
    }

    .business-details-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding-top: 14px;
    }

    .detail-label {
        font-size: 10.5px;
        letter-spacing: 0.4px;
        white-space: nowrap;
        text-align: center;
    }

    .detail-value {
        font-size: 13.5px;
        white-space: nowrap;
        text-align: center;
    }

    .status-pill {
        padding: 2.5px 8px;
        font-size: 11px;
    }
}

.business-detail-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.detail-label {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
    text-align: center;
}

.detail-value {
    font-size: 14.5px;
    font-weight: 600;
    color: #1E293B;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-value.highlight-date {
    color: var(--primary);
}

.renewal-section-header {
    text-align: center;
    margin-bottom: 22px;
}

.renewal-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.renewal-section-sub {
    font-size: 14px;
    color: #64748B;
}

.pricing-grid.two-plans {
    max-width: 700px;
    margin: 10px auto 28px auto;
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
    .pricing-grid.two-plans {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

.copy-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copy-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

.step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .nav-links-wrapper {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .page-title {
        font-size: 26px;
        font-weight: 900;
    }

    .navbar-container {
        padding: 12px 18px;
    }
}

/* ===================================================================
   Mobile-Only App Download Section (Home Page)
   Visible ONLY on Mobile/Tablet view (<= 900px), strictly hidden on Desktop
   =================================================================== */
.mobile-app-download-section {
    display: none !important;
}

@media (max-width: 900px) {
    .mobile-app-download-section {
        display: block !important;
        background: #FFFFFF;
        border-radius: 14px;
        border: 1px solid #E2E8F0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        padding: 20px 18px;
        margin-bottom: 24px;
    }

    .mobile-download-body {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .mobile-download-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14.5px;
        font-weight: 600;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(70, 130, 180, 0.2);
    }

    .mobile-download-btn svg {
        width: 18px;
        height: 18px;
        stroke-width: 2.2;
    }
}

@media (max-width: 480px) {
    .mobile-app-download-section {
        padding: 18px 14px;
    }

    .mobile-download-btn {
        padding: 11px 16px;
        font-size: 14px;
    }
}