/* ===== CSS Variables ===== */
:root {
    --primary-navy: #1e3a5f;
    --primary-navy-dark: #152d4a;
    --primary-navy-light: #2a4a70;
    --bg-gray: #f5f5f5;
    --card-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;
    --success-green: #22c55e;
    --error-red: #ef4444;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.16);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gray);
    color: var(--text-dark);
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== Screen Management ===== */
.screen {
    display: none;
    min-height: 100vh;
    min-height: 100dvh;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.screen.slide-out {
    opacity: 0;
    transform: translateX(-30px);
}

/* ===== Main Screen ===== */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    background: var(--bg-gray);
}

/* ===== Top Header ===== */
.top-header {
    width: 100%;
    padding: 16px;
    background: transparent;
    z-index: 10;
}

.header-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.digital-india-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.header-divider {
    width: 2px;
    height: 50px;
    background: var(--border-color);
}

.satyamev-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px 16px;
    z-index: 2;
}

.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-xl);
    padding: 32px 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.emblem {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.call-icon {
    width: 44px;
    height: 44px;
    color: var(--primary-navy);
}

.call-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.subtitle {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 24px;
}

/* ===== Input Groups ===== */
.input-group {
    margin-bottom: 12px;
}

.country-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 500;
}

.flag {
    font-size: 1.25rem;
}

.india-flag-img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
}

.country-code {
    color: var(--text-dark);
    font-weight: 600;
}

.phone-input-group {
    position: relative;
}

.phone-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    background: var(--card-bg);
    color: var(--text-dark);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.phone-input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.phone-input:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.phone-input.error {
    border-color: var(--error-red);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.phone-input.valid {
    border-color: var(--success-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.error-message {
    display: block;
    font-size: 0.75rem;
    color: var(--error-red);
    margin-top: 8px;
    min-height: 18px;
    text-align: left;
    padding-left: 4px;
}

/* ===== Primary Button ===== */
.primary-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--primary-navy);
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.2);
}

.primary-btn:hover:not(:disabled) {
    background: var(--primary-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.35);
}

.primary-btn:active:not(:disabled) {
    transform: translateY(-1px) scale(0.96);
    box-shadow: 0 3px 10px rgba(30, 58, 95, 0.25);
    opacity: 0.9;
}

.primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===== Privacy & Provider ===== */
.privacy-text {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.privacy-link {
    color: var(--text-gray);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.provider-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.provider-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.provider-icon:hover {
    transform: scale(1.1);
}

.premium-unlocked-image:hover {
    transform: scale(1.02);
}

/* ===== No Data Found Message (App Mode + Premium) ===== */
.no-data-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.no-data-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-data-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.no-data-message {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.tutorial-section {
    background: #f8f9fa;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-top: 24px;
}

.tutorial-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Upgrade Prompt (Basic/Standard Plans) ===== */
.upgrade-prompt-container {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.upgrade-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.upgrade-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.upgrade-message {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.upgrade-submessage {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(180deg, #2a4a7a 0%, #1c3356 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(28, 51, 86, 0.35);
    letter-spacing: 0.2px;
}

.upgrade-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(28, 51, 86, 0.45);
}

.upgrade-btn:active {
    transform: translateY(1px) scale(0.94) !important;
    box-shadow: 0 4px 10px rgba(28, 51, 86, 0.2) !important;
    opacity: 0.95;
    transition: transform 0.1s ease;
}

/* ===== Backed Badge ===== */
.backed-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: center;
}

/* ===== Page Loader Bar ===== */
#page-loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #1a4d94);
    z-index: 99999;
    transition: width 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.india-flag {
    font-size: 1.1rem;
}

.badge-icon {
    font-size: 1.25rem;
}

/* ===== Hero Section ===== */
.hero-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
}

.hero-background {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 280px;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.15;
}

.hero-image {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    max-height: 240px;
    object-fit: contain;
}

.loading-indicator {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 1;
    transition: opacity var(--transition-medium);
    z-index: 5;
    pointer-events: auto;
}

.loading-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== Loading Modal ===== */
.loading-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.loading-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-modal-content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.9));
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.loading-emblem-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}

