/* Modern CSS for Edible Plants Landing Page */

:root {
    /* Primary Colors - Nature-inspired palette */
    --primary: #00a86b;
    /* Jade green */
    --primary-dark: #007d4f;
    /* Deep forest */
    --primary-light: #00d084;
    /* Bright mint */
    /* Secondary Colors */
    --secondary: #6c5ce7;
    /* Purple accent */
    --secondary-dark: #5f3dc4;
    /* Deep purple */
    /* Accent Colors */
    --accent-orange: #ff6b35;
    /* Vibrant orange */
    --accent-yellow: #ffd93d;
    /* Sunny yellow */
    --accent-pink: #ff006e;
    /* Hot pink */
    /* Status Colors */
    --success: #00d084;
    --warning: #fdcb6e;
    --danger: #ee5a24;
    --info: #74b9ff;
    /* Neutrals */
    --dark: #2d3436;
    --gray-dark: #636e72;
    --gray: #b2bec3;
    --gray-light: #dfe6e9;
    --light: #f5f7fa;
    --white: #ffffff;
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00a86b 0%, #00d084 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #ff6b35 0%, #ffd93d 100%);
    --gradient-cool: linear-gradient(135deg, #74b9ff 0%, #a29bfe 100%);
    --gradient-dark: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 168, 107, 0.3);
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Navigation Styles */

.navbar {
    transition: all var(--transition-base);
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    z-index: 1030;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-lg) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.6rem;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    margin: 0 0.75rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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


/* Hero Section */

.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #00a86b 0%, #00d084 50%, #74b9ff 100%);
    overflow: hidden;
}


/* Add top padding on larger screens to account for fixed navbar */

@media (min-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.floating-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.leaf {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    animation: float-leaf 20s infinite linear;
}

.leaf-1 {
    left: 10%;
    animation-delay: 0s;
}

.leaf-2 {
    left: 30%;
    animation-delay: 5s;
}

.leaf-3 {
    left: 60%;
    animation-delay: 10s;
}

.leaf-4 {
    left: 85%;
    animation-delay: 15s;
}

@keyframes float-leaf {
    0% {
        transform: translateY(-100px) rotate(0deg);
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 1020;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-shadow: none;
}

.badge-new {
    background: var(--accent-orange);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, #ffd93d 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.8;
}


/* Hero Buttons */

.btn-hero-primary {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid white;
    transition: all var(--transition-base);
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}


/* Hero Stats */

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Phone Mockup */

.phone-mockup-3d {
    position: relative;
    perspective: 1000px;
}

.hero-phone-main {
    width: 320px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.hero-phone-secondary {
    position: absolute;
    width: 280px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    right: 250px;
    top: 50px;
    transform: rotateY(-10deg) rotateX(5deg);
    opacity: 0.9;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.feature-badges {
    position: absolute;
    width: 100%;
    height: 100%;
}

.feature-badge {
    position: absolute;
    background: white;
    color: var(--primary);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-1 {
    top: 20%;
    left: -50px;
}

.badge-2 {
    top: 50%;
    right: -30px;
}

.badge-3 {
    bottom: 20%;
    left: -20px;
}


/* Hero Wave */

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}


/* Trust Indicators */

.trust-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-dark);
}

.trust-item i {
    font-size: 1.2rem;
}


/* Section Badges */

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1010;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}


/* Plant Gallery */

.plant-carousel-container {
    position: relative;
}

.plant-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 420px;
    display: flex;
    flex-direction: column;
}

.plant-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.plant-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--gradient-cool);
    flex-shrink: 0;
}

.plant-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.plant-card-modern:hover .plant-image-container img {
    transform: scale(1.1);
}

.toxicity-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toxicity-badge.safe {
    background: var(--success);
    color: white;
}

.toxicity-badge.mild {
    background: var(--warning);
    color: var(--dark);
}

.toxicity-badge.danger {
    background: var(--danger);
    color: white;
}

.plant-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plant-info h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.plant-info .family {
    color: var(--gray-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.plant-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.plant-tags .tag {
    padding: 0.25rem 0.75rem;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gray-dark);
}


/* AI Technology Section */

.bg-gradient-light {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.ai-models-showcase {
    margin-top: 3rem;
}

.ai-model-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
}

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

.ai-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.ai-icon.gpt-4 {
    background: var(--gradient-secondary);
}

.ai-icon.claude {
    background: var(--gradient-warm);
}

.ai-icon.gemini {
    background: var(--gradient-cool);
}

.ai-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--gray-dark);
    font-weight: 600;
}


/* Process Diagram */

