/* Base Styles and Variables */
:root {
    --bg-color: #FDFDFB; /* Light warm neutral */
    --text-main: #2A312A; /* Dark forest slate */
    --text-muted: #5B655B;
    --primary: #2C5545; /* Flagstaff Pine Green */
    --primary-hover: #1F3D32;
    --secondary: #E3E1D9; /* Soft taupe/beige */
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(44, 85, 69, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Details */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(44, 85, 69, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 85, 69, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: #D5D2C8;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(253, 253, 251, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 90px;
    width: auto;
    border-radius: 8px; /* Assuming the IG screenshot might need soft edges */
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-btn {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                url('pexels-strangehappenings-11756811.jpg') center/cover no-repeat;
    color: #fff;
}

.hero h1, .hero p {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content {
    max-width: 800px;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin: 1.5rem auto 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: #fff;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

/* Submission Section */
.submit-section {
    padding: 6rem 5%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
}

.submit-container {
    max-width: 700px;
    width: 100%;
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.submit-container h2, .submit-container p {
    text-align: center;
}

/* Forms */
.custom-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid #D5D2C8;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: #FAFAFA;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 85, 69, 0.1);
    background-color: #fff;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-group label {
    cursor: pointer;
}

.form-message {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    min-height: 1.5rem;
}

.success-text {
    color: var(--primary);
    background: #EAF0EC;
    padding: 1rem;
    border-radius: 8px;
}

.error-text {
    color: #D32F2F;
    background: #FFEBEE;
    padding: 1rem;
    border-radius: 8px;
}

/* Inline Form */
.inline-form {
    flex-direction: row;
    margin-top: 2rem;
}

.inline-form input {
    flex: 1;
}

.inline-form button {
    white-space: nowrap;
}

/* Partner Section */
.partner-section {
    padding: 5rem 5%;
    background-color: #fff;
    text-align: center;
}

.partner-content {
    max-width: 800px;
    margin: 0 auto;
}

.partner-options {
    margin: 2rem 0;
    font-weight: 500;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 2;
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 5%;
    background-color: var(--primary);
    color: #fff;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-section h2 {
    color: #fff;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    padding: 3rem 5%;
    text-align: center;
    background-color: #1A201A;
    color: #8C948C;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #E3E1D9;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .inline-form {
        flex-direction: column;
    }
    
    .submit-container {
        padding: 2rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}
