@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #191919;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #191919;
    color: white;
    padding: 1rem 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-img {
    height: 60px;
    width: auto;
}

.hero-logo {
    height: 500px;
    width: auto;
    max-width: 90%;
    display: block;
    margin: 0 auto;
}

.exploit-logo {
    height: 50px;
    width: auto;
    max-width: 90%;
    display: block;
    margin: -2rem auto 0 auto;
}

.breach-logo {
    height: 50px;
    width: auto;
    max-width: 90%;
    display: block;
    margin: 0.5rem auto 0 auto;
}

.login-link {
    background: #146aff;
    color: #ffffff;
    padding: 0.175rem 0.8rem;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.2s ease;
    position: absolute;
    right: 2rem;
    top: 1rem;
    font-weight: 100;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
}

.login-link:hover {
    background: #1662e5;
}

main {
    padding: 0 2rem;
    text-align: center;
    margin-top: 0.5rem;
    flex: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #2c2c2c;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    color: #fff;
}

.close {
    color: #ccc;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover {
    color: #fff;
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: bold;
    color: #fff;
}

input[type="text"] {
    padding: 0.8rem;
    border: 2px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #3c3c3c;
    color: #fff;
}

input[type="text"]:focus {
    outline: none;
    border-color: #3f75ff;
}

button {
    background: #146aff;
    color: #ffffff;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
}

button:hover {
    background: #1662e5;
}

.error {
    color: #3a65ff;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.error.show {
    display: block;
}

/* Footer */
.footer-bottom {
    background: #191919;
    color: #999;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}
/* Create Account and Back to Login Links */
.create-account-link, .back-to-login {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.create-account-link a, .back-to-login a {
    color: #00ffd1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.create-account-link a:hover, .back-to-login a:hover {
    color: #00e6bc;
    text-decoration: underline;
}

/* Password input styling */
input[type="password"], input[type="email"] {
    padding: 0.8rem;
    border: 2px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #3c3c3c;
    color: #fff;
}

input[type="password"]:focus, input[type="email"]:focus {
    outline: none;
    border-color: #00ffd1;
}
/* Navigation Section */
.nav-section {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nav-links {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #00ffd1;
}

.nav-link.active {
    color: #00ffd1;
    font-weight: 600;
}

.nav-separator {
    color: #666;
    margin: 0 1rem;
    font-size: 1.2rem;
}

/* Content Area */
.content-area {
    margin-top: 2rem;
    min-height: 300px;
}

.content-section {
    display: none;
    text-align: left;
    padding: 2rem;
    background: #2c2c2c;
    border-radius: 10px;
    border: 1px solid #444;
    animation: fadeIn 0.3s ease-in-out;
}

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

.content-section h4 {
    color: #00ffd1;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.content-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section li {
    color: #fff;
    padding: 0.5rem 0;
    border-bottom: 1px solid #444;
    position: relative;
    padding-left: 1.5rem;
}

.content-section li:last-child {
    border-bottom: none;
}

.content-section li:before {
    content: "▸";
    color: #00ffd1;
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

/* Responsive design for navigation */
@media (max-width: 768px) {
    .nav-section {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.3rem 0.5rem;
    }
    
    .nav-separator {
        margin: 0 0.5rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .content-section h4 {
        font-size: 1.3rem;
    }
}