/* Orallyx™ Premium Design System */

:root {
    --green-primary: #477449;
    --green-dark: #385b39;
    --grey-secondary: #636666;
    --white: #ffffff;
    --black: #000000;
    --text-main: #101213;
    --text-muted: #4b4e50;
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* Glass Header */
.glass-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.glass-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Navigation Links */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: var(--grey-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    border-radius: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--green-primary);
    border-radius: 50%;
}

/* Icon Buttons */
.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: var(--grey-secondary);
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.icon-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--black);
}

/* Mobile Menu */
.mobile-menu-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 60;
}

.mobile-menu-btn #mobileMenuCloseIcon {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line {
    opacity: 0;
}

.mobile-menu-btn.active #mobileMenuCloseIcon {
    opacity: 1;
    pointer-events: auto;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(71, 116, 73, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 55;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-content {
    padding: 6rem 2rem 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: color 0.3s ease, background-color 0.3s ease;
}

.mobile-nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
}

.mobile-nav-link.active {
    color: white;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
    border-left: 3px solid white;
    padding-left: 0.75rem;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

/* Footer Links */
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--green-primary);
}

/* Floating Decor Elements */
.decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    pointer-events: none;
    mix-blend-mode: multiply;
    filter: blur(0.5px);
    z-index: 1;
}

.decor-1 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 30% 0, #a5f3fc, #e0fbf4);
    top: 10%;
    left: -40px;
    animation: float 9s ease-in-out infinite;
}

.decor-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 20% 0, #bfdbfe, #e0f2fe);
    bottom: -60px;
    right: 6%;
    animation: float 9s ease-in-out infinite;
}

.decor-strip {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 0, #a5f3fc, #e0fbf4);
    right: -80px;
    top: -120px;
    animation: float 9s ease-in-out infinite;
}

.decor-3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 30% 0, #a5f3fc, #e0fbf4);
    right: -80px;
    top: -120px;
    animation: float 9s ease-in-out infinite;
}

.decor-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at 30% 0, #a5f3fc, #e0fbf4);
    top: -70px;
    right: 12%;
    animation: float 9s ease-in-out infinite;
}

.decor-5 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 20% 0, #bfdbfe, #e0f2fe);
    bottom: -70px;
    left: 6%;
    animation: float 9s ease-in-out infinite;
}

.decor-6 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 30% 0, #a5f3fc, #e0fbf4);
    left: -100px;
    top: 40%;
    animation: float 9s ease-in-out infinite;
}

.decor-7 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at 20% 0, #bfdbfe, #e0f2fe);
    right: -100px;
    top: 20%;
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Simple Bounce for Story Image */
@keyframes simpleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.story-image-float {
    animation: simpleFloat 4s ease-in-out infinite;
}

/* Scroll Reveal Animation - Earlier and Sharper Detection */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Card Slide Animation */
.card-slide {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-slide.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Floating Images */
.float-image {
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Premium Gradient Backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, 
        rgba(233, 246, 236, 0.5) 0%,
        rgba(255, 255, 255, 1) 40%,
        rgba(243, 247, 249, 0.8) 100%
    );
}

.gradient-section {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(249, 250, 251, 0.8) 100%
    );
}

.gradient-green-light {
    background: linear-gradient(135deg, 
        rgba(233, 246, 236, 0.3) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

/* Premium Buttons */
.btn-premium {
    padding: 1rem 2rem;
    background: var(--green-primary);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(71, 116, 73, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-premium:hover::before {
    width: 300px;
    height: 300px;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(71, 116, 73, 0.4);
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Container Max Width - Premium feel, less than 1280px */
.max-w-content {
    max-width: 1200px;
}

@media (max-width: 1280px) {
    .max-w-content {
        max-width: calc(100% - 2rem);
    }
}

/* Premium Product Card */
.product-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #e3f4f0, #dbeafe);
}

/* Trust Section - From Old Design */
.trust-strip {
    background: radial-gradient(circle at top left, #e5f1ff 0, #f4f7fb 40%, #f9fafb 100%);
}

.trust-inner {
    text-align: left;
}

.trust-inner h2 {
    font-size: 1.4rem;
    max-width: 720px;
    margin: 0 0 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    font-size: 0.85rem;
    color: var(--grey-secondary);
}

.icon-check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--green-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.icon-check::after {
    content: "";
    width: 9px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translateY(-0.5px);
}

/* Section Spacing */
.section-spacing {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 4rem 0;
    }
}

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    will-change: transform;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--green-primary), #5a8f5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .mobile-menu-content {
        padding: 5rem 1.5rem 1.5rem;
    }
}

