:root {
    --font-sans: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    --container-max: 80rem;
    --container-max-wide: 90rem;
    --container-pad: 1rem;
    --header-height: 5.25rem;
    --stack-space: clamp(0.875rem, 1.2vw + 0.65rem, 1.5rem);
    --product-card-min: clamp(11.25rem, 45vw, 16rem);
    --gallery-card-min: clamp(10rem, 42vw, 15rem);
    --fluid-title-size: clamp(1.65rem, 2.3vw + 1.1rem, 3.5rem);
}

@media (min-width: 480px) {
    :root {
        --container-pad: 1.25rem;
    }
}

@media (min-width: 768px) {
    :root {
        --container-pad: 1.5rem;
        --header-height: 6rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-pad: 2rem;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    scroll-padding-top: calc(var(--header-height) + 0.75rem);
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: var(--font-sans);
    background-color: #f2fbf2;
    min-height: 100vh;
    min-height: 100dvh;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
span,
dd,
dt {
    overflow-wrap: anywhere;
}

a {
    overflow-wrap: normal;
    word-break: normal;
}

img,
video,
iframe,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    font-size: 16px;
}

main,
section,
article,
footer {
    min-width: 0;
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

:focus-visible {
    outline: 3px solid #2f6c2f;
    outline-offset: 2px;
}

.dark :focus-visible {
    outline-color: #facc15;
}

.site-container {
    width: min(100%, var(--container-max));
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.site-container-wide {
    width: min(100%, var(--container-max-wide));
}

.site-header-inner {
    min-height: var(--header-height);
}

.layout-stack > * + * {
    margin-top: var(--stack-space);
}

.auto-fit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 14rem)), 1fr));
    gap: var(--grid-gap, clamp(0.875rem, 1.35vw + 0.5rem, 1.5rem));
}

.sidebar-layout {
    display: grid;
    gap: clamp(1rem, 2vw, 2rem);
}

.media-frame {
    position: relative;
    overflow: hidden;
    border-radius: inherit;
    aspect-ratio: var(--media-ratio, 4 / 3);
}

.media-frame > img,
.media-frame > video,
.media-frame > iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

@media (min-width: 1024px) {
    .sidebar-layout {
        grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
        align-items: start;
    }
}

@media (max-width: 767px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table tr {
        margin-bottom: 0.75rem;
        border: 1px solid rgba(148, 163, 184, 0.3);
        border-radius: 0.75rem;
        overflow: hidden;
    }

    .responsive-table td {
        border: 0;
        padding: 0.65rem 0.85rem;
    }
}

.page-main {
    padding-top: calc(var(--header-height) + 0.75rem);
}

.header-brand {
    min-width: 0;
    gap: 0.75rem;
}

