:root {
    /* Brand Colors */
    --color-primary: #619731;
    /* Green */
    --color-primary-dark: #4d7a25;
    --color-secondary: #5D5D5D;
    /* Dark Grey */
    --color-secondary-dark: #4a4a4a;
    --color-dark: #222222;
    --color-light: #f9fbf9;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;

    /* Variables */
    --font-main: 'Inter', sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

/* Utilities */
.text-primary {
    color: var(--color-primary) !important;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--color-light);
}

.bg-dark {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.rounded-image {
    border-radius: var(--border-radius-lg);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Typography */
.accent-line {
    height: 4px;
    width: 60px;
    background-color: var(--color-primary);
    margin-bottom: 30px;
    border-radius: 2px;
}

.accent-line.center {
    margin: 0 auto 30px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(97, 151, 49, 0.2);
    color: var(--color-white);
}

/* Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header-container {
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.header-left {
    justify-self: start;
}

.header-center {
    justify-self: center;
}

.header-right {
    justify-self: end;
}

.header-licenses {
    display: flex;
    align-items: center;
    /* remove gap here since it's inside the badge now */
}

.license-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-light);
    border: 1px solid #eaeaea;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.license-badge i {
    color: var(--color-primary);
    font-size: 1rem;
}

.license-badge strong {
    color: var(--color-dark);
}

.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.contact-row {
    display: flex;
    align-items: center;
}

.contact-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.contact-link i {
    color: var(--color-primary);
    font-size: 1rem;
}

.contact-link:hover {
    color: var(--color-primary);
}

.logo img {
    height: 60px;
}

/* 1. Hero Section */
.hero {
    position: relative;
    padding: 20px 0;
    background-image: url('assets/img/hero.png');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(93, 93, 93, 0.92) 0%, rgba(34, 34, 34, 0.85) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 580px;
}

.hero-badge {
    padding: 6px 18px;
    background: #515151;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    width: fit-content;
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-white);
    border-radius: 50%;
    margin-right: 12px;
}

.hero-form-container {
    max-width: 420px;
    margin-left: auto;
}

.hero-content h1 {
    font-size: 2.7rem;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1.25;
    font-weight: 800;
}

.sub-headline {
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.6;
    opacity: 0.9;
}

.social-proof-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 25px;
    margin-top: 15px;
    max-width: 580px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
}

.trust-item i {
    color: var(--color-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.hero-form-card {
    background: var(--color-white);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    color: var(--color-text);
}

.hero-form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    text-align: left;
    color: var(--color-text);
    font-weight: 700;
}

.form-group-labels label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--color-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    background-color: var(--color-white);
    color: var(--color-text);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(97, 151, 49, 0.1);
}

.form-subtext {
    text-align: left;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
    line-height: 1.4;
}

.privacy-note {
    font-size: 0.65rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 8px;
    opacity: 0.8;
    line-height: 1.2;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.inline-form input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    background-color: var(--color-white);
    transition: var(--transition);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus,
.inline-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(97, 151, 49, 0.1);
}

.form-cta {
    width: 100%;
    margin-top: 5px;
    background-color: var(--color-primary);
    font-weight: 700;
    padding: 12px;
}

.form-cta:hover {
    background-color: var(--color-primary-dark);
}

/* 2. Who We Help */
.cards-grid .card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.cards-grid .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(97, 151, 49, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

/* 3. Local Authority */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.split-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* 4. Tiers */
.tier-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

.tier-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
}

.featured-tier {
    background: var(--color-white);
    color: var(--color-text);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.featured-tier:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--color-white);
}

.featured-tier h3 {
    color: var(--color-dark);
}

.tier-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tier-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.featured-tier .tier-header {
    border-bottom: 1px solid #eee;
}

.price-range {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.feature-list {
    margin-top: 20px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.feature-list li i {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* 5. FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    overflow: hidden;
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--color-white);
    transition: background-color var(--transition);
}

.faq-question:hover {
    background-color: var(--color-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    color: var(--color-text-light);
    padding: 0 30px 24px 30px;
    margin: 0;
}

/* 6. Safety Stack */
.list-grid {
    gap: 40px;
}

.safety-feature-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.safety-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.safety-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.safety-content-wrapper {
    padding: 30px;
    display: flex;
    gap: 20px;
    flex-grow: 1;
}

.safety-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.safety-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.safety-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* 7. Roadmap */
.roadmap {
    position: relative;
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.95) 0%, rgba(18, 18, 18, 0.9) 100%), url('assets/img/roadmap.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.roadmap .section-title h2 {
    color: var(--color-white);
    text-align: left;
    margin-bottom: 20px;
}

.roadmap .roadmap-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 60px;
}

.roadmap-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12.5%;
    /* Start line behind first circle */
    width: 75%;
    /* End behind last circle */
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
}

.step-content {
    background: transparent;
    padding: 0;
    width: 100%;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 8. Testimonials */
.testimonial-card {
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: rgba(97, 151, 49, 0.1);
}

.quote {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.author strong {
    display: block;
    color: var(--color-dark);
    font-size: 1.1rem;
}

.author span {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* 9. CTA Section */
.cta-container {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    padding: 80px 40px;
    border-radius: var(--border-radius-lg);
    color: var(--color-white);
}

.cta-container h2 {
    color: var(--color-white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-container p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .main-header-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .header-left,
    .header-center,
    .header-right {
        justify-self: center;
    }

    .header-licenses {
        flex-direction: column;
        gap: 8px;
    }

    .license-badge {
        flex-direction: column;
        text-align: center;
    }

    .license-badge .divider {
        display: none;
    }

    .header-contact {
        align-items: center;
        gap: 10px;
    }

    .contact-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.inline-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
    max-width: 700px;
    margin: 0 auto;
}

.inline-form .btn-primary {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 14px 40px;
}

.inline-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.inline-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.inline-form input:focus {
    background: var(--color-white);
    color: var(--color-text);
}

@media (max-width: 768px) {
    .roadmap-timeline {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline::before {
        display: none;
    }
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #aaaaaa;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.site-footer h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.site-footer ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer ul li i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.site-footer a {
    color: #aaaaaa;
}

.site-footer a:hover {
    color: var(--color-primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--color-white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trust-stack {
        text-align: left;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .featured-tier {
        transform: scale(1);
    }

    .featured-tier:hover {
        transform: translateY(-5px);
    }

    .roadmap-timeline::before {
        left: 30px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .inline-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .social-proof-bar {
        grid-template-columns: 1fr;
    }

    .cards-grid .card {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}