/* ============================================
   FloraSoft — Premium Landing Page Stylesheet
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* Core palette */
    --sage: #8FAE8B;
    --sage-light: #B5CCAB;
    --sage-lighter: #dce8d4;
    --sage-dark: #5E7A56;
    --sage-deep: #3D5637;
    --charcoal: #2D2D2D;
    --charcoal-light: #4A4A4A;
    --charcoal-muted: #6B6B6B;
    --cream: #FAF7F2;
    --cream-dark: #F0EBE1;
    --white: #FFFFFF;
    --white-translucent: rgba(255, 255, 255, 0.85);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Sizing */
    --container-max: 1280px;
    --section-padding: 120px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.10);
    --shadow-sage: 0 8px 32px rgba(143,174,139,0.25);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.step-card,
.product-card,
.benefit,
.testimonial-card,
.how-it-works-image,
.why-choose-image,
.cta-image {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.step-card.animate-in,
.product-card.animate-in,
.benefit.animate-in,
.testimonial-card.animate-in,
.how-it-works-image.animate-in,
.why-choose-image.animate-in,
.cta-image.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-card:nth-child(3).animate-in { transition-delay: 0.1s; }
.step-card:nth-child(5).animate-in { transition-delay: 0.2s; }

.product-card:nth-child(2).animate-in { transition-delay: 0.1s; }
.product-card:nth-child(3).animate-in { transition-delay: 0.2s; }
.product-card:nth-child(4).animate-in { transition-delay: 0.3s; }

.benefit:nth-child(2).animate-in { transition-delay: 0.1s; }
.benefit:nth-child(3).animate-in { transition-delay: 0.2s; }
.benefit:nth-child(4).animate-in { transition-delay: 0.3s; }

.testimonial-card:nth-child(2).animate-in { transition-delay: 0.1s; }
.testimonial-card:nth-child(3).animate-in { transition-delay: 0.2s; }


/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.navbar.scrolled {
    background: var(--white-translucent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--charcoal);
}

.logo-icon {
    font-size: 1.4rem;
}

.logo-accent {
    color: var(--sage-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal-light);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sage);
    border-radius: 2px;
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--sage-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--sage);
    color: var(--white) !important;
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sage);
}

.nav-cta:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(143,174,139,0.35);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 40%, var(--sage-lighter) 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(143, 174, 139, 0.15);
    color: var(--sage-dark);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease) forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.12;
    color: var(--charcoal);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}

.hero-title em {
    font-style: italic;
    color: var(--sage-dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--charcoal-muted);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.35s var(--ease);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
    box-shadow: var(--shadow-sage);
}

.btn-primary:hover {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(143,174,139,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal-light);
}

.btn-outline:hover {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.05rem;
}

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sage-dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--charcoal-muted);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,0.1);
}

/* Hero image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInScale 1s var(--ease) 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 520px;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
    animation: floatSoft 6s ease-in-out infinite;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 100px;
}


/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--cream);
    padding: 48px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--charcoal-muted);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.trust-icon {
    width: 22px;
    height: 22px;
    color: var(--sage);
    flex-shrink: 0;
}


/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--sage-dark);
}

.section-title.left-aligned {
    text-align: left;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--charcoal-muted);
    line-height: 1.75;
}


/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 72px;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.4s var(--ease);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--sage-lighter);
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    color: var(--charcoal-muted);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.step-desc {
    font-size: 0.92rem;
    color: var(--charcoal-muted);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    width: 60px;
    flex-shrink: 0;
}

.step-connector svg {
    width: 100%;
}

/* How it Works gallery */
.how-it-works-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

/* How it Works feature image */
.how-it-works-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.how-it-works-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 28px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: var(--white);
}

.image-caption span {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.02em;
}


/* ============================================
   PRODUCT SHOWCASE
   ============================================ */
.products {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.product-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-featured {
    grid-column: span 2;
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--sage);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 2;
    box-shadow: var(--shadow-sage);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card-featured .product-image img {
    height: 380px;
}

.product-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--charcoal-muted);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-price {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sage-dark);
}

