@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap');

:root {
    --primary-color: #0052ff;
    --primary-hover: #0041cc;
    --primary-glow: rgba(0, 82, 255, 0.15);
    --secondary-color: #f0f6ff;
    --secondary-hover: #e0edff;
    --accent-cyan: #00c4ff;
    --accent-cyan-glow: rgba(0, 196, 255, 0.2);
    
    --bg-body: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.55);
    --bg-glass-card: rgba(255, 255, 255, 0.65);
    --bg-glass-dark: rgba(255, 255, 255, 0.75);
    
    --text-main: #0f172a;
    --text-paragraph: #475569;
    --text-muted: #64748b;
    
    --border-glass: rgba(255, 255, 255, 0.6);
    --border-color: rgba(226, 232, 240, 0.85);
    --border-hover: rgba(0, 82, 255, 0.25);
    
    --success-color: #10b981;
    --success-bg: rgba(16, 185, 129, 0.08);
    --warning-color: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.08);
    --danger-color: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.08);
    
    --font-main: 'Vazirmatn', sans-serif;
    
    /* Ultimate soft depth shadows */
    --shadow-flat: 0 1px 3px rgba(0, 0, 0, 0.01);
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.02), 0 2px 10px -1px rgba(0, 0, 0, 0.01);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(0, 82, 255, 0.08), 0 2px 10px rgba(0, 82, 255, 0.02);
    --shadow-glow: 0 8px 25px -4px rgba(0, 82, 255, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-round: 50%;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    scrollbar-width: thin;
    scrollbar-color: rgba(203, 213, 225, 0.5) transparent;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(203, 213, 225, 0.5);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.7);
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 850;
    line-height: 1.35;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

p {
    color: var(--text-paragraph);
    font-weight: 400;
}

/* Dynamic Colorful Fluid Backdrop & Grid */
.bg-blur-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: var(--radius-round);
    filter: blur(120px);
    opacity: 0.35;
    animation: floatBlob 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 82, 255, 0.16);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: rgba(0, 196, 255, 0.14);
    bottom: -15%;
    right: -15%;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: rgba(99, 102, 241, 0.12);
    top: 40%;
    left: 20%;
    animation-delay: -10s;
}

.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: 
        radial-gradient(rgba(0, 82, 255, 0.04) 1.2px, transparent 1.2px),
        linear-gradient(rgba(0, 82, 255, 0.008) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 82, 255, 0.008) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.9;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -80px) scale(1.1); }
    100% { transform: translate(-30px, 40px) scale(0.95); }
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Floating Sticky Top Header --- */
header {
    position: sticky;
    top: 16px;
    z-index: 1000;
    margin: 0 auto;
    width: 100%;
    transition: var(--transition-smooth);
}

.header-container {
    background: var(--bg-glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 24px;
}

header.scrolled .header-container {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo-wrapper:hover .logo-img {
    transform: scale(1.02);
}

/* Desktop navigation links */
header nav ul {
    list-style: none;
    display: flex;
    gap: 16px;
}

header nav a {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-paragraph);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

header nav a:hover,
header nav a.active {
    background: rgba(0, 82, 255, 0.05);
    color: var(--primary-color);
}

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

.menu-toggle {
    display: none;
}

/* --- Mobile Drawer Menu --- */
nav.mobile-nav {
    display: none;
}

/* --- Breathing Hero Section --- */
.hero-section {
    padding: 80px 0 50px 0;
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 11.5px;
    font-weight: 800;
    border: 1px solid rgba(0, 82, 255, 0.08);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 38px;
    margin-bottom: 12px;
    font-weight: 900;
}

.hero-desc {
    font-size: 14.5px;
    color: var(--text-paragraph);
    max-width: 720px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

/* Spotlight Search box */
.search-container {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    background: var(--bg-glass-dark);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 50px 14px 20px;
    font-size: 13.5px;
    outline: none;
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    text-align: right;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: #ffffff;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    pointer-events: none;
}

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

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover);
    z-index: 200;
    display: none;
    max-height: 350px;
    overflow-y: auto;
    padding: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-result-item:hover {
    background: var(--secondary-color);
}

.search-result-icon {
    width: 32px;
    height: 32px;
    background: var(--secondary-hover);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.search-result-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

.search-result-info {
    flex-grow: 1;
}

.search-result-title {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
}

.search-result-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* --- Section headers --- */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* --- Bento Grid / Section Panels --- */
.bento-card {
    position: relative;
    background: var(--bg-glass-card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
    overflow: hidden;
    margin-bottom: 35px;
}

.bento-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        500px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(0, 82, 255, 0.05),
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.bento-card:hover::before {
    opacity: 1;
}

/* --- 22 Wallets Grid Section --- */
.wallets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    width: 100%;
}

.wallet-card {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        180px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(0, 82, 255, 0.08),
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.wallet-card:hover::before {
    opacity: 1;
}

.wallet-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px -6px rgba(0, 82, 255, 0.08);
    background: #ffffff;
}

.wallet-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    z-index: 2;
}

.wallet-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.wallet-card:hover .wallet-icon-box {
    background: var(--secondary-color);
    border-color: var(--secondary-hover);
}

.wallet-name {
    font-size: 13px;
    font-weight: 850;
    color: var(--text-main);
    margin-bottom: 4px;
    z-index: 2;
}

.wallet-tag {
    display: inline-block;
    padding: 1px 6px;
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    z-index: 2;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0052ff 0%, #00a3ff 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 82, 255, 0.4);
}

.btn-primary:active,
.btn-telegram:active,
.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.65);
    color: var(--primary-color);
    border: 1px solid rgba(0, 82, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.08);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 12px;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #00bfff 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-telegram:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 136, 204, 0.4);
}