.header-brand-logo {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.header-brand-text {
    min-width: 0;
}

.header-brand-kicker {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
}

.header-brand-title {
    font-size: 1rem;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .header-brand {
        gap: 1rem;
    }

    .header-brand-logo {
        width: 3.25rem;
        height: 3.25rem;
    }

    .header-brand-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .header-brand-logo {
        width: 4.5rem;
        height: 4.5rem;
    }

    .header-brand-kicker {
        letter-spacing: 0.32em;
    }

    .header-brand-title {
        font-size: 1.5rem;
    }
}

.nav-menu {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 40;
}

.mobile-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Active Navigation Link Styles */
.nav-link {
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4fa34f, #215021);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.dark .nav-link::after {
    background: linear-gradient(135deg, #facc15, #eab308);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #4fa34f;
    font-weight: 700;
}

.dark .nav-link.active {
    color: #facc15;
}

.nav-link.active::after {
    width: 100%;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Mobile active state */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        left: max(0.75rem, env(safe-area-inset-left));
        right: max(0.75rem, env(safe-area-inset-right));
        top: calc(var(--header-height) + 0.5rem);
        max-height: calc(100dvh - var(--header-height) - 1rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
        z-index: 50;
        transform: translateY(-0.75rem);
        opacity: 0;
        pointer-events: none;
        gap: 0.5rem;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-radius: 0.75rem;
        min-height: 44px;
        padding: 0.75rem 0.875rem;
        text-align: left;
    }

    .nav-link.active {
        background: linear-gradient(135deg, rgba(79, 163, 79, 0.1), rgba(33, 80, 33, 0.1));
        border-radius: 0.75rem;
    }
    
    .dark .nav-link.active {
        background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(234, 179, 8, 0.1));
    }
    
    .nav-link::after,
    .nav-link.active::after {
        display: none;
    }

    .mobile-admin-btn {
        width: 100%;
        min-height: 50px;
        border-radius: 1rem !important;
        padding: 0.76rem 1rem 0.76rem 2.45rem !important;
        font-size: clamp(0.98rem, 3.4vw, 1.08rem);
        font-weight: 800;
        letter-spacing: 0.015em;
        text-align: center;
        justify-content: center !important;
        align-items: center !important;
        position: relative;
        background: linear-gradient(180deg, #f8fcf8 0%, #edf6ee 100%) !important;
        border: 1px solid #6fb981 !important;
        color: #1f5d31 !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 8px 18px rgba(30, 93, 40, 0.12);
        transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
        margin-bottom: 0.62rem;
    }

    .mobile-admin-btn::before {
        content: "\f2f6";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0.92rem;
        top: 50%;
        transform: translateY(-50%);
        color: #2f8a3f;
        font-size: 0.95rem;
        line-height: 1;
    }

    .mobile-admin-btn:hover {
        border-color: #4ea767 !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.95),
            0 10px 20px rgba(30, 93, 40, 0.16);
        transform: translateY(-1px);
    }

    .mobile-admin-btn:active {
        transform: translateY(0);
    }

    .dark .mobile-admin-btn {
        background: linear-gradient(180deg, rgba(20, 41, 29, 0.9), rgba(16, 33, 24, 0.92)) !important;
        border-color: rgba(142, 201, 162, 0.45) !important;
        color: #b8f3c6 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 16px rgba(2, 6, 23, 0.4);
    }

    .dark .mobile-admin-btn::before {
        color: #86efac;
    }
}

@media (max-width: 380px) {
    .mobile-admin-btn {
        min-height: 46px;
        padding: 0.68rem 0.86rem 0.68rem 2.2rem !important;
        font-size: 0.94rem;
        margin-bottom: 0.54rem;
    }

    .mobile-admin-btn::before {
        left: 0.8rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .mobile-nav-backdrop {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .nav-menu {
        flex-wrap: wrap;
        row-gap: 0.35rem;
        justify-content: flex-end;
    }

    .nav-link {
        padding: 0.35rem 0.55rem;
        font-size: 0.8125rem;
    }
}

@media (min-width: 1024px) {
    .nav-link {
        white-space: nowrap;
    }
}

.hero-content,
.hero-image {
    opacity: 0;
    transform: translateY(35px);
}

.hero h1 {
    font-size: var(--fluid-title-size);
    line-height: 1.1;
}

.section-title h2 {
    font-size: clamp(1.7rem, 1.35vw + 1.35rem, 2.4rem);
    line-height: 1.2;
}

.hero-image {
    height: clamp(16rem, 58vw, 31rem);
}

.hero-content.fade-in-up,
.hero-image.fade-in-up {
    animation: fadeInUp 0.9s ease forwards;
}

.slideshow-container {
    position: relative;
    height: 100%;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 40, 26, 0) 0%, rgba(11, 29, 11, 0.8) 100%);
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: clamp(0.9rem, 1.1vw + 0.6rem, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: clamp(0.75rem, 0.55vw + 0.65rem, 0.95rem);
}

.slideshow-nav {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    box-shadow: 0 20px 35px rgba(15, 118, 110, 0.18);
    backdrop-filter: blur(10px);
}

.nav-btn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #4fa34f, #215021);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(33, 80, 33, 0.35);
}

.slide-dots {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(33, 80, 33, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.dot.active {
    background: #4fa34f;
    transform: scale(1.1);
}

.farm-slideshow {
    min-height: clamp(15rem, 54vw, 24rem);
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 1.2vw + 0.55rem, 1.25rem);
    flex: 1;
    min-width: 0;
}

.products-grid {
    --grid-min: var(--product-card-min);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min)), 1fr));
    gap: clamp(0.9rem, 1.3vw + 0.55rem, 1.5rem);
    container-type: inline-size;
}

