/* FarmPath public website. Brand green from the logo, soft cards, quick gentle motion. */

:root {
    --green-900: #0f3d22;
    --green-800: #17572f;
    --green-700: #1e6b3b;
    --green-600: #2e8b4e;
    --green-400: #6cc04a;
    --leaf-50: #f1f8ec;
    --turmeric: #f2b630;
    --ink: #17241d;
    --muted: #5f6f66;
    --line: rgba(23, 36, 29, 0.08);
    --canvas: #f6f9f6;
    --card: #ffffff;
    --gradient: linear-gradient(310deg, #17572f 0%, #2e8b4e 55%, #6cc04a 100%);
    --shadow: 0 20px 40px -18px rgba(17, 38, 25, 0.18);
    --shadow-sm: 0 6px 16px -6px rgba(17, 38, 25, 0.14);
    --radius: 20px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', 'Noto Sans Telugu', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.lang-te {
    font-family: 'Noto Sans Telugu', 'Plus Jakarta Sans', system-ui, sans-serif;
    line-height: 1.75;
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.wrap {
    width: min(1180px, 100% - 32px);
    margin-inline: auto;
}

.ico {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

.muted {
    color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    border-radius: 14px;
    border: 0;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px -10px rgba(30, 107, 59, 0.7);
    transition: transform 160ms var(--ease), box-shadow 260ms var(--ease), filter 260ms var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 16px 28px -12px rgba(30, 107, 59, 0.75);
}

.btn:active {
    transform: scale(0.97);
}

.btn-ghost {
    background: var(--card);
    color: var(--green-700);
    box-shadow: inset 0 0 0 1.5px rgba(30, 107, 59, 0.35);
}

.btn-light {
    background: #fff;
    color: var(--green-800);
}

.btn-small {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--canvas) 82%, transparent);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand img {
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.brand strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--green-800);
    letter-spacing: -0.02em;
}

.brand small {
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: -2px;
}

.links {
    display: flex;
    gap: 1.4rem;
    margin-inline: auto;
}

.links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.93rem;
    color: #34463c;
    transition: color 200ms;
}

.links a:hover {
    color: var(--green-600);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang {
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--green-700);
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--leaf-50);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 3.5rem;
    background:
        radial-gradient(60rem 30rem at 100% -10%, rgba(108, 192, 74, 0.22), transparent 60%),
        radial-gradient(40rem 30rem at -10% 110%, rgba(242, 182, 48, 0.14), transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 0.9rem;
}

.lang-te .eyebrow {
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.9rem;
}

.eyebrow.light {
    color: #c9eeb6;
}

.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    font-weight: 800;
    color: var(--green-900);
}

.lang-te .hero h1 {
    line-height: 1.35;
}

