@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom CSS for Feedbird Landing Page */

/* Base styles */
* {
    scroll-behavior: smooth;
}

@keyframes scroll-infinite {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.animate-scroll-infinite {
  display: flex;
  width: max-content;
  animation: scroll-infinite 25s linear infinite;
}

.fade-block._3rd {
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-image: linear-gradient(90deg, #060a13, #060a1300);
}

.fade-block {
    z-index: 10;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    width: 8%;
    height: 30%;
    display: block;
    position: relative;
    inset: 36% auto 0% 224px;
    box-shadow: inset 0 0 20px 20px #060a134f;
}

/* Custom CSS for Feedbird Landing Page */

/* Continuous Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

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

@keyframes drift {
    0% {
        transform: translateX(0px) translateY(0px);
    }
    25% {
        transform: translateX(10px) translateY(-5px);
    }
    50% {
        transform: translateX(-5px) translateY(-10px);
    }
    75% {
        transform: translateX(-10px) translateY(-5px);
    }
    100% {
        transform: translateX(0px) translateY(0px);
    }
}

@keyframes morphing-gradient {
    0% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    25% {
        background-position: 100% 50%;
        transform: scale(1.05);
    }
    50% {
        background-position: 100% 100%;
        transform: scale(1.02);
    }
    75% {
        background-position: 0% 100%;
        transform: scale(1.08);
    }
    100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
}

@keyframes wave-motion {
    0% {
        transform: translateX(-100%) scaleY(0.8);
    }
    50% {
        transform: translateX(-50%) scaleY(1.2);
    }
    100% {
        transform: translateX(0%) scaleY(0.8);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

@keyframes orbital {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Animated Background Elements */
.wave-animation {
    background: linear-gradient(45deg, #3b82f6, #1e40af, #06b6d4, #10b981);
    background-size: 400% 400%;
    animation: morphing-gradient 8s ease-in-out infinite, wave-motion 12s linear infinite;
    opacity: 0.1;
}

.floating-circle {
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.floating-circle:nth-child(1) {
    animation-name: float;
    animation-duration: 8s;
}

.floating-circle:nth-child(2) {
    animation-name: drift;
    animation-duration: 10s;
    animation-delay: 2s;
}

.floating-circle:nth-child(3) {
    animation-name: breathe;
    animation-duration: 6s;
    animation-delay: 4s;
}

.rotating-element {
    animation: spin 20s linear infinite;
}

.floating-image {
    animation: float 6s ease-in-out infinite;
}

/* Continuous pulsing particles */
.animate-ping {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-bounce-slow {
    animation: bounce 3s infinite;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Enhanced floating animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-reverse {
    animation: float-reverse 8s ease-in-out infinite;
}

.animate-drift {
    animation: drift 12s ease-in-out infinite;
}

/* Sparkle effects */
.sparkle-effect::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    animation: sparkle 3s ease-in-out infinite;
    font-size: 12px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* Header styles */
header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Megamenu styles */
.megamenu {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.megamenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-right: none;
    transform: translateX(-50%) rotate(45deg);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }
.fade-in:nth-child(5) { transition-delay: 0.5s; }
.fade-in:nth-child(6) { transition-delay: 0.6s; }

/* Hero section enhancements */
.hero-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 50%, #dbeafe 100%);
}

/* Card hover effects */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

/* FAQ accordion styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer:not(.hidden) {
    max-height: 200px;
}

.faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading animations */
@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.loading {
    animation: pulse-subtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Floating animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Image hover effects */
.image-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.image-hover img {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Testimonial cards */
.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.testimonial-card:hover {
    border-color: #1e40af;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Stats counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .fade-in {
        transform: translateY(20px);
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .megamenu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border: none;
        background: transparent;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .megamenu {
        background: rgba(17, 24, 39, 0.95);
        border-color: rgba(75, 85, 99, 0.3);
    }
}

/* Performance optimizations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

 

/* Loading states */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Parallax container */
.parallax-container {
    overflow: hidden;
    position: relative;
}

.parallax-element {
    will-change: transform;
}

/* Section dividers */
.section-divider {
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

/* Image lazy loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Typography enhancements */
.text-balance {
    text-wrap: balance;
}

/* Interactive elements */
.interactive {
    cursor: pointer;
    user-select: none;
}

.interactive:active {
    transform: scale(0.98);
}

/* Grid layouts */
.masonry-grid {
    column-count: 3;
    column-gap: 2rem;
}

@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Custom utilities */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur-strong {
    backdrop-filter: blur(12px);
}

.border-gradient {
    border-image: linear-gradient(135deg, #1e40af, #3b82f6) 1;
}

/* Component-specific styles */
.hero-cta {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    box-shadow: 0 4px 14px 0 rgba(30, 64, 175, 0.3);
}

.hero-cta:hover {
    box-shadow: 0 6px 20px 0 rgba(30, 64, 175, 0.4);
    transform: translateY(-2px);
}

.pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #1e40af;
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e40af;
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Social proof elements */
.social-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-proof-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

.social-proof-avatar:first-child {
    margin-left: 0;
}

/* Feature highlights */
.feature-highlight {
    position: relative;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0ea5e9;
}

.feature-highlight::before {
    content: '✨';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #0ea5e9;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.empty-frames-grid {
    background-color: #ffffff1a;
    border: 1px solid #fff;
    border-radius: 15px;
    width: 282px;
    height: 370px;
    position: absolute;
    inset: 31.5% 0% auto -14%;
}


#w-node-d2d769d7-3c12-9cbb-4274-6da091620897-916207dd {
    grid-area: 1 / 1 / 1 / 2;
}

#w-node-d2d769d7-3c12-9cbb-4274-6da09162089a-916207dd {
    grid-area: 2 / 1 / 2 / 2;
}


#w-node-d2d769d7-3c12-9cbb-4274-6da09162089d-916207dd {
    grid-area: 2 / 4 / 2 / 5;
}

#w-node-d2d769d7-3c12-9cbb-4274-6da0916208a0-916207dd {
    grid-area: 1 / 4 / 2 / 5;
}

#w-node-d2d769d7-3c12-9cbb-4274-6da0916208a3-916207dd {
    grid-area: 2 / 1 / 2 / 2;
}

#w-node-d2d769d7-3c12-9cbb-4274-6da0916208a6-916207dd {
    grid-area: 2 / 4 / 2 / 5;
}

#w-node-d2d769d7-3c12-9cbb-4274-6da0916208a9-916207dd {
    grid-area: 2 / 1 / 2 / 2;
}

#w-node-d2d769d7-3c12-9cbb-4274-6da0916208ac-916207dd {
    grid-area: 2 / 2 / 2 / 2;
}

#w-node-d2d769d7-3c12-9cbb-4274-6da0916208af-916207dd {
    grid-area: 2 / 3 / 2 / 4;
}

#w-node-d2d769d7-3c12-9cbb-4274-6da0916208b2-916207dd {
    grid-area: 2 / 4 / 2 / 5;
}

.up {
    border-bottom: 1px solid #fff;
    height: 42px;
}

.down-grid {
    border-top: 1px solid #fff;
    height: 46px;
    position: absolute;
    inset: auto 0% 0%;
}

.shadow_top {
    z-index: 2;
    background-image: linear-gradient(180deg, #fff, #fff0);
    height: 100px;
    position: absolute;
    inset: 0% 0% auto;
}

.loop_r1, .loop_r2 {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    display: flex;
}

.loop_cl1 {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    background-color: var(--white);
    border: 1px solid #d8dee6;
    border-radius: 8px;
    flex-flow: column;
    align-items: stretch;
    width: 100%;
    max-width: 222px;
    padding: 16px 8px 8px;
    transition: all .25s;
    display: flex;
}


.icon_loop {
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
}

.loop_cl5 {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    background-color: var(--white);
    border: 1px solid #d8dee6;
    border-radius: 8px;
    flex-flow: column;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    padding: 16px;
    transition: all .25s;
    display: flex
;
}


.a_home:hover {
    transform: scale(1.01);
}
 

.loop_track {
  position: relative;
  display: inline-block;
  will-change: transform;
  animation: loop_track 25s linear infinite;
}

.shadow_bottom {
    background-image: linear-gradient(180deg, #fff0, #ffffff);
    height: 100px;
    position: absolute;
    inset: auto 0% 0%;
}

.icon_20 {
    color: var(--black);
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
}

svg:not(:root) {
    overflow: hidden;
}

.svg-3 {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 18px;
}

.svg-16px.blue-clr {
    color: var(--royal-blue);
}

svg:not(:root) {
    overflow: hidden;
}
.svg-16px {
    color: var(--black);
    width: 1rem;
    height: 1rem;
}

.slider-container {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 20px;
    z-index: 5;
}


  /* Slider container */
  .slider-container {
    position: relative; /* Create stacking context */
    width: 100%;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 20px;
    z-index: 5; /* Higher z-index to ensure it's on top */
  }

  /* Range slider styling */
  #range-slider-social-media {
    width: 100%;
    height: 10px;
    border-radius: 50px;
    background-color: #dee0e8; /* Color of slider line */
    -webkit-appearance: none; /* Remove default styles in WebKit browsers */
    position: relative; /* Position to allow z-index stacking */
    z-index: 6; /* Ensure track is on top */
  }

  /* Range slider thumb */
  #range-slider-social-media::-webkit-slider-thumb {
    background-color: #ffffff; /* Color of slider thumb in WebKit browsers */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 8px solid #145aff;
    position: relative; /* Position to enable z-index */
    z-index: 7; /* Ensure thumb is on top of the track */
    -webkit-appearance: none; /* Remove default styles in WebKit browsers */
  }

.horizontal_block.gap_0.pad {
    padding-left: 0;
    padding-right: 0;
}
.horizontal_block.gap_0 {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.horizontal_block {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    display: flex
;
}

.flex_grow_container.content_left {
    justify-content: flex-start;
    align-items: center;
}
.flex_grow_container {
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex
;
}

.special_block_slider_line {
    justify-content: center;
    align-items: center;
    width: 30px;
    display: flex
;
    position: relative;
}

.special_slider_line {
    z-index: 0;
    background-color: #dee0e8;
    border-radius: 500px;
    justify-content: center;
    align-self: center;
    align-items: center;
    width: 6px;
    height: 24px;
    display: flex
;
    position: absolute;
    top: -32px;
}

.flex_grow_container.content_right {
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    padding-right: 0;
}

.order-over-wrap {
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    border: 1px solid #d6d9e2;
    border-radius: .5rem;
    justify-content: center;
    align-self: stretch;
    align-items: center;
    padding: 10px 16px;
    display: flex
;
}


svg:not(:root) {
    overflow: hidden;
}
 
/* @keyframes loop_track {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media only screen and (min-width: 992px) {
  .loop_track:hover {
    animation-play-state: paused;
  }
} */