@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #0a0d0c;
    --bg-secondary: #111613;
    --bg-card: #161d1a;
    --color-green: #0f9f59;
    --color-green-dark: #085f34;
    --color-gold: #e5c158;
    --color-gold-glow: rgba(229, 193, 88, 0.15);
    --color-gold-dark: #b8932c;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --font-family: 'Poppins', sans-serif;
    --container-max-width: 760px;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Islamic Geometric Pattern & Particle Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(15, 159, 89, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(229, 193, 88, 0.06) 0%, transparent 45%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very subtle geometric/stars grid pattern using CSS */
    background-image: 
        radial-gradient(var(--color-gold-glow) 1px, transparent 1px),
        radial-gradient(rgba(15, 159, 89, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

/* Main Container Layout */
.app-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 22, 19, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 193, 88, 0.1);
    transition: var(--transition);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.brand-icon {
    font-size: 1.4rem;
    color: var(--color-gold);
    filter: drop-shadow(0 0 6px rgba(229, 193, 88, 0.4));
}

.brand-text {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

/* Desktop navigation links */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 6px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Mobile Nav Active State */
@media (max-width: 580px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        border-bottom: 1px solid rgba(229, 193, 88, 0.1);
        padding: 15px 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    padding: 40px 0 30px;
    text-align: center;
}

.hero-image-wrapper {
    position: relative;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(15, 159, 89, 0.15);
    border: 1px solid rgba(15, 159, 89, 0.2);
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.02);
}

.hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero h1 span.highlight {
    background: linear-gradient(135deg, var(--color-gold) 0%, #fff7d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 4px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 0 10px;
}

/* CTA Download Button */
.cta-container {
    width: 100%;
    padding: 0 10px;
    margin-bottom: 40px;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(15, 159, 89, 0.4), 0 0 0 0px rgba(15, 159, 89, 0.2);
    cursor: pointer;
    transition: var(--transition);
    animation: pulseGlow 2.5s infinite;
}

.btn-download i {
    font-size: 1.3rem;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 159, 89, 0.6), 0 0 15px rgba(229, 193, 88, 0.3);
    background: linear-gradient(135deg, #12b868 0%, var(--color-green) 100%);
}

.btn-download:active {
    transform: translateY(-1px);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 8px 24px rgba(15, 159, 89, 0.4), 0 0 0 0px rgba(15, 159, 89, 0.4);
    }
    70% {
        box-shadow: 0 8px 24px rgba(15, 159, 89, 0.4), 0 0 0 12px rgba(15, 159, 89, 0);
    }
    100% {
        box-shadow: 0 8px 24px rgba(15, 159, 89, 0.4), 0 0 0 0px rgba(15, 159, 89, 0);
    }
}

/* Sections General */
.section {
    padding: 50px 0;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '❖';
    display: block;
    color: var(--color-gold);
    font-size: 0.9rem;
    margin-top: 8px;
    letter-spacing: 2px;
}

/* Installation Guide Cards */
.guide-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid rgba(229, 193, 88, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 193, 88, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 193, 88, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(17, 22, 19, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-gold);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50%;
    margin-right: 14px;
    box-shadow: 0 0 10px rgba(229, 193, 88, 0.3);
}

.guide-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 20px;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.card-desc strong {
    color: var(--color-gold);
}

.image-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.guide-card:hover .guide-img {
    transform: scale(1.01);
}

/* Post-Installation Section */
.post-install-box {
    background: linear-gradient(145deg, #111a15 0%, #0d1210 100%);
    border: 1px solid rgba(15, 159, 89, 0.25);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(15, 159, 89, 0.1);
    position: relative;
    overflow: hidden;
}

.post-install-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-green), var(--color-gold));
}

.post-install-img-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto 24px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-install-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.post-install-box h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(229, 193, 88, 0.2);
}

.post-install-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.post-install-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.btn-web-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(229, 193, 88, 0.08);
    border: 1px solid rgba(229, 193, 88, 0.25);
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-web-link:hover {
    background: rgba(229, 193, 88, 0.16);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 193, 88, 0.1);
}

/* Social Media Section */
.social-section {
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-item i {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.social-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Custom Social Brand Colors on Hover */
.social-item.instagram:hover {
    border-color: #e1306c;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.25);
}
.social-item.instagram:hover i {
    color: #e1306c;
}

.social-item.tiktok:hover {
    border-color: #ff0050;
    box-shadow: 0 0 15px rgba(255, 0, 80, 0.25);
}
.social-item.tiktok:hover i {
    color: #ff0050;
}

.social-item.youtube:hover {
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.25);
}
.social-item.youtube:hover i {
    color: #ff0000;
}

.social-item.whatsapp-ch:hover {
    border-color: #25d366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.25);
}
.social-item.whatsapp-ch:hover i {
    color: #25d366;
}

.social-item:hover span {
    color: var(--text-primary);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 10px rgba(37, 211, 102, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Footer Section */
footer {
    background: #070908;
    border-top: 1px solid rgba(229, 193, 88, 0.1);
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-quote {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
    position: relative;
}

.footer-quote::before,
.footer-quote::after {
    color: var(--color-gold);
    font-size: 1.2rem;
    font-weight: bold;
}

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

.footer-copyright a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-copyright a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--color-gold);
}

/* Responsive tweaks for wider screens (Tablet/Desktop) */
@media (min-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .social-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
