/* ===========================================================================
   modern-v7.css — v0.1.75 (additive) : DATA-DRIVEN PRODUCTS & RATES + MORE
   CONTENT + UNIQUE FUTURISTIC FOOTER.

   Loaded AFTER modern-v6.css on every public page, so every rule here wins
   the cascade without touching a single line of main.css / modern.css /
   modern-v2..v6.css, any markup, or any JS.

   1. FUTURISTIC FOOTER — the white-glass "chip/panel" look is replaced by a
      full-bleed deep-space green terminal: aurora glow, fine HUD grid, a
      neon scan line along the top edge, ghost-outline rounded-square social
      pads, hairline-separated link/contact rows and a plain luminous
      copyright line. No cards, no chips, no pills.
   2. LIVE-RATE ACCENTS — pulsing data dot on the featured cards + a
      "live rates" pill in the showcase head (markup injected by modern-v7.js
      from the real products/rates endpoint).
   3. FRESH-RATES TICKER — a marquee band of today's real product rates.
   4. CTA BAND — "Ready to taste the freshest harvest?" gradient panel.
   5. FAQ — six answer cards (details/summary, zero JS logic).
   6. Responsive + motion safety. Deep-green palette only.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. FUTURISTIC FOOTER — full-bleed aurora terminal, zero chips
   --------------------------------------------------------------------------- */
footer {
    position: relative;
    background: linear-gradient(180deg, #020f08 0%, #052e16 46%, #03190d 100%);
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(74, 222, 128, 0.30);
    box-shadow: 0 -18px 60px rgba(34, 197, 94, 0.12);
}
/* slow-drifting aurora glow behind everything */
footer::before {
    content: "";
    position: absolute;
    inset: -22% -12%;
    background:
        radial-gradient(560px 300px at 12% 16%, rgba(34, 197, 94, 0.20), transparent 65%),
        radial-gradient(640px 340px at 88% 10%, rgba(74, 222, 128, 0.14), transparent 66%),
        radial-gradient(820px 440px at 50% 112%, rgba(22, 101, 52, 0.38), transparent 72%);
    animation: md75Aurora 16s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
/* fine HUD grid that fades out towards the bottom */
footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 222, 128, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 222, 128, 0.055) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.05));
            mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.05));
    pointer-events: none;
    z-index: 0;
}
@keyframes md75Aurora {
    from { transform: translate3d(-2%, -1%, 0) scale(1);    opacity: 0.85; }
    to   { transform: translate3d(2%, 2%, 0)  scale(1.08); opacity: 1; }
}
/* content rides above the aurora + grid */
.footer-container {
    position: relative;
    z-index: 2;
    background-image: none;
    box-shadow: none;
    padding: 0;
}
/* neon scan line sweeping along the top edge */
.footer-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 34%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.85), transparent);
    animation: md75Scan 7s linear infinite;
    opacity: 0.8;
    pointer-events: none;
}
@keyframes md75Scan {
    0%   { transform: translateX(-130%); }
    100% { transform: translateX(420%); }
}

/* the v0.1.74 white-glass panel is gone: transparent, organised columns */
.footer-top {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 56px;
    padding: 54px 0 10px;
    margin-bottom: 26px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.footer-logo-social,
.footer-quick-links,
.footer-contact {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    box-shadow: none;
    transform: none;
    transition: none;
}
.footer-logo-social:hover,
.footer-quick-links:hover,
.footer-contact:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
    box-shadow: none;
}

/* brand block: glowing emblem + gradient wordmark + injected tagline */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer-logo img {
    height: 62px;
    width: 62px;
    box-shadow:
        0 0 0 2px rgba(74, 222, 128, 0.75),
        0 0 24px rgba(34, 197, 94, 0.45),
        0 6px 18px rgba(0, 0, 0, 0.5);
}
.footer-logo img:hover {
    box-shadow:
        0 0 0 2px rgba(74, 222, 128, 0.95),
        0 0 34px rgba(34, 197, 94, 0.65),
        0 8px 22px rgba(0, 0, 0, 0.55);
}
.footer-logo a {
    font-size: 28px;
    letter-spacing: 1px;
    background: linear-gradient(92deg, #f0fdf4 0%, #4ade80 55%, #22c55e 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
            color: transparent;
}
.md75-footer-tag {
    margin: 18px 0 0;
    max-width: 42ch;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(240, 253, 244, 0.62);
}
.md75-footer-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.28);
    background: rgba(34, 197, 94, 0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: rgba(240, 253, 244, 0.8);
    width: -moz-fit-content;
    width: fit-content;
}
.md75-footer-status i {
    font-size: 7px;
    color: #4ade80;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.9);
    animation: md75Pulse 2s ease-in-out infinite;
}

