@import "tailwindcss";

@theme {
    --color-primary-50: oklch(0.97 0.03 240);
    --color-primary-100: oklch(0.94 0.05 240);
    --color-primary-200: oklch(0.87 0.12 240);
    --color-primary-300: oklch(0.76 0.22 240);
    --color-primary-400: oklch(0.65 0.32 240);
    --color-primary-500: oklch(0.56 0.38 240);
    --color-primary-600: oklch(0.47 0.42 240);
    --color-primary-700: oklch(0.39 0.42 240);
    --color-primary-800: oklch(0.33 0.38 240);
    --color-primary-900: oklch(0.28 0.34 240);
    --color-primary-950: oklch(0.19 0.26 240);
    --color-accent-50: oklch(0.98 0.05 80);
    --color-accent-100: oklch(0.95 0.10 80);
    --color-accent-200: oklch(0.88 0.20 80);
    --color-accent-300: oklch(0.78 0.35 80);
    --color-accent-400: oklch(0.66 0.50 80);
    --color-accent-500: oklch(0.56 0.60 80);
    --color-accent-600: oklch(0.48 0.65 80);
    --color-accent-700: oklch(0.39 0.65 80);
    --color-accent-800: oklch(0.33 0.60 80);
    --color-accent-900: oklch(0.28 0.55 80);
    --color-accent-950: oklch(0.18 0.40 80);
    --font-sans: 'Inter var', 'sans-serif';
}

/* SEO Checks Form Layout */
.seo-check-wide-field {
    grid-column: span 2 / span 2;
    width: 100%;
}

.d-none {
    display: none;
}

.ts-dropdown-content {
    @apply bg-white;
}

div.ts-wrapper.seo-check-field {
    @apply !border !border-gray-300 !bg-white;
}

div.ts-wrapper.seo-check-field .item {
    @apply !bg-primary-500 !text-white !rounded-md;
}

/* FAQ Accordion Styles */
details.group > summary {
    list-style: none;
}

details.group > summary::-webkit-details-marker {
    display: none;
}

details.group[open] > summary .group-open\:rotate-180 {
    transform: rotate(180deg);
}

/* Modern UI Elements */
.gradient-text {
    background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    width: 100%;
    padding-bottom: 0.1em;
    line-height: 1.2;
}

.gradient-bg {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
}

.gradient-bg-alt {
    background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
}

.gradient-border {
    position: relative;
    border-radius: 0.5rem;
    background: white;
    isolation: isolate;
}

.gradient-border::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899);
    border-radius: 0.6rem;
    z-index: -1;
}

/* Enhanced gradient border with animation */
.gradient-border::after {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: -2;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899, #3B82F6);
    background-size: 200% 200%;
    border-radius: 0.7rem;
    filter: blur(8px);
    opacity: 0;
    animation: border-glow 4s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::after {
    opacity: 0.7;
}

@keyframes border-glow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

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

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

@keyframes icon-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-animated::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 0;
    padding-bottom: 120%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.btn-animated:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Typing effect for hero headline */
.typing::after {
    content: "|";
    animation: blink 1.2s step-end infinite;
    vertical-align: baseline;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Scroll down indicator */
.scroll-down {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* 3D tilt effect for cards */
.tilt-card {
    transition: transform 0.5s ease;
    perspective: 1000px;
}

.tilt-card:hover {
    transform: rotateX(5deg) rotateY(5deg);
}

/* App screenshot frame with glow */
.app-screenshot-frame {
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: white;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.app-screenshot-frame:hover {
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
}

/* Gradient dividers */
.gradient-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #3B82F6, transparent);
    margin: 40px auto;
    width: 60%;
}

/* Animated checkmark */
.checkmark-circle {
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.checkmark-circle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkmark-circle:hover::before {
    opacity: 1;
}

/* Blob background */
.blob-bg {
    position: absolute;
    width: 800px;
    height: 800px;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
}

/* Full width section backgrounds */
.bg-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.full-width-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 5rem;
}

.full-width-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

/* Enhanced float animations with more noticeable movement */
@keyframes float-blob-1 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(20px, -20px);
  }
  66% {
    transform: translate(-10px, 30px);
  }
}

@keyframes float-blob-2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-30px, 10px);
  }
  66% {
    transform: translate(20px, 20px);
  }
}

@keyframes float-blob-3 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(10px, 30px);
  }
  66% {
    transform: translate(-20px, -10px);
  }
}

.bg-blob-1 {
  animation: float-blob-1 15s ease-in-out infinite;
}

.bg-blob-2 {
  animation: float-blob-2 18s ease-in-out infinite;
}

.bg-blob-3 {
  animation: float-blob-3 16s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.25;
  }
}

.bg-pulse {
  animation: subtle-pulse 6s ease-in-out infinite;
}

/* Updated blob style for the hero section */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(50px);
  z-index: -1;
  background: linear-gradient(135deg, var(--color-primary-400), var(--color-accent-500));
  mix-blend-mode: normal;
}