.product-tag {
    font-size: 0.78rem;
    color: var(--sage);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.product-btn {
    width: 100%;
    text-align: center;
}


/* ============================================
   WHY CHOOSE FLORASOFT
   ============================================ */
.why-choose {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.why-choose-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.why-choose-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-choose-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.why-choose-content .section-tag {
    text-align: left;
}

.benefits-list {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.benefit {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-text h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 0.9rem;
    color: var(--charcoal-muted);
    line-height: 1.65;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.featured-testimonial {
    background: var(--sage-deep);
    color: var(--white);
}

.featured-testimonial .testimonial-text {
    color: rgba(255,255,255,0.9);
}

.featured-testimonial .author-detail {
    color: rgba(255,255,255,0.6);
}

.testimonial-stars {
    font-size: 1rem;
    color: #D4A853;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.75;
    margin-bottom: 28px;
    font-style: italic;
    font-family: var(--font-serif);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
}

.author-detail {
    font-size: 0.8rem;
    color: var(--charcoal-muted);
}


/* ============================================
   IMAGE SLIDER / GALLERY
   ============================================ */
.slider-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.florasoft-slider {
    padding-bottom: 52px;
    position: relative;
}

.florasoft-slider .swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.florasoft-slider .swiper-slide:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.florasoft-slider .swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Sage green navigation arrows */
.florasoft-slider .swiper-button-prev,
.florasoft-slider .swiper-button-next {
    width: 44px;
    height: 44px;
    background: rgba(135, 169, 107, 0.9);
    border-radius: 50%;
    color: white;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(4px);
}

.florasoft-slider .swiper-button-prev::after,
.florasoft-slider .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.florasoft-slider .swiper-button-prev:hover,
.florasoft-slider .swiper-button-next:hover {
    background: #6d8f55;
    transform: scale(1.1);
}

/* Sage green pagination dots */
.florasoft-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--sage-light);
    opacity: 0.5;
    transition: all 0.3s var(--ease);
}

.florasoft-slider .swiper-pagination-bullet-active {
    background: #87A96B;
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}


/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #87A96B;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.video-wrapper video {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

/* Dark gradient overlay with text */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.05) 40%,
        rgba(0, 0, 0, 0.35) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.video-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.video-tagline {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

/* Play / Pause button */
.video-play-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(135, 169, 107, 0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.35s var(--ease);
    z-index: 3;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.video-play-btn svg {
    width: 24px;
    height: 24px;
}

/* Show pause icon by default (video is autoplaying), hide play */
.video-play-btn .play-icon {
    display: none;
}
.video-play-btn .pause-icon {
    display: block;
}

/* When paused: show play icon, hide pause */
.video-wrapper.is-paused .video-play-btn .play-icon {
    display: block;
}
.video-wrapper.is-paused .video-play-btn .pause-icon {
    display: none;
}

/* Show button only on hover or when paused */
.video-wrapper:hover .video-play-btn {
    opacity: 1;
}

.video-wrapper.is-paused .video-play-btn {
    opacity: 1;
}

.video-play-btn:hover {
    background: rgba(109, 143, 85, 0.95);
    transform: scale(1.1);
}

/* Scroll animation */
.video-wrapper {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.video-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   ORDER FORM SECTION
   ============================================ */
.order-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
    position: relative;
}

.order-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.order-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.order-image img {
    width: 100%;
    height: 580px;
    object-fit: cover;
}

.order-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.order-header {
    margin-bottom: 32px;
}

.order-header .section-tag {
    text-align: left;
}

.order-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: #36454F;
    margin-bottom: 10px;
}

.order-subtitle {
    font-size: 0.95rem;
    color: var(--charcoal-muted);
    line-height: 1.7;
}

/* Form elements */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #36454F;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #36454F;
    background: var(--cream);
    transition: all 0.3s var(--ease);
    outline: none;
}

.form-input::placeholder {
    color: rgba(54, 69, 79, 0.35);
    direction: rtl;
    font-size: 0.9rem;
}

.form-input:focus {
    border-color: #87A96B;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(135, 169, 107, 0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Order submit button */
.btn-order {
    width: 100%;
    padding: 16px 32px;
    background: #87A96B;
    color: var(--white);
    border: 2px solid #87A96B;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    box-shadow: 0 8px 24px rgba(135, 169, 107, 0.3);
    margin-top: 4px;
}

.btn-order:hover {
    background: #6d8f55;
    border-color: #6d8f55;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(135, 169, 107, 0.4);
}

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

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--charcoal-muted);
    margin-top: 4px;
    letter-spacing: 0.01em;
}

