/* 🚀 USDT-FLASH Complete Mobile Optimization */
/* تحسين شامل للعرض على الهواتف المحمولة */

/* ===== GLOBAL MOBILE RESET ===== */
@media (max-width: 768px) {
    
    /* إعادة تعيين أساسية للهاتف المحمول */
    * {
        box-sizing: border-box;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        -webkit-touch-callout: none;
        max-width: 100%;
    }
    
    html {
        font-size: 14px;
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        overflow-x: hidden;
    }
    
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        line-height: 1.5;
        overflow-x: hidden;
        position: relative;
        margin: 0;
        padding: 0;
        width: 100%;
        min-width: 320px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* منع التمرير الأفقي */
    .container,
    .container-fluid,
    .mx-auto {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow-x: hidden;
    }
    
    /* ===== HEADER MOBILE OPTIMIZATION ===== */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        height: 70px !important;
        background: linear-gradient(135deg, rgba(38, 161, 123, 0.95) 0%, rgba(26, 132, 98, 0.95) 100%) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
    }
    
    header .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }
    
    /* Logo Section */
    header .flex.items-center.space-x-3 {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-shrink: 0;
    }
    
    header .flex.items-center.space-x-3 img {
        width: 40px !important;
        height: 40px !important;
        border-radius: 8px;
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
    }
    
    header .flex.items-center.space-x-3 h1 {
        font-size: 18px !important;
        font-weight: 900 !important;
        color: white !important;
        margin: 0 !important;
        line-height: 1.2 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    header .flex.items-center.space-x-3 p {
        font-size: 10px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
    
    /* Navigation Icons - إخفاء الأيقونات على الهاتف المحمول */
    header .hidden.md\\:flex {
        display: none !important;
    }
    
    /* Mobile Menu Button */
    header .relative button {
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        transition: all 0.3s ease !important;
        touch-action: manipulation !important;
        position: relative !important;
    }
    
    header .relative button:active {
        transform: scale(0.95) !important;
        background: rgba(255, 255, 255, 0.25) !important;
    }
    
    /* Mobile Menu Dropdown */
    #mobileMenu {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: auto !important;
        width: 280px !important;
        max-width: calc(100vw - 30px) !important;
        background: linear-gradient(135deg, rgba(15, 15, 35, 0.98) 0%, rgba(25, 25, 45, 0.95) 100%) !important;
        backdrop-filter: blur(20px) !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin-top: 10px !important;
        padding: 15px !important;
        transform-origin: top right !important;
    }
    
    #mobileMenu button {
        width: 100% !important;
        padding: 15px !important;
        margin-bottom: 8px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        text-align: left !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        touch-action: manipulation !important;
        min-height: 50px !important;
    }
    
    #mobileMenu button:active {
        transform: scale(0.98) !important;
        background: rgba(255, 255, 255, 0.15) !important;
    }
    
    #mobileMenu button .w-12.h-12 {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    #mobileMenu button .flex-1 {
        flex: 1 !important;
        text-align: left !important;
    }
    
    #mobileMenu button .flex-1 span {
        display: block !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: white !important;
        margin-bottom: 2px !important;
    }
    
    #mobileMenu button .flex-1 p {
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    
    /* Auth Buttons */
    header .h-8.w-px {
        display: none !important;
    }
    
    header .flex.items-center.space-x-4 {
        display: flex !important;
        gap: 8px !important;
        margin-left: 10px !important;
    }
    
    header .flex.items-center.space-x-4 a {
        padding: 8px 12px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        min-height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        touch-action: manipulation !important;
        white-space: nowrap !important;
    }
    
    header .flex.items-center.space-x-4 a:first-child {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: white !important;
    }
    
    header .flex.items-center.space-x-4 a:last-child {
        background: linear-gradient(135deg, #10b981, #059669) !important;
        color: white !important;
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
    }
    
    header .flex.items-center.space-x-4 a:active {
        transform: scale(0.95) !important;
    }
    
    /* ===== MAIN CONTENT MOBILE OPTIMIZATION ===== */
    main,
    section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
    }
    
    /* Hero Section */
    section[role="main"] {
        margin-top: 70px !important;
        padding: 30px 0 !important;
        min-height: calc(100vh - 70px) !important;
        background: linear-gradient(135deg, #26a17b 0%, #1a8462 25%, #2ecc71 50%, #26a17b 75%, #1a8462 100%) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Hero Content */
    .flex.flex-col.md\\:flex-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 15px !important;
    }
    
    .md\\:w-1\\/2 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Glass Effect */
    .glass-effect {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 20px !important;
        padding: 25px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
        margin-bottom: 20px !important;
    }
    
    .glass-effect h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
        font-weight: 800 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .glass-effect h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
        font-weight: 800 !important;
        color: white !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .glass-effect p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 15px !important;
    }
    
    /* Company Features Grid */
    .grid.grid-cols-1.md\\:grid-cols-2 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }
    
    .flex.items-center.bg-white.bg-opacity-10 {
        display: flex !important;
        align-items: center !important;
        padding: 15px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .flex.items-center.bg-white.bg-opacity-10 i {
        font-size: 18px !important;
        margin-right: 12px !important;
        flex-shrink: 0 !important;
    }
    
    .flex.items-center.bg-white.bg-opacity-10 div {
        flex: 1 !important;
    }
    
    .flex.items-center.bg-white.bg-opacity-10 span {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: white !important;
        display: block !important;
        margin-bottom: 2px !important;
    }
    
    .flex.items-center.bg-white.bg-opacity-10 p {
        font-size: 11px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }
    
    /* CTA Buttons */
    .flex.flex-col.sm\\:flex-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 25px !important;
    }
    
    .flex.flex-col.sm\\:flex-row a {
        padding: 16px 24px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-align: center !important;
        border-radius: 12px !important;
        min-height: 52px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        touch-action: manipulation !important;
    }
    
    .flex.flex-col.sm\\:flex-row a:first-child {
        background: linear-gradient(135deg, #10b981, #059669) !important;
        color: white !important;
        box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4) !important;
    }
    
    .flex.flex-col.sm\\:flex-row a:last-child {
        background: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .flex.flex-col.sm\\:flex-row a:active {
        transform: translateY(2px) !important;
    }
    
    /* Stats Section */
    .bg-white.bg-opacity-10 {
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 16px !important;
        padding: 25px !important;
        text-align: center !important;
    }
    
    .text-6xl.font-bold {
        font-size: 36px !important;
        font-weight: 800 !important;
        color: #22c55e !important;
        margin-bottom: 8px !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }
    
    .text-lg.text-gray-200 {
        font-size: 16px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 20px !important;
    }
    
    .dollar-icon {
        font-size: 60px !important;
        margin-bottom: 15px !important;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) !important;
    }
    
    .space-y-3 > * + * {
        margin-top: 12px !important;
    }
    
    .flex.justify-between.items-center {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 15px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
    
    .flex.justify-between.items-center span:first-child {
        font-size: 13px !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .flex.justify-between.items-center span:last-child {
        font-size: 14px !important;
        font-weight: 700 !important;
    }
    
    /* ===== CARDS SECTION MOBILE ===== */
    .card-container {
        width: 100% !important;
        max-width: 350px !important;
        height: 220px !important;
        margin: 0 auto 25px auto !important;
        perspective: 1000px !important;
    }
    
    .card-inner {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        transition: transform 0.6s !important;
        transform-style: preserve-3d !important;
    }
    
    .card-front {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        backface-visibility: hidden !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }
    
    .card-content {
        padding: 20px !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    .card-number {
        font-family: 'JetBrains Mono', 'Courier New', monospace !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        letter-spacing: 2px !important;
        margin: 20px 0 !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8) !important;
        color: #ffffff !important;
        text-align: center !important;
    }
    
    .visa-logo {
        position: absolute !important;
        top: 20px !important;
        left: 20px !important;
        font-size: 24px !important;
        font-weight: 900 !important;
        color: white !important;
        font-family: 'Arial Black', sans-serif !important;
        letter-spacing: 2px !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8) !important;
        transform: skew(-8deg) !important;
        z-index: 10 !important;
    }
    
    .site-branding {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        text-align: right !important;
        z-index: 10 !important;
    }
    
    .site-logo {
        font-size: 14px !important;
        font-weight: 900 !important;
        color: #26a17b !important;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
        margin-bottom: 2px !important;
        letter-spacing: 1px !important;
    }
    
    .site-url {
        font-size: 8px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
    }
    
    .card-bottom {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        margin-top: auto !important;
    }
    
    .card-holder,
    .card-expiry {
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 700 !important;
    }
    
    .card-holder-label,
    .card-expiry-label {
        font-size: 8px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 4px !important;
        letter-spacing: 1px !important;
        font-weight: 600 !important;
    }
    
    .card-chip {
        width: 45px !important;
        height: 35px !important;
        background-image: url('img/شريحة.png') !important;
        background-size: cover !important;
        background-position: center !important;
        border-radius: 6px !important;
        border: 2px solid rgba(255, 215, 0, 0.9) !important;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5) !important;
    }
    
    .card-label {
        margin-top: 15px !important;
        color: white !important;
        font-weight: bold !important;
        font-size: 16px !important;
        text-align: center !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    }
    
    /* ===== SECTIONS SPACING ===== */
    .py-20 {
        padding: 40px 0 !important;
    }
    
    .py-16 {
        padding: 35px 0 !important;
    }
    
    .py-12 {
        padding: 30px 0 !important;
    }
    
    .mb-16 {
        margin-bottom: 30px !important;
    }
    
    .mb-12 {
        margin-bottom: 25px !important;
    }
    
    .mb-8 {
        margin-bottom: 20px !important;
    }
    
    .mb-6 {
        margin-bottom: 15px !important;
    }
    
    .mb-4 {
        margin-bottom: 12px !important;
    }
    
    /* ===== TYPOGRAPHY MOBILE ===== */
    .text-6xl,
    .text-5xl {
        font-size: 28px !important;
        line-height: 1.1 !important;
    }
    
    .text-4xl {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
    
    .text-3xl {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }
    
    .text-2xl {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    
    .text-xl {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
    
    .text-lg {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
        text-align: center !important;
    }
    
    p {
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* ===== GRID SYSTEM MOBILE ===== */
    .grid {
        display: grid !important;
        gap: 1rem !important;
    }
    
    .grid-cols-1 {
        grid-template-columns: 1fr !important;
    }
    
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .md\\:grid-cols-2,
    .md\\:grid-cols-3,
    .md\\:grid-cols-4,
    .lg\\:grid-cols-5 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* ===== FLEX SYSTEM MOBILE ===== */
    .flex {
        display: flex !important;
    }
    
    .flex-col {
        flex-direction: column !important;
    }
    
    .flex-wrap {
        flex-wrap: wrap !important;
    }
    
    .items-center {
        align-items: center !important;
    }
    
    .justify-center {
        justify-content: center !important;
    }
    
    .justify-between {
        justify-content: space-between !important;
    }
    
    .md\\:flex-row,
    .sm\\:flex-row {
        flex-direction: column !important;
    }
    
    /* ===== BUTTONS MOBILE ===== */
    button,
    .btn,
    a[role="button"] {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
        user-select: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-decoration: none !important;
        border: none !important;
        outline: none !important;
        box-sizing: border-box !important;
    }
    
    button:active,
    .btn:active,
    a[role="button"]:active {
        transform: scale(0.98) !important;
    }
    
    button:focus,
    .btn:focus,
    a[role="button"]:focus {
        outline: 2px solid #10b981 !important;
        outline-offset: 2px !important;
    }
    
    /* ===== FORMS MOBILE ===== */
    input,
    select,
    textarea {
        font-size: 16px !important; /* منع التكبير في iOS */
        padding: 12px 15px !important;
        border-radius: 8px !important;
        border: 2px solid #e5e7eb !important;
        transition: all 0.3s ease !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
    }
    
    input:focus,
    select:focus,
    textarea:focus {
        outline: none !important;
        border-color: #10b981 !important;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
    }
    
    /* ===== IMAGES MOBILE ===== */
    img {
        max-width: 100% !important;
        height: auto !important;
        image-rendering: -webkit-optimize-contrast !important;
        image-rendering: crisp-edges !important;
    }
    
    /* ===== SPACING MOBILE ===== */
    .space-x-4 > * + * {
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
    }
    
    .space-x-6 > * + * {
        margin-left: 0 !important;
        margin-top: 0.75rem !important;
    }
    
    .gap-4 {
        gap: 1rem !important;
    }
    
    .gap-6 {
        gap: 1.5rem !important;
    }
    
    .gap-8 {
        gap: 2rem !important;
    }
    
    /* ===== VISIBILITY MOBILE ===== */
    .hidden {
        display: none !important;
    }
    
    .block {
        display: block !important;
    }
    
    .inline-block {
        display: inline-block !important;
    }
    
    .inline-flex {
        display: inline-flex !important;
    }
    
    .hidden.md\\:block,
    .hidden.lg\\:block {
        display: none !important;
    }
    
    /* ===== ANIMATIONS MOBILE ===== */
    .transition-all {
        transition-property: all !important;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
        transition-duration: 300ms !important;
    }
    
    .transition-colors {
        transition-property: color, background-color, border-color !important;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
        transition-duration: 150ms !important;
    }
    
    .transition-transform {
        transition-property: transform !important;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
        transition-duration: 150ms !important;
    }
    
    .hover\\:scale-105:hover {
        transform: scale(1.05) !important;
    }
    
    .hover\\:shadow-xl:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    }
    
    /* ===== PERFORMANCE OPTIMIZATIONS ===== */
    .transform {
        transform: translateZ(0) !important;
    }
    
    .bg-fixed {
        background-attachment: scroll !important;
    }
    
    .backdrop-blur-sm {
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
    }
    
    .backdrop-blur {
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
    
    .backdrop-blur-lg {
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
    }
    
    /* ===== ACCESSIBILITY MOBILE ===== */
    *:focus {
        outline: 2px solid #10b981 !important;
        outline-offset: 2px !important;
    }
    
    .sr-only {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
    
    /* ===== DARK MODE SUPPORT ===== */
    @media (prefers-color-scheme: dark) {
        .bg-white {
            background-color: #1f2937 !important;
            color: #f9fafb !important;
        }
        
        .text-gray-600 {
            color: #d1d5db !important;
        }
        
        .text-gray-700 {
            color: #e5e7eb !important;
        }
        
        .text-gray-900 {
            color: #f9fafb !important;
        }
    }
    
    /* ===== REDUCED MOTION SUPPORT ===== */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }
    
    /* ===== HIGH CONTRAST SUPPORT ===== */
    @media (prefers-contrast: high) {
        .bg-white {
            background-color: #ffffff !important;
            border: 1px solid #000000 !important;
        }
        
        .text-gray-600,
        .text-gray-700 {
            color: #000000 !important;
        }
        
        button,
        .btn {
            border: 2px solid #000000 !important;
        }
    }
}

/* ===== EXTRA SMALL MOBILE (320px-375px) ===== */
@media (max-width: 375px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .text-6xl,
    .text-5xl {
        font-size: 24px !important;
    }
    
    .text-4xl {
        font-size: 20px !important;
    }
    
    .text-3xl {
        font-size: 18px !important;
    }
    
    .text-2xl {
        font-size: 16px !important;
    }
    
    button,
    .btn {
        min-height: 40px !important;
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    .py-20 {
        padding: 30px 0 !important;
    }
    
    .py-16 {
        padding: 25px 0 !important;
    }
    
    header {
        height: 65px !important;
    }
    
    section[role="main"] {
        margin-top: 65px !important;
    }
    
    .glass-effect {
        padding: 20px !important;
    }
    
    .glass-effect h2 {
        font-size: 22px !important;
    }
    
    .card-container {
        max-width: 300px !important;
        height: 190px !important;
    }
    
    .card-number {
        font-size: 16px !important;
    }
    
    .visa-logo {
        font-size: 20px !important;
        top: 15px !important;
        left: 15px !important;
    }
    
    .site-branding {
        top: 15px !important;
        right: 15px !important;
    }
    
    .site-logo {
        font-size: 12px !important;
    }
    
    .site-url {
        font-size: 7px !important;
    }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    header {
        height: 60px !important;
    }
    
    section[role="main"] {
        margin-top: 60px !important;
        padding: 20px 0 !important;
        min-height: calc(100vh - 60px) !important;
    }
    
    .py-20 {
        padding: 25px 0 !important;
    }
    
    .py-16 {
        padding: 20px 0 !important;
    }
    
    .glass-effect {
        padding: 20px !important;
    }
    
    .glass-effect h2 {
        font-size: 24px !important;
    }
    
    .grid.grid-cols-1.md\\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .md\\:grid-cols-3,
    .md\\:grid-cols-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .card-container {
        max-width: 280px !important;
        height: 180px !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid !important;
    }
    
    img {
        max-width: 100% !important;
    }
    
    .bg-gradient-to-r,
    .bg-gradient-to-br {
        background: #ffffff !important;
        color: #000000 !important;
    }
}