.lead {
    font-size: 1.12rem;
    color: #3d4f45;
    margin: 1.2rem 0 1.8rem;
    max-width: 38rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-facts {
    list-style: none;
    padding: 0;
    margin: 2.2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-facts li {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
}

.hero-facts strong {
    color: var(--green-700);
    margin-inline-end: 0.25rem;
}

.hero-art {
    position: relative;
    justify-self: center;
}

.logo-card {
    background: #fff;
    border-radius: 36px;
    padding: 1.2rem;
    box-shadow: var(--shadow), 0 0 0 1px var(--line);
    animation: float 7s ease-in-out infinite;
}

.logo-card img {
    width: min(360px, 70vw);
    height: auto;
    border-radius: 24px;
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--green-800);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.chip-1 {
    top: 8%;
    left: -12%;
    animation: float 6s 0.6s ease-in-out infinite;
}

.chip-2 {
    bottom: 6%;
    right: 4%;
    max-width: 88%;
    white-space: normal;
    animation: float 6.5s 1.2s ease-in-out infinite;
}

@keyframes float {
    50% {
        transform: translateY(-8px);
    }
}

/* Pillars */
.pillars {
    margin-top: -0.5rem;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pillar {
    display: block;
    text-decoration: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

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

.pillar h3 {
    font-size: 1.08rem;
    margin: 0.9rem 0 0.35rem;
}

.pillar p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.tile {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 16px -8px rgba(30, 107, 59, 0.7);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section.alt {
    background: #fff;
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 44rem;
    margin-bottom: 2.4rem;
}

.section-head h2,
.split h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--green-900);
}

.section-head p,
.split p {
    color: var(--muted);
    font-size: 1.02rem;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.service {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

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

.service h3 {
    font-size: 1.1rem;
    margin-top: 0.9rem;
}

.service p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0.4rem 0 0;
}

.price {
    margin-top: 1rem;
}

.price strong {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--green-700);
}

.price span {
    color: var(--muted);
    font-weight: 600;
}

.member {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #7a5200;
    background: #fff4d6;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    background: var(--leaf-50);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.step {
    display: flex;
    gap: 0.8rem;
}

.step .num {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--green-700);
    color: #fff;
    font-weight: 800;
}

.step p {
    margin: 0.15rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

/* Inputs */
.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.input-card {
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem;
}

.input-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.input-card h3 {
    font-size: 1.05rem;
}

.count {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--green-700);
    background: #fff;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
}

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

.input-card li {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.55rem 0;
    border-top: 1px dashed var(--line);
    font-size: 0.9rem;
}

.input-card small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.input-card strong {
    color: var(--green-700);
    white-space: nowrap;
}

/* Split sections */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split .btn {
    margin-top: 1rem;
}

.market-steps {
    list-style: none;
    counter-reset: m;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.market-steps li {
    counter-increment: m;
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem 1rem 1rem 3.6rem;
    box-shadow: var(--shadow-sm);
}

.market-steps li::before {
    content: counter(m);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff4d6;
    color: #7a5200;
    font-weight: 800;
}

.market-steps strong {
    display: block;
}

.market-steps span {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Partner band */
.band {
    background:
        radial-gradient(40rem 25rem at 90% 0%, rgba(242, 182, 48, 0.25), transparent 60%),
        linear-gradient(160deg, #0f3d22 0%, #17572f 55%, #2e8b4e 100%);
    color: #fff;
}

.band h2 {
    color: #fff !important;
}

.ticks {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0;
    display: grid;
    gap: 0.6rem;
}

.ticks li {
    position: relative;
    padding-left: 2rem;
}

.ticks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: rgba(108, 192, 74, 0.25)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cc04a' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
        center / 70% no-repeat;
}

.ticks.dark li::before {
    background-color: var(--leaf-50);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e6b3b' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.member-box {
    background: #fff;
    color: var(--ink);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35);
}

.member-box h3 {
    color: var(--green-900);
    font-size: 1.25rem;
}

/* Apps */
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.app-card {
    display: flex;
    gap: 1.1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.app-card h3 {
    font-size: 1.15rem;
}

.app-card p {
    color: var(--muted);
    font-size: 0.93rem;
}

.hint {
    margin-top: 1.2rem;
    font-size: 0.88rem;
    color: var(--muted);
}

/* Contact */
.contact {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: grid;
    gap: 0.9rem;
}

.contact li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.contact .ico {
    color: var(--green-600);
    margin-top: 0.15em;
}

.map-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    background: #e9efeb;
}

.map-card iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

/* Footer */
.footer {
    padding: 1.6rem 0;
    background: var(--green-900);
    color: #c9dccf;
    font-size: 0.88rem;
}

.foot-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Gentle rise-in */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.shown {
    opacity: 1;
    transform: none;
}

/* Tablet */
@media (max-width: 980px) {
    .links {
        display: none;
    }

    .nav-actions {
        margin-inline-start: auto;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-art {
        order: -1;
    }

    .chip-1 {
        left: -4%;
    }

    .chip-2 {
        right: 2%;
    }

    .pillar-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Phone */
@media (max-width: 560px) {
    .brand small {
        display: none;
    }

    .hero {
        padding-top: 2.2rem;
    }

    .logo-card img {
        width: min(240px, 62vw);
    }

    .float-chip {
        font-size: 0.72rem;
        padding: 0.4rem 0.7rem;
    }

    .chip-1 {
        left: -2%;
        top: 2%;
    }

    .chip-2 {
        right: 2%;
        bottom: 2%;
    }

    .pillar-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3.5rem 0;
    }

    .app-card {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
