/* ========================================
   VedaGreen Ayurvedic E-Commerce
   Complete CSS with Animations & Glass Effects
   ======================================== */

/* CSS Variables */
:root {
    --primary-green: #006845;
    --primary-dark: #00573a;
    --primary-light: #ecf9f4;
    --white: #ffffff;
    --black: #000000;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --amber: #fbbf24;
    --blue: #3b82f6;
    --red: #ef4444;

    --ease-ayurvedic: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-root-growth: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-herbal-settle: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Glass Effects
   ======================================== */

.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 104, 69, 0.1);
}

.glass-card {
    background: rgba(236, 249, 244, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(0, 104, 69, 0.08);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s var(--ease-ayurvedic);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 104, 69, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease-ayurvedic);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--primary-green);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s var(--ease-ayurvedic);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Section Styles
   ======================================== */

.section-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--gray-600);
    max-width: 500px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
}

.section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header.center .section-desc {
    max-width: 600px;
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: var(--white);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    transition: gap 0.3s var(--ease-ayurvedic);
}

.link-arrow:hover {
    gap: 1rem;
}

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-ayurvedic);
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-md);
}

.header.scrolled .logo-text {
    color: var(--primary-green);
}





.header.scrolled .nav-link {
    color: var(--gray-700);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-green);
}

.header.scrolled .icon-btn {
    color: var(--gray-700);
}

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

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

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s;
}



.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s var(--ease-ayurvedic);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s var(--ease-ayurvedic);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.header.scrolled .icon-btn:hover {
    background: var(--gray-100);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--primary-green);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePop 0.4s var(--ease-root-growth);
}

@keyframes badgePop {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.menu-toggle {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.header.scrolled .menu-toggle {
    color: var(--gray-700);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s var(--ease-ayurvedic);
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-menu-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 320px;
    background: var(--white);
    padding: 6rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-ayurvedic);
}

.mobile-menu.active .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-green);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 1.5s var(--ease-sacred-reveal);
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 104, 69, 0.15) 0%, transparent 50%);
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 30% 50%;
    }

    50% {
        background-position: 70% 50%;
    }
}

/* Floating Leaves */
.floating-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.leaf {
    position: absolute;
    animation: leafFloat 8s ease-in-out infinite;
}

.leaf-1 {
    left: 15%;
    top: 20%;
    animation-delay: 0s;
}

.leaf-2 {
    left: 35%;
    top: 60%;
    animation-delay: -2s;
}

.leaf-3 {
    left: 55%;
    top: 30%;
    animation-delay: -4s;
}

.leaf-4 {
    left: 75%;
    top: 70%;
    animation-delay: -1s;
}

.leaf-5 {
    left: 85%;
    top: 45%;
    animation-delay: -3s;
}

@keyframes leafFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-content {
    color: var(--white);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    animation: slideDown 0.8s var(--ease-ayurvedic) 0.4s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .word {
    display: inline-block;
    margin-right: 0.375rem;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
    animation: wordReveal 0.7s var(--ease-root-growth) forwards;
}

.hero-title .word:nth-child(1) {
    animation-delay: 0.6s;
}

.hero-title .word:nth-child(2) {
    animation-delay: 0.7s;
}

.hero-title .word:nth-child(3) {
    animation-delay: 0.8s;
}

.hero-title .word:nth-child(4) {
    animation-delay: 0.9s;
}

.hero-title .word:nth-child(5) {
    animation-delay: 1.0s;
}

.hero-title .word:nth-child(6) {
    animation-delay: 1.1s;
}

.hero-title .word:nth-child(7) {
    animation-delay: 1.2s;
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideUp 0.8s var(--ease-herbal-settle) 1.3s both;
}

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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.6s var(--ease-root-growth) 1.5s both;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    opacity: 0;
    animation: scaleIn 0.5s var(--ease-ayurvedic) forwards;
}

.stat:nth-child(1) {
    animation-delay: 1.8s;
}

.stat:nth-child(2) {
    animation-delay: 1.9s;
}

.stat:nth-child(3) {
    animation-delay: 2s;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Product */
.hero-product {
    display: none;
}

.product-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.orbit-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: orbit 25s linear infinite;
}

.badge-1 {
    animation-delay: 0s;
}

.badge-2 {
    animation-delay: -8.33s;
}

.badge-3 {
    animation-delay: -16.67s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(180px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(180px) rotate(-360deg);
    }
}

.badge-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.bg-amber {
    background: var(--amber);
}

.bg-blue {
    background: var(--blue);
}

.bg-green {
    background: var(--primary-green);
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    backdrop-filter: blur(10px);
}

