/* --- General Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a192f;
    color: #ccd6f6;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #ffffff;
    font-weight: 600;
}

a {
    color: #64ffda;
    text-decoration: none;
}

/* --- Header & Navbar --- */
.navbar {
    background: #0a192f;
    padding: 1rem 0;
    border-bottom: 1px solid #132f5e;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #ccd6f6;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #64ffda;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0a192f;
    border: 1px solid #132f5e;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    color: #ccd6f6;
    padding: 12px 16px;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- Buttons --- */
.btn {
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 5px;
}

.btn-primary {
    background-color: #64ffda;
    color: #0a192f;
    border: 1px solid #64ffda;
    white-space: nowrap;
    min-width: 160px;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: transparent;
    color: #64ffda;
}

.btn-secondary {
    background-color: transparent;
    color: #64ffda;
    border: 1px solid #64ffda;
    white-space: nowrap;
    min-width: 160px;
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #64ffda;
    color: #0a192f;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* --- Page-Specific Sections --- */
.page-header {
    background: #112240;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.page-header p {
    font-size: 1.1rem;
    color: #8892b0;
}

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.content-section p {
    color: #8892b0;
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.feature-item {
    background: #112240;
    padding: 25px;
    border-radius: 4px;
    border-left: 3px solid #64ffda;
}

.feature-item.problem {
    border-left-color: #e06c75; /* Red for problem items */
}

.feature-item h3 {
    margin-top: 0;
    color: #ccd6f6;
}

.two-column-layout {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.two-column-layout div {
    width: 45%;
}

.two-column-layout h3 {
    color: #64ffda;
    border-bottom: 1px solid #132f5e;
    padding-bottom: 10px;
}

.two-column-layout ul {
    list-style-type: '✓ ';
    padding-left: 20px;
}

.two-column-layout ul li {
    margin-bottom: 10px;
}

.cta-section {
    text-align: center;
    padding: 40px;
    margin-top: 50px;
    background: #112240;
    border-radius: 4px;
}

.cta-section .btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cta-section h2 {
    margin: 0 0 20px 0;
}

.cta-section .btn {
    min-width: 200px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.page-hero-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px auto;
    display: block;
    border-radius: 8px;
    background-color: #112240; /* Placeholder background */
}

.product-components {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    display: block;
    border-radius: 8px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #132f5e;
    font-size: 0.9rem;
    color: #8892b0;
}

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

.modal-content {
    background-color: #0a192f;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #132f5e;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close-btn {
    color: #ccd6f6;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #64ffda;
    text-decoration: none;
}

/* --- Modal Styles --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #0a192f;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid #64ffda;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #64ffda;
    cursor: pointer;
    background: none;
    border: none;
}

.close-btn:hover,
.close-btn:focus {
    color: #64ffda;
    text-decoration: none;
}

/* --- Form --- */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #112240;
    border: 1px solid #132f5e;
    color: #ccd6f6;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

#contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

#contact-form button[type="submit"] {
    margin-top: 1rem;
}

#contact-form-status {
    margin-top: 1rem;
    text-align: center;
    min-height: 1.5rem;
}
#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #112240;
    border: 1px solid #132f5e;
    color: #ccd6f6;
    border-radius: 4px;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #8892b0;
}

#contact-form button {
    width: 100%;
}

#contact-form-status.success {
    color: #64ffda; /* Accent color for success */
    margin-top: 10px;
}

#contact-form-status.error {
    color: #ff6464; /* A reddish color for errors */
    margin-top: 10px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
        gap: 20px;
    }

    .two-column-layout div {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