.process-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    padding: 1rem;
    border-radius: 15px;
    transition: all var(--transition-base);
}

.process-step.active {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.5rem;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.process-step.active .step-icon {
    background: rgba(255, 255, 255, 0.2);
}

.process-arrow {
    font-size: 2rem;
    color: var(--gray);
}


/* Comparison Section */

.comparison-interactive {
    margin-top: 3rem;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.comparison-side {
    padding: 2rem;
}

.comparison-side h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-divider span {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.plant-result {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.plant-result img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.safety-meter {
    background: linear-gradient(90deg, #ee5a24 0%, #fdcb6e 50%, #00d084 100%);
    height: 40px;
    border-radius: 50px;
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.safety-meter::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 50px;
    background: var(--dark);
    top: -5px;
    left: var(--safety-level);
    border-radius: 2px;
}

.missing-info {
    padding: 1rem;
    background: #fff5f5;
    border-radius: 10px;
    margin-top: 1rem;
}

.comprehensive-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-section {
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
}

.info-section h5 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.badge-mild {
    background: var(--warning);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-weight: 600;
}

.badge-safe {
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-weight: 600;
}

.look-alike-warning {
    padding: 0.5rem;
    background: #fff5f5;
    border-left: 3px solid var(--danger);
    border-radius: 5px;
    color: var(--danger);
    font-weight: 600;
}


/* Live Demo Section */

.demo-container {
    margin-top: 3rem;
}

.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

.demo-step.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
}

.step-indicator {
    min-width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.demo-step.active .step-indicator {
    background: var(--primary-light);
    color: var(--dark);
}

.demo-phone {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.demo-screen-content {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.demo-image {
    width: 100%;
    height: auto;
    display: none;
}

.demo-image.active {
    display: block;
}

.demo-progress {
    margin-top: 1rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.demo-progress .progress-bar {
    height: 100%;
    background: var(--primary-light);
    transition: width var(--transition-slow);
}


/* Timeline */

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    height: calc(100% + 3rem);
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-marker {
    min-width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.timeline-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.timeline-features span {
    padding: 0.25rem 0.75rem;
    background: var(--light);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--gray-dark);
}


/* Use Cases */

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

.use-case-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.use-case-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}


/* Buttons */

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition-base);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:focus,
.btn-primary:active {
    background: var(--gradient-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 168, 107, 0.25) !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    transition: all var(--transition-base);
}

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


/* Footer */

footer {
    background: linear-gradient(135deg, #007d4f 0%, #34495e 100%) !important;
    color: white !important;
}

footer .brand-text {
    color: white !important;
    background: none;
    -webkit-text-fill-color: white;
}

footer a {
    color: white !important;
    text-decoration: none;
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--primary-light) !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-links a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    color: var(--primary-light);
    transform: translateY(-3px);
}


/* Responsive Design */

@media (max-width: 1200px) {
    .hero-phone-secondary {
        display: none;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-phone-main {
        width: 280px;
        margin: 0 auto;
        transform: rotateY(0) rotateX(0);
    }
    .feature-badges {
        display: none;
    }
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .comparison-divider {
        display: none;
    }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .process-diagram {
        flex-direction: column;
    }
    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 767px) {
    .hero-section {
        text-align: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .d-flex.flex-column.flex-sm-row {
        flex-direction: column !important;
        align-items: center;
    }
    .d-flex.flex-column.flex-sm-row .btn {
        width: 100%;
        max-width: 300px;
    }
    .trust-banner {
        gap: 1.5rem;
        justify-content: space-around;
    }
    .trust-item {
        font-size: 0.9rem;
    }
    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .timeline-item::before {
        display: none;
    }
    .demo-steps {
        margin-bottom: 2rem;
    }
    .footer .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .stat-item:not(:last-child) {
        margin-bottom: 1rem;
    }
    .plant-card-modern {
        margin-bottom: 1.5rem;
    }
    .use-case-card {
        margin-bottom: 1.5rem;
    }
    .screenshot-card {
        margin-bottom: 1.5rem;
    }
    .blog-card {
        margin-bottom: 1.5rem;
    }
    .availability-card {
        margin-bottom: 1.5rem;
    }
}


/* Enhanced Responsive Design */


/* Extra Large Screens */

@media (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }
    .hero-description {
        font-size: 1.4rem;
    }
    .hero-phone-main {
        width: 380px;
    }
    .hero-phone-secondary {
        width: 320px;
        right: 300px;
    }
}


/* Large Screens */

@media (max-width: 1199px) and (min-width: 992px) {
    .hero-phone-main {
        width: 300px;
    }
    .hero-phone-secondary {
        width: 260px;
        right: 220px;
    }
    .feature-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
}


/* Medium Screens */

@media (max-width: 991px) {
    .hero-section {
        padding: 2rem 0;
        min-height: auto;
    }
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .hero-phone-main {
        width: 250px;
        transform: none;
        margin: 2rem auto 0;
        display: block;
    }
    .hero-phone-secondary {
        display: none;
    }
    .feature-badges {
        display: none;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }
    .trust-banner {
        flex-direction: column;
        gap: 1rem;
    }
    .trust-item {
        justify-content: center;
    }
    .ai-models-showcase .row {
        gap: 2rem;
    }
    .ai-model-card {
        padding: 1.5rem;
    }
    .process-diagram {
        padding: 1.5rem;
        gap: 0.5rem;
    }
    .process-step {
        padding: 0.75rem;
    }
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    .comparison-container {
        gap: 1rem;
    }
    .comparison-side {
        padding: 1rem;
    }
    .plant-result {
        padding: 1.5rem;
    }
    .demo-container .row {
        gap: 2rem;
    }
    .demo-phone {
        max-width: 300px;
    }
    .timeline-item {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    .timeline-marker {
        min-width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    .timeline-content {
        padding: 1.5rem;
    }
    .use-case-card {
        padding: 1.5rem;
    }
    .use-case-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}


/* Small Screens */

@media (max-width: 767px) {
    .navbar {
        padding: 0.8rem 0;
        z-index: 1030;
    }
    .navbar-brand {
        font-size: 1.4rem;
    }
    .brand-text {
        font-size: 1.4rem;
    }
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0.375rem;
    }
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.2);
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 0.5rem;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1020;
    }
    .navbar-nav {
        margin: 0;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        color: var(--dark) !important;
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-nav .nav-link:hover {
        background: rgba(0, 168, 107, 0.1);
        border-radius: 0.375rem;
        margin: 0 -0.5rem;
        padding: 0.75rem 0.5rem;
    }
    .hero-section {
        padding: 1rem 0;
    }
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    .hero-stats {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    .stat-number {
        font-size: 1.75rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    .display-5 {
        font-size: 2rem;
    }
    .plant-card-modern {
        margin: 0 0.5rem;
    }
    .plant-image-container {
        height: 200px;
    }
    .plant-info {
        padding: 1rem;
    }
    .plant-info h5 {
        font-size: 1rem;
    }
    .toxicity-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    .ai-model-card {
        margin-bottom: 1rem;
    }
    .ai-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    .process-diagram {
        padding: 1rem;
    }
    .comparison-side h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .plant-result img {
        height: 150px;
    }
    .safety-meter {
        height: 35px;
        font-size: 0.9rem;
    }
    .info-section {
        padding: 0.75rem;
    }
    .demo-step {
        padding: 1rem;
        gap: 1rem;
    }
    .step-indicator {
        min-width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .step-content h4 {
        font-size: 1.1rem;
    }
    .demo-phone {
        max-width: 280px;
    }
    .timeline-marker {
        min-width: 55px;
        height: 55px;
        font-size: 1rem;
    }
    .timeline-content {
        padding: 1.25rem;
    }
    .timeline-content h4 {
        font-size: 1.25rem;
    }
    .use-case-card {
        padding: 1.25rem;
    }
    .use-case-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .use-case-card h4 {
        font-size: 1.25rem;
    }
    .feature-item {
        margin-bottom: 1.5rem;
    }
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    .feature-content h4 {
        font-size: 1rem;
    }
    .screenshot-card {
        margin-bottom: 1rem;
    }
    .blog-card {
        margin-bottom: 1rem;
    }
    .availability-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    .availability-card i {
        font-size: 2.5rem;
    }
    .availability-card h4 {
        font-size: 1.25rem;
    }
    .footer .col-lg-4,
    .footer .col-lg-2 {
        margin-bottom: 2rem;
    }
    .footer h5 {
        font-size: 1.1rem;
    }
}


/* Extra Small Screens */

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .brand-text {
        font-size: 1.2rem;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    .hero-stats {
        gap: 1rem;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
    .display-4 {
        font-size: 2rem;
    }
    .display-5 {
        font-size: 1.75rem;
    }
    .lead {
        font-size: 1rem;
    }
    .plant-image-container {
        height: 180px;
    }
    .plant-info {
        padding: 0.875rem;
    }
    .plant-info h5 {
        font-size: 0.95rem;
    }
    .plant-info .family {
        font-size: 0.85rem;
    }
    .plant-tags .tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
    .ai-model-card {
        padding: 1.25rem;
    }
    .ai-model-card h4 {
        font-size: 1.1rem;
    }
    .ai-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .process-step span {
        font-size: 0.9rem;
    }
    .comparison-side {
        padding: 0.75rem;
    }
    .comparison-side h3 {
        font-size: 1.25rem;
    }
    .plant-result {
        padding: 1.25rem;
    }
    .plant-result h4 {
        font-size: 1.1rem;
    }
    .plant-result .scientific-name {
        font-size: 0.9rem;
    }
    .demo-step {
        flex-direction: column;
        text-align: center;
        padding: 0.875rem;
    }
    .step-indicator {
        align-self: center;
    }
    .demo-phone {
        max-width: 250px;
    }
    .timeline-item {
        margin-bottom: 1.5rem;
    }
    .timeline-marker {
        min-width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    .timeline-content {
        padding: 1rem;
    }
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    .use-case-card {
        padding: 1rem;
    }
    .use-case-card h4 {
        font-size: 1.1rem;
    }
    .use-case-icon {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }
    .feature-content h4 {
        font-size: 1rem;
    }
    .safety-section .row {
        gap: 2rem;
    }
    .safety-features li {
        font-size: 0.9rem;
    }
    .alert {
        font-size: 0.9rem;
    }
    .blog-content h4 {
        font-size: 1rem;
    }
    .availability-card {
        padding: 1.25rem;
    }
    .availability-card i {
        font-size: 2rem;
    }
    .availability-card h4 {
        font-size: 1.1rem;
    }
    .beta-signup .display-4 {
        font-size: 2rem;
    }
    .beta-signup .lead {
        font-size: 1rem;
    }
    .community-stats .h4 {
        font-size: 1.5rem;
    }
    .footer .brand-text {
        font-size: 1.4rem;
    }
    .footer p {
        font-size: 0.9rem;
    }
    .footer h5 {
        font-size: 1rem;
    }
    .social-links a {
        font-size: 1.25rem;
    }
}


/* Touch-friendly enhancements for mobile */

@media (max-width: 767px) {
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 44px;
        height: 44px;
    }
    .swiper-pagination {
        bottom: -40px;
    }
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
    }
}


/* Landscape orientation adjustments */

@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 0;
        min-height: auto;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-description {
        font-size: 0.9rem;
    }
    .hero-phone-main {
        width: 200px;
    }
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    .stat-item {
        flex: 1;
        text-align: center;
    }
}


/* High DPI displays */

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-phone-main,
    .hero-phone-secondary,
    .demo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}


/* Print styles */

@media print {
    .hero-section,
    .navbar,
    .btn,
    .floating-leaves {
        display: none !important;
    }
    .container {
        max-width: none !important;
    }
    body {
        font-size: 12pt;
    }
}


/* Loading States */

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

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


/* Smooth Scroll */

html {
    scroll-behavior: smooth;
}


/* Custom Scrollbar */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}


/* Animations */

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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


/* Utility Classes */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover {
    transition: all var(--transition-base);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-xl);
}


/* Swiper Customization */

.plant-carousel-container {
    position: relative;
    overflow: visible;
}

.plant-carousel .swiper-pagination {
    bottom: -50px !important;
    position: relative !important;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plant-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 168, 107, 0.4);
    opacity: 1;
    transition: all var(--transition-fast);
    margin: 0 3px;
    border-radius: 50%;
    cursor: pointer;
}

.plant-carousel .swiper-pagination-bullet-active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.6);
}

.plant-carousel .swiper-button-next,
.plant-carousel .swiper-button-prev {
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.plant-carousel .swiper-button-next:hover,
.plant-carousel .swiper-button-prev:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
}

.plant-carousel .swiper-button-next {
    right: -24px;
}

.plant-carousel .swiper-button-prev {
    left: -24px;
}

.plant-carousel .swiper-button-next::after,
.plant-carousel .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 600;
}


/* Responsive adjustments for navigation */

@media (max-width: 1200px) {
    .plant-carousel .swiper-button-next {
        right: -20px;
    }
    .plant-carousel .swiper-button-prev {
        left: -20px;
    }
}

@media (max-width: 992px) {
    .plant-carousel .swiper-button-next {
        right: -18px;
    }
    .plant-carousel .swiper-button-prev {
        left: -18px;
    }
}


/* Hide navigation on mobile for cleaner look */

@media (max-width: 768px) {
    .plant-carousel .swiper-button-next,
    .plant-carousel .swiper-button-prev {
        display: none;
    }
}