:root {
    /* Brand Colors based on Logo */
    --color-primary: #1B3A5F;
    /* Navy Blue */
    --color-secondary: #4CAF50;
    /* Green */
    --color-accent: #FF9800;
    /* Orange */
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-background: #f8fafc;
    --color-white: #ffffff;

    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1200px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: --color-text;
    background-color: var(--color-background);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Background Decoration */
.background-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(27, 58, 95, 0.05) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(76, 175, 80, 0.05) 0%, transparent 40%);
}

.background-decor::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* Header */
.header {
    padding: 2rem 0;
}

.logo {
    height: 90px;
    /* Increased size for better visibility */
    width: auto;
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(27, 58, 95, 0.1);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 152, 0, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Newsletter Form */
.newsletter-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-label {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input[type="email"]:focus {
    border-color: var(--color-primary);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: #152d4a;
    /* Darker navy */
}

.btn-primary:active {
    transform: translateY(1px);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.875rem;
    min-height: 1.25em;
}

.message-success {
    color: var(--color-secondary);
}

.message-error {
    color: #ef4444;
}

/* Features Grid */
.features {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--color-background);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 58, 95, 0.1);
    background: #fff;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--color-text-light);
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .input-group {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}