/* Base Styles */
:root {
  --primary-color: #2D3748;
  --primary-dark: #1E2A37;
  --secondary-color: #4A5D82;
  --cta-color: #ffd813;
  --cta-color-hover: #FF9900;
  --background-light: #F5F7FA;
  --text-dark: #2D3748;
  --text-light: #64748B;
  --white: #FFFFFF;
    --max-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--text-dark);
    min-height: 100%;
}

main {
    background-color: var(--background-light);
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

section {
    padding: 5rem 0;
}

/* Ensure consistent section spacing */
section > .container {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* Reset spacing on first elements in sections */
section > .container > :first-child {
    margin-top: 0;
}

/* Reset spacing on last elements in sections */
section > .container > :last-child {
    margin-bottom: 0;
}

/* Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .nav-links a:hover {
        color: var(--secondary-color);
    }

    .nav-links a.cta-button:hover {
        background: var(--cta-color-hover);
        color: var(--text-dark);
        opacity: 0.9;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #2D3748 0%, #3D4A5C 50%, #2D3748 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
}

.feature .icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.feature p {
    color: var(--text-dark);
    margin: 0;
}

/* Pain Points Section */
.pain-points {
    background: var(--white);
}

.cards-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.card li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #2D3748 0%, #3D4A5C 50%, #2D3748 100%);
    color: var(--white);
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.table-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-dark);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:nth-child(odd) {
    background: #f8fafc;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card h3 {
    color: var(--secondary-color);
}

/* Process Section */
.process {
    background: linear-gradient(135deg, #2D3748 0%, #3D4A5C 50%, #2D3748 100%);
    color: var(--white);
}

.process-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(5, 1fr);
    }

    .process-steps::before {
        content: '';
        position: absolute;
        top: 3.25rem;
        left: 2.5rem;
        right: 2.5rem;
        height: 2px;
        background: var(--primary-color);
        z-index: 0;
    }
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    color: var(--text-dark);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 600;
    font-size: 1.25rem;
}

/* Trust Signals Section */
.trust-signals {
    background: var(--white);
}

.trust-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trust-card {
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.trust-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.trust-card ul {
    list-style: none;
}

.trust-card li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.trust-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Contact Form */
.contact {
    background: var(--white);
}

.contact-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--cta-color);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
}

.cta-button.primary:hover {
    background: var(--cta-color-hover);
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-section:last-child {
        padding-left: 8rem;
    }
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section h4 a {
    text-decoration: none;
    color: var(--white) !important;
    opacity: 1 !important;
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-contact {
    white-space: nowrap;
    display: inline-block;
}

.footer-contact a {
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.button-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pricing {
    background: linear-gradient(135deg, #2D3748 0%, #3D4A5C 50%, #2D3748 100%);
    color: var(--white);
}

.pricing-features {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-row {
    display: flex;
    gap: 4rem;
    margin-bottom: 2rem;
}

.pricing-feature {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.pricing-feature .icon {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.pricing-feature p {
    margin: 0;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .pricing-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .pricing-feature {
        width: 100%;
    }
}

/* Card text colors */
.card p,
.service-card p,
.pricing-feature p,
.trust-card p,
.feature p {
    color: var(--text-dark);  /* Ensure readable text on white backgrounds */
}

/* List items in cards */
.card li,
.service-card li,
.trust-card li {
    color: var(--text-dark);
}

/* Card headings */
.card h3,
.service-card h3,
.trust-card h3 {
    color: var(--primary-color);
}

/* Icons in cards */
.feature .icon,
.pricing-feature .icon {
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

/* Three lines for hamburger */
.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Active state */
.mobile-menu-button.active .hamburger {
    background: transparent;
}

.mobile-menu-button.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-button.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-scroll-top {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 64px;
    }

    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 5rem 0 2rem;
    }    
    
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links a {
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: var(--border-radius);
        transition: background-color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: var(--background-light);
        color: var(--secondary-color);
    }

    .nav-links a.cta-button {
        background: var(--cta-color);
        color: var(--text-dark);
        text-align: center;
        margin-top: 0.5rem;
    }

    .nav-links a.cta-button:hover {
        background: var(--cta-color-hover);
        opacity: 0.9;
    }

    .table-header {
        align-items: center;
    }    

    /* NavScrollTop */
    .nav-scroll-top {
        background-color: rgba(33, 37, 41, 0.5);
        border-radius: 4px;
        bottom: 16px;
        display: grid;
        height: 56px;
        position: fixed;
        right: 16px;
        width: 56px;
        z-index: 999;
    }

    .nav-scroll-top a {
        align-self: center;
        color: #fff;
        font-size: 40px;
        justify-self: center;
    }

    .nav-scroll-top a > img {
        margin: 0;
    }

}