.loading-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 2;
}

.loading-spinner-ring {
    position: absolute;
    inset: 0;
    border: 4px solid rgba(30, 58, 95, 0.15);
    border-top-color: var(--primary-navy);
    border-radius: 50%;
    animation: spinRing 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spinRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.loading-step {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    min-height: 1.4em;
    transition: opacity 0.2s ease;
}

.loading-progress {
    width: 100%;
    height: 6px;
    background: rgba(30, 58, 95, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.loading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-navy), #3a6ea5);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.loading-secure {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 500;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-navy);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

/* ===== Call History Screen ===== */
.history-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    background: var(--card-bg);
    overflow: hidden;
}

/* ===== Back Button ===== */
.back-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    margin-right: 0;
    border-radius: 50%;
}

.back-btn:hover {
    background-color: var(--bg-gray);
    color: var(--primary-navy);
}

.back-btn svg {
    width: 24px;
    height: 24px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--bg-gray);
    flex-shrink: 0;
}

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

.header-logo {
    height: 43px;
    width: auto;
    object-fit: contain;
    margin-right: 12px;
}

.header-text {
    flex: 1;
}

.history-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0;
    line-height: 1.2;
}

.display-number {
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-gray);
}

.search-btn {
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.search-btn:hover {
    background: var(--bg-gray);
}

/* ===== Filter Dropdown ===== */
.filter-dropdown {
    padding: 0 16px 16px;
}

.call-filter {
    width: 50%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.call-filter:focus {
    border-color: var(--primary-navy);
}

/* ===== Custom Select Dropdown ===== */
.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.select-trigger:hover {
    border-color: var(--primary-navy);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.1);
}

.custom-select.open .select-trigger {
    border-color: var(--primary-navy);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.select-icon {
    font-size: 1.1rem;
}

.select-arrow {
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.custom-select.open .select-arrow {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--primary-navy);
    border-top: none;
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.custom-select.open .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.select-option:hover {
    background: linear-gradient(90deg, rgba(30, 58, 95, 0.08), transparent);
}

.select-option.active {
    background: linear-gradient(90deg, rgba(30, 58, 95, 0.12), transparent);
    color: var(--primary-navy);
}

.select-option .check-icon {
    margin-left: auto;
    opacity: 0;
    color: var(--primary-navy);
    transition: opacity 0.2s ease;
}

.select-option.active .check-icon {
    opacity: 1;
}

.select-option:not(:last-child) {
    border-bottom: 1px solid var(--bg-gray);
}

/* ===== Call List ===== */
.call-list {
    flex: 1;
    padding: 0 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.call-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--bg-gray);
    gap: 12px;
    transition: background var(--transition-fast);
}

.call-item:last-child {
    border-bottom: none;
}

.call-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.call-avatar svg {
    width: 24px;
    height: 24px;
    color: #555;
}

.call-info {
    flex: 1;
    min-width: 0;
}

/* Call Item Title Row */
.call-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.call-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Call Type Icon (shown next to name) */
.call-type-icon {
    font-size: 0.9rem;
    margin-left: 4px;
}

.call-type-icon.incoming {
    color: var(--success-green);
}

.call-type-icon.outgoing {
    color: var(--primary-navy);
}

.call-type-icon.missed {
    color: var(--error-red);
}

/* Call Details Row (Type • Duration • Date) */
.call-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 3px;
}

.call-type-label {
    font-weight: 500;
}

.call-type-label.incoming {
    color: var(--success-green);
}

.call-type-label.outgoing {
    color: var(--primary-navy);
}

.call-type-label.missed {
    color: var(--error-red);
}

.call-separator {
    margin: 0 6px;
    color: var(--text-light);
}

.call-duration,
.call-date {
    color: var(--text-gray);
}

/* Call Number Line (Number • Country • SIM) */
.call-number-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.75rem;
    color: var(--text-light);
}