.gallery-grid {
    --grid-min: var(--gallery-card-min);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min)), 1fr));
    gap: clamp(0.75rem, 1vw + 0.45rem, 1.15rem);
    container-type: inline-size;
}

.product-card h3,
.product-card p,
.contact-text p {
    overflow-wrap: anywhere;
}

.product-card {
    height: 100%;
}

.product-card > img {
    width: 100%;
    height: clamp(11rem, 34vw, 16rem);
    object-fit: cover;
}

.product-card h3 {
    font-size: clamp(1.1rem, 1.05vw + 0.9rem, 1.5rem);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.product-card p {
    font-size: clamp(0.93rem, 0.3vw + 0.86rem, 1rem);
}

.product-card .product-status,
.product-card a.inline-flex {
    min-height: 44px;
}

.products-grid .product-status {
    width: 100%;
}

.gallery-filter {
    min-height: 44px;
}

@container (max-width: 28rem) {
    .product-card {
        padding: 1rem;
    }

    .product-card h3 {
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

.whatsapp-contact-btn,
.hero-btns a {
    min-height: 44px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: color 0.3s ease;
}

.form-group label {
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
}

.dark .form-group label {
    color: #e2e8f0;
}

.form-group.focused label {
    color: #2f6c2f;
}

.dark .form-group.focused label {
    color: #facc15;
}

.form-control {
    transition: box-shadow 0.25s ease, transform 0.2s ease, background-color 0.2s ease;
    outline: none;
}

.form-control:focus {
    box-shadow: 0 0 0 2px rgba(79, 163, 79, 0.35);
    transform: translateY(-1px);
}

.btn {
    border: none;
    cursor: pointer;
}

.btn i {
    margin-right: 0.5rem;
}

.submit-success {
    background: linear-gradient(135deg, #215021, #0b1d0b) !important;
    box-shadow: 0 15px 30px rgba(11, 29, 11, 0.45) !important;
}

.feature-card,
.product-card,
.testimonial-card,
.contact-item,
.owner-info,
.owner-image,
.contact-form {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.owner-image > div {
    width: 100%;
    height: clamp(360px, 52vw, 600px);
    overflow: hidden;
}

.owner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.founder-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.founder-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(63, 138, 63, 0.24);
    background: rgba(255, 255, 255, 0.9);
    color: #215021;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.founder-nav-btn:hover {
    background: #3f8a3f;
    color: #ffffff;
    transform: translateY(-1px);
}

.founder-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.founder-dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 9999px;
    border: 0;
    background: rgba(63, 138, 63, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.founder-dot.active {
    background: #3f8a3f;
    transform: scale(1.16);
}

.dark .founder-nav-btn {
    border-color: rgba(95, 178, 95, 0.32);
    background: rgba(15, 23, 42, 0.86);
    color: #86efac;
}

.dark .founder-nav-btn:hover {
    background: #16a34a;
    color: #ffffff;
}

.dark .founder-dot {
    background: rgba(134, 239, 172, 0.35);
}

.dark .founder-dot.active {
    background: #4ade80;
}

/* Desktop: Image fits container height */
@media (min-width: 1024px) {
    .owner-image {
        display: flex;
        align-items: flex-start;
    }
    
    .owner-image > div {
        height: 600px;
        display: flex;
    }
    
    .owner-image img {
        max-height: none;
        object-position: center center;
    }
    
    .owner-image-zoom {
        transform: scale(1.3);
        object-position: 50% 0%;
        width: 100%;
        height: 100%;
        transform-origin: center top;
    }
}

.feature-card:hover,
.product-card:hover,
.testimonial-card:hover,
.contact-item:hover,
.owner-info:hover,
.owner-image:hover,
.contact-form:hover {
    transform: translateY(-6px);
}

@media (max-width: 767px) {
    .site-header-inner {
        padding-block: 0.5rem;
    }

    .header-brand-kicker {
        letter-spacing: 0.14em;
    }

    .header-brand-title {
        font-size: 0.95rem;
    }

    .slideshow-nav {
        bottom: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .nav-btn {
        width: 44px;
        height: 44px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Mobile: Meet Our Founder section - Image first */
    .owner-image {
        margin-bottom: 1rem;
    }
    
    .owner-image > div {
        height: 380px;
    }

    .owner-image img {
        object-position: center 0%;
    }
    
    .owner-image-zoom {
        transform: scale(1);
        object-position: 50% 0%;
        transform-origin: center top;
    }
    
    .owner-info {
        padding: 1.5rem;
    }
    
    .owner-info h3 {
        font-size: 1.75rem;
    }
    
    .owner-achievements {
        grid-template-columns: 1fr;
    gap: 0.75rem;
}

.hero .slideshow-nav {
    display: none !important;
}

    .hero {
        padding-block: clamp(3.5rem, 8vh, 4.75rem);
    }

    .hero-content h1 {
        font-size: var(--fluid-title-size);
    }

    .contact-info,
    .contact-form {
        padding: 1.25rem;
    }

    .contact-item {
        align-items: flex-start;
    }

    .contact-icon {
        height: 3rem;
        width: 3rem;
        flex-shrink: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Styles */
.gallery-item {
    aspect-ratio: 1;
    min-height: 200px;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
    animation: fadeIn 0.3s ease;
}

.lightbox-image {
    animation: zoomIn 0.3s ease;
    max-height: min(88dvh, 88svh);
    max-width: min(92vw, 84rem);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Video Section Styles */
.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Reviews Section Styles */
.review-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.1);
}

.product-reviews {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-reviews:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 118, 110, 0.15);
}

/* Map Container Styles */
.map-container {
    min-height: 250px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
}

/* WhatsApp Float Button Animation */
#whatsappFloatBtn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Toast Notification Styles */
.toast {
    animation: slideInRight 0.3s ease;
    max-width: min(22rem, calc(100% - 1.5rem));
    right: 1rem !important;
    top: max(1rem, env(safe-area-inset-top)) !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (min-width: 480px) and (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.75rem), 1fr));
    }
}

@media (max-width: 767px) {
    .gallery-item {
        min-height: 150px;
    }
    
    #whatsappFloatBtn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        display: none;
    }

    .toast {
        left: 0.75rem;
        right: 0.75rem !important;
        max-width: none;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .nav-menu {
        max-height: calc(100dvh - var(--header-height) - 0.65rem);
    }

    .hero-image {
        height: min(74dvh, 22rem);
    }

    .farm-slideshow {
        min-height: min(70dvh, 20rem);
    }

    .slideshow-nav {
        bottom: 0.45rem;
    }
}

/* ============================================
   ENHANCED DESIGN EFFECTS & ANIMATIONS
   ============================================ */

/* Animated Background Particles */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes drift {
    0% {
        transform: translateX(0) translateY(0);
    }
    33% {
        transform: translateX(30px) translateY(-30px);
    }
    66% {
        transform: translateX(-20px) translateY(20px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

/* Decorative floating elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    opacity: 0.12;
    font-size: 2rem;
    color: #3f8a3f;
    animation: float 8s ease-in-out infinite;
}

.dark .floating-leaf {
    opacity: 0.08;
    color: #4fa34f;
}

.floating-leaf:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.floating-leaf:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.floating-leaf:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.floating-leaf:nth-child(4) {
    bottom: 15%;
    right: 25%;
    animation-delay: 6s;
    animation-duration: 11s;
}


/* Animated Plant Icons */
.plant-icon {
    animation: plant-grow 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes plant-grow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(1.15) rotate(0deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

.feature-card .fa-seedling.plant-icon,
.feature-card .fa-leaf.plant-icon {
    animation: plant-grow 3s ease-in-out infinite;
}

/* Section Plant Decorations */
.section-plant {
    position: absolute;
    opacity: 0.08;
    font-size: 3rem;
    color: #3f8a3f;
    animation: drift 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.dark .section-plant {
    opacity: 0.05;
    color: #4fa34f;
}

/* Enhanced Product Card Effects */
.product-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(15, 118, 110, 0.25), 0 0 0 1px rgba(79, 163, 79, 0.1);
}

.dark .product-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(79, 163, 79, 0.2);
}

/* Product Image Zoom Effect */
.product-card img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover img {
    transform: scale(1.1) rotate(1deg);
}

/* Glowing Badge Effect */
.product-card span[class*="rounded-full"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover span[class*="rounded-full"] {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(79, 163, 79, 0.4);
}

/* Price Animation */
.product-card .text-3xl {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    font-size: clamp(1.6rem, 6vw, 1.875rem);
    background: linear-gradient(135deg, #2f6c2f, #4fa34f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.dark .product-card .text-3xl {
    background: linear-gradient(135deg, #facc15, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card:hover .text-3xl {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(79, 163, 79, 0.5));
}

/* Status Badge Pulse Animation */
.product-status[data-status="available"] {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), 0 0 30px rgba(34, 197, 94, 0.4);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation for Product Cards */
.product-card:nth-child(1) { transition-delay: 0.1s; }
.product-card:nth-child(2) { transition-delay: 0.2s; }
.product-card:nth-child(3) { transition-delay: 0.3s; }
.product-card:nth-child(4) { transition-delay: 0.4s; }
.product-card:nth-child(5) { transition-delay: 0.5s; }
.product-card:nth-child(6) { transition-delay: 0.6s; }
.product-card:nth-child(7) { transition-delay: 0.7s; }

/* Enhanced Button Effects */
.btn, a[class*="rounded-full"][class*="bg-gradient"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after, a[class*="rounded-full"][class*="bg-gradient"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after, a[class*="rounded-full"][class*="bg-gradient"]:hover::after {
    width: 300px;
    height: 300px;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #2f6c2f, #4fa34f, #5fb25f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

.dark .gradient-text {
    background: linear-gradient(135deg, #facc15, #eab308, #fde047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Hero Section Enhanced */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 163, 79, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Feature Cards Enhanced */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 163, 79, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card i {
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #2f6c2f;
}

.dark .feature-card:hover i {
    color: #facc15;
}

/* Section Title Animation */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2f6c2f, #4fa34f);
    border-radius: 2px;
    animation: expand 0.8s ease forwards;
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

/* Loading Skeleton Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.dark .skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200px 100%;
}

/* Parallax Effect */
.parallax {
    transition: transform 0.1s ease-out;
}

/* Image Hover Glow */
.product-card img,
.gallery-item img {
    filter: brightness(1);
    transition: filter 0.3s ease;
}

.product-card:hover img,
.gallery-item:hover img {
    filter: brightness(1.1) contrast(1.05);
}

/* Enhanced Status Badge */
.product-status {
    position: relative;
    overflow: hidden;
}

.product-status[data-status="available"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Magnetic Hover Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #2f6c2f, #4fa34f, #5fb25f);
    z-index: 9999;
    transform-origin: left;
    transition: transform 0.1s ease;
}

/* Enhanced Footer Gradient */
footer {
    position: relative;
}

footer a {
    word-break: break-word;
}

.social-tooltip {
    max-width: min(11rem, calc(100vw - 2rem));
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    pointer-events: none;
}

.footer-link {
    min-height: 44px;
    padding-block: 0.35rem;
}

@media (max-width: 767px) {
    footer .group > span.absolute {
        display: none;
    }

    footer .relative.px-4.py-12 {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

    footer .site-container-wide > .grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    footer .site-container-wide > .grid > div {
        padding: 1rem;
        border: 1px solid rgba(63, 138, 63, 0.2);
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.72);
    }

    .dark footer .site-container-wide > .grid > div {
        border-color: rgba(79, 163, 79, 0.4);
        background: rgba(15, 23, 42, 0.55);
    }

    footer .site-container-wide > .grid > div h3,
    footer .site-container-wide > .grid > div h4 {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    footer .site-container-wide > .grid > div p {
        font-size: 0.94rem;
        line-height: 1.5;
    }

    footer .site-container-wide > .grid > div:first-child .flex.gap-3 {
        flex-wrap: wrap;
    }

    footer .footer-link {
        min-height: 40px;
        padding: 0.5rem 0.65rem;
        border-radius: 0.7rem;
        background: rgba(63, 138, 63, 0.08);
    }

    .dark footer .footer-link {
        background: rgba(74, 222, 128, 0.1);
    }

    footer .footer-link i {
        opacity: 1 !important;
    }

    footer .site-container-wide > .grid > div:last-child > a {
        width: 100%;
        justify-content: center;
    }

    footer .developer-credit {
        margin-bottom: 1rem;
        padding: 1rem;
    }

    footer .developer-credit .flex.items-center.gap-3 {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    footer .developer-credit .flex.items-center.gap-3 > a {
        width: 42px;
        height: 42px;
    }

    footer .border-t {
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

@media (hover: none), (max-width: 1023px) {
    .social-tooltip {
        display: none !important;
    }
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3f8a3f, transparent);
    animation: gradient-flow 3s ease infinite;
}

@keyframes gradient-flow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Card Tilt Effect */
.feature-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Enhanced Mobile Menu Animation */
.nav-menu {
    transform-origin: top right;
}

/* Number Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: countUp 0.6s ease forwards;
}

/* Glow Effect on Hover */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(79, 163, 79, 0.5),
                0 0 40px rgba(79, 163, 79, 0.3),
                0 0 60px rgba(79, 163, 79, 0.1);
}

.dark .glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.4),
                0 0 40px rgba(250, 204, 21, 0.2),
                0 0 60px rgba(250, 204, 21, 0.1);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating-elements,
    .section-plant {
        display: none !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-ai-widget {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1100;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0.7rem;
}

.site-ai-launcher {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    border: 1px solid rgba(22, 101, 52, 0.18);
    border-radius: 999px;
    background:
        radial-gradient(circle at 28% 28%, rgba(134, 239, 172, 0.55), rgba(134, 239, 172, 0.12) 32%, transparent 34%),
        linear-gradient(135deg, #166534, #22c55e);
    color: #f8fafc;
    box-shadow: 0 14px 28px rgba(6, 78, 59, 0.28);
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
    overflow: hidden;
}

.site-ai-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(6, 78, 59, 0.24);
}

.site-ai-launcher__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-100%);
    animation: site-ai-sheen 4.8s ease-in-out infinite;
}

.site-ai-launcher__icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #f0fdf4;
    font-size: 1.05rem;
    text-shadow: 0 8px 18px rgba(2, 44, 34, 0.2);
}

.site-ai-launcher__text {
    position: absolute;
    top: 50%;
    right: calc(100% + 0.8rem);
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 13rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(22, 101, 52, 0.16);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.94);
    box-shadow: 0 16px 34px rgba(6, 78, 59, 0.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.site-ai-launcher__text strong {
    font-size: 0.86rem;
    font-weight: 800;
    color: #064e3b;
}

.site-ai-launcher__text small {
    margin-top: 0.18rem;
    font-size: 0.68rem;
    color: #334155;
}

.site-ai-launcher:hover .site-ai-launcher__text,
.site-ai-launcher:focus-visible .site-ai-launcher__text {
    opacity: 1;
    transform: translate(-0.2rem, -50%);
}

.site-ai-widget.is-open .site-ai-launcher {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem) scale(0.96);
}

.site-ai-panel {
    width: min(27rem, calc(100vw - 1rem));
    height: min(44rem, calc(100vh - 1rem));
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 1.75rem;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(16, 185, 129, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(3, 18, 14, 0.98), rgba(2, 27, 20, 0.98));
    color: #e2e8f0;
    box-shadow: 0 28px 80px rgba(2, 12, 9, 0.55);
    backdrop-filter: blur(18px);
}

.site-ai-panel[hidden] {
    display: none;
}

.site-ai-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.35rem 1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.16);
}

.site-ai-panel__copy {
    flex: 1;
    min-width: 0;
}

.site-ai-panel__header h3 {
    margin: 0.35rem 0 0;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.site-ai-panel__subtext {
    margin: 0.45rem 0 0;
    max-width: 26rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #bfd4cf;
}

.site-ai-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #86efac;
}

.site-ai-panel__eyebrow span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 0.35rem rgba(16, 185, 129, 0.12);
}

.site-ai-panel__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.site-ai-clear {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(110, 231, 183, 0.22);
    border-radius: 999px;
    background: rgba(6, 78, 59, 0.26);
    color: #d1fae5;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.site-ai-clear:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(110, 231, 183, 0.42);
    color: #ecfdf5;
    transform: translateY(-1px);
}

.site-ai-close {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    color: #d1fae5;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.site-ai-close:hover {
    background: rgba(16, 185, 129, 0.18);
    transform: rotate(90deg);
}

.site-ai-panel__body {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.1rem 0;
}

.site-ai-suggestions {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.1rem 0 0.15rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.45) transparent;
}

.site-ai-suggestions::-webkit-scrollbar {
    height: 0.35rem;
}

.site-ai-suggestions::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.45);
}

.site-ai-suggestion {
    flex: 0 0 auto;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 999px;
    background: rgba(2, 44, 34, 0.72);
    color: #dcfce7;
    padding: 0.72rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-ai-suggestion:hover {
    transform: translateY(-1px);
    background: rgba(5, 84, 60, 0.92);
    border-color: rgba(52, 211, 153, 0.42);
}

.site-ai-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.2rem 0.1rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(52, 211, 153, 0.88) rgba(2, 44, 34, 0.72);
}

.site-ai-messages::-webkit-scrollbar {
    width: 0.7rem;
}

.site-ai-messages::-webkit-scrollbar-track {
    margin: 0.35rem 0;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(3, 18, 14, 0.92), rgba(6, 78, 59, 0.66));
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.site-ai-messages::-webkit-scrollbar-thumb {
    border: 2px solid rgba(2, 44, 34, 0.76);
    border-radius: 999px;
    background: linear-gradient(180deg, #6ee7b7, #10b981 52%, #15803d);
    box-shadow: 0 0 0.75rem rgba(16, 185, 129, 0.2);
}

.site-ai-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a7f3d0, #34d399 52%, #16a34a);
}

.site-ai-message-row {
    display: flex;
}

.site-ai-message-row--user {
    justify-content: flex-end;
}

.site-ai-message-row--bot {
    justify-content: flex-start;
}

.site-ai-bubble {
    max-width: min(86%, 22rem);
    border-radius: 1.25rem;
    padding: 0.95rem 1rem;
    box-shadow: 0 10px 28px rgba(2, 12, 9, 0.2);
}

.site-ai-message-row--bot .site-ai-bubble {
    border: 1px solid rgba(16, 185, 129, 0.12);
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(35, 44, 38, 0.88));
    color: #e5f7ef;
}

.site-ai-message-row--user .site-ai-bubble {
    background: linear-gradient(135deg, #34d399, #22c55e);
    color: #042f1a;
    font-weight: 700;
}

.site-ai-bubble__text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.site-ai-bubble__text p + p {
    margin-top: 0.55rem;
}

.site-ai-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.site-ai-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(110, 231, 183, 0.28);
    border-radius: 999px;
    color: #bbf7d0;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-ai-action:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(110, 231, 183, 0.45);
    transform: translateY(-1px);
}

.site-ai-bubble--typing {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.site-ai-bubble--typing span {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #86efac;
    opacity: 0.55;
    animation: site-ai-typing 1s ease-in-out infinite;
}

.site-ai-bubble--typing span:nth-child(2) {
    animation-delay: 0.16s;
}

.site-ai-bubble--typing span:nth-child(3) {
    animation-delay: 0.32s;
}

.site-ai-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 1rem 1.1rem 1.1rem;
    border-top: 1px solid rgba(16, 185, 129, 0.14);
    background: rgba(2, 12, 9, 0.24);
}

.site-ai-input {
    width: 100%;
    min-height: 3.5rem;
    height: 3.5rem;
    max-height: 8rem;
    resize: none;
    overflow-y: hidden;
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 1.2rem;
    background: rgba(3, 18, 14, 0.78);
    color: #f8fafc;
    padding: 1rem 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.site-ai-input::placeholder {
    color: #94a3b8;
}

.site-ai-input:disabled {
    opacity: 0.65;
    cursor: wait;
}

.site-ai-send {
    width: 3.5rem;
    height: 3.5rem;
    align-self: end;
    border: 0;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #10b981, #4ade80);
    color: #022c22;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.site-ai-send:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(16, 185, 129, 0.34);
}

.site-ai-send:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.dark .site-ai-launcher {
    border-color: rgba(74, 222, 128, 0.18);
    background:
        radial-gradient(circle at 28% 28%, rgba(110, 231, 183, 0.28), rgba(110, 231, 183, 0.08) 32%, transparent 34%),
        linear-gradient(135deg, rgba(2, 44, 34, 0.96), rgba(5, 84, 60, 0.96));
    color: #f8fafc;
}

.dark .site-ai-launcher__text strong {
    color: #ecfccb;
}

.dark .site-ai-launcher__text small {
    color: #bfd4cf;
}

.dark .site-ai-launcher__text {
    border-color: rgba(74, 222, 128, 0.12);
    background: rgba(2, 12, 9, 0.9);
}

@keyframes site-ai-sheen {
    0%,
    82%,
    100% {
        transform: translateX(-110%);
    }
    92% {
        transform: translateX(115%);
    }
}

@keyframes site-ai-typing {
    0%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    40% {
        transform: translateY(-0.18rem);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .site-ai-widget {
        right: max(12px, env(safe-area-inset-right));
        left: auto;
        bottom: max(12px, env(safe-area-inset-bottom));
    }

    .site-ai-launcher {
        width: 3.35rem;
        height: 3.35rem;
    }

    .site-ai-launcher__text {
        display: none;
    }

    .site-ai-panel {
        width: calc(100vw - 1rem);
        height: min(80vh, 42rem);
        border-radius: 1.5rem;
    }

    .site-ai-panel__header {
        padding: 1rem 1rem 0.9rem;
    }

    .site-ai-panel__header h3 {
        font-size: 1.08rem;
    }

    .site-ai-panel__eyebrow {
        font-size: 0.64rem;
    }

    .site-ai-panel__subtext {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .site-ai-clear {
        width: 2.55rem;
        height: 2.55rem;
        font-size: 0.86rem;
    }

    .site-ai-panel__body {
        padding-inline: 0.9rem;
    }

    .site-ai-suggestion {
        font-size: 0.78rem;
        padding: 0.66rem 0.88rem;
    }

    .site-ai-bubble__text p {
        font-size: 0.88rem;
        line-height: 1.52;
    }

    .site-ai-action {
        font-size: 0.72rem;
    }

    .site-ai-form {
        padding: 0.9rem;
    }

    .site-ai-input {
        font-size: 0.9rem;
    }

    .site-ai-input::placeholder {
        font-size: 0.88rem;
    }

    .site-ai-bubble {
        max-width: 92%;
    }
}