/* social pads: ghost rounded-squares with a hairline above — not chips */
.footer-socials {
    position: relative;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
}
.footer-socials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(74, 222, 128, 0.35), rgba(74, 222, 128, 0.05));
}
.footer-socials .social-icon {
    width: 42px;
    height: 42px;
    font-size: 17px;
    background: transparent;
    border: 1px solid rgba(74, 222, 128, 0.35);
    border-radius: 12px;
    color: rgba(240, 253, 244, 0.85);
    transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, color 0.22s ease;
}
.footer-socials .social-icon:hover {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(74, 222, 128, 0.85);
    color: #f0fdf4;
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.35), inset 0 0 12px rgba(34, 197, 94, 0.12);
}

/* column headings: tighter HUD letters with a glowing underline */
.footer-quick-links h3,
.footer-contact h3 {
    font-size: 13.5px;
    letter-spacing: 3px;
    color: rgba(240, 253, 244, 0.92);
    margin-bottom: 16px;
    padding-bottom: 12px;
}
.footer-quick-links h3::after,
.footer-contact h3::after {
    width: 44px;
    height: 2px;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.75);
}

/* quick links: hairline-separated rows, mint icons, glow on hover */
.footer-quick-links ul {
    margin: 0;
    padding: 0;
}
.footer-quick-links li {
    margin: 0;
    border-bottom: 1px solid rgba(74, 222, 128, 0.10);
}
.footer-quick-links li:last-child {
    border-bottom: 0;
}
.footer-quick-links li a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 2px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.18s ease, padding-left 0.18s ease, text-shadow 0.18s ease;
}
.footer-quick-links li a::before {
    content: none;
}
.footer-quick-links li a i {
    width: 18px;
    font-size: 13px;
    color: rgba(74, 222, 128, 0.75);
    text-align: center;
}
.footer-quick-links li a:hover {
    color: #4ade80;
    padding-left: 8px;
    text-shadow: 0 0 14px rgba(74, 222, 128, 0.55);
}

/* contact rows: ghost neon dots instead of filled bubbles */
.footer-contact p {
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid rgba(74, 222, 128, 0.10);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    gap: 12px;
}
.footer-contact p:last-child {
    border-bottom: 0;
}
.footer-contact p i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(74, 222, 128, 0.40);
    box-shadow: inset 0 0 8px rgba(34, 197, 94, 0.10);
    color: #4ade80;
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.footer-contact p:hover i {
    background: transparent;
    border-color: rgba(74, 222, 128, 0.9);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.35);
    transform: translateY(-2px);
}

/* copyright: a plain luminous line — no pill, no band */
.footer-copy {
    margin-top: 0;
    padding: 22px 0 30px;
    border-top: 1px solid rgba(74, 222, 128, 0.16);
    border-radius: 0;
    background: transparent;
}
.footer-copy p {
    text-align: center;
    letter-spacing: 1.6px;
    font-size: 13px;
    text-transform: uppercase;
    color: rgba(240, 253, 244, 0.60);
}
.footer-copy p::before,
.footer-copy p::after {
    content: "\25C6";
    font-size: 8px;
    color: rgba(74, 222, 128, 0.65);
    vertical-align: middle;
    margin: 0 16px;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

/* ---------------------------------------------------------------------------
   2. LIVE-RATE ACCENTS on the featured showcase (markup from modern-v7.js)
   --------------------------------------------------------------------------- */
.md75-live-dot {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25), 0 0 10px rgba(34, 197, 94, 0.8);
    animation: md75Pulse 1.8s ease-in-out infinite;
}
@keyframes md75Pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
.md75-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #166534;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.md75-live-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2), 0 0 8px rgba(34, 197, 94, 0.7);
    animation: md75Pulse 1.8s ease-in-out infinite;
}

/* ---------------------------------------------------------------------------
   3. FRESH-RATES TICKER — real product rates scrolling from market data
   --------------------------------------------------------------------------- */
