/* ==============================
   GLOBAL
   ============================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #1f2933;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* ==============================
   HEADER
   ============================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e8eee9;

    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #1f2933;
    font-size: 1.05rem;
    font-weight: 700;
}

.brand img {
    width: 44px;
    height: 44px;

    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 600;

    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #2e7d32;
}

.nav-button {
    background: #2e7d32;
    color: #ffffff;

    padding: 11px 20px;
    border-radius: 8px;

    font-size: 0.9rem;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.nav-button:hover {
    background: #256b2a;
    transform: translateY(-1px);
}


/* ==============================
   HERO
   ============================== */

.hero {
    background:
        linear-gradient(
            135deg,
            #f3faf3 0%,
            #ffffff 55%,
            #edf7ee 100%
        );

    overflow: hidden;
}

.hero-content {
    min-height: 680px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;
    gap: 70px;

    padding-top: 70px;
    padding-bottom: 70px;
}

.hero-text {
    max-width: 650px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #2e7d32;

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero h1 {
    color: #17201a;

    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #2e7d32;
}

.hero-description {
    max-width: 610px;

    color: #5f6b63;

    font-size: 1.12rem;
    line-height: 1.8;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    gap: 14px;

    margin-bottom: 24px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 9px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.primary-button {
    background: #2e7d32;
    color: #ffffff;

    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.18);
}

.primary-button:hover {
    background: #256b2a;
    transform: translateY(-2px);
}

.secondary-button {
    background: #ffffff;
    color: #2e7d32;

    border: 1px solid #cfe1d1;
}

.secondary-button:hover {
    background: #f3faf3;
    transform: translateY(-2px);
}

.hero-note {
    color: #718078;

    font-size: 0.9rem;
    line-height: 1.6;
}


/* ==============================
   HERO PHONE
   ============================== */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: min(330px, 75vw);

    padding: 9px;

    background: #151a16;

    border-radius: 34px;

    box-shadow:
        0 25px 60px rgba(20, 40, 25, 0.22),
        0 8px 20px rgba(20, 40, 25, 0.12);

    transform: rotate(2deg);

    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: rotate(0deg) translateY(-5px);
}

.phone-frame img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 27px;
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 850px) {

    .main-nav {
        display: none;
    }

    .nav-container {
        min-height: 68px;
    }

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 45px;

        padding-top: 55px;
        padding-bottom: 60px;
    }

    .hero-text {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: 2;
    }

    .phone-frame {
        width: min(310px, 75vw);
    }
}


@media (max-width: 500px) {

    .brand span {
        font-size: 0.9rem;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .nav-button {
        padding: 9px 14px;
        font-size: 0.82rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1.2px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }
}

/* ==============================
   SECTION HEADINGS
   ============================== */

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2 {
    color: #17201a;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 18px;
}

.section-heading p {
    color: #68756c;

    font-size: 1.05rem;
    line-height: 1.7;
}


/* ==============================
   SUPPORTED BIRDS
   ============================== */

.birds-section {
    padding: 100px 0;

    background: #ffffff;
}

.bird-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.bird-card {
    padding: 30px;

    background: #f7faf7;

    border: 1px solid #e5eee6;

    border-radius: 14px;

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.bird-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(30, 60, 35, 0.08);
}

.bird-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    background: #e8f4e9;

    border-radius: 50%;

    font-size: 1.8rem;
}

.bird-card h3 {
    margin-bottom: 8px;

    color: #1e2a21;

    font-size: 1.1rem;
}

.bird-card p {
    color: #6b756e;

    font-size: 0.9rem;
}


/* ==============================
   FEATURES
   ============================== */

.features-section {
    padding: 105px 0;

    background: #f5faf5;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.feature-card {
    position: relative;

    min-height: 245px;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #e4ece5;

    border-radius: 14px;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(30, 60, 35, 0.08);
}

.feature-number {
    margin-bottom: 22px;

    color: #2e7d32;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.feature-card h3 {
    margin-bottom: 12px;

    color: #1e2a21;

    font-size: 1.12rem;
}

.feature-card p {
    color: #6b756e;

    font-size: 0.91rem;

    line-height: 1.65;
}


/* ==============================
   RESPONSIVE SECTIONS
   ============================== */

@media (max-width: 950px) {

    .bird-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .birds-section,
    .features-section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .bird-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }
}

/* ==============================
   SCREENSHOTS
   ============================== */

.screenshots-section {
    padding: 105px 0;

    background: #ffffff;
}

.screenshots-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    align-items: start;

    gap: 22px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-frame {
    padding: 7px;

    background: #151a16;

    border-radius: 22px;

    box-shadow:
        0 15px 35px rgba(20, 40, 25, 0.14);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.screenshot-frame:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 40px rgba(20, 40, 25, 0.18);
}

.screenshot-frame img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 17px;
}

.screenshot-item h3 {
    margin-top: 20px;
    margin-bottom: 7px;

    color: #1e2a21;

    font-size: 1rem;
}

.screenshot-item p {
    color: #6b756e;

    font-size: 0.84rem;
    line-height: 1.5;
}

/* ==============================
   CLOUD & TEAM COLLABORATION
   ============================== */

.cloud-section {
    padding: 105px 0;
    background: #17201a;
    color: #ffffff;
}

.cloud-content {
    max-width: 900px;
}

.cloud-text {
    max-width: 800px;
}

.cloud-section .eyebrow {
    color: #8fd394;
}

.cloud-section h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.cloud-section > .container > .cloud-content > .cloud-text > p {
    color: #b7c2ba;
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 700px;
    margin-bottom: 35px;
}

