/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
}

.highlight {
    color: #ff4444;
    background: linear-gradient(135deg, #ff4444, #ff8888);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

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

.section-title p {
    color: #aaa;
    font-size: 1rem;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.logo i {
    color: #ff4444;
    margin-right: 8px;
}

.logo .x {
    color: #ff4444;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff4444;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== USER DROPDOWN ========== */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 68, 68, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    color: #ff4444;
    cursor: pointer;
    transition: 0.3s;
}

.user-name:hover {
    background: rgba(255, 68, 68, 0.3);
}

.user-name i:last-child {
    font-size: 0.7rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a2e;
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1rem;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.dropdown-menu a:hover {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.dropdown-menu hr {
    margin: 0.5rem 0;
    border-color: rgba(255, 255, 255, 0.05);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.4);
}

.btn-wa {
    background: #25D366;
    color: white;
}

.btn-wa:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff4444;
    color: #ff4444;
}

.btn-outline:hover {
    background: #ff4444;
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 68, 68, 0.1), transparent);
    transition: 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #ff4444;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-icon i {
    font-size: 3rem;
    color: #ff4444;
    margin-bottom: 1rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
}

.platform {
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff4444;
    margin: 1rem 0;
}

.price-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.price-tag {
    background: rgba(255, 68, 68, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ff4444;
}

.feature-icon i {
    font-size: 3rem;
    color: #ff4444;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: #aaa;
    font-size: 0.9rem;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
}

.testimonial-card i {
    font-size: 2rem;
    color: #ff4444;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial-card p {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-user i {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.testimonial-user h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.testimonial-user span {
    color: #ff9800;
    font-size: 0.8rem;
}

.rating-stars i {
    margin-right: 2px;
}

/* ========== FORM TESTIMONIAL ========== */
.testimonial-form {
    max-width: 500px;
    margin: 2rem auto 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 20px;
}

.testimonial-form h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: 'Poppins', sans-serif;
    resize: vertical;
    margin-bottom: 1rem;
}

.testimonial-form input {
    width: 100%;
    padding: 0.8rem;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    margin-bottom: 1rem;
}

.rating-input {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.rating-input i {
    font-size: 1.8rem;
    color: #555;
    cursor: pointer;
    transition: 0.2s;
}

.rating-input i:hover,
.rating-input i.active {
    color: #ffc107;
}

/* ========== FOOTER ========== */
footer {
    background: #050505;
    padding: 4rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #ff4444;
    margin-right: 8px;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #aaa;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: #ff4444;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #ff4444;
}

.footer-contact a {
    display: block;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.8rem;
}

/* ========== LOADING ========== */
.loading {
    text-align: center;
    padding: 3rem;
    color: #aaa;
}

.loading i {
    margin-right: 8px;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #ff4444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 1rem;
    }
    .nav-menu.active {
        display: flex;
    }
    .user-dropdown {
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.5rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .social-links {
        justify-content: center;
    }
}