.call-phone {
    color: var(--text-gray);
}

.call-country,
.call-sim {
    color: var(--text-light);
}

.call-action {
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.call-action:hover {
    background: var(--bg-gray);
    color: var(--primary-navy);
}

.call-action svg {
    width: 20px;
    height: 20px;
}

/* ===== WhatsApp List Styles ===== */
.whatsapp-avatar {
    background: #dcf8c6;
}

.notification-avatar {
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-avatar svg,
.whatsapp-avatar svg {
    width: 28px;
    height: 28px;
}

.whatsapp-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.whatsapp-name {
    font-weight: 600;
}

.whatsapp-message {
    font-size: 0.85rem;
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.whatsapp-time {
    font-size: 0.75rem;
    color: var(--text-light);
    flex-shrink: 0;
}

/* WhatsApp/Notification blur styles */
.whatsapp-item.force-blur .whatsapp-name,
.whatsapp-item.force-blur .whatsapp-message,
.whatsapp-item.force-blur .whatsapp-time {
    filter: blur(4px);
    user-select: none;
}

/* Notification Item Styles */
.notification-item {
    position: relative;
    flex-wrap: wrap;
}

.notification-info {
    flex: 1;
    min-width: 0;
}

.notification-preview-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notification-preview {
    overflow: hidden;
    text-overflow: ellipsis;
}

.see-more-btn,
.see-less-btn {
    background: none;
    border: none;
    color: var(--primary-navy);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-align: left;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.see-more-btn:hover,
.see-less-btn:hover {
    color: var(--primary-navy-dark);
    text-decoration: underline;
}

.notification-full-message {
    margin-top: 8px;
    padding: 12px;
    background: var(--bg-gray);
    border-radius: var(--border-radius-sm);
    width: 100%;
}

.notification-body {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 10px;
}

.notification-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.notification-app {
    font-weight: 500;
    color: var(--text-gray);
}

.notification-item.expanded {
    background: rgba(30, 58, 95, 0.03);
}

/* ===== Dialog (Cancel Payment) ===== */
.dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 200;
    padding: 20px;
}

.dialog-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dialog-box {
    background: white;
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.dialog-overlay.active .dialog-box {
    transform: scale(1) translateY(0);
}

.dialog-icon {
    margin-bottom: 20px;
}

.dialog-icon svg {
    filter: drop-shadow(0 4px 12px rgba(231, 76, 60, 0.3));
}

.dialog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.dialog-message {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 28px;
}

.dialog-buttons {
    display: flex;
    gap: 12px;
}

.dialog-btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* ===== Payment Modal ===== */
#payment-modal {
    align-items: center;
}

.payment-modal-content {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top, 0);
}

#payment-modal .modal-header {
    padding-top: max(20px, env(safe-area-inset-top, 20px));
}

.payment-modal-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.payment-status {
    padding: 16px;
    background: var(--bg-gray);
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

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

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-navy);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    animation: spin 0.8s linear infinite;
}


.spinner.success {
    border-color: var(--success-green);
    border-top-color: transparent;
    animation: none;
    position: relative;
}

.spinner.success::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success-green);
    font-weight: 700;
}

.payment-modal-body iframe {
    width: 100%;
    min-height: 700px;
    height: auto;
    border: none;
    border-radius: var(--border-radius-md);
    background: white;
    flex-shrink: 0;
}

.unread-badge {
    background: #25D366;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    filter: none;
}

/* ===== SMS List Styles ===== */
.sms-avatar {
    background: var(--bg-gray);
}

.sms-avatar svg {
    width: 24px;
    height: 24px;
}

.sms-sender {
    filter: blur(4px);
    user-select: none;
    font-weight: 600;
}

