/* Variables & Reset */
:root {
    --bg-dark: #07090e;
    --bg-darker: #040508;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --gold-primary: #f2a900;
    --gold-light: #ffc107;
    --accent-blue: #00f2fe;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* RTL Support for Arabic */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .hero {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links {
    margin-right: auto;
    margin-left: 0;
}

@media (max-width: 900px) {
    html[dir="rtl"] .hero {
        flex-direction: column;
    }
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* UI Components */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), #df9b00);
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(242, 169, 0, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(4, 5, 8, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-select {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    padding: 8px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    outline: none;
    appearance: none;
    text-align: center;
}
.lang-select option {
    background: var(--bg-darker);
    color: var(--text-main);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(242, 169, 0, 0.4);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-nav {
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 8px;
}
.btn-nav:hover {
    background: var(--gold-primary);
    color: var(--bg-darker);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    position: relative;
}

/* Background Glow */
body::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242, 169, 0, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contract-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 20px;
}

.contract-box .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.address-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.address-container code {
    font-family: 'Consolas', monospace;
    color: var(--gold-light);
    word-break: break-all;
}

.copy-btn {
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}
.copy-btn:hover { background: rgba(255,255,255,0.1); }

/* Hero Visual Animation */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-coin-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 
        0 15px 40px rgba(242, 169, 0, 0.5),
        0 0 80px rgba(242, 169, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gold-primary);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

/* Sections Global */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Tokenomics */
.token-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.token-stats {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.stat h4 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.stat .number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.token-distribution {
    padding: 40px;
}

.token-distribution h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.bar-container {
    margin-bottom: 25px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

.bar-track {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 5px;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 30px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.socials {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: var(--text-muted);
    transition: color 0.3s;
}
.socials a:hover { color: var(--gold-primary); }

.copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
    100% { transform: scale(1); opacity: 0.15; }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    .hero h1 { font-size: 3rem; }
    .hero-buttons { justify-content: center; }
    .nav-links { display: none; }
    .token-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 10px; }
    .logo { font-size: 1.2rem; }
    .logo-img { width: 30px; height: 30px; }
    .nav-controls { gap: 8px; }
    .btn-nav { padding: 8px 12px; font-size: 0.85rem; }
    
    .hero h1 { font-size: 2.2rem; }
    .hero-coin-img { width: 250px; height: 250px; }
    .glow-orb { width: 250px; height: 250px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    
    .address-container { flex-direction: column; align-items: flex-start; gap: 10px; }
    .address-container code { font-size: 0.75rem; word-break: break-all; }
    
    .stat .number { font-size: 2.5rem; }
    #globalBurn { font-size: 2rem !important; }
    .token-stats { padding: 25px; }
    .feature-card { padding: 25px 15px; }
    
    .section-header h2 { font-size: 2.2rem; }
    section { padding: 60px 15px; }
}
/* Roadmap */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.road-card {
    padding: 30px;
    position: relative;
    border-left: 3px solid var(--gold-primary);
}

.road-card .phase {
    font-size: 0.8rem;
    color: var(--gold-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.road-card h3 {
    margin-bottom: 15px;
}

.road-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}
