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

:root {
    --primary-red: #DC2626;
    --dark-red: #B91C1C;
    --light-red: #EF4444;
    --black: #111111;
    --dark-gray: #1F2937;
    --gray: #374151;
    --light-gray: #6B7280;
    --white: #FFFFFF;
    --accent: #F59E0B;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

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

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.logo-accent {
    color: var(--primary-red);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(220, 38, 38, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-red);
}

.user-name {
    font-weight: 600;
    color: var(--white);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 10px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-dropdown a:hover {
    background: rgba(220, 38, 38, 0.2);
    color: var(--primary-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Auth Messages */
.auth-message {
    position: fixed;
    top: 90px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.auth-message.success {
    background: rgba(34, 197, 94, 0.9);
    color: white;
    border: 1px solid #22C55E;
}

.auth-message.error {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: 1px solid #EF4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--white), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-red);
}

.stat-label {
    color: var(--light-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.services {
    padding: 100px 0;
    background: var(--black);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: linear-gradient(135deg, var(--dark-gray), rgba(55, 65, 81, 0.8));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
    border-color: var(--primary-red);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--light-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

/* Featured Products */
.featured-products {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-gray), var(--black));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: rgba(17, 17, 17, 0.8);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-red);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.product-info p {
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.btn-product {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    width: 100%;
    justify-content: center;
}

/* Why Choose Us */
.why-choose {
    padding: 100px 0;
    background: var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-item p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section p {
    color: var(--light-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(107, 114, 128, 0.2);
    color: var(--light-gray);
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(31, 41, 55, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(17, 17, 17, 0.8);
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Page Specific Styles */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--black), var(--dark-gray));
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

.main-content {
    padding: 80px 0;
    background: var(--black);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Support Styles */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.support-card {
    background: rgba(31, 41, 55, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.support-card h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Admin Panel Styles */
.admin-sidebar {
    background: rgba(31, 41, 55, 0.9);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.admin-sidebar h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 15px;
}

.admin-nav a {
    color: var(--light-gray);
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(220, 38, 38, 0.2);
    color: var(--primary-red);
}

.admin-content {
    background: rgba(31, 41, 55, 0.8);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(17, 17, 17, 0.8);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.stat-card h4 {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
}

/* Table Styles */
.data-table {
    width: 100%;
    background: rgba(17, 17, 17, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(107, 114, 128, 0.2);
}

.data-table th {
    background: rgba(220, 38, 38, 0.1);
    color: var(--white);
    font-weight: 600;
}

.data-table td {
    color: var(--light-gray);
}

.data-table tr:hover {
    background: rgba(107, 114, 128, 0.1);
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
}

.status-closed {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .services-grid,
    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .admin-content {
        padding: 25px 15px;
    }
}