.sms-message {
    filter: blur(3px);
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    font-size: 0.8rem;
}

/* SMS Item Layout */
.sms-item .call-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sms-item .sms-sender {
    font-weight: 600;
    font-size: 0.95rem;
}

.sms-message-preview {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 4px;
    line-height: 1.4;
}

.sms-full-message {
    margin-top: 8px;
    padding: 12px;
    background: var(--bg-gray);
    border-radius: var(--border-radius-sm);
}

.sms-body {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.sms-expand-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 4px 8px;
    font-size: 0.75rem;
    color: var(--primary-navy);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sms-expand-btn:hover {
    color: var(--primary-navy-dark);
}

.sms-expand-btn .expand-icon {
    transition: transform 0.3s ease;
}

.sms-item.expanded {
    background: rgba(30, 58, 95, 0.03);
}

/* SMS blur styles */
.sms-item.force-blur .sms-sender,
.sms-item.force-blur .sms-message-preview,
.sms-item.force-blur .sms-time {
    filter: blur(4px);
    user-select: none;
}

.sms-time {
    font-size: 0.75rem;
    color: var(--text-light);
    flex-shrink: 0;
    filter: blur(2px);
}

/* ===== Unblurred State for Paid Users ===== */
.call-list.unblurred .call-number,
.call-list.unblurred .call-date,
.call-list.unblurred .whatsapp-name,
.call-list.unblurred .whatsapp-message,
.call-list.unblurred .whatsapp-time,
.call-list.unblurred .sms-sender,
.call-list.unblurred .sms-message,
.call-list.unblurred .sms-time {
    filter: none !important;
    user-select: text;
}

/* ===== Require Unblur (blur everything until ₹99) ===== */
.call-list.require-unblur .call-title,
.call-list.require-unblur .call-details,
.call-list.require-unblur .call-number-line,
.call-list.require-unblur .whatsapp-name,
.call-list.require-unblur .whatsapp-message,
.call-list.require-unblur .whatsapp-time,
.call-list.require-unblur .sms-sender,
.call-list.require-unblur .sms-message-preview,
.call-list.require-unblur .sms-message,
.call-list.require-unblur .sms-time {
    filter: blur(4px) !important;
    user-select: none;
}

/* ===== Force Blur for specific items ===== */
.call-item.force-blur .call-title,
.call-item.force-blur .call-details,
.call-item.force-blur .call-number-line {
    filter: blur(4px) !important;
    user-select: none;
}

/* ===== Blur Details Only - show name/number, blur other details ===== */
.call-item.blur-details-only .call-title {
    filter: none !important;
    user-select: text;
}

.call-item.blur-details-only .call-details,
.call-item.blur-details-only .call-number-line {
    filter: blur(4px) !important;
    user-select: none;
}



/* ===== Bottom Action ===== */
.bottom-action {
    flex-shrink: 0;
    padding: 16px;
    background: var(--card-bg);
    border-top: 1px solid var(--bg-gray);
}

.see-details-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(180deg, #2a4a7a 0%, #1c3356 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    letter-spacing: 0.2px;
}

.see-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.see-details-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: none;
    opacity: 0.9;
}

.unblur-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    background: linear-gradient(180deg, #ffe9b3 0%, #ffc857 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    letter-spacing: 0.2px;
}

.unblur-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.unblur-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: none;
    opacity: 0.9;
}

.lock-icon {
    font-size: 1rem;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 100;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

#pricing-modal .modal-content {
    max-width: none;
    max-height: none;
    height: 100%;
    height: 100dvh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--primary-navy);
    color: white;
}

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

.modal-emblem {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.modal-brand-text h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.modal-brand-text p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    opacity: 0.8;
}

.close-btn {
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: background var(--transition-fast);
}

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

