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

:root {
    --bg-color: #0A1128;
    --accent-color: #4D9DE0;
    --accent-hover: #3b8bcc;
    --text-color: #ffffff;
    --secondary-bg: rgba(255, 255, 255, 0.07);
    --glow-color: rgba(77, 157, 224, 0.3);
}

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

html, body {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1128 0%, #0f1a3b 100%);
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0A1128 0%, #0f1a3b 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader:before, .loader:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--accent-color);
}

.loader:before {
    animation: spin 1.5s linear infinite;
    z-index: 2;
}

.loader:after {
    border: 3px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

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

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.content {
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1000px;
    padding: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-size: 4.5rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    word-wrap: break-word;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline-container {
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 2rem;
}

.typewriter {
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(77, 157, 224, 0.5);
    border-right: .15em solid var(--accent-color);
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.divider {
    width: 60%;
    margin: 2rem auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.tabs-container {
    margin-top: 2rem;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab {
    padding: 1rem 2rem;
    background: var(--secondary-bg);
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab.active {
    background: rgba(77, 157, 224, 0.1);
}

.tab.active::before {
    transform: scaleX(1);
}

.tab:hover {
    background: rgba(77, 157, 224, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-info {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--secondary-bg);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    letter-spacing: 3px;
}

.product-description {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.features-list {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.features-list li {
    padding: 1rem;
    margin: 0.5rem 0;
    background: var(--secondary-bg);
    border-radius: 8px;
    position: relative;
    padding-left: 2.5rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--accent-color);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    background: var(--secondary-bg);
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(77, 157, 224, 0.2);
}

.contact-form button {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    box-shadow: 0 5px 15px rgba(77, 157, 224, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.contact-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(77, 157, 224, 0.4);
}

.contact-form button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form button:hover::after {
    left: 100%;
}

.discord-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #5865F2, #4752C4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.1);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s, box-shadow 0.5s ease, background 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.discord-button.visible {
    opacity: 1;
    transform: translateY(0);
}

.discord-button:hover {
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
}

.shape {
    position: fixed;
    bottom: -100px;
    background: radial-gradient(circle at center, rgba(77, 157, 224, 0.2), rgba(77, 157, 224, 0.05));
    animation: float-rotate linear infinite;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(77, 157, 224, 0.1);
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease-out;
}

.shape.visible {
    opacity: 1;
}

.circle {
    border-radius: 50%;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .typewriter {
        font-size: 1rem;
    }

    .tagline-container {
        height: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .features-list li {
        padding: 0.8rem;
        padding-left: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .typewriter {
        font-size: 0.9rem;
    }

    .tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }

    .discord-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}

@keyframes float-rotate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.2;
    }
}