.cloud-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cloud-feature {
    padding: 24px;
    background: #202b23;
    border: 1px solid #344137;
    border-radius: 14px;
}

.cloud-feature strong {
    display: block;
    color: #ffffff;
    margin-bottom: 9px;
    font-size: 0.98rem;
}

.cloud-feature span {
    display: block;
    color: #aeb9b0;
    font-size: 0.86rem;
    line-height: 1.6;
}

@media (max-width: 750px) {

    .cloud-section {
        padding: 75px 0;
    }

    .cloud-features {
        grid-template-columns: 1fr;
    }
}


/* ==============================
   SCREENSHOT RESPONSIVENESS
   ============================== */

@media (max-width: 1000px) {

    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);

        row-gap: 45px;
    }
}


@media (max-width: 650px) {

    .screenshots-section {
        padding: 75px 0;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 28px 16px;
    }
}


@media (max-width: 430px) {

    .screenshots-grid {
        grid-template-columns: 1fr;

        max-width: 280px;

        margin: 0 auto;
    }
}

/* ==============================
   WHY POULTRY INTEL MANAGER
   ============================== */

.why-section {
    padding: 105px 0;

    background: #f5faf5;
}

.why-content {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.why-text {
    max-width: 560px;
}

.why-text h2 {
    color: #17201a;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 22px;
}

.why-text p {
    color: #657168;

    font-size: 1rem;

    line-height: 1.75;

    margin-bottom: 18px;
}


/* BENEFITS */

.benefits-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.benefit-item {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e1ebe2;

    border-radius: 13px;
}

.benefit-check {
    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    background: #e8f4e9;

    border-radius: 50%;

    color: #2e7d32;

    font-size: 0.95rem;
    font-weight: 800;
}

.benefit-item h3 {
    margin-bottom: 5px;

    color: #1e2a21;

    font-size: 1rem;
}

.benefit-item p {
    color: #6b756e;

    font-size: 0.86rem;

    line-height: 1.55;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .why-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .why-text {
        max-width: 700px;
        margin: 0 auto;

        text-align: center;
    }

    .benefits-list {
        max-width: 750px;
        margin: 0 auto;
    }
}


@media (max-width: 600px) {

    .why-section {
        padding: 75px 0;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        padding: 20px;
    }
}

/* ==============================
   DOWNLOAD / SUPPORT CTA
   ============================== */

.cta-section {
    padding: 100px 0;

    background: #ffffff;
}

.cta-card {
    position: relative;

    overflow: hidden;

    padding: 75px 50px;

    background:
        linear-gradient(
            135deg,
            #edf7ee 0%,
            #f8fcf8 100%
        );

    border: 1px solid #dce9dd;

    border-radius: 24px;

    text-align: center;
}

.cta-card::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -140px;
    right: -80px;

    background: #dcefdc;

    border-radius: 50%;

    opacity: 0.6;
}

.cta-card::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    bottom: -120px;
    left: -70px;

    background: #dcefdc;

    border-radius: 50%;

    opacity: 0.5;
}

.cta-content {
    position: relative;

    z-index: 1;

    max-width: 720px;

    margin: 0 auto;
}

.cta-content h2 {
    color: #17201a;

    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 18px;
}

.cta-content p {
    max-width: 650px;

    margin: 0 auto 30px;

    color: #637067;

    font-size: 1.05rem;

    line-height: 1.75;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;
}


/* MOBILE */

@media (max-width: 600px) {

    .cta-section {
        padding: 75px 0;
    }

    .cta-card {
        padding: 55px 22px;

        border-radius: 18px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .primary-button,
    .cta-buttons .secondary-button {
        width: 100%;
    }
}

/* ==============================
   FOOTER
   ============================== */

.site-footer {
    background: #17201a;

    color: #ffffff;

    padding-top: 70px;
}

.footer-content {
    display: grid;

    grid-template-columns: 1.7fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .brand {
    color: #ffffff;

    margin-bottom: 20px;
}

.footer-brand p {
    color: #aeb9b0;

    font-size: 0.9rem;

    line-height: 1.7;

    margin-bottom: 14px;
}

.footer-brand .developer {
    color: #8f9c92;
}

.footer-brand .developer strong {
    color: #ffffff;
}

.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-links h3 {
    margin-bottom: 18px;

    color: #ffffff;

    font-size: 0.95rem;
}

.footer-links a {
    margin-bottom: 11px;

    color: #aeb9b0;

    font-size: 0.88rem;

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 22px 0;

    border-top: 1px solid #303a33;

    text-align: center;
}

.footer-bottom p {
    color: #8f9c92;

    font-size: 0.8rem;
}


/* ==============================
   FOOTER RESPONSIVENESS
   ============================== */

@media (max-width: 800px) {

    .footer-content {
        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;

        max-width: 600px;
    }
}


@media (max-width: 500px) {

    .site-footer {
        padding-top: 55px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-bottom: 45px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

html {
    scroll-behavior: smooth;
}

/* ==============================
   MOBILE NAVIGATION
   ============================== */

@media (max-width: 700px) {

    .nav-container {
        flex-wrap: wrap;
        gap: 20px;
        padding-top: 18px;
    }

    .brand {
        flex: 1;
    }

    .main-nav {
        order: 3;
        width: 100%;

        display: flex;
        justify-content: center;

        gap: 18px;

        overflow-x: auto;
        padding-bottom: 4px;
    }

    .main-nav a {
        white-space: nowrap;
    }

    .nav-button {
        white-space: nowrap;
    }
}