/* AgriHerd shared inner-page components */

/* Features */
.feature-page-card {
    height: 100%;
    border: 0;
    border-radius: var(--radius-lg);
    padding: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-page-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.feature-page-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: var(--agri-surface);
    color: var(--agri-forest);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.feature-page-card h4 {
    font-weight: 950;
    color: var(--agri-forest);
}

.feature-page-card p {
    color: var(--agri-muted);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.feature-list li {
    display: flex;
    gap: 10px;
    color: var(--agri-muted);
    font-weight: 650;
}

.feature-list li::before {
    content: "✓";
    color: #18723a;
    font-weight: 950;
}

.feature-band {
    background: var(--agri-forest);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 38px;
    box-shadow: 0 20px 50px rgba(7, 59, 36, 0.22);
}

.feature-band p {
    color: rgba(255, 255, 255, 0.75);
}

.workflow-mini {
    border-left: 4px solid var(--agri-green);
    padding-left: 18px;
    margin-bottom: 22px;
}

.workflow-mini h5 {
    font-weight: 950;
    color: var(--agri-forest);
}

.workflow-mini p {
    color: var(--agri-muted-light);
    margin-bottom: 0;
}

.security-pill {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    margin: 4px;
}

/* About */
.story-card,
.value-card,
.timeline-card,
.founder-card,
.cta-card-about {
    border: 0;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-pad {
    padding: 34px;
}

.value-card {
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.value-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--agri-surface);
    color: var(--agri-forest);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.value-card h5,
.timeline-card h5,
.founder-card h5 {
    color: var(--agri-forest);
    font-weight: 950;
}

.value-card p,
.timeline-card p,
.founder-card p {
    color: var(--agri-muted);
    margin-bottom: 0;
}

.timeline-step {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #eef3ef;
}

.timeline-step:last-child {
    border-bottom: 0;
}

.timeline-number {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--agri-forest);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 950;
    flex: 0 0 42px;
}

.founder-card {
    background:
        radial-gradient(circle at top right, rgba(242, 182, 50, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff, #fbfdfb);
}

.cta-card-about {
    background: linear-gradient(135deg, var(--agri-forest) 0%, #145c38 55%, var(--agri-green) 100%);
    color: #fff;
}

.cta-card-about .section-title,
.cta-card-about .section-subtitle {
    color: #fff;
}

.cta-card-about .section-subtitle {
    opacity: 0.82;
}

/* FAQ */
.faq-card {
    border: 0;
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.faq-sidebar {
    border: 0;
    border-radius: 28px;
    background: var(--agri-forest);
    color: #fff;
    box-shadow: 0 20px 50px rgba(7, 59, 36, 0.22);
    padding: 30px;
    position: sticky;
    top: 110px;
}

.faq-sidebar p {
    color: rgba(255, 255, 255, 0.76);
}

.faq-card .accordion-item {
    border: 0;
    border-bottom: 1px solid #eef3ef;
}

.faq-card .accordion-item:last-child {
    border-bottom: 0;
}

.faq-card .accordion-button {
    font-weight: 900;
    color: var(--agri-forest);
    padding: 22px 24px;
    background: #fff;
}

.faq-card .accordion-button:not(.collapsed) {
    color: var(--agri-forest);
    background: #f8fbf7;
    box-shadow: none;
}

.faq-card .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-card .accordion-body {
    color: var(--agri-muted);
    line-height: 1.75;
    padding: 0 24px 24px;
}

.quick-link-pill {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 850;
    margin: 4px;
}

.quick-link-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.help-card {
    border: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(242, 182, 50, 0.16), transparent 35%),
        #fff;
    box-shadow: var(--shadow-card);
    padding: 34px;
}

/* Contact */
.contact-shell {
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.75);
    overflow: hidden;
}

.contact-form-panel {
    background: #fff;
    padding: 38px;
}

.contact-info-panel {
    height: 100%;
    padding: 38px;
    background:
        radial-gradient(circle at top right, rgba(242, 182, 50, 0.22), transparent 35%),
        linear-gradient(135deg, var(--agri-forest), #145c38);
    color: #fff;
}

.contact-info-panel p {
    color: rgba(255, 255, 255, 0.74);
}

.contact-method {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-method:last-child {
    border-bottom: 0;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    font-size: 23px;
    flex: 0 0 auto;
}

.contact-method h5 {
    font-weight: 950;
    margin-bottom: 4px;
}

.contact-method a,
.contact-method span {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 700;
}

.contact-method a:hover {
    color: var(--agri-gold);
}

.contact-method-whatsapp a {
    color: #9fe8b8;
    font-weight: 800;
}

.contact-method-whatsapp a:hover {
    color: #ffffff;
}

.contact-method-google a {
    color: #f6d58b;
    font-weight: 800;
}

.contact-method-google a:hover {
    color: #ffffff;
}

.contact-form-panel .form-control,
.contact-form-panel .form-select,
.contact-form-panel .btn {
    border-radius: 14px;
}

.contact-form-panel .form-control,
.contact-form-panel .form-select {
    border: 1px solid #dfe7e1;
    padding: 12px 14px;
}

.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
    border-color: var(--agri-green);
    box-shadow: 0 0 0 0.2rem rgba(47, 125, 50, 0.14);
}

.contact-form-panel label.form-label {
    font-weight: 850;
    color: var(--agri-forest);
}

.contact-mini-card {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
    padding: 18px;
    margin-top: 24px;
}

.contact-mini-card strong {
    color: #fff;
}

.contact-mini-card span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    margin-top: 4px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    visibility: hidden;
}

/* Legal */
.legal-card {
    border: 0;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.legal-card-pad {
    padding: 36px;
}

.legal-card h2 {
    color: var(--agri-forest);
    font-weight: 950;
    margin-top: 32px;
    margin-bottom: 14px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card p,
.legal-card li {
    color: var(--agri-muted);
    line-height: 1.75;
}

.legal-card ul {
    margin-bottom: 20px;
}

.legal-note {
    border-radius: 22px;
    background: var(--agri-surface);
    border: 1px solid #d8efe0;
    padding: 18px;
    color: var(--agri-forest);
    font-weight: 700;
}

.legal-sidebar {
    border-radius: 28px;
    background: var(--agri-forest);
    color: #fff;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(7, 59, 36, 0.22);
    position: sticky;
    top: 110px;
}

.legal-sidebar p {
    color: rgba(255, 255, 255, 0.75);
}

.legal-sidebar a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.legal-sidebar a:hover {
    color: var(--agri-gold);
}

/* Demo */
.demo-card {
    max-width: 560px;
    margin: 0 auto;
    border: 0;
    border-radius: 28px;
    padding: 36px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-card);
}

.demo-card h1 {
    font-weight: 950;
    color: var(--agri-forest);
    margin-bottom: 12px;
}

.demo-card p {
    color: var(--agri-muted);
    line-height: 1.7;
}

.demo-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 10px;
}

.demo-list li {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(47, 125, 50, 0.08);
    color: var(--agri-forest);
    font-weight: 700;
}

/* Sitemap */
.sitemap-card {
    height: 100%;
    border: 0;
    border-radius: 28px;
    padding: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sitemap-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.sitemap-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--agri-surface);
    color: var(--agri-forest);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 18px;
}

.sitemap-card h4 {
    color: var(--agri-forest);
    font-weight: 950;
    margin-bottom: 10px;
}

.sitemap-card p {
    color: var(--agri-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .faq-sidebar,
    .legal-sidebar {
        position: static;
    }

    .contact-form-panel,
    .contact-info-panel {
        padding: 28px;
    }
}