/* --- Telegram Support Helpline Banner --- */
.direct-support-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.04) 0%, rgba(0, 82, 255, 0.04) 100%), var(--bg-glass-card);
    border: 1px solid rgba(0, 136, 204, 0.15);
}

.direct-support-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.direct-support-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 136, 204, 0.15);
    color: #0088cc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.direct-support-icon svg {
    width: 22px;
    height: 22px;
}

.direct-support-text h4 {
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 4px;
    color: var(--text-main);
}

.direct-support-text p {
    font-size: 13px;
    color: var(--text-paragraph);
}

/* --- Interactive Troubleshooter Wizard --- */
.wizard-card-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.full-wizard-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-glass);
}

.wizard-header-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 400px;
    margin: 0 auto 36px auto;
}

.wizard-header-steps::after {
    content: '';
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.wizard-header-step {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-round);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.wizard-header-step.active {
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 82, 255, 0.2);
    background: var(--primary-color);
}

.wizard-header-step.completed {
    border-color: var(--success-color);
    background: var(--success-color);
    color: #ffffff;
}

.wizard-step {
    animation: stepFadeIn 0.5s ease;
}

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

.wizard-title {
    font-size: 16.5px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.wizard-title span {
    color: var(--primary-color);
}

.wizard-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.wizard-option {
    position: relative;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-paragraph);
    overflow: hidden;
}

.wizard-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        150px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(0, 82, 255, 0.08),
        transparent 50%
    );
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.wizard-option:hover::before {
    opacity: 1;
}

.wizard-option:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.wizard-option.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.wizard-option-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    z-index: 2;
}

.wizard-option-icon svg,
.wizard-option-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.wizard-option.selected .wizard-option-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 20px;
}

.wizard-progress-bar {
    flex-grow: 1;
    max-width: 300px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 16px;
}

.wizard-progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.4s ease;
}

/* Wizard Results */
.troubleshoot-result-box {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.troubleshoot-result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    color: var(--success-color);
    margin-bottom: 12px;
}

.troubleshoot-result-header svg {
    width: 20px;
    height: 20px;
}

.troubleshoot-result-desc {
    font-size: 13px;
    color: var(--text-paragraph);
    margin-bottom: 20px;
    line-height: 1.75;
}

.troubleshoot-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Featured Articles Guides Grid --- */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.article-banner {
    height: 130px;
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.08) 0%, rgba(0, 196, 255, 0.08) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.article-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
}

.article-banner-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 700;
}

.article-title {
    font-size: 14.5px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.55;
}

.article-excerpt {
    font-size: 12.5px;
    color: var(--text-paragraph);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.read-more-link {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--primary-color);
}

/* --- Support Forms --- */
.contact-card-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 12px;
}

.contact-details p {
    font-size: 13.5px;
    color: var(--text-paragraph);
    margin-bottom: 25px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.contact-info-text h5 {
    font-size: 13px;
    font-weight: 900;
    color: var(--text-main);
}

.contact-info-text p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-glass);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
}