/* Two-button layout */
.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.btn-whatsapp-order {
    width: 100%;
    padding: 14px 32px;
    background: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp-order:hover {
    background: #1FB855;
    border-color: #1FB855;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-order:active {
    transform: translateY(0);
}


/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
}

.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 900;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease);
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-fab svg {
    width: 30px;
    height: 30px;
}

.whatsapp-fab:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
    animation: none;
}

/* Animation for order form elements */
.order-form-wrapper,
.order-image {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.order-form-wrapper.animate-in,
.order-image.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.order-image.animate-in {
    transition-delay: 0s;
}

.order-form-wrapper.animate-in {
    transition-delay: 0.15s;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-mobile-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--sage-dark);
    color: var(--white);
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    z-index: 99; /* Below whatsapp button */
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: none; /* Hidden on desktop by default */
}

/* We adjust the Whatsapp button up slightly when the sticky CTA is visible on mobile */
@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
    }
    .sticky-mobile-cta.visible {
        transform: translateY(0);
        opacity: 1;
    }
    .sticky-mobile-cta.visible ~ .whatsapp-fab {
        transform: translateY(-70px);
    }
    .sticky-mobile-cta.visible ~ .whatsapp-fab:hover {
        transform: translateY(-73px) scale(1.05);
    }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-accent {
    color: var(--sage-light);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s var(--ease);
}

.footer-socials a:hover {
    background: var(--sage);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s var(--ease);
}

.footer-col a:hover {
    color: var(--sage-light);
    padding-left: 6px;
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        gap: 48px;
    }

    .section-title {
        font-size: 2.2rem;
    }

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

    .product-card-featured {
        grid-column: span 2;
    }

    .product-card-featured .product-image img {
        height: 300px;
    }

    .order-layout {
        gap: 40px;
    }

    .order-image img {
        height: 440px;
    }

    .order-form-wrapper {
        padding: 36px;
    }

    .why-choose-layout {
        gap: 48px;
    }

    .why-choose-image img {
        height: 480px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .container {
        padding: 0 20px;
    }

    /* Nav */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 998;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        z-index: 999;
    }

    /* Hero */
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 360px;
    }

    /* Steps */
    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
        width: 40px;
    }

    .step-card {
        max-width: 400px;
        width: 100%;
    }

    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card-featured {
        grid-column: span 1;
    }

    .product-card-featured .product-image img,
    .product-image img {
        height: 280px;
    }

    /* Why Choose */
    .why-choose-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-choose-image img {
        height: 350px;
    }

    .section-title.left-aligned {
        text-align: center;
    }

    .why-choose-content .section-tag {
        text-align: center;
        display: block;
    }

    .benefits-list {
        margin-top: 28px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* How It Works gallery */
    .how-it-works-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Slider */
    .florasoft-slider .swiper-slide img {
        height: 350px;
    }

    .florasoft-slider .swiper-button-prev,
    .florasoft-slider .swiper-button-next {
        display: none;
    }

    /* Video */
    .video-wrapper {
        border-radius: 14px;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-tagline {
        font-size: 0.85rem;
    }

    .video-play-btn {
        width: 44px;
        height: 44px;
        bottom: 16px;
        right: 16px;
    }

    .video-play-btn svg {
        width: 20px;
        height: 20px;
    }

    /* Order Form */
    .order-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .order-image img {
        height: 300px;
    }

    .order-form-wrapper {
        padding: 28px;
    }

    .order-title {
        font-size: 1.8rem;
    }

    /* WhatsApp */
    .whatsapp-fab {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-fab svg {
        width: 26px;
        height: 26px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .trust-items {
        gap: 20px;
    }

    .trust-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .order-title {
        font-size: 1.6rem;
    }

    .order-form-wrapper {
        padding: 24px;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .btn-lg {
        padding: 14px 32px;
        font-size: 0.95rem;
    }
}
