/* ===================================
   Jarro Website - Main Stylesheet
   =================================== */

/* Global Styles */
* {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF !important;
    padding-top: 60px; /* Space for fixed AppBar */
}

/* Override all white backgrounds */
.bg-white {
    background-color: #FFFFFF !important;
}

.bg-gray-50 {
    background-color: #F9FAFB !important;
}

.section-padding {
    padding: 3rem 0;
}

/* ===================================
   RESPONSIVE TYPOGRAPHY - CLAMP()
   =================================== */

/* Fluid Typography - Scales smoothly across devices */
h1, .text-5xl, .text-6xl, .text-7xl {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 4.5rem);
    line-height: 1.2;
}

h2, .text-4xl {
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 3rem);
    line-height: 1.3;
}

h3, .text-3xl, .text-2xl {
    font-size: clamp(1.125rem, 1.5vw + 0.25rem, 2rem);
    line-height: 1.4;
}

h4, .text-xl {
    font-size: clamp(1rem, 1.2vw + 0.25rem, 1.5rem);
    line-height: 1.5;
}

p, .text-base, .text-lg {
    font-size: clamp(0.875rem, 0.8vw + 0.15rem, 1.125rem);
    line-height: 1.6;
}

.text-sm {
    font-size: clamp(0.8125rem, 0.6vw + 0.15rem, 1rem);
}

.text-xs {
    font-size: clamp(0.6875rem, 0.5vw + 0.1rem, 0.875rem);
}

/* Prevent horizontal overflow globally */
* {
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    position: relative;
}

/* Container responsive padding */
.container {
    padding-left: clamp(0.75rem, 2vw, 3rem);
    padding-right: clamp(0.75rem, 2vw, 3rem);
}

/* Responsive section padding */
.section-padding {
    padding: clamp(1.5rem, 3vw, 3.5rem) 0;
}

/* ===================================
   PREMIUM NAVBAR - GLASSMORPHISM
   =================================== */

/* Premium Navbar with Glassmorphism */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Navbar on scroll - enhanced blur and shadow */
nav.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Navbar container - thinner height */
nav .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    transition: padding 0.3s ease;
}

nav.scrolled .container {
    padding: 0.4rem 2rem;
}

/* Logo styling - smaller for thinner navbar */
nav img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

nav.scrolled img {
    height: 36px;
}

/* Navigation links - perfect center */
nav .hidden.md\\:flex {
    justify-content: center;
    flex: 1;
}

nav a {
    position: relative;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
}

/* Active link with gradient underline */
nav a.text-purple-600::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Link hover effect */
nav a:not(.btn-primary):not(.text-purple-600)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

nav a:not(.btn-primary):not(.text-purple-600):hover::after {
    width: 100%;
}

/* Premium Gradient CTA Button */
nav .btn-primary {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

nav .btn-primary::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;
}

nav .btn-primary:hover::before {
    left: 100%;
}

nav .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

/* Mobile Hamburger Menu */
.mobile-menu-btn {
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.mobile-menu-btn:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Mobile Drawer - Opens from RIGHT */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    pointer-events: auto;
}

.mobile-drawer.open {
    right: 0;
}

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Drawer Content */
.drawer-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.drawer-header img {
    max-height: 32px;
    width: auto;
}

/* Drawer Logo Container */
.drawer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-logo-img {
    max-height: 28px;
    width: auto;
}

/* Drawer Brand Text */
.drawer-brand-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
}