/* ===== Modal Body ===== */
.modal-body {
    padding: 24px 16px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #3a5f8a 50%, var(--primary-navy) 100%);
    background-size: 200% 200%;
    animation: gradientMove 5s ease infinite;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.plan-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: visible;
    z-index: 0;
}

.plan-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--border-radius-lg) + 3px);
    background: linear-gradient(
        120deg,
        rgba(255, 153, 51, 0.25),
        #ff9933,
        #ffffff,
        #138808,
        #0b5f06,
        rgba(255, 153, 51, 0.25)
    );
    background-size: 300% 300%;
    animation: borderGlowMove 6s linear infinite;
    box-shadow: none;
    z-index: 0;
    pointer-events: none;
}

.plan-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    background: var(--card-bg);
    z-index: 1;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.plan-card > * {
    position: relative;
    z-index: 2;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 16px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.plan-features {
    list-style: none;
    margin-bottom: 16px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
}

.feature-icon {
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

.feature-icon.check {
    color: var(--success-green);
}

.feature-icon.cross {
    color: var(--error-red);
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    font-family: 'Bebas Neue', sans-serif;
}

/* ===== Plan Options ===== */
.plan-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.plan-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    color: white;
    position: relative;
    overflow: visible;
}

.plan-option:hover {
    background: rgba(255, 255, 255, 0.4);
}

.plan-option.active {
    background: var(--card-bg);
    border: 2px solid var(--primary-navy);
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



/* Recommended Badge */
.recommended-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53935;
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4);
}

.plan-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.plan-amount {
    font-size: 0.9rem;
    font-weight: 700;
}

/* ===== Buy Button ===== */
.buy-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(180deg, #2a4a7a 0%, #1c3356 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(28, 51, 86, 0.35);
    letter-spacing: 0.2px;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(28, 51, 86, 0.45);
}

.buy-btn:active {
    transform: translateY(1px) scale(0.94) !important;
    box-shadow: 0 4px 10px rgba(28, 51, 86, 0.2) !important;
    opacity: 0.95;
    transition: transform 0.1s ease;
}

.buy-btn .flag {
    font-size: 1.5rem;
}

/* ===== Digital India Section ===== */
.digital-india-section {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

#digital-india-banner-link {
    display: block;
    -webkit-tap-highlight-color: transparent;
}

.digital-india-banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;
}

#digital-india-banner-link {
    pointer-events: auto;
    transition: transform 0.2s ease;
}

#digital-india-banner-link:active {
    transform: scale(0.96);
}

