*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    display: flex;
    flex-direction: column;
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 72px;
    overflow-y: auto;
    overflow-x: hidden;
}

#pagebg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 16px clamp(16px, 4vw, 40px);
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 16px;
}

.navbar-inner > * {
    display: inline-flex;
    align-items: center;
}

.brand {
    flex: 1;
}

.navbar-inner .nav-links {
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.brand {
    color: white;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    content: '';
    top: -8px;
}

.nav-toggle-label span::after {
    content: '';
    top: 8px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-toggle-label {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        gap: 16px;
        max-height: 0;
        overflow: hidden;
        padding: 0 20px;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    #nav-toggle:checked ~ .nav-links {
        max-height: 260px;
        padding: 16px 20px 20px;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.container {
    text-align: center;
    background: none;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    animation: slideIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: transform 0.8s ease, opacity 0.8s ease;
    max-width: 900px;
    width: 100%;
}

h1 {
    color: white;
    font-size: 48px;
}

p {
    color: white;
    font-size: 29px;
}

.description {
    font-size: 16px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #ccc;
}

.subscribe {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.email-input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 250px;
    font-size: 16px;
}

.notify-btn {
    padding: 10px 20px;
    background-color: #333333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.notify-btn:hover {
    background-color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.form-group input {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-submit-btn {
    padding: 12px 30px;
    background-color: #333333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.form-submit-btn:hover {
    background-color: #555;
}

.contact-form + .social-icons {
    margin-top: 50px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 36px;
    }

    p {
        font-size: 24px;
    }

    .description {
        font-size: 14px;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icon {
        font-size: 20px;
    }

    .subscribe {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .email-input {
        width: 200px;
    }

    .about-section {
        padding: 30px 0 0 0;
    }

    .section-container {
        grid-template-columns: 1fr;
    }

    .card h3 {
        font-size: 16px;
    }

    .card p {
        font-size: 13px;
    }
}

.footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 24px 30px;
    color: white;
    font-size: 14px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #a3d5ff;
    font-size: 16px;
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #bbb;
    margin: 10px 0;
    line-height: 1.6;
    font-size: 14px;
}

.footer-section a {
    color: #a3d5ff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: #ddd;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-link {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #a3d5ff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    margin: 0 6px;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #a3d5ff;
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 16px 20px;
    }

    .footer-content {
        gap: 24px;
        margin-bottom: 20px;
    }

    .footer-section h4 {
        font-size: 15px;
        margin: 0 0 12px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 13px;
    }

    .social-link {
        font-size: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        font-size: 12px;
    }

    .footer-links a {
        margin: 0 4px;
        font-size: 12px;
    }
}

.about-section {
    width: 100%;
    padding: 40px 0 0 0;
    background: none;
    display: flex;
    justify-content: center;
}

.section-container {
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.card {
    padding: 24px;
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.2) 0%, rgba(51, 102, 255, 0.1) 100%);
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 10px;
    color: white;
    transition: all 0.3s ease;
}

.card:hover {
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.35) 0%, rgba(51, 102, 255, 0.25) 100%);
    border-color: rgba(100, 150, 255, 0.6);
    transform: translateY(-5px);
}

.card h3 {
    color: #a3d5ff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
}

.card p {
    color: #ddd;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}