.product-float {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: productFloat 6s ease-in-out infinite;
}

@keyframes productFloat {

    0%,
    100% {
        transform: translateY(-15px);
    }

    50% {
        transform: translateY(15px);
    }
}

.product-image {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s var(--ease-ayurvedic);
}

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

.product-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0, 104, 69, 0.3);
    border-radius: 50%;
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--white), transparent);
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: 5rem 0;
    background: var(--white);
}

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

.feature-item {
    text-align: center;
}

.feature-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary-light), rgba(0, 104, 69, 0.1));
    border-radius: 1rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    animation: featureFloat 4s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-icon-wrap {
    animation-delay: -0.5s;
}

.feature-item:nth-child(3) .feature-icon-wrap {
    animation-delay: -1s;
}

.feature-item:nth-child(4) .feature-icon-wrap {
    animation-delay: -1.5s;
}

@keyframes featureFloat {

    0%,
    100% {
        transform: translateY(-8px);
    }

    50% {
        transform: translateY(8px);
    }
}

.feature-icon-wrap:hover {
    background: var(--primary-green);
    color: var(--white);
}

.feature-glow {
    position: absolute;
    inset: 0;
    background: rgba(0, 104, 69, 0.2);
    border-radius: 1rem;
    filter: blur(20px);
    animation: glowFade 3s ease-in-out infinite;
}

@keyframes glowFade {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }
}

.feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ========================================
   About Section
   ======================================== */

.about {
    padding: 6rem 0;
    background: var(--white);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-2xl);
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 280px;
    max-width: none;
    white-space: nowrap;
}

.about-badge .badge-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-badge .badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.about-badge .badge-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.about-content {
    position: relative;
    z-index: 10;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.about-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-stat .stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 104, 69, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

.about-stat .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.about-stat .stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* ========================================
   Products Section
   ======================================== */

.featured-products {
    padding: 6rem 0;
    background: var(--primary-light);
}

.new-products {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
}

.new-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 1rem;
}

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

.product-card {
    position: relative;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s var(--ease-ayurvedic);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.new-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.375rem 0.875rem;
    background: var(--amber);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    z-index: 10;
    animation: newPulse 2s ease-in-out infinite;
}

@keyframes newPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.product-image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.5s var(--ease-herbal-settle);
}

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

.quick-add {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s var(--ease-ayurvedic);
}

.product-card:hover .quick-add {
    opacity: 1;
    transform: translateY(0);
}

.btn-quick-add {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.btn-quick-add:hover {
    background: var(--primary-dark);
}

.product-info {
    padding: 1.25rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-count {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-left: 0.25rem;
}

.product-name {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name:hover {
    color: var(--primary-green);
}

.product-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-green);
}

.original-price {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-bv {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-green);
    background: var(--primary-light);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

/* ========================================
   Categories Section
   ======================================== */

.categories {
    padding: 6rem 0;
    background: var(--white);
}

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

.category-card {
    position: relative;
    display: block;
    aspect-ratio: 4/5;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.category-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-herbal-settle);
}

.category-card:hover .category-img {
    transform: scale(1.15);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
    transition: opacity 0.5s;
}

.category-card:hover .category-overlay {
    opacity: 0.9;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--white);
}

.category-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s var(--ease-ayurvedic);
}

.category-card:hover .category-name {
    transform: translateY(-10px);
}

.category-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-light);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s var(--ease-ayurvedic);
}

.category-card:hover .category-link {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Testimonials Section
   ======================================== */

.testimonials {
    padding: 6rem 0;
    background: var(--primary-light);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: quotePulse 4s ease-in-out infinite;
}

@keyframes quotePulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.4;
    }
}

.testimonial-card {
    display: none;
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    animation: testimonialIn 0.6s var(--ease-ayurvedic);
}

.testimonial-card.active {
    display: block;
}

