/* 
   K1 Tech - Custom Premium Stylesheet
   Designed with Google Antigravity aesthetics (Glassmorphism, Neon Glows, Smooth Transitions, Cairo font integration)
*/

:root {
    /* Color Palette */
    --bg-dark: #070913;
    --bg-dark-rgb: 7, 9, 19;
    --bg-panel: rgba(18, 22, 45, 0.35);
    --bg-panel-hover: rgba(26, 31, 62, 0.5);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --primary-cyan: #00f2fe;
    --primary-cyan-rgb: 0, 242, 254;
    --primary-purple: #9d4edd;
    --primary-purple-rgb: 157, 78, 221;
    --primary-green: #00e676;
    --primary-green-rgb: 0, 230, 118;
    --primary-red: #ff3838;
    
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradients */
    --grad-cyan-purple: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-purple) 100%);
    --grad-purple-glow: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
    --grad-dark-overlay: linear-gradient(180deg, rgba(7, 9, 19, 0.8) 0%, rgba(7, 9, 19, 0.95) 100%);
    
    /* Layout Variables */
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* Light Mode Overrides */
body.light-mode {
    --bg-dark: #f8fafc;
    --bg-dark-rgb: 248, 250, 252;
    --bg-panel: rgba(255, 255, 255, 0.85);
    --bg-panel-hover: rgba(255, 255, 255, 1);
    --border-color: rgba(0, 0, 0, 0.1);
    --border-hover: rgba(0, 0, 0, 0.2);
    
    --primary-cyan: #008ecc;
    --primary-cyan-rgb: 0, 142, 204;
    --primary-purple: #7b2cbf;
    --primary-purple-rgb: 123, 44, 191;
    --primary-green: #00b359;
    --primary-green-rgb: 0, 179, 89;
    --primary-red: #e60000;
    
    --text-white: #0f172a;
    --text-gray: #334155;
    --text-muted: #64748b;
    
    --grad-cyan-purple: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-purple) 100%);
    --grad-purple-glow: linear-gradient(135deg, #5a189a 0%, #7b2cbf 100%);
    --grad-dark-overlay: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, rgba(248, 250, 252, 0.95) 100%);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    outline: none;
}

body {
    font-family: 'Cairo', 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

/* Custom Background Mesh & Radial Glows */
.bg-radial-glow {
    position: fixed;
    top: -10%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(157, 78, 221, 0.04) 50%, rgba(0,0,0,0) 100%);
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), 
        radial-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    z-index: -1;
    pointer-events: none;
}

/* Utility Components */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.text-cyan { color: var(--primary-cyan) !important; }
.text-purple { color: var(--primary-purple) !important; }
.text-green { color: var(--primary-green) !important; }
.text-red { color: var(--primary-red) !important; }
.w-100 { width: 100%; }

.neon-gradient-text {
    background: var(--grad-cyan-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--grad-cyan-purple);
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-purple {
    background: var(--grad-purple-glow);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.5);
}

.btn-green {
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(7, 9, 19, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    text-decoration: none;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-white);
}

.logo-accent {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.05);
}

.nav-link.active {
    color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.1);
    box-shadow: inset 0 0 8px rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn, .theme-toggle-btn, .lang-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cart-btn:hover, .theme-toggle-btn:hover, .lang-toggle-btn:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-cyan);
    color: var(--bg-dark);
    font-weight: 800;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Layout */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 40px) 24px 80px 24px;
    min-height: calc(100vh - 150px);
}

/* Section Header styling */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Dynamic Tab Switching Transition */
.tab-content {
    display: none;
    animation: fadeIn 0.45s ease forwards;
}

.tab-content.active-tab {
    display: block;
}

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

/* HERO SECTION */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    margin-bottom: 60px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.status-pill {
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--primary-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-green);
    box-shadow: 0 0 8px var(--primary-green);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--primary-green); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.25;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.floating-card-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.hero-circle-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50px;
    left: 50px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.25) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 12s linear infinite;
}

.main-gamepad-icon {
    font-size: 5rem;
    color: var(--primary-purple);
    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.6));
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.floating-card i {
    font-size: 1.8rem;
}

.floating-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.floating-card p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.tweak-card-float {
    top: 10px;
    right: -20px;
    animation: floatUp 4s ease-in-out infinite alternate;
}

.iptv-card-float {
    bottom: 20px;
    left: -20px;
    animation: floatDown 4.5s ease-in-out infinite alternate;
}

