:root {
    --primary-color: #2e8b57;
    /* SeaGreen - slightly deeper/richer than forest green */
    --primary-dark: #1e5f3c;
    --primary-light: #43a047;
    --secondary-color: #4682B4;
    /* Steel Gray/Blue */
    --secondary-dark: #315f85;
    --text-color: #1f2937;
    /* Softer black */
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    /* Cool gray light */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.025em;
}

p {
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Optional: Add a simple visual element to logo if no image */
.logo::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
}

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

.nav-links .btn-primary {
    color: var(--white);
    /* Ensure contrast */
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 6px rgba(46, 139, 87, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 139, 87, 0.35);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    /* slightly less than full viewport for cue */
    background-image: url('assets/hero-quarry.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 80px;
    /* Offset for header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    /* Larger */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: block;
}

.sub-headline {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #e5e7eb;
    font-weight: 300;
    max-width: 600px;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 70px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Cards */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.0);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-light);
    flex-grow: 1;
    /* Pushes footer content down */
    margin-bottom: 1.5rem;
}

/* Feature Cards (Solution) */
.feature-card {
    text-align: left;
    border-left: 4px solid var(--primary-color);
}

/* Persona Cards */
.persona-card {
    text-align: center;
    position: relative;
    padding-top: 60px;
    overflow: visible;
}

.persona-icon {
    font-size: 2.5rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 1px solid #eee;
}

.persona-card h3 {
    margin-top: 10px;
}

.feature-list {
    text-align: left;
    margin-top: auto;
    /* Aligns to bottom */
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.feature-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* Pricing Card */
.pricing-card {
    text-align: center;
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, var(--white) 0%, #f0fdf4 100%);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    margin: 20px 0;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.variable-fee {
    font-size: 1.25rem;
    color: var(--secondary-color);
    font-weight: 700;
    background: rgba(70, 130, 180, 0.1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 2rem;
}

/* Text Blocks */
.text-block h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.text-block p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Timeline */
.timeline {
    border-left: 2px solid var(--secondary-color);
    padding-left: 30px;
    margin-top: 30px;
}

.timeline li {
    position: relative;
    padding-bottom: 30px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -37px;
    /* 30 padding + 2 border + 5 radius */
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 5px;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.data-table th {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 16px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    background: var(--white);
}

.tech-image-container img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: rotate(1deg);
    /* Slight stylistic tilt */
    transition: var(--transition);
}

.tech-image-container:hover img {
    transform: rotate(0deg);
}

/* Footer */
.footer {
    background-color: #0f172a;
    /* Slate 900 */
    color: #94a3b8;
    padding: 80px 0 30px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer p {
    color: inherit;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.contact-form input {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
}

.contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus {
    outline: 2px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.75rem;
    }

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

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}