.md75-ticker {
    position: relative;
    overflow: hidden;
    margin-top: 26px;
    background: linear-gradient(90deg, #032015 0%, #052e16 50%, #032015 100%);
    border-top: 1px solid rgba(74, 222, 128, 0.22);
    border-bottom: 1px solid rgba(74, 222, 128, 0.22);
}
.md75-ticker-track {
    display: flex;
    width: max-content;
    animation: md75Marquee 38s linear infinite;
}
.md75-ticker:hover .md75-ticker-track {
    animation-play-state: paused;
}
@keyframes md75Marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.md75-tick {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 30px;
    font-size: 14.5px;
    color: rgba(240, 253, 244, 0.88);
    white-space: nowrap;
    border-right: 1px solid rgba(74, 222, 128, 0.14);
}
.md75-tick i {
    color: #4ade80;
    font-size: 12px;
}
.md75-tick b {
    color: #4ade80;
    font-weight: 700;
}
.md75-tick small {
    color: rgba(240, 253, 244, 0.5);
    font-size: 12px;
}

/* ---------------------------------------------------------------------------
   4. CTA BAND — gradient panel on the one grid
   --------------------------------------------------------------------------- */
.md75-cta {
    padding: 30px 0 8px;
}
.md75-cta-inner {
    position: relative;
    max-width: var(--md72-max, 1600px);
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(120deg, #052e16 0%, #166534 55%, #15803d 100%);
    border: 1px solid rgba(74, 222, 128, 0.35);
    box-shadow: 0 26px 60px rgba(5, 46, 22, 0.35);
    padding: 46px 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    animation: md75Rise 0.7s ease both;
}
.md75-cta-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(420px 220px at 86% 20%, rgba(74, 222, 128, 0.22), transparent 68%),
        radial-gradient(360px 200px at 8% 90%, rgba(34, 197, 94, 0.18), transparent 70%);
    pointer-events: none;
}
.md75-cta-inner > * {
    position: relative;
    z-index: 1;
}
.md75-cta-copy h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.25;
    color: #f0fdf4;
    letter-spacing: 0.3px;
}
.md75-cta-copy p {
    margin: 0;
    max-width: 62ch;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(240, 253, 244, 0.85);
}
.md75-cta-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.md75-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4ade80, #15803d);
    color: #052e16;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(34, 197, 94, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.md75-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(34, 197, 94, 0.5);
}
.md75-cta-btn i {
    font-size: 13px;
}
.md75-cta-ghost {
    background: rgba(240, 253, 244, 0.08);
    border: 1px solid rgba(240, 253, 244, 0.40);
    color: #f0fdf4;
    box-shadow: none;
}
.md75-cta-ghost:hover {
    box-shadow: 0 10px 26px rgba(2, 15, 8, 0.35);
}
@keyframes md75Rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------------
   5. FAQ — six answer cards on the one grid (details/summary, no JS logic)
   --------------------------------------------------------------------------- */
.md75-faq {
    padding: 36px 0 14px;
}
.md75-faq-inner {
    max-width: var(--md72-max, 1600px);
    margin: 0 auto;
    text-align: center;
    animation: md75Rise 0.7s ease both;
}
.md75-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.30);
    color: #166534;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.md75-eyebrow i {
    font-size: 11px;
    color: #22c55e;
}
.md75-faq-inner h2 {
    margin: 16px 0 8px;
    font-size: 30px;
    color: #052e16;
}
.md75-faq-sub {
    margin: 0 auto;
    max-width: 68ch;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(20, 83, 45, 0.75);
}
.md75-faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 22px;
    margin-top: 28px;
    text-align: left;
}
.md75-faq-list details {
    background: #ffffff;
    border: 1px solid rgba(20, 83, 45, 0.12);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.md75-faq-list details:hover {
    border-color: rgba(34, 197, 94, 0.40);
}
.md75-faq-list details[open] {
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 14px 34px rgba(20, 83, 45, 0.12);
}
.md75-faq-list summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 20px;
    font-weight: 700;
    font-size: 15.5px;
    color: #14532d;
}
.md75-faq-list summary::-webkit-details-marker {
    display: none;
}
.md75-faq-list summary::after {
    content: "\002B";
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: #15803d;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.md75-faq-list details[open] summary::after {
    content: "\2212";
    background: rgba(34, 197, 94, 0.12);
}
.md75-faq-a {
    margin: 0;
    padding: 0 20px 18px;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(20, 83, 45, 0.78);
}

/* ---------------------------------------------------------------------------
   6. RESPONSIVE + MOTION SAFETY
   --------------------------------------------------------------------------- */
@media (max-width: 1659px) {
    .md75-cta-inner,
    .md75-faq-inner {
        margin-left: 24px;
        margin-right: 24px;
        max-width: none;
    }
    /* keep the v0.1.74 site gutter around the futuristic footer — the
       unconditional padding: 0 above only applies on the >=1660 grid */
    .footer-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 40px;
    }
    .footer-quick-links,
    .footer-contact {
        border-top: 1px solid rgba(74, 222, 128, 0.12);
        padding-top: 26px;
        margin-top: 26px;
    }
    .footer-quick-links {
        border-top: 0;
        padding-top: 0;
        margin-top: 0;
    }
    .md75-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 30px;
    }
    .md75-cta-copy h2 {
        font-size: 25px;
    }
    .md75-faq-list {
        grid-template-columns: 1fr;
    }
    .md75-faq-inner h2 {
        font-size: 25px;
    }
}
@media (max-width: 768px) {
    .md75-cta-inner,
    .md75-faq-inner {
        margin-left: 14px;
        margin-right: 14px;
    }
    .footer-container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .md75-cta-inner {
        padding: 30px 22px;
        border-radius: 20px;
    }
    .md75-footer-tag {
        max-width: none;
    }
    .md75-tick {
        padding: 11px 22px;
        font-size: 13.5px;
    }
    .footer-copy p::before,
    .footer-copy p::after {
        margin: 0 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    footer::before,
    .footer-container::before,
    .md75-ticker-track,
    .md75-live-dot,
    .md75-live-pill-dot,
    .md75-footer-status i,
    .md75-cta-inner,
    .md75-faq-inner {
        animation: none !important;
    }
    .footer-socials .social-icon,
    .footer-contact p i,
    .md75-cta-btn,
    .md75-faq-list details,
    .footer-quick-links li a {
        transition: none !important;
    }
}