.brand-jarr {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-o {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-domain {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 1px;
}

.drawer-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #374151;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.drawer-close:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.drawer-menu {
    padding: 1rem 0;
}

.drawer-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.drawer-menu a:hover,
.drawer-menu a.active {
    background: rgba(124, 58, 237, 0.05);
    color: #7c3aed;
    border-left-color: #7c3aed;
}

.drawer-cta {
    padding: 1.5rem;
}

.drawer-cta .btn-primary {
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ===================================
   PREMIUM HERO SECTION
   =================================== */

/* Hero Section Container */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Video Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Fallback image inside video tag */
.hero-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modern Typography */
.hero-section h1 {
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Animated Trust Badge */
.trust-badge {
    display: inline-block;
    animation: subtleBounce 2s ease-in-out infinite;
}

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

/* Premium CTA Buttons */
.hero-section .btn-primary-showcase,
.hero-section .btn-secondary-showcase {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-section .btn-primary-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.hero-section .btn-primary-showcase:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.hero-section .btn-secondary-showcase {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.hero-section .btn-secondary-showcase:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px) scale(1.05);
}

/* Smooth Scroll Arrow */
.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

/* ===================================
   PREMIUM GLASS STATS CARDS
   =================================== */

/* Glass Card Stats - Compact for one row */
.stats-glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stats-glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Stats Grid - Always 3 columns in one row */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Mobile - still 3 columns but more compact */
@media (max-width: 640px) {
    .stats-grid {
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .stats-glass-card {
        padding: 1rem 0.5rem;
        border-radius: 12px;
    }
}

/* Stats Numbers - Responsive sizing */
.stats-number {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

/* Stats text - smaller on mobile */
.stats-glass-card .text-xs,
.stats-glass-card .text-sm {
    font-size: clamp(0.7rem, 1.5vw, 0.875rem);
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

/* Team Cards */
.team-card {
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
}

/* Carousel Container */
.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

/* ===================================
   PREMIUM PHONE MOCKUPS - 3D STYLE
   =================================== */

.mockup-phone {
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        /* Main shadow */
        0 40px 80px rgba(0, 0, 0, 0.5),
        /* Secondary shadow for depth */
        0 20px 40px rgba(0, 0, 0, 0.3),
        /* Highlight on top edge */
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        /* Subtle inner shadow */
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(0px);
    }
    50% {
        transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(-15px);
    }
}

.mockup-phone:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.05) translateY(-10px);
    box-shadow: 
        0 50px 100px rgba(102, 126, 234, 0.4),
        0 25px 50px rgba(118, 75, 162, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    animation: none;
}

/* Phone notch/speaker */
.mockup-phone::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border-radius: 12px;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 10;
}

/* Glossy reflection effect on phone */
.mockup-phone::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    border-radius: 45px 45px 0 0;
    pointer-events: none;
}

/* Phone screen */
.mockup-screen {
    background: linear-gradient(to bottom, #ffffff 0%, #f5f7fa 100%);
    border-radius: 35px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 
        inset 0 2px 15px rgba(0, 0, 0, 0.08),
        inset 0 0 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Screen content overlay with subtle gradient */
.mockup-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(102, 126, 234, 0.03) 50%,
        rgba(118, 75, 162, 0.05) 100%
    );
    pointer-events: none;
    opacity: 0.8;
}

/* Screen shine effect */
.mockup-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shine {
    0%, 100% {
        transform: rotate(45deg) translateX(-100%);
    }
    50% {
        transform: rotate(45deg) translateX(100%);
    }
}


/* Menu Item Cards */
.menu-item-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===================================
   PREMIUM SHOWCASE SECTION - ZOMATO STYLE
   =================================== */

/* Main Showcase Container - More compact on mobile */
.jarro-showcase {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: clamp(1.5rem, 5vw, 4rem) 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .jarro-showcase {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* Background with Gradient Mesh */
.showcase-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    animation: meshFloat 20s ease-in-out infinite;
}

@keyframes meshFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Optional Background Video */
.showcase-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    filter: blur(8px);
}

/* Two Column Grid Layout */
.showcase-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 4vw, 2.5rem);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

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

/* LEFT COLUMN - Content */
.showcase-content {
    animation: fadeInUp 1s ease-out;
}

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

.content-wrapper {
    max-width: 600px;
}

/* Typography - More compact on mobile */
.showcase-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.showcase-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    color: #64748b;
    line-height: 1.6;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    font-weight: 400;
}