/* ===== Responsive ===== */
@media (min-width: 480px) {
    .main-container {
        padding: 40px 24px;
    }

    .card {
        padding: 40px 32px;
    }

    .modal-content {
        border-radius: var(--border-radius-xl);
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
}

@media (min-width: 768px) {
    .modal {
        align-items: center;
    }

    .modal-content {
        max-width: 420px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.call-item {
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.call-item:nth-child(1) {
    animation-delay: 0.05s;
}

.call-item:nth-child(2) {
    animation-delay: 0.1s;
}

.call-item:nth-child(3) {
    animation-delay: 0.15s;
}

.call-item:nth-child(4) {
    animation-delay: 0.2s;
}

.call-item:nth-child(5) {
    animation-delay: 0.25s;
}

.call-item:nth-child(6) {
    animation-delay: 0.3s;
}

.call-item:nth-child(7) {
    animation-delay: 0.35s;
}

.call-item:nth-child(8) {
    animation-delay: 0.4s;
}

/* ===== Touch Feedback ===== */
@media (hover: none) {

    .primary-btn:active:not(:disabled),

    .buy-btn:active,
    .see-details-btn:active,
    .info-next-btn:active,
    .back-btn:active {
        transform: scale(0.97);
    }
}

/* ===== User Info Screen Styles ===== */
.user-info-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background: #ffffff;
    padding: 0;
}

.user-info-header {
    padding: 16px;
    display: flex;
    align-items: center;
    animation: slideInUp 0.4s ease forwards;
}




.user-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 24px 40px;
    text-align: center;
}

.user-info-phone {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.info-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.info-pill {
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.info-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-pill .icon {
    font-size: 1rem;
}

.info-pill.location {
    background: linear-gradient(135deg, #e8e0ff 0%, #f0e8ff 100%);
    color: #4a3b6b;
}

.info-pill.country {
    background: linear-gradient(135deg, #e8ffe8 0%, #ffffcc 100%);
    color: #3b5c3b;
}

.info-pill.email {
    background: linear-gradient(135deg, #ffe8f0 0%, #fff0f5 100%);
    color: #6b3b4a;
}

.info-pill.carrier {
    background: linear-gradient(135deg, #fff0e0 0%, #ffeedd 100%);
    color: #8a5a00;
}

.user-info-label {
    font-size: 0.85rem;
    color: #888888;
    margin-bottom: 16px;
    font-weight: 400;
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.25s forwards;
    opacity: 0;
}

.contact-names-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 360px;
}

.contact-name-pill {
    background: linear-gradient(135deg, #f5eaff 0%, #efe4fc 100%);
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a3b6b;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.contact-name-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-avatar {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #4a4a5c 0%, #3a3a4a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #f5c542;
}

.contact-avatar svg {
    width: 16px;
    height: 16px;
    fill: #f5c542;
}

/* Blur effect for non-premium */
.contact-name-pill.blurred {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
    opacity: 0.7;
}

.user-info-footer {
    padding: 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
    opacity: 0;
}

.info-next-btn {
    width: 100%;
    max-width: 320px;
    margin: 40px auto 0;
    display: block;
    padding: 20px 32px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(180deg, #2a4a7a 0%, #1c3356 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(28, 51, 86, 0.35);
    letter-spacing: 0.2px;
}

.info-next-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(28, 51, 86, 0.45);
}

.info-next-btn:active {
    transform: translateY(-1px) scale(0.96);
    box-shadow: 0 4px 12px rgba(28, 51, 86, 0.35);
    opacity: 0.9;
}

/* Touch feedback for mobile */
@media (hover: none) {
    .info-next-btn:active {
        transform: scale(0.97);
    }
}

/* ===== Download App Fixed Banner (Normal Mode) ===== */
.download-app-banner {
    width: 100%;
    padding: 5px 16px;
    background: transparent;
    margin-top: -6px;
}

.download-app-banner a {
    display: block;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
}

.download-app-banner a:active {
    transform: scale(0.96);
}

.download-app-banner-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: none;
}

.download-app-banner a {
    pointer-events: auto;
}

/* Hide download app banner on desktop */
@media (min-width: 768px) {
    .download-app-banner {
        display: none !important;
    }
}

/* ===== Premium Unlocked Container (Normal Mode) ===== */
.premium-unlocked-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 20px;
    width: 100%;
    margin-top: -15px;
}

.premium-unlocked-container a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
}

.premium-unlocked-container a:active {
    transform: scale(0.96);
}

.premium-unlocked-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
}

/* App Download Section */
.app-download-section {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.app-download-label {
    font-size: 0.9rem;
    color: #1e3a5f;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.app-download-url {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #1e3a5f;
    font-family: 'Courier New', monospace;
    text-align: center;
    border: 1px solid rgba(30, 58, 95, 0.2);
    margin-bottom: 16px;
    word-break: break-all;
}

.app-download-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.app-btn {
    flex: 1;
    max-width: 140px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.copy-btn {
    background: #1e3a5f;
    color: white;
}

.copy-btn:hover {
    background: #152d4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.open-btn {
    background: #22c55e;
    color: white;
}

.open-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.app-btn:active {
    transform: scale(0.94);
    opacity: 0.9;
}

.app-btn svg {
    flex-shrink: 0;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
    }

    10%,
    90% {
        opacity: 1;
    }
}