/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

/* Enhanced Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(1px);
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.1));
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.2), rgba(68, 160, 141, 0.1));
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(255, 142, 142, 0.1));
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.1));
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 60%;
    animation-delay: 3s;
    background: linear-gradient(45deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.1));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.05);
    }
    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.1);
    }
    75% {
        transform: translateY(-15px) rotate(270deg) scale(1.05);
    }
}

/* Additional modern effects */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    flex-direction: column; /* عنوان بالا، نوار زیرِ آن */
    gap: 14px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.header-bar {
    display: grid;
    grid-template-columns: 1fr 1fr; /* راست: ناوبری | چپ: اتصال ولت و پروفایل */
    align-items: center;
}
.nav-buttons { justify-self: end; }       /* ناوبری سمت راست */
.header-actions { justify-self: start; }  /* اتصال ولت همیشه سمت چپ */

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nav-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-buttons .nav-btn {
    padding: 8px 14px;
    border-radius: 999px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-btn.primary {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.nav-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title {
    display: flex;
    flex-direction: column;
}

.site-title h1 {
    color: #fff;
    font-size: 1.6rem;
    white-space: nowrap;
}

.site-title .site-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.site-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Wallet Status */
.connect-wallet-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.wallet-connected {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    padding: 12px 20px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
}

/* Why Buy Section */
.why-buy-section {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInScale 1s ease-out 0.2s both;
    transition: all 0.3s ease;
}

.why-buy-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.why-buy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #44a08d, #26d0ce);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* About - premium visuals */
.about-section {
    width: 100%;
    max-width: 1200px;
    background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.08);
}
.about-header {
    text-align: center;
    margin-bottom: 20px;
}
.about-header .chip {
    display: inline-block;
    background: linear-gradient(45deg,#6366f1,#8b5cf6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}
.about-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 22px 22px 26px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(99,102,241,0.18);
}
.about-card-accent {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 1200px at 110% -10%, rgba(102,126,234,0.18), transparent 40%),
                radial-gradient(800px 800px at -10% 110%, rgba(34,197,94,0.14), transparent 45%);
    pointer-events: none;
}
.about-list {
    margin-top: 12px;
    padding-right: 20px;
}
.about-list li {
    margin: 6px 0;
}
.about-ctas {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.btn-primary {
    background: linear-gradient(45deg,#10b981,#22c55e);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}
.btn-ghost {
    background: rgba(99,102,241,0.1);
    color: #4f46e5;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

/* Contact */
.contact-section {
    width: 100%;
    max-width: 1200px;
    margin-top: 12px;
    background: linear-gradient(135deg,#f8faff,#f6fff9);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 22px;
    padding: 28px;
}
.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.contact-card p { margin: 0; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: radial-gradient( circle at 30% 20%, #ffffff 0%, #f2f5ff 60%, #e9efff 100%);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.benefit-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 36px rgba(102, 126, 234, 0.18);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: conic-gradient(from 180deg, #667eea, #764ba2, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 22px rgba(102, 126, 234, 0.35);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Ownership & Rewards */
.ownership-section {
    width: 100%;
    max-width: 1200px;
    margin-top: 10px;
}
.ownership-inner {
    background: linear-gradient(135deg, #fffdf7, #f3fff9);
    border: 1px solid rgba(34,197,94,0.18);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 14px 40px rgba(34,197,94,0.12);
}
.ownership-header h2 {
    margin: 8px 0 10px;
    font-size: 1.8rem;
}
.highlight-badge {
    display: inline-block;
    background: linear-gradient(45deg, #22c55e, #10b981);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
}
.ownership-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.ownership-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 16px;
}
.ownership-point i {
    color: #10b981;
    background: rgba(16,185,129,0.12);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Business Plan Section */
.business-plan-section {
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.business-plan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e, #ffa8a8);
}

.pdf-viewer-container {
    margin-top: 30px;
}

.pdf-upload-area {
    border: 3px dashed #667eea;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pdf-upload-area:hover {
    border-color: #4ecdc4;
    background: linear-gradient(135deg, #f0fff4, #e6fffa);
}

.upload-content i {
    font-size: 4rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.upload-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.upload-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.upload-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.pdf-viewer {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pdf-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 15px;
}

.control-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.page-info {
    font-weight: 600;
    color: #333;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#pdfCanvas {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Presale Card */
.presale-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out;
    transition: all 0.3s ease;
}

.presale-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.presale-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #ffd700);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Presale Info */
.presale-info {
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.info-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.info-item .label {
    font-weight: 600;
    color: #555;
}

.info-item .value {
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Form Styles */
.purchase-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.input-container {
    position: relative;
}

.input-container input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
}

.input-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Hidden Input Styling */
.hidden-input { display: none; }

/* Payment Options */
.payment-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.payment-option {
    flex: 1;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
}

.payment-option input[type="radio"]:checked + .option-content {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff, #e8f0ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.option-content i {
    font-size: 2rem;
    color: #667eea;
}

.option-content span {
    font-weight: 600;
    color: #333;
}

/* Conversion Info */
.conversion-info {
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.conversion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.conversion-item:last-child {
    margin-bottom: 0;
}

.conversion-item span:first-child {
    font-weight: 600;
    color: #555;
}

.conversion-item span:last-child {
    font-weight: 700;
    color: #ff6b6b;
}

/* Purchase Button */
.purchase-btn {
    width: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.purchase-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.purchase-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* رسید خوانا با زمینه روشن (برای PDF) */
.receipt {
    background: #fff;
    color: #111;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin-top: 20px;
}

.receipt h3 {
    color: #059669;
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 700;
}

.receipt-message {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #065f46;
    padding: 10px 12px;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    margin-bottom: 12px;
}

.receipt-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.receipt-item:last-child {
    border-bottom: none;
}

.receipt-item span:first-child {
    font-weight: 600;
    color: #555;
}

.receipt-item span:last-child {
    font-weight: 700;
    color: #059669;
    word-break: break-all;
    text-align: left;
}

.receipt-print {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 16px;
    border-radius: 8px;
}
.receipt-print .receipt-item span,
.receipt-print h3,
.receipt-print .receipt-message {
    color: #000000 !important;
}
.receipt-print .receipt-message i {
    display: none;
}

/* فوتر استاندارد */
.footer {
    text-align: center;
    color: #fff;
    padding: 24px 0;
    opacity: 0.9;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffd700;
}

.loading-spinner p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.notification-content {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.notification-content i {
    font-size: 1.2rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .header-bar {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .nav-buttons {
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-actions {
        justify-self: center;
    }
    
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .site-subtitle {
        font-size: 0.9rem;
    }
    
    .presale-card {
        padding: 25px;
        margin: 0 10px;
    }
    
    .card-header h2 {
        font-size: 1.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .conversion-info {
        padding: 15px;
    }
    
    .notification {
        right: 15px;
        left: 15px;
        top: 15px;
    }
    
    .wallet-modal-content {
        width: 90%;
        max-width: 300px;
    }
    
    .profile-dropdown-content {
        width: 90%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 15px;
    }
    
    .presale-card {
        padding: 20px;
        margin: 0 5px;
    }
    
    .card-header h2 {
        font-size: 1.6rem;
    }
    
    .input-container input {
        padding: 12px 45px 12px 15px;
        font-size: 1rem;
    }
    
    .purchase-btn {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .ownership-points {
        grid-template-columns: 1fr;
    }
    
    .about-card {
        padding: 18px;
    }
}

/* Enhanced mobile wallet compatibility */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 15px;
    }
    
    .presale-card {
        padding: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DApp wallet specific styles */
@media (max-width: 400px) {
    .wallet-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .wallet-option {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .wallet-logo {
        width: 24px;
        height: 24px;
    }
}
/* سیستم تایپوگرافی و رنگ‌های یکدست */
:root {
    --font-family: 'Vazirmatn', system-ui, sans-serif;
    --font-size: 16px;
    --heading-2: 1.75rem;
    --heading-3: 1.25rem;
    --text-color: #1e293b;
    --surface: rgba(255, 255, 255, 0.95);
    --primary: #4ecdc4;
    --accent: #7c3aed;
    --danger: #ef4444;
}

/* فونت و سایز پایه یکسان در کل سایت */
html { font-size: var(--font-size); scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: 1.7;
    color: var(--text-color);
    background: radial-gradient(1200px 600px at 10% 10%, #171c3a 0%, #0c1024 55%);
}

/* تیترها با مقیاس ثابت و خوانا */
.logo h1 { font-size: var(--heading-2); font-weight: 700; }
.section-header h2 { font-size: var(--heading-2); font-weight: 700; }
.section-header p, .purchase-form label { font-size: 1rem; }

/* دکمه‌های اتصال ولت با لوگو */
.wallet-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.wallet-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wallet-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.wallet-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

/* وضعیت اتصال و دکمه قطع اتصال */
.wallet-connected {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.disconnect-wallet-btn {
    background: rgba(255,255,255,0.85);
    color: #111;
    border: none;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}
.disconnect-wallet-btn:hover {
    background: #fff;
}

/* پنجره انتخاب ولت */
.wallet-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center; justify-content: center;
    z-index: 1000;
}
.wallet-modal-content {
    background: rgba(255,255,255,0.95);
    width: 320px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    text-align: center;
}
.wallet-modal-content h3 { margin-bottom: 12px; font-weight: 700; }
.wallet-option {
    display: inline-flex; align-items: center; gap: 8px;
    width: 100%;
    background: rgba(255,255,255,0.15);
    color: #111;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    margin: 6px 0;
}
.wallet-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.wallet-logo { width: 32px; height: 32px; object-fit: contain; }
.wallet-modal-close {
    margin-top: 10px; background: #eee; border: none;
    padding: 8px 12px; border-radius: 8px; cursor: pointer;
}
.wallet-address {
    color: #fff; margin: 0 10px; font-weight: 600;
}

/* پروفایل هدر و پنل بازشو */
.header-profile {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.header-profile .separator { opacity: .7; }

.profile-dropdown {
    position: absolute;
    top: 74px; /* زیر هدر */
    right: 20px;
    z-index: 999;
    display: none;
}

.profile-dropdown-content {
    background: rgba(255,255,255,0.95);
    width: 380px;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.profile-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.profile-history table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.profile-history th, .profile-history td {
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