.form-control {
    background: var(--bg-glass-dark);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    font-size: 13px;
    outline: none;
    color: var(--text-main);
    transition: var(--transition-smooth);
    text-align: right;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-submit-btn {
    grid-column: span 2;
    margin-top: 10px;
}

.alert-box {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-size: 12.5px;
    border: 1px solid transparent;
}

.alert-box-warning {
    background: var(--warning-bg);
    border-color: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
}

.alert-box-info {
    background: var(--secondary-color);
    border-color: rgba(0, 82, 255, 0.15);
    color: var(--primary-color);
}

.alert-box-title {
    font-weight: 900;
    margin-bottom: 4px;
}

.alert-box p {
    color: inherit;
    font-size: 11.5px;
}

/* --- Floating Online Chat Widget --- */
.chat-widget-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-trigger-btn {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-round);
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.chat-trigger-btn:hover {
    transform: scale(1.05);
    background: var(--primary-hover);
}

.chat-trigger-btn svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.chat-trigger-btn .close-chat-icon {
    display: none;
}

.chat-widget-container.active .chat-trigger-btn .open-chat-icon {
    display: none;
}

.chat-widget-container.active .chat-trigger-btn .close-chat-icon {
    display: block;
}

.chat-window {
    width: 320px;
    height: 410px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 12px;
    transform: translateY(15px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.chat-widget-container.active .chat-window {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.chat-agent-info {
    flex-grow: 1;
}

.chat-agent-name {
    font-size: 12px;
    font-weight: 800;
}

.chat-agent-status {
    font-size: 9px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chat-status-dot {
    width: 5px;
    height: 5px;
    background-color: var(--success-color);
    border-radius: var(--radius-round);
}

.chat-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.8;
}

.chat-close-btn:hover {
    opacity: 1;
}

.chat-messages {
    flex-grow: 1;
    padding: 14px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 11.5px;
    line-height: 1.6;
}

.chat-bubble-agent {
    background: #ffffff;
    color: var(--text-main);
    align-self: flex-start;
    border: 1px solid var(--border-color);
    border-top-left-radius: 2px;
    text-align: right;
}

.chat-bubble-user {
    background: var(--primary-color);
    color: #ffffff;
    align-self: flex-end;
    border-top-right-radius: 2px;
    text-align: right;
}

.chat-footer {
    padding: 8px 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    background: #ffffff;
}

.chat-input {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11.5px;
    outline: none;
    text-align: right;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.chat-send-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-round);
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.chat-send-btn svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
}

/* --- Guides Article Page Styles --- */
.article-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.article-main-content {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-glass);
}

.article-page-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px;
}

.article-body {
    font-size: 13.5px;
    color: var(--text-paragraph);
    line-height: 1.85;
}

.article-body h2 {
    font-size: 17px;
    font-weight: 900;
    margin: 30px 0 12px 0;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 18px;
}

.step-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-round);
    background: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}

.step-details h4 {
    font-size: 13.5px;
    font-weight: 900;
    margin-bottom: 6px;
}

.step-details p {
    font-size: 12.5px;
    margin-bottom: 0;
    line-height: 1.7;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-glass);
}

.sidebar-widget-title {
    font-size: 13.5px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-link {
    font-size: 12px;
    color: var(--text-paragraph);
}

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

.related-article-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.related-article-item:last-child {
    margin-bottom: 0;
}

.related-article-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.related-article-icon svg {
    width: 14px;
    height: 14px;
}

.related-article-info h5 {
    font-size: 11.5px;
    font-weight: 800;
}

.related-article-info span {
    font-size: 9.5px;
    color: var(--text-muted);
}

/* --- Rich Landing Footer --- */
footer {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-brand h4 span {
    color: var(--primary-color);
}

.footer-brand p {
    font-size: 12.5px;
    color: var(--text-paragraph);
    line-height: 1.8;
}

.footer-column h5 {
    font-size: 13.5px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 12.5px;
    color: var(--text-paragraph);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* --- Responsive Layout Styles --- */
@media (max-width: 992px) {
    header {
        top: 0;
        width: 100%;
    }
    
    .header-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        height: 60px;
    }
    
    header nav {
        display: none; /* Hide default desktop nav */
    }
    
    .header-actions {
        display: none; /* Hide quick action button in header */
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        width: 24px;
        height: 24px;
        justify-content: center;
        z-index: 1001;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-main);
        transition: var(--transition-fast);
        border-radius: 2px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Mobile Drawer Menu */
    nav.mobile-nav {
        display: block;
        position: fixed;
        top: 60px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-right: 1px solid var(--border-color);
        padding: 30px;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }
    
    nav.mobile-nav.active {
        right: 0;
    }
    
    nav.mobile-nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    nav.mobile-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: var(--radius-md);
        color: var(--text-paragraph);
        font-size: 14px;
        font-weight: 800;
    }
    
    nav.mobile-nav a:hover,
    nav.mobile-nav a.active {
        background: rgba(0, 82, 255, 0.06);
        color: var(--primary-color);
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-desc {
        font-size: 13.5px;
    }
    
    .wallets-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-submit-btn {
        grid-column: span 1;
        width: 100%;
    }
    
    .direct-support-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .direct-support-info {
        flex-direction: column;
    }
    
    .article-page-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
