/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #dc2626;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #dc2626;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #dc2626;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc2626;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15rem;
    color: #dc2626;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #dc2626, #ef4444);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #dc2626;
    border: 2px solid #dc2626;
}

.btn-secondary:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    font-size: 1.1rem;
    color: #cccccc;
}

/* Packages Section */
.packages {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.package-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}

.package-card.featured {
    border-color: #dc2626;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.package-price {
    margin-bottom: 2rem;
}

.package-price .currency {
    font-size: 1.2rem;
    color: #dc2626;
}

.package-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
}

.package-price .period {
    font-size: 1rem;
    color: #cccccc;
}

.package-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    color: #cccccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-features i {
    color: #dc2626;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #0a0a0a;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: #dc2626;
    margin-top: 0.5rem;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #cccccc;
}

.contact-form {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Support Section */
.support {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

/* Ticket Status Section */
.ticket-status-section {
    margin-bottom: 4rem;
}

.ticket-status-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.ticket-status-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.ticket-status-card p {
    color: #cccccc;
    margin-bottom: 2rem;
}

.ticket-status-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ticket-status-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #0a0a0a;
    color: #ffffff;
    font-size: 1rem;
}

.ticket-status-form input:focus {
    outline: none;
    border-color: #dc2626;
}

.ticket-status-result {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.ticket-status-result.show {
    display: block;
}

.ticket-status-result.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.ticket-status-result.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: #dc2626;
}

.support-card i {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.support-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.support-card p {
    color: #cccccc;
    margin-bottom: 2rem;
}

/* Ticket Info */
.ticket-info {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.ticket-info p {
    color: #dc2626;
    margin: 0;
    font-size: 0.9rem;
}

.ticket-info i {
    margin-right: 0.5rem;
}

/* Support Center Styles */
.support-center-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    height: 70vh;
}

.conversation-list {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    border: 1px solid #333;
    padding: 1.5rem;
    overflow-y: auto;
}

.conversation-list h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.conversation-item {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.conversation-item:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: #dc2626;
}

.conversation-item.active {
    background: rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}

.conversation-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.conversation-ticket-number {
    font-weight: 700;
    color: #dc2626;
    font-size: 0.9rem;
}

.conversation-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.conversation-customer {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.conversation-subject {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.conversation-time {
    color: #666;
    font-size: 0.8rem;
}

.conversation-detail {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.conversation-header {
    padding: 1.5rem;
    border-bottom: 1px solid #333;
}

.conversation-header h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.conversation-header-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.conversation-header-info div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.conversation-header-info label {
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 600;
}

.conversation-header-info span {
    color: #ffffff;
    font-size: 0.9rem;
}

.conversation-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    max-width: 80%;
}

.message.customer {
    align-self: flex-start;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
}

.message.admin {
    align-self: flex-end;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.message-sender {
    font-weight: 600;
    color: #ffffff;
}

.message-time {
    color: #666;
    font-size: 0.8rem;
}

.message-content {
    color: #cccccc;
    line-height: 1.5;
}

.reply-section {
    padding: 1.5rem;
    border-top: 1px solid #333;
}

.reply-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reply-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reply-actions select {
    padding: 8px 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #0a0a0a;
    color: #ffffff;
    font-size: 0.9rem;
}

.reply-actions select:focus {
    outline: none;
    border-color: #dc2626;
}

@media (max-width: 768px) {
    .support-center-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .conversation-list {
        height: 300px;
    }
    
    .conversation-messages {
        height: 400px;
    }
    
    .reply-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Ticket Status Details */
.ticket-status-details {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #333;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.ticket-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
}

.ticket-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-open {
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
}

.status-in-progress {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-resolved {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-closed {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

.ticket-details {
    display: grid;
    gap: 1rem;
}

.ticket-detail-row {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
}

.ticket-detail-label {
    font-weight: 600;
    color: #dc2626;
    min-width: 150px;
}

.ticket-detail-value {
    color: #ffffff;
    flex: 1;
}

.ticket-timeline {
    margin-top: 2rem;
}

.ticket-timeline h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 8px;
    border-left: 3px solid #dc2626;
}

.timeline-date {
    color: #dc2626;
    font-size: 0.9rem;
    min-width: 100px;
}

.timeline-content {
    color: #cccccc;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section li {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #dc2626;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #cccccc;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #dc2626;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1px solid #333;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #dc2626;
}

.modal h2 {
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        font-size: 8rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .package-price .amount {
        font-size: 2.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