@keyframes floatUp {
    from { transform: translateY(0px) rotate(1deg); }
    to { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes floatDown {
    from { transform: translateY(0px) rotate(-1deg); }
    to { transform: translateY(12px) rotate(1deg); }
}

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

/* Stats bar */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.bg-cyan-glow {
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.bg-purple-glow {
    background: rgba(157, 78, 221, 0.1);
    color: var(--primary-purple);
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.bg-green-glow {
    background: rgba(0, 230, 118, 0.1);
    color: var(--primary-green);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* PRODUCTS GRID & CARDS (Tweaks & IPTV) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--grad-cyan-purple);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-icon {
    font-size: 2.2rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-specs {
    margin-bottom: 20px;
    list-style: none;
}

.product-specs li {
    font-size: 0.85rem;
    color: var(--text-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-specs li i {
    font-size: 0.9rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-cyan);
}

/* TWEAKS LAYOUT (Tweaks container) */
.tweaks-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    align-items: start;
}

.tweak-info-box {
    padding: 30px;
}

.tweak-info-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-cyan);
}

.info-list {
    list-style: none;
    margin-bottom: 25px;
}

.info-list li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-list li i {
    margin-top: 4px;
}

.tweak-comparison {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.tweak-comparison h4 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.compare-bar-container {
    margin-bottom: 15px;
}

.compare-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 5px;
    display: block;
}

.compare-bar-bg {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.compare-bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    border-radius: 6px;
    transition: width 1s ease-in-out;
}

.compare-bar-fill.before {
    background: var(--text-muted);
}

.compare-bar-fill.after {
    background: var(--grad-cyan-purple);
    color: var(--bg-dark);
}

.compare-bar-bg.animate-glow {
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

/* IPTV SECTION & CARDS */
.channel-checker {
    padding: 30px;
    margin-bottom: 40px;
}

.channel-checker h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.channel-checker p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.search-box-wrapper {
    display: flex;
    gap: 10px;
    max-width: 700px;
}

.search-box-wrapper input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.search-box-wrapper input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 8px rgba(157, 78, 221, 0.3);
}

.channel-results {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 120px;
    overflow-y: auto;
}

.channel-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: scaleUp 0.25s ease forwards;
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.iptv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.iptv-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.iptv-card.popular {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.15);
    transform: translateY(-5px);
}

.iptv-card.popular:hover {
    box-shadow: 0 12px 30px rgba(157, 78, 221, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-purple-glow);
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(157, 78, 221, 0.4);
}

.iptv-icon {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.iptv-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.iptv-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.iptv-price span {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

.iptv-features {
    list-style: none;
    margin: 25px 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.iptv-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.iptv-features li i {
    color: var(--primary-green);
}

.iptv-card .btn {
    margin-top: auto;
}

.iptv-features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 25px;
    text-align: center;
}

.iptv-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.iptv-badge-item i {
    font-size: 1.3rem;
    color: var(--primary-purple);
}

/* PC REPAIR & DIAGNOSTIC LAYOUT */
.repair-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: stretch;
}

.diagnostic-wizard {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.diagnostic-wizard h3 {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.symptom-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.symptom-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 18px 15px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.symptom-btn i {
    font-size: 1.5rem;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.symptom-btn:hover {
    background: rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.3);
}

.symptom-btn:hover i {
    color: var(--primary-cyan);
    transform: scale(1.1);
}

.symptom-btn.active {
    background: rgba(0, 242, 254, 0.08);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.symptom-btn.active i {
    color: var(--primary-cyan);
}

.diagnostic-result {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.result-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.diagnostic-card {
    width: 100%;
    animation: fadeIn 0.4s ease forwards;
}

.diagnostic-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.diagnostic-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.rec-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
    display: block;
}

.rec-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Booking Form */
.booking-form-panel {
    padding: 30px;
}

.booking-form-panel h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-form-panel p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.3);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-white);
}

/* Steam Mega Promo Card */
.steam-mega-promo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 35px;
    margin-bottom: 40px;
    border: 2px solid rgba(157, 78, 221, 0.25);
    box-shadow: 0 8px 30px rgba(157, 78, 221, 0.1);
    position: relative;
    overflow: hidden;
}

.steam-mega-promo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.steam-mega-promo:hover {
    border-color: rgba(157, 78, 221, 0.4);
    box-shadow: 0 10px 35px rgba(157, 78, 221, 0.2);
}

.promo-content {
    flex: 1.3;
}

.promo-badge {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    color: var(--primary-purple);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

.promo-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.promo-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 700px;
}

.promo-specs-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.promo-specs-list li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-action {
    flex: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-right: 1px solid var(--border-color);
    padding-right: 30px;
}

[dir="rtl"] .promo-action {
    border-right: none;
    border-left: 1px solid var(--border-color);
    padding-right: 0;
    padding-left: 30px;
}

.promo-price-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.promo-price-box .original-price {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.promo-price-box .discount-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-purple);
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

.btn-glow-purple {
    animation: glowPulsePurple 2s infinite alternate;
}

@keyframes glowPulsePurple {
    from { box-shadow: 0 0 8px rgba(157, 78, 221, 0.4); }
    to { box-shadow: 0 0 20px rgba(157, 78, 221, 0.7); }
}

@media (max-width: 768px) {
    .steam-mega-promo {
        flex-direction: column;
        align-items: stretch;
        padding: 25px;
    }
    
    .promo-action {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 20px;
    }
    
    .promo-specs-list {
        grid-template-columns: 1fr;
    }
}

/* STEAM GAMES STORE */

.games-filter-bar {
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.search-wrapper {
    position: relative;
    width: 320px;
}

.search-wrapper .search-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 10px 45px 10px 15px;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.search-wrapper input:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
}

.filter-tags {
    display: flex;
    gap: 10px;
}

.filter-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.filter-tag:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.08);
}

.filter-tag.active {
    background: var(--grad-cyan-purple);
    color: var(--bg-dark);
    border-color: transparent;
    font-weight: 700;
}

.steam-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.game-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.15);
}

.game-cover-container {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: #10142d;
}

.game-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2.2rem;
    transition: var(--transition-smooth);
    background: linear-gradient(180deg, rgba(16, 20, 45, 0.8) 0%, rgba(7, 9, 19, 0.95) 100%);
}

.game-cover-placeholder span {
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-gray);
    margin-top: 10px;
}

.game-card:hover .game-cover-placeholder {
    transform: scale(1.05);
}

.game-genre-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(7, 9, 19, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.game-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.game-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.game-rating {
    font-size: 0.8rem;
    color: #ffb020;
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
}

.original-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-cyan);
}

.game-card .btn {
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

/* CART DRAWER */
.cart-drawer {
    position: fixed;
    top: 0;
    left: -400px; /* Hidden by default on left side since we are in RTL, it will slide in to left:0 */
    width: 400px;
    height: 100vh;
    background: rgba(7, 9, 19, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Because of RTL, the drawer is on the right side if we slide in. Let's fix position rules.
   In RTL: we want it to slide in from the right edge. Right edge is right: -400px.
*/
[dir="rtl"] .cart-drawer {
    left: auto;
    right: -400px;
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.cart-drawer.open {
    transform: translateX(400px);
}

[dir="rtl"] .cart-drawer.open {
    transform: translateX(-400px);
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-cart-btn:hover {
    color: var(--primary-red);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
}

.empty-cart-msg i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideIn 0.3s ease forwards;
}

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

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--primary-cyan);
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--primary-red);
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
    background: rgba(7, 9, 19, 0.95);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cart-total-price {
    color: var(--primary-cyan);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 150;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    display: block;
    opacity: 1;
}

/* CHECKOUT MODAL & POPUPS */
.checkout-modal,
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(10px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInFast 0.3s ease forwards;
}

@keyframes fadeInFast {
    from { opacity: 0; }
    to { opacity: 1; }
}

.checkout-modal-content,
.success-modal-content {
    width: 100%;
    max-width: 550px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal-btn:hover {
    color: var(--primary-red);
}

.checkout-steps {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.step {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

.step.active-step {
    color: var(--primary-cyan);
}

.step-content {
    display: none;
}

.step-content.active-content {
    display: block;
    animation: fadeIn 0.3s ease forwards;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.pay-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 15px 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.pay-option i {
    font-size: 1.5rem;
}

.pay-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

.pay-option.selected {
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.05);
    color: var(--primary-cyan);
}

.payment-fields-mock {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease forwards;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkout-summary {
    padding: 20px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.summary-row.total-row {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    margin-top: 10px;
}

.checkout-summary hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 10px 0;
}

.modal-buttons-row {
    display: flex;
    gap: 15px;
}

.modal-buttons-row .btn {
    flex: 1;
}

/* SUCCESS STATE VISUAL */
.success-checkmark-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.08);
    border: 2px solid var(--primary-green);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-checkmark::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 12px;
    border-left: 4px solid var(--primary-green);
    border-bottom: 4px solid var(--primary-green);
    transform: rotate(-45deg) translate(2px, -3px);
}

.receipt-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 20px 0;
    text-align: right;
    font-size: 0.9rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.receipt-row:last-child {
    margin-bottom: 0;
}

.whatsapp-prompt {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* FAQ ACCORDION */
.faq-section {
    max-width: 900px;
    margin: 80px auto 40px auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-white);
    padding: 20px;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-cyan);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 200px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Section */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    background: rgba(7, 9, 19, 0.95);
    margin-top: 80px;
}

.footer-bottom {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tweaks-container {
        grid-template-columns: 1fr;
    }
    
    .iptv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .repair-container {
        grid-template-columns: 1fr;
    }
    
    .steam-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
    }
    
    .main-content {
        padding-top: calc(70px + 30px);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(7, 9, 19, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 99;
    }
    
    [dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    [dir="rtl"] .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .iptv-grid {
        grid-template-columns: 1fr;
    }
    
    .iptv-features-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .symptom-selector {
        grid-template-columns: 1fr;
    }
    
    .games-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-wrapper {
        width: 100%;
    }
    
    .filter-tags {
        overflow-x: auto;
        padding-bottom: 5px;
        white-space: nowrap;
    }
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    [dir="rtl"] .cart-drawer {
        right: -100%;
    }
    
    .cart-drawer.open {
        transform: translateX(100%);
    }
    
    [dir="rtl"] .cart-drawer.open {
        transform: translateX(-100%);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .steam-games-grid {
        grid-template-columns: 1fr;
    }
    
    .iptv-features-bar {
        grid-template-columns: 1fr;
    }
}

/* --- CUSTOM STYLES FOR UPDATES --- */

/* Tweaks Single Card Centering */
#tweaks-grid {
    display: flex;
    justify-content: center;
    grid-template-columns: none;
    width: 100%;
}
#tweaks-grid .product-card {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* Apple Pay Mock Button */
.apple-pay-mock-btn {
    width: 100%;
    background: #000000;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: var(--border-radius-sm);
    padding: 14px 20px;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.apple-pay-mock-btn:hover {
    background: #151515;
    transform: translateY(-2px);
    border-color: #555555;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}
.apple-pay-mock-btn i {
    font-size: 1.7rem;
}

/* Apple Pay Simulation Sheet */
.apple-pay-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 400;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.apple-pay-sheet.open {
    visibility: visible;
    opacity: 1;
}
.apple-pay-sheet-content {
    width: 100%;
    max-width: 480px;
    background: #1c1c1e;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    padding: 30px 24px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.apple-pay-sheet.open .apple-pay-sheet-content {
    transform: translateY(0);
}
.apple-pay-sheet-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.apple-pay-sheet-header i {
    font-size: 1.8rem;
}
.apple-pay-sheet-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    text-align: right;
}
.apple-pay-merchant, .apple-pay-amount {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #8e8e93;
}
.apple-pay-merchant strong, .apple-pay-amount strong {
    color: #ffffff;
}
.apple-pay-amount strong {
    font-size: 1.25rem;
    color: var(--primary-cyan);
}
.apple-pay-verification-zone {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

/* Fingerprint/FaceID Verification Micro-animation */
.face-id-scanner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.face-id-scanner i {
    font-size: 2.2rem;
    color: #8e8e93;
    transition: var(--transition-fast);
}
.face-id-scanner:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.05);
}
.face-id-scanner:hover i {
    color: var(--primary-cyan);
}

/* Scanning State */
.face-id-scanner.scanning {
    border-color: var(--primary-cyan);
    animation: scannerPulse 1s linear infinite;
}
.face-id-scanner.scanning i {
    color: var(--primary-cyan);
    animation: scannerIconPulse 1s infinite alternate;
}

/* Success State */
.face-id-scanner.success {
    border-color: var(--primary-green);
    background: rgba(0, 230, 118, 0.1);
    border-style: solid;
}
.face-id-scanner.success i {
    color: var(--primary-green);
    transform: scale(1.1);
}

.verification-text {
    font-size: 0.9rem;
    color: #8e8e93;
}

@keyframes scannerPulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes scannerIconPulse {
    from { opacity: 0.5; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); }
}

@media (min-width: 576px) {
    .apple-pay-sheet {
        align-items: center;
        padding: 20px;
    }
    .apple-pay-sheet-content {
        border-radius: var(--border-radius-lg);
        transform: translateY(50px);
    }
    .apple-pay-sheet.open .apple-pay-sheet-content {
        transform: translateY(0);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-smooth);
    cursor: pointer;
    animation: whatsappPulse 2s infinite alternate;
    text-decoration: none;
}
[dir="ltr"] .whatsapp-float-btn {
    left: auto;
    right: 30px;
}
.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}
.whatsapp-float-btn i {
    transition: var(--transition-fast);
}
.whatsapp-float-btn:hover i {
    transform: rotate(10deg);
}

/* Tooltip text */
.whatsapp-float-btn .tooltip-text {
    position: absolute;
    right: 75px;
    background: rgba(7, 9, 19, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
[dir="rtl"] .whatsapp-float-btn .tooltip-text {
    right: auto;
    left: 75px;
}
.whatsapp-float-btn:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    100% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

