/* TerraCrest AgTech - Forest Palette & Modern Sans-serif */

:root {
    --tc-primary-dark: #1B4332;
    --tc-primary: #2D6A4F;
    --tc-primary-light: #40916C;
    --tc-accent: #74C69D;
    --tc-earth: #8C6239;
    --tc-bg-light: #F8F9FA;
    --tc-bg-alt: #E9ECEF;
    --tc-text-main: #212529;
    --tc-text-muted: #6C757D;
    --tc-white: #FFFFFF;
    --tc-font-sans: 'Outfit', sans-serif;
}

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

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

/* Utility & Image Rules */
.tc-fluid-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.tc-text-center {
    text-align: center;
}
.tc-inline-link {
    color: var(--tc-primary);
    text-decoration: underline;
    font-weight: 500;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--tc-primary-dark);
}
.tc-section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Header & Nav */
.tc-header-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--tc-bg-alt);
    padding: 1rem 2rem;
}
.tc-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tc-brand-mark {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.tc-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tc-primary-dark);
    letter-spacing: -0.5px;
}
.tc-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.tc-nav-links a {
    text-decoration: none;
    color: var(--tc-text-main);
    font-weight: 500;
    transition: color 0.3s ease;
}
.tc-nav-links a:hover {
    color: var(--tc-primary);
}
.tc-nav-links .tc-ghost-link {
    color: var(--tc-text-muted);
}
.tc-action-btn {
    background-color: var(--tc-primary);
    color: var(--tc-white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
}
.tc-action-btn:hover {
    background-color: var(--tc-primary-dark);
}

/* Hero Section */
.tc-hero-stage {
    position: relative;
    padding: 8rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.tc-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.tc-shape {
    position: absolute;
    background: var(--tc-primary-light);
    opacity: 0.05;
    border-radius: 50%;
}
.tc-shape-one {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
}
.tc-shape-two {
    width: 400px;
    height: 400px;
    bottom: 50px;
    right: -100px;
    background: var(--tc-earth);
}
.tc-hero-headline {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.tc-hero-subhead {
    font-size: 1.25rem;
    color: var(--tc-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}
.tc-hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.tc-btn-primary {
    background-color: var(--tc-primary-dark);
    color: var(--tc-white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}
.tc-btn-primary:hover {
    background-color: var(--tc-earth);
}
.tc-hero-trust {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tc-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tc-rounded-img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(27, 67, 50, 0.15);
}

/* Origins (About) */
.tc-origins-module {
    background-color: var(--tc-white);
    padding: 7.5rem 2rem;
}
.tc-origins-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 5rem;
    align-items: center;
}
.tc-origins-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.tc-stat-cluster {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tc-bg-alt);
}
.tc-stat-node {
    display: flex;
    flex-direction: column;
}
.tc-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--tc-primary);
    line-height: 1;
}
.tc-stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tc-primary);
}
.tc-stat-label {
    font-size: 0.9rem;
    color: var(--tc-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}
.tc-shadow-img {
    border-radius: 8px;
    box-shadow: -15px 15px 0 var(--tc-accent);
}

/* Solutions Matrix */
.tc-solutions-matrix {
    padding: 6.5rem 2rem;
    background-color: var(--tc-bg-light);
    max-width: 1200px;
    margin: 0 auto;
}
.tc-matrix-header {
    max-width: 600px;
    margin-bottom: 4rem;
}
.tc-section-desc {
    font-size: 1.15rem;
    color: var(--tc-text-muted);
}
.tc-cards-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.tc-ag-card {
    background: var(--tc-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.tc-ag-card:hover {
    transform: translateY(-5px);
}
.tc-ag-card img {
    height: 220px;
}
.tc-ag-card-body {
    padding: 2rem;
}
.tc-ag-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.tc-ag-card-body p {
    font-size: 0.95rem;
    color: var(--tc-text-muted);
}

/* Perks / Benefits */
.tc-yield-perks {
    background-color: var(--tc-primary-dark);
    color: var(--tc-white);
    padding: 5rem 2rem;
}
.tc-yield-perks .tc-section-title {
    color: var(--tc-white);
}
.tc-perks-container {
    max-width: 900px;
    margin: 0 auto;
}
.tc-perk-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.tc-perk-list li {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-left: 4px solid var(--tc-accent);
    border-radius: 4px;
}
.tc-perk-list li strong {
    display: block;
    color: var(--tc-accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Grower Feedback */
.tc-grower-feedback {
    padding: 7rem 2rem;
    background-color: var(--tc-white);
}
.tc-feedback-row {
    max-width: 1000px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.tc-testimonial-block {
    position: relative;
}
.tc-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--tc-text-main);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.tc-quote::before {
    content: '"';
    font-size: 6rem;
    color: var(--tc-bg-alt);
    position: absolute;
    top: -2rem;
    left: -1.5rem;
    z-index: -1;
    font-family: serif;
}
.tc-author-plate {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.tc-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.tc-author-info strong {
    display: block;
    color: var(--tc-primary-dark);
}
.tc-author-info span {
    font-size: 0.85rem;
    color: var(--tc-text-muted);
}

/* Inquiry Zone */
.tc-inquiry-zone {
    padding: 6rem 2rem 8rem;
    background-color: var(--tc-bg-alt);
}
.tc-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--tc-white);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.tc-form-context {
    margin-bottom: 2.5rem;
    color: var(--tc-text-muted);
}
.tc-ag-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.tc-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--tc-primary-dark);
    font-size: 0.9rem;
}
.tc-input-group input, 
.tc-input-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: var(--tc-font-sans);
    font-size: 1rem;
}
.tc-input-group input:focus,
.tc-input-group textarea:focus {
    outline: none;
    border-color: var(--tc-primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}
.tc-submit-btn {
    background-color: var(--tc-primary-dark);
    color: var(--tc-white);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}
.tc-submit-btn:hover {
    background-color: var(--tc-earth);
}

/* Footer */
.tc-base-footer {
    background-color: #112A20;
    color: #D8F3DC;
    padding: 4rem 2rem 2rem;
}
.tc-footer-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.tc-footer-brand h3 {
    color: var(--tc-white);
    margin-bottom: 1rem;
}
.tc-micro-disclaimer {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 1.5rem;
}
.tc-footer-contact h4, 
.tc-footer-links h4 {
    color: var(--tc-accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.tc-footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.tc-footer-contact a, 
.tc-footer-links a {
    color: #D8F3DC;
    text-decoration: none;
    transition: color 0.3s;
}
.tc-footer-contact a:hover, 
.tc-footer-links a:hover {
    color: var(--tc-white);
}
.tc-footer-links ul {
    list-style: none;
}
.tc-footer-links li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
.tc-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive leakage */
@media (max-width: 992px) {
    .tc-hero-stage, .tc-origins-grid, .tc-feedback-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .tc-hero-stage {
        padding: 6rem 1.5rem 4rem;
    }
    .tc-hero-headline {
        font-size: 3rem;
    }
    .tc-footer-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
@media (max-width: 768px) {
    .tc-nav-links {
        display: none;
    }
    .tc-perk-list {
        grid-template-columns: 1fr;
    }
    .tc-form-wrapper {
        padding: 2.5rem 1.5rem;
    }
}
