/* Growvo Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Widescreen Typography Scale */
@media (min-width: 1600px) {
    html {
        font-size: 18px;
    }
}

/* Typography Gradient */
.gradient-text {
    background: linear-gradient(to right, #9333ea, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Effect */
.glass-effect {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Comparison Table Styling */
.comparison-table th,
.comparison-table td {
    white-space: nowrap;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Utility Animations */
.hover-translate-y-2:hover {
    transform: translateY(-0.5rem);
}

/* Lucide Icons Alignment */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .glass-effect {
        backdrop-filter: blur(12px);
    }

    /* Larger touch targets on mobile */
    a,
    button {
        min-height: 44px;
    }

    /* Better text readability on mobile */
    body {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }

    /* Reduce decorative blur sizes on mobile for performance */
    [class*="blur-[120px]"],
    [class*="blur-[100px]"],
    [class*="blur-[80px]"] {
        will-change: auto;
    }
}

/* Card elevation utility */
.card-elevated {
    background: white;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08), 0 2px 8px -2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Safe area for mobile sticky CTA */
.safe-area-pb {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

/* Smooth GPU rendering */
.perspective-1000 {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Hero Glow Image */
/* Brand Floating Logo */
.brand-floating {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    user-select: none;
    transition: all 0.3s ease;
}

.brand-floating img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Light theme: Purple logo (using filter to colorize the multi-colored logo to brand purple if needed, or keeping original) 
   User said "pode alterar a cor". Let's make it brand purple for harmony on light backgrounds */
.brand-floating--light img {
    opacity: 0.8;
    filter: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(1973%) hue-rotate(253deg) brightness(87%) contrast(97%);
    /* Matches purple-600 #7c3aed */
}

/* Dark theme: White logo */
.brand-floating--dark img {
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

/* Brand Purple Filter: Colorizes images to #7c3aed approx */
.filter-brand-purple {
    filter: brightness(0) saturate(100%) invert(32%) sepia(98%) saturate(3475%) hue-rotate(253deg) brightness(97%) contrast(92%);
}

.brand-highlight {
    font-weight: 800;
    font-size: 1.05em;
    color: var(--primary);
    display: inline-block;
}


/* Floating animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes float-delayed {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 7s ease-in-out 1s infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 4s ease-in-out infinite;
}

/* Subtle dot pattern */
.bg-dots {
    background-image: radial-gradient(circle, rgba(124, 58, 237, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Subtle grid pattern */
.bg-grid {
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Subtle diagonal lines */
.bg-diagonal {
    background-image: repeating-linear-gradient(-45deg,
            transparent,
            transparent 30px,
            rgba(124, 58, 237, 0.02) 30px,
            rgba(124, 58, 237, 0.02) 31px);
}