/* Import DM Sans font */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

/* Color theme from brand guide */
:root {
    --primary-black: #000000;
    --primary-blue: #455BF1;
    --accent-blue: #3748c8;
    --text-dark: #333;
    --text-light: #4D4D4D;
    --background-light: #f5f5f5;
    --white: #FFFFFF;
    --neutral-light: #F9F9F9;
    --neutral-grey: #F4F4F4;
    --border-grey: #E0E0E0;
    --success-green: #28ca42;
    --warning-orange: #f39c12;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Header/Navigation Bar */
.header-bar {
    background-color: var(--primary-black);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 90px;
}

.branding {
    display: flex;
    align-items: center;
}

.branding img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.site-title {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-left: 15px;
    white-space: nowrap;
}

.top-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-links a {
    color: var(--white);
    text-decoration: none;
    font: normal 12px / 16px 'DM Sans', Helvetica, Arial, sans-serif;
    padding: 5px;
    transition: color 0.3s ease;
}

.top-links a:hover {
    color: var(--primary-blue);
}

/* Products dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: var(--white);
    text-decoration: none;
    font: normal 12px / 16px 'DM Sans', Helvetica, Arial, sans-serif;
    padding: 5px;
    transition: color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle:hover {
    color: var(--primary-blue);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid var(--border-grey);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark) !important;
    text-decoration: none;
    font: normal 13px / 18px 'DM Sans', Helvetica, Arial, sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-grey);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--neutral-light);
    color: var(--primary-blue) !important;
}

.dropdown-item:visited {
    color: var(--text-dark) !important;
}

.dropdown-item:visited:hover {
    color: var(--primary-blue) !important;
}

/* Main content spacing */
main {
    margin-top: 70px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Copyright Footer */
.copyright-footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.copyright-footer p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Section spacing */
.section {
    padding: 100px 0;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Footer content styling */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.contact-support h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.contact-support p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.support-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.support-button {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.support-button.primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.support-button.primary:hover {
    background-color: var(--accent-blue);
}

.support-button.secondary {
    background-color: var(--accent-blue);
    color: var(--white);
}

.support-button.secondary:hover {
    background-color: var(--primary-blue);
}

.newsletter-signup h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-grey);
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(69, 91, 241, 0.1);
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.subscribe-button {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.subscribe-button:hover {
    background-color: var(--primary-blue);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-bar {
        padding: 0 20px;
    }

    .container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .support-buttons {
        flex-direction: column;
    }

    .support-button {
        justify-content: center;
    }
}