* {
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, #06b6d4, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    padding-bottom: 0.1em;
}

/* Apple-Style Large Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Apple-Style Parallax Scroll */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Apple-Style Large Scale Animation */
.scale-reveal {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-reveal.visible {
    opacity: 1;
    transform: scale(1);
}

/* Apple-Style Sticky Section */
.sticky-section {
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Apple-Style Large Fade */
.fade-reveal {
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-reveal.visible {
    opacity: 1;
}

/* Apple-Style Slide In from Bottom */
.slide-up-reveal {
    opacity: 0;
    transform: translateY(120px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* Fade In from Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In from Right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale In Animation - Apple Style */
.reveal-scale {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Smooth transitions */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Grid Pattern Background - Tailwind Style */
.grid-pattern {
    background-image: 
        linear-gradient(to right, rgb(148 163 184 / 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgb(148 163 184 / 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 0 0;
}

.dark .grid-pattern {
    background-image: 
        linear-gradient(to right, rgb(51 65 85 / 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgb(51 65 85 / 0.2) 1px, transparent 1px);
}

/* Vertical Striped Patterns - Tailwind Style */
.striped-bg-left {
    position: relative;
}

.striped-bg-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgb(148 163 184 / 0.03) 8px,
        rgb(148 163 184 / 0.03) 10px
    );
    pointer-events: none;
    z-index: 0;
}

.dark .striped-bg-left::before {
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgb(51 65 85 / 0.15) 8px,
        rgb(51 65 85 / 0.15) 10px
    );
}

.striped-bg-right {
    position: relative;
}

.striped-bg-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgb(148 163 184 / 0.03) 8px,
        rgb(148 163 184 / 0.03) 10px
    );
    pointer-events: none;
    z-index: 0;
}

.dark .striped-bg-right::after {
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgb(51 65 85 / 0.15) 8px,
        rgb(51 65 85 / 0.15) 10px
    );
}

/* Long Horizontal Lines */
.long-lines-bg {
    position: relative;
}

.long-lines-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, transparent 0%, rgb(148 163 184 / 0.05) 20%, rgb(148 163 184 / 0.05) 80%, transparent 100%),
        linear-gradient(to right, transparent 0%, rgb(148 163 184 / 0.05) 20%, rgb(148 163 184 / 0.05) 80%, transparent 100%),
        linear-gradient(to right, transparent 0%, rgb(148 163 184 / 0.05) 20%, rgb(148 163 184 / 0.05) 80%, transparent 100%);
    background-size: 100% 1px, 100% 1px, 100% 1px;
    background-position: 0 25%, 0 50%, 0 75%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.dark .long-lines-bg::before {
    background-image: 
        linear-gradient(to right, transparent 0%, rgb(51 65 85 / 0.2) 20%, rgb(51 65 85 / 0.2) 80%, transparent 100%),
        linear-gradient(to right, transparent 0%, rgb(51 65 85 / 0.2) 20%, rgb(51 65 85 / 0.2) 80%, transparent 100%),
        linear-gradient(to right, transparent 0%, rgb(51 65 85 / 0.2) 20%, rgb(51 65 85 / 0.2) 80%, transparent 100%);
}

/* Animated Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.float {
    animation: float 6s ease-in-out infinite;
}

/* Rotate Animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-slow {
    animation: rotate 20s linear infinite;
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Decorative Lines */
.decorative-line {
    position: relative;
}

.decorative-line::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, currentColor, transparent);
    opacity: 0.3;
}

/* Expo-style gradient backgrounds */
.expo-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

/* Glow effect */
.glow {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4), 0 0 40px rgba(102, 126, 234, 0.2);
}

/* Shimmer effect */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Scale on hover */
.scale-hover {
    transition: transform 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.05);
}

/* Blob animation */
@keyframes blob {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.blob {
    animation: blob 7s infinite;
}

/* Progress Bar Animation */
@keyframes progressFill {
    from { width: 0%; }
}

.progress-bar {
    animation: progressFill 1.5s ease-out forwards;
}
