/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00A52E;
    --secondary-color: #00C9FF;
    --dark-bg: #0A0E27;
    --card-bg: #162238;
    --text-primary: #FFFFFF;
    --text-secondary: #B8BCC8;
    --accent: #00C9FF;
    --gradient: linear-gradient(135deg, #0082CC 0%, #00C9FF 100%);
    --glow-color: rgba(0, 201, 255, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 201, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 165, 46, 0.15) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(22, 34, 56, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 201, 255, 0.1);
    border-bottom: 1px solid rgba(0, 201, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--secondary-color);
}

.nav-link.active::after {
    width: 80%;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 201, 255, 0.3));
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 201, 255, 0.6));
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-btn-primary,
.header-btn-secondary {
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header-btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 201, 255, 0.4);
}

.header-btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.header-btn-primary::before,
.header-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.header-btn-primary:hover::before,
.header-btn-secondary:hover::before {
    left: 100%;
}

.header-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 201, 255, 0.6);
}

.header-btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(0, 201, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 130, 204, 0.1) 0%, rgba(0, 201, 255, 0.1) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%2300C9FF" opacity="0.4"/><circle cx="80" cy="40" r="2" fill="%230082CC" opacity="0.4"/><circle cx="50" cy="80" r="2" fill="%2300C9FF" opacity="0.4"/></svg>');
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #0082CC 0%, #00C9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 201, 255, 0.3);
}

.hero-utp {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: rgba(0, 201, 255, 0.1);
    padding: 20px 30px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 10px;
    margin: 25px auto 30px;
    max-width: 900px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 201, 255, 0.2);
}

/* Page Navigation */
.page-nav {
    background: rgba(22, 34, 56, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 999;
    border-bottom: 1px solid rgba(0, 201, 255, 0.2);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.page-nav-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.page-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.page-nav-link:hover {
    color: var(--secondary-color);
    background: rgba(0, 201, 255, 0.1);
    border-color: rgba(0, 201, 255, 0.3);
    transform: translateY(-2px);
}

.page-nav-link:active {
    color: var(--secondary-color);
    background: rgba(0, 201, 255, 0.15);
    border-color: var(--secondary-color);
}

.cta-button {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 30px rgba(0, 201, 255, 0.5);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 201, 255, 0.7);
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.content-block {
    background: var(--card-bg);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 201, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.content-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 201, 255, 0.3);
    border-color: rgba(0, 201, 255, 0.3);
}

.content-block:hover::before {
    transform: scaleX(1);
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 201, 255, 0.6);
}

.utp {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: rgba(0, 201, 255, 0.1);
    padding: 15px 20px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
    margin: 20px 0;
    line-height: 1.8;
    box-shadow: 0 0 15px rgba(0, 201, 255, 0.2);
}

.content-block p:not(.utp) {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.tab-button {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--text-secondary);
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

.tab-content {
    display: none;
    padding: 20px;
    background: rgba(0, 201, 255, 0.05);
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid rgba(0, 201, 255, 0.1);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: rgba(22, 34, 56, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 60px;
    border-top: 1px solid rgba(0, 201, 255, 0.2);
}

.footer p {
    margin: 5px 0;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 201, 255, 0.5);
}

.footer-separator {
    color: var(--text-secondary);
}

/* Mirror Button */
.mirror-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.3);
}

.mirror-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 201, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    margin: 10% auto;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
}

.modal-large {
    max-width: 800px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--secondary-color);
}

.modal-content h2 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.modal-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1rem;
}

.modal-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 20px;
    text-align: center;
    padding: 15px;
    background: rgba(0, 201, 255, 0.05);
    border-radius: 10px;
}

/* Mirror List */
.mirror-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.mirror-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 201, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 201, 255, 0.2);
    transition: all 0.3s ease;
}

.mirror-card:hover {
    background: rgba(0, 201, 255, 0.1);
    border-color: rgba(0, 201, 255, 0.4);
    transform: translateX(5px);
}

.mirror-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mirror-status.online {
    background: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mirror-info {
    flex: 1;
}

.mirror-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.mirror-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.mirror-go-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mirror-go-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.5);
}

/* Mirror Links */
.mirror-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px dashed rgba(0, 201, 255, 0.5);
}

.mirror-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--secondary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 201, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 201, 255, 0.6);
}

.back-to-top.show {
    display: flex;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-utp {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        display: flex;
        gap: 10px;
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 15px;
    }

    .header-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .page-nav {
        top: 60px;
        padding: 15px 0;
    }

    .page-nav-container {
        gap: 8px;
    }

    .page-nav-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .header-btn-primary,
    .header-btn-secondary {
        width: 100%;
    }

    .logo-img {
        height: 40px;
    }

    .content-block {
        padding: 25px;
    }

    .content-block h2 {
        font-size: 1.5rem;
    }

    .utp {
        font-size: 1rem;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-utp {
        font-size: 1rem;
        padding: 12px 15px;
    }

    .main-nav {
        gap: 5px;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .page-nav {
        top: 70px;
        padding: 12px 0;
    }

    .page-nav-container {
        gap: 5px;
    }

    .page-nav-link {
        font-size: 11px;
        padding: 5px 10px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }

    .content-block {
        padding: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .modal-content {
        margin: 10% auto;
        padding: 25px;
        max-width: 90%;
    }

    .mirror-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .mirror-go-btn {
        width: 100%;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