/* Feature List - More compact */
.showcase-features {
    list-style: none;
    padding: 0;
    margin: 0 0 clamp(1rem, 2vw, 1.5rem) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vw, 1rem);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    flex-shrink: 0;
    width: clamp(32px, 5vw, 40px);
    height: clamp(32px, 5vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.feature-text h4 {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.feature-text p {
    font-size: clamp(0.75rem, 1.5vw, 0.9375rem);
    color: #64748b;
    margin: 0;
}

/* CTA Buttons - Responsive layout */
.showcase-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

@media (max-width: 640px) {
    .showcase-cta {
        flex-direction: column;
    }
}

.btn-primary-showcase,
.btn-secondary-showcase {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2rem);
    border-radius: 50px;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .btn-primary-showcase,
    .btn-secondary-showcase {
        width: 100%;
    }
}

.btn-primary-showcase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary-showcase:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.btn-secondary-showcase {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary-showcase:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Trust Badges - Responsive */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(0.875rem, 2vw, 1.25rem);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 600;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.trust-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.trust-chip i {
    color: #667eea;
    font-size: 1rem;
}

/* RIGHT COLUMN - Phone Mockup */
.showcase-media {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Premium Phone Mockup - Smaller on mobile */
.phone-mockup-premium {
    position: relative;
    animation: floatingPhone 6s ease-in-out infinite;
}

@media (max-width: 768px) {
    .phone-mockup-premium {
        transform: scale(0.75);
    }
}

@keyframes floatingPhone {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.phone-frame {
    width: clamp(220px, 35vw, 300px);
    height: clamp(440px, 70vw, 600px);
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 640px) {
    .phone-frame {
        width: 200px;
        height: 400px;
        border-radius: 35px;
        padding: 10px;
    }
}

.phone-frame:hover {
    transform: scale(1.02);
    box-shadow: 
        0 50px 100px rgba(102, 126, 234, 0.3),
        0 25px 50px rgba(118, 75, 162, 0.2);
}

/* Phone Notch */
.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #000;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

@media (max-width: 640px) {
    .phone-notch {
        top: 15px;
        width: 70px;
        height: 20px;
    }
}

/* Phone Screen */
.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 640px) {
    .phone-screen {
        border-radius: 28px;
    }
}

/* App Screen Content */
.app-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}

/* App Header (Status Bar) */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    padding-top: 2.5rem;
    background: white;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e293b;
}

.app-status {
    display: flex;
    gap: 0.5rem;
    color: #64748b;
}

/* App Content */
.app-content {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.menu-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.menu-header i {
    color: #94a3b8;
    font-size: 1.125rem;
}

/* Menu Items */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-card {
    display: flex;
    gap: 1rem;
    background: white;
    border-radius: 16px;
    padding: 0.875rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.menu-image {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    flex-shrink: 0;
}

.menu-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-details h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.menu-details p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1rem;
    font-weight: 700;
    color: #667eea;
}

.add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* App Bottom Bar */
.app-bottom-bar {
    padding: 1rem 1.25rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9375rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: 1rem;
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .showcase-grid {
        gap: 3rem;
    }
    
    .content-wrapper {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .jarro-showcase {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .showcase-grid {
        gap: 1.5rem;
    }
    
    .showcase-content {
        order: 1;
    }
    
    .showcase-media {
        order: 2;
    }
    
    .showcase-cta {
        flex-direction: column;
    }
    
    .btn-primary-showcase,
    .btn-secondary-showcase {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .phone-frame {
        width: min(280px, 85vw);
        height: min(560px, 170vw);
    }
    
    .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .showcase-title {
        text-align: center;
    }
    
    .showcase-subtitle {
        text-align: center;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
    
    .phone-frame {
        width: min(260px, 80vw);
        height: min(520px, 160vw);
    }
}

/* Team Slider Styles */
.team {
    padding: 60px 0;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.team-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.team-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.team-card {
    min-width: 100%;
    background: white;
    padding: 0;
    border-radius: 150px 20px 20px 150px;
    display: flex;
    align-items: center;
    text-align: left;
    height: 350px;
    position: relative;
    margin-right: 0;
    border: 1.5px solid #e0e7ef;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top line animation on hover */
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 5;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-image {
    width: 350px;
    height: 350px;
    flex-shrink: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.team-image img {
    width: 280px !important;
    height: 280px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    background: white;
    transition: all 0.3s ease;
}

.team-card:hover .team-image img {
    border-color: #2563eb;
    transform: scale(1.05);
}

.team-info {
    padding: 2rem 3rem 2rem 1rem;
    flex-grow: 1;
}

.team-name {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.team-role {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
}

.team-description {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 90%;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: #f0f9ff;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Slider Controls */
.team-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.team-prev-btn,
.team-next-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    color: #2563eb;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-prev-btn:hover,
.team-next-btn:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.team-dots {
    display: flex;
    gap: 0.8rem;
}

.team-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.team-dot.active {
    background: #2563eb;
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* Team Member Cards - Enhanced for iOS/Safari */
.team-member-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.team-member-card img {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Scale hover effect fix for Safari */
.hover\:scale-102:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .team-card {
        flex-direction: column;
        height: auto;
        border-radius: 20px;
        padding: 2rem 1.5rem;
    }

    .team-image {
        width: 100%;
        height: auto;
        margin-bottom: 1.5rem;
    }

    .team-image img {
        width: 200px !important;
        height: 200px !important;
    }

    .team-info {
        padding: 0;
        text-align: center;
    }

    .team-name {
        font-size: 1.5rem;
    }

    .team-description {
        max-width: 100%;
        font-size: 1rem;
    }

    .team-skills {
        justify-content: center;
    }

    .team-controls {
        gap: 1rem;
    }

    .team-prev-btn,
    .team-next-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* iOS/Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific styles */
    .team-member-card {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .team-member-card img {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }
}

/* iPad and smaller tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .team-member-card {
        max-width: 100%;
    }
    
    .team-member-card img {
        width: 180px !important;
        height: 180px !important;
    }
}

/* iPhone specific fixes */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    .team-member-card {
        margin-bottom: 1.5rem;
    }
    
    .team-member-card img {
        width: 160px !important;
        height: 160px !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* ===================================
   COMPREHENSIVE RESPONSIVE STYLES
   =================================== */

/* Mobile First - Base Mobile Styles (320px - 767px) */
@media (max-width: 767px) {
    /* Typography */
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.125rem !important;
    }
    
    p {
        font-size: 0.875rem !important;
    }
    
    
    /* Container & Spacing */
    body {
        padding-top: 56px !important;
    }
    
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .section-padding {
        padding: 1.5rem 0 !important;
    }
    
    /* Navigation - Mobile Menu */
    nav .container {
        padding: 0.375rem 0.75rem !important;
    }
    
    nav img {
        height: 32px !important;
    }
    
    nav.scrolled img {
        height: 28px !important;
    }
    
    nav .hidden.md\\:flex {
        display: none !important;
    }
    
    nav .md\\:hidden {
        display: block !important;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 85vh !important;
        padding-top: 2rem !important;
    }
    
    .hero-section h1 {
        font-size: 1.875rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-section p {
        font-size: 0.9375rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-section .flex-col {
        flex-direction: column !important;
    }
    
    .hero-section button,
    .hero-section a {
        width: 100% !important;
        max-width: 280px !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9375rem !important;
    }
    
    /* Stats Grid */
    .hero-section .grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        max-width: 100% !important;
    }
    
    .hero-section .grid-cols-3 > div {
        padding: 1rem !important;
    }
    
    .hero-section .grid-cols-3 .text-3xl,
    .hero-section .grid-cols-3 .text-4xl {
        font-size: 1.5rem !important;
    }
    
    /* Grid Layouts */
    .grid.md\\:grid-cols-2,
    .grid.md\\:grid-cols-3,
    .grid.lg\\:grid-cols-4 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    /* About Section */
    #about .grid {
        gap: 1.5rem !important;
    }
    
    #about .grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    #about .text-3xl {
        font-size: 1.25rem !important;
    }
    
    /* How It Works */
    #how-it-works .grid {
        gap: 1.5rem !important;
    }
    
    .how-it-works-img {
        height: 200px !important;
        object-fit: cover !important;
    }
    
    /* Features Section */
    #features .grid {
        gap: 1.25rem !important;
    }
    
    .feature-card {
        padding: 1.25rem !important;
    }
    
    .feature-card h3 {
        font-size: 1rem !important;
    }
    
    /* Benefits Section */
    .grid.md\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .benefit-card {
        padding: 0.875rem !important;
    }
    
    .benefit-icon {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }
    
    /* Phone Mockups - Mobile */
    .mockup-phone {
        transform: perspective(800px) rotateY(-3deg) rotateX(1deg) !important;
        margin-bottom: 2rem !important;
        padding: 10px !important;
        animation: float 8s ease-in-out infinite !important;
    }
    
    .mockup-phone:hover {
        transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.02) !important;
        animation: none !important;
    }
    
    .mockup-screen {
        min-height: 350px !important;
        border-radius: 30px !important;
    }
    
    /* Pricing Cards */
    #pricing .grid {
        gap: 1.25rem !important;
    }
    
    /* Buttons */
    .btn-primary,
    button,
    a.btn-primary {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.875rem !important;
    }
    
    /* Images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Hide scroll arrow on mobile */
    .scroll-arrow {
        display: none !important;
    }
    
    /* Text Alignment */
    .text-center-mobile {
        text-align: center !important;
    }
    
    /* Padding Adjustments */
    .p-8,
    .p-6 {
        padding: 1.25rem !important;
    }
    
    .px-8,
    .px-7,
    .px-6 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    
    .py-3 {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    
    /* Margin Adjustments */
    .mb-16,
    .mb-12 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-8,
    .mb-7 {
        margin-bottom: 1.25rem !important;
    }
    
    /* Gap Adjustments */
    .gap-8,
    .gap-10 {
        gap: 1.25rem !important;
    }
    
    .gap-6 {
        gap: 0.875rem !important;
    }
    
    /* Max Width */
    .max-w-2xl,
    .max-w-3xl,
    .max-w-6xl {
        max-width: 100% !important;
    }
}

/* Tablet Styles (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Container */
    .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    
    /* Typography */
    h1 {
        font-size: 3rem !important;
    }
    
    h2 {
        font-size: 2.5rem !important;
    }
    
    /* Hero Section */
    .hero-section h1 {
        font-size: 3.5rem !important;
    }
    
    .hero-section .grid-cols-3 {
        gap: 1.5rem !important;
    }
    
    /* Grid Layouts - 2 columns on tablet */
    .grid.md\\:grid-cols-3,
    .grid.lg\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .grid.md\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Phone Mockups - Tablet */
    .mockup-phone {
        transform: perspective(1000px) rotateY(-5deg) rotateX(1deg) !important;
        padding: 10px !important;
    }
    
    .mockup-phone:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03) translateY(-8px) !important;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.75rem !important;
    }
    
    /* Images */
    .how-it-works-img {
        height: 300px !important;
    }
}

/* Large Tablet / Small Desktop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .container {
        max-width: 960px !important;
    }
    
    /* Grid Layouts */
    .grid.lg\\:grid-cols-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Desktop Styles (1280px and above) */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px !important;
    }
}

/* Extra Large Desktop (1536px and above) */
@media (min-width: 1536px) {
    .container {
        max-width: 1400px !important;
    }
}

/* ===================================
   MOBILE DRAWER NAVIGATION - LEFT SIDE
   =================================== */

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer - Slides from Right */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: white;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open,
.mobile-drawer.active {
    transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.drawer-logo {
    height: 28px;
    width: auto;
}

.drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.drawer-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* Drawer Navigation Links */
.drawer-nav {
    padding: 1rem 0;
}

.drawer-nav a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
}

.drawer-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-nav a:hover {
    color: #7c3aed;
    border-left-color: #7c3aed;
    padding-left: 2rem;
}

.drawer-nav a:hover::before {
    width: 100%;
}

.drawer-nav a:active {
    transform: scale(0.98);
}

/* Active Link */
.drawer-nav a.active {
    color: #7c3aed;
    border-left-color: #7c3aed;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    font-weight: 600;
}

/* CTA Button in Drawer */
.drawer-nav a.btn-primary {
    margin: 1rem 1.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    font-weight: 600;
    border-left: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.drawer-nav a.btn-primary::before {
    display: none;
}

.drawer-nav a.btn-primary:hover {
    padding-left: 1.5rem;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.drawer-nav a.btn-primary:active {
    transform: translateY(0);
}

/* Drawer Footer */
.drawer-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    text-align: center;
}

.drawer-footer p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

/* Prevent body scroll when drawer is open */
body.drawer-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile Menu Button Animation */
.menu-icon {
    position: relative;
    width: 24px;
    height: 20px;
    cursor: pointer;
}

.menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #374151;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span:nth-child(3) {
    bottom: 0;
}

.menu-icon.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-icon.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Smooth Scroll for iOS */
@supports (-webkit-overflow-scrolling: touch) {
    .mobile-drawer {
        -webkit-overflow-scrolling: touch;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto !important;
        padding: 4rem 0 2rem !important;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Small Mobile Devices (320px - 374px) */
@media (max-width: 374px) {
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .btn-primary,
    button {
        font-size: 0.875rem !important;
        padding: 0.75rem 1.25rem !important;
    }
    
    .grid.md\\:grid-cols-4 {
        grid-template-columns: 1fr !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    button,
    a,
    .btn-primary {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .team-card:hover,
    .mockup-phone:hover {
        transform: none !important;
    }
    
    /* Tap highlight color */
    * {
        -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
    }
}

/* Footer Logo Responsive Styles */
@media (max-width: 768px) {
    footer img {
        height: 2.5rem !important; /* 40px instead of 64px */
        width: auto !important;
    }
}

@media (max-width: 480px) {
    footer img {
        height: 2rem !important; /* 32px for very small screens */
        width: auto !important;
    }
}

/* Print Styles */
@media print {
    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .section-padding {
        padding: 2rem 0;
    }
    
    /* Hide navigation and interactive elements */
    nav,
    .mobile-menu,
    button,
    .scroll-arrow {
        display: none !important;
    }
    
    /* Expand all sections */
    .container {
        max-width: 100% !important;
    }
}
/* ===================================
   GLOBAL HOVER THEME ENHANCEMENTS
   "Adding Different Color Nicely"
   =================================== */

/* Define the new accent variables */
:root {
    --hover-accent-start: #ff4757;
    --hover-accent-end: #ffa502;
    --hover-glow: rgba(255, 71, 87, 0.4);
}

/* 1. VISUAL INTERACTION OVERRIDES */
/* Ensure hover effects work nicely even if some specific styles try to override */
@media (hover: hover) {

    /* Navbar Links - Distinct Underline & Text Color */
    nav a:not(.btn-primary)::after {
        background: linear-gradient(135deg, var(--hover-accent-start) 0%, var(--hover-accent-end) 100%) !important;
    }

    nav a:not(.btn-primary):hover {
        color: var(--hover-accent-start) !important;
    }

    nav .md\:hidden i:hover {
        color: var(--hover-accent-start) !important;
        background: rgba(255, 71, 87, 0.1) !important;
    }

    /* 2. Buttons - Vibrant Sunset Gradient on Hover */
    .btn-primary:hover, 
    nav .btn-primary:hover, 
    .btn-primary-showcase:hover, 
    .add-btn:hover {
        background: linear-gradient(135deg, #ff4757 0%, #ffa502 100%) !important;
        border-color: transparent !important;
        transform: translateY(-4px) scale(1.02) !important;
        box-shadow: 0 12px 30px rgba(255, 71, 87, 0.5) !important;
    }

    /* Secondary Buttons - Fill with Accent */
    .btn-secondary-showcase:hover {
        background: #ff4757 !important;
        color: white !important;
        border-color: #ff4757 !important;
        box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3) !important;
    }

    /* 3. Cards - Glow Effect with Different Color */
    .feature-card:hover, 
    .benefit-card:hover, 
    .team-card:hover, 
    .menu-card:hover,
    .trust-chip:hover,
    .testimonial-card:hover {
        border-color: rgba(255, 71, 87, 0.3) !important; 
        transform: translateY(-8px) !important;
        box-shadow: 0 20px 40px -5px rgba(255, 71, 87, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.05) !important;
    }

    /* Icon Color Changes on Hover */
    .feature-card:hover i,
    .benefit-card:hover i,
    .trust-chip:hover i,
    .feature-card:hover .feature-icon,
    .benefit-card:hover .benefit-icon {
        color: #ff4757 !important;
        /* Subtle rotation and scale for dynamic feel */
        transform: scale(1.1) rotate(5deg); 
        transition: all 0.3s ease;
    }
    
    /* Ensure icon containers don't conflict */
    /* Ensure icon containers don't conflict */
    .feature-card:hover .w-10,
    .benefit-card:hover .w-14 {
        /* Removed empty ruleset */
        transition: all 0.3s ease;
    }

    /* 4. Team Section Enhancements */
    /* Top Line Animation Color */
    .team-card:hover::before {
        background: linear-gradient(90deg, #ff4757, #ffa502) !important;
    }

    /* Image Border Color */
    .team-card:hover .team-image img {
        border-color: #ff4757 !important;
    }

    /* Team Role Text Color */
    .team-card:hover .team-role {
        color: #ff4757 !important;
    }

    /* Skill Tags */
    .skill-tag:hover {
        background: #ff4757 !important;
        color: white !important;
    }

    /* Slider Buttons */
    .team-prev-btn:hover,
    .team-next-btn:hover {
        background: linear-gradient(135deg, #ff4757, #ffa502) !important;
        box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4) !important;
        color: white !important;
    }
    
    /* 5. Pricing & Other Tables */
    .pricing-card:hover .btn-primary {
         background: linear-gradient(135deg, #ff4757 0%, #ffa502 100%) !important;
    }

    /* 6. General Link Text Hover */
    footer a:hover, .footer-links a:hover {
        color: #ffa502 !important;
        transform: translateX(5px);
        display: inline-block;
    }
}

/* ===================================
   PREMIUM TEXT LOGO STYLES (Added Manually to Ensure Visibility)
   =================================== */

/* Text Logo Container */
.text-logo {
    display: inline-flex;
    align-items: baseline;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
}

/* Main Logo Text - "JARR" */
.text-logo-main {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Accent "o" */
.text-logo-accent {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(245, 87, 108, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: accentPulse 3s ease-in-out infinite;
    display: inline-block;
}

/* Subtle pulse animation for accent */
@keyframes accentPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 8px rgba(245, 87, 108, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 12px rgba(245, 87, 108, 0.5));
    }
}

/* Hover Effects - Group Hover */
.group:hover .text-logo {
    transform: scale(1.05);
}

.group:hover .text-logo-main {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 16px rgba(102, 126, 234, 0.6));
}

.group:hover .text-logo-accent {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 16px rgba(245, 87, 108, 0.6));
    transform: scale(1.1) rotate(-5deg);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .text-logo-main,
    .text-logo-accent {
        font-size: 24px;
        letter-spacing: 1px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .text-logo-main,
    .text-logo-accent {
        font-size: 22px;
        letter-spacing: 0.8px;
    }
}

/* ===================================
   SMOOTH SCROLL ANIMATIONS
   =================================== */

/* Initial state - hidden before scroll */
/* Hide cards immediately to prevent flickering */
/* Exclude team slider cards as they should be visible immediately */
section:not(#hero):not(.jarro-showcase),
.feature-card,
.testimonial-card,
.pricing-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated state - visible after scroll */
section.animate-on-scroll,
.feature-card.animate-on-scroll,
.testimonial-card.animate-on-scroll,
.pricing-card.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for cards */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}

.animate-delay-7 {
    transition-delay: 0.7s;
}

.animate-delay-8 {
    transition-delay: 0.8s;
}