@keyframes testimonialIn {
    from {
        opacity: 0;
        transform: scale(0.9) rotateY(20deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotateY(0);
    }
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.testimonial-avatar {
    position: relative;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 4px rgba(0, 104, 69, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-badge {
    position: absolute;
    bottom: -0.25rem;
    right: -0.25rem;
    width: 2rem;
    height: 2rem;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-text blockquote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author .author-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1.125rem;
}

.testimonial-author .author-role {
    color: var(--primary-green);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 3rem;
    height: 3rem;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s var(--ease-ayurvedic);
}

.testimonial-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    background: rgba(0, 104, 69, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    width: 2rem;
    background: var(--primary-green);
    border-radius: 9999px;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    position: relative;
    background: var(--primary-green);
    color: var(--white);
}

.footer-wave {
    position: absolute;
    top: -49px;
    left: 0;
    right: 0;
    line-height: 0;
}

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

.footer-content {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}



.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s var(--ease-root-growth);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.2);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: all 0.3s;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--white);
    opacity: 0;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    margin-right: 0.5rem;
}

.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-input {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    color: var(--white);
    font-size: 0.875rem;
}

.newsletter-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input button {
    padding: 0.75rem 1.25rem;
    background: var(--white);
    color: var(--primary-green);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.newsletter-input button:hover {
    background: var(--primary-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ========================================
   Responsive Styles
   ======================================== */

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }

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

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

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

    .testimonial-content {
        flex-direction: row;
        text-align: left;
    }

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

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

    .menu-toggle {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .about-image img {
        height: 500px;
    }

    .about-content {
        margin-left: -4rem;
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-product {
        display: block;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   Animation Utilities
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-ayurvedic);
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

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

/* ========================================
   Achievers Section
   ======================================== */

.achievers {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white), var(--primary-light));
    overflow: hidden;
}

.achievers-track-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    overflow: hidden;
    padding: 2rem 0;
}

.achievers-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.achievers-track-container:hover .achievers-track {
    animation-play-state: paused;
}

.achiever-card {
    position: relative;
    width: 280px;
    background: var(--white);
    border-radius: 1.5rem;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--ease-ayurvedic);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 104, 69, 0.08);
}

.achiever-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.achiever-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

.achiever-info {
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.achiever-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.achiever-rank {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.achiever-location {
    font-size: 0.875rem;
    color: var(--gray-500);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 1rem));
        /* Adjust based on track content duplication */
    }
}


/* ========================================
   Plan Page Revamp Styles
   ======================================== */

.plan-body {
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Premium Hero */
.plan-hero-revamp {
    position: relative;
    padding: 10rem 0 8rem;
    background: radial-gradient(circle at 50% 50%, #004d33 0%, #002b1c 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.plan-hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 0;
}

.plan-hero-content {
    position: relative;
    z-index: 2;
}

.plan-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.plan-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a7f3d0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Cards */
.glass-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: -5rem;
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), #fbbf24);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 60px -15px rgba(0, 104, 69, 0.15);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon-box {
    width: 80px;
    height: 80px;
    background: #ecfdf5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary-green);
    font-size: 2rem;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.glass-card:hover .card-icon-box {
    transform: rotate(0deg) scale(1.1);
    background: var(--primary-green);
    color: var(--white);
}

/* Content Sections */
.plan-section {
    padding: 8rem 0;
    position: relative;
}

.plan-section.alt {
    background-color: var(--primary-light);
}

.content-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.text-col {
    flex: 1;
}

.visual-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Network Tree Visualization */
.tree-container {
    padding: 2rem;
    background: var(--white);
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
}

.tree-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    color: var(--primary-green);
    font-size: 0.8rem;
}

.tree-node.root {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: var(--white);
    font-size: 1rem;
    border: 4px solid #a7f3d0;
    margin-bottom: 2rem;
}

.tree-level {
    display: flex;
    justify-content: space-around;
    position: relative;
    margin-top: 2rem;
}

/* Connectors */
.connector-lines {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 25px;
    border: 2px solid #d1d5db;
    border-bottom: none;
    z-index: 1;
}

.connector-vertical {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: #d1d5db;
    z-index: 1;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

    .content-row,
    .content-row.reverse {
        flex-direction: column;
        gap: 3rem;
    }

    .plan-hero-revamp {
        padding: 8rem 0 6rem;
    }
}

/* ========================================
   Mobile Functionality Fixes (Header)
   ======================================== */
@media (max-width: 1024px) {
    .nav {
        display: none;
        /* Hide desktop nav on tablet/mobile */
    }

    .menu-toggle {
        display: flex;
        /* Show hamburger on tablet/mobile */
        z-index: 1002;
    }
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.2rem;
        line-height: 1.2;
        max-width: none;
        /* Allow full width since buttons are gone */
    }

    .header .container {
        padding: 0 1rem;
    }

    /* Hide Login and Join buttons on mobile */
    #loginHeaderBtn,
    .header-actions .btn-primary {
        display: none !important;
    }

    .header-actions {
        gap: 1rem;
    }

    .logo-img {
        height: 32px;
    }

    /* Smallest phones optimization */
    @media (max-width: 380px) {

        .pd-title,
        .hero-title {
            font-size: 2.2rem;
        }

        .hero-stats {
            gap: 1rem;
        }

        .stat-value {
            font-size: 1.5rem;
        }
    }

    .mobile-menu-panel {
        width: 280px;
    }
}