/* PNR Official Website - Design System */
:root {
    --bg-color: #050508;
    --card-bg: #111116;
    --accent-color: #00E5FF;
    --accent-glow: rgba(0, 229, 255, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--accent-glow); }
    50% { box-shadow: 0 0 20px var(--accent-glow); }
    100% { box-shadow: 0 0 5px var(--accent-glow); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Header & Nav */
header {
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 2px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #00151a 0%, #050508 70%);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #00E5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-logo {
    height: 180px; /* Bigger size for Desktop */
    width: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px var(--accent-glow));
    transition: var(--transition);
}

/* Mobile Responsiveness for Logo and Hero */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        padding: 1rem;
        height: auto;
    }
    
    .logo-container {
        margin-bottom: 10px;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    nav a {
        margin: 0 5px;
        font-size: 0.8rem;
    }

    .hero-logo {
        height: 120px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .hero-btns .btn + .btn {
        margin-right: 0 !important;
    }

    section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .featured-tool, .avatar-container {
        flex-direction: column;
        padding: 1.2rem;
    }

    .avatar-info {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .instructions ol {
        padding-right: 15px;
        margin-right: 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .tool-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-logo {
        height: 90px;
    }

    .hero-btns .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
        max-width: 260px;
    }

    .avatar-container {
        padding: 1rem;
    }

    .glass-card {
        padding: 1.2rem;
    }

    .price {
        font-size: 1.8rem;
    }
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-color);
}

/* Section Container */
section {
    padding: 100px 10%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title span {
    color: var(--accent-color);
}

/* Tool Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 3rem 10%;
    text-align: center;
    border-top: 1px solid #111;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Header Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

/* Tools Section Styles */
.tools-section {
    background: linear-gradient(180deg, #050508 0%, #00151a 100%);
}

.featured-tool {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    border: 2px solid var(--accent-color);
}

.tool-info {
    flex: 1;
}

.tool-info h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tool-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tool-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.tool-features i {
    color: var(--accent-color);
}

.tool-preview {
    flex: 1;
}

/* Avatar Section Layout */
.avatar-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 40px auto;
}

.avatar-image {
    flex: 1;
}

.avatar-info {
    flex: 1;
    text-align: right;
}

.instructions ol {
    margin-right: 20px;
}

/* Social Links */
.social-links {
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.text-center {
    text-align: center;
}

/* Trophy Cards */
.trophy-hero {
    text-align: center;
    margin-bottom: 2rem;
}

.trophy-hero-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(185, 242, 255, 0.3));
}

.tiers-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tier-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.tier-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tier-dot.bronze { background: #CD7F32; }
.tier-dot.silver { background: #C0C0C0; }
.tier-dot.gold { background: #FFD700; }
.tier-dot.platinum { background: #00E5FF; }
.tier-dot.diamond { background: #B9F2FF; box-shadow: 0 0 8px #B9F2FF; }

.trophy-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trophy-card .trophy-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trophy-card .popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    animation: glow 2s ease-in-out infinite;
}

.tier-bronze .trophy-badge { background: rgba(205,127,50,0.15); color: #CD7F32; border: 1px solid rgba(205,127,50,0.3); }
.tier-silver .trophy-badge { background: rgba(192,192,192,0.15); color: #C0C0C0; border: 1px solid rgba(192,192,192,0.3); }
.tier-gold .trophy-badge { background: rgba(255,215,0,0.15); color: #FFD700; border: 1px solid rgba(255,215,0,0.3); }
.tier-platinum .trophy-badge { background: rgba(0,229,255,0.15); color: #00E5FF; border: 1px solid rgba(0,229,255,0.3); }
.tier-diamond .trophy-badge { background: rgba(185,242,255,0.15); color: #B9F2FF; border: 1px solid rgba(185,242,255,0.3); }

.tier-bronze { border-color: rgba(205,127,50,0.3); }
.tier-silver { border-color: rgba(192,192,192,0.3); }
.tier-gold { border-color: rgba(255,215,0,0.3); }
.tier-platinum { border-color: rgba(0,229,255,0.3); }
.tier-diamond { border-color: rgba(185,242,255,0.3); }

.trophy-card.popular {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.card-trophy-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.8rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(185, 242, 255, 0.3));
}

.trophy-card:hover {
    border-color: var(--accent-color);
}

.trophy-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.trophy-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.trophy-card .price {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.trophy-card .price span {
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

@media (max-width: 768px) {
    .tiers-legend {
        gap: 0.8rem;
    }

    .tier-item {
        font-size: 0.75rem;
    }

    .trophy-stats {
        gap: 0.5rem;
    }

    .stat-value {
        font-size: 0.95rem;
    }
}

/* Navigation for Arabic (RTL Fix) */
nav {
    display: flex;
}


