/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Psychedelic Color Palette - Enhanced */
    --primary-purple: #8B5CF6;
    --secondary-purple: #A855F7;
    --accent-green: #10B981;
    --accent-blue: #3B82F6;
    --accent-orange: #F59E0B;
    --accent-pink: #EC4899;
    --accent-yellow: #FCD34D;
    --accent-cyan: #06B6D4;
    --accent-magenta: #D946EF;
    --dark-purple: #4C1D95;
    --light-purple: #DDD6FE;
    --white: #FFFFFF;
    --black: #1F2937;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    
    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    --gradient-secondary: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
    --gradient-psychedelic: linear-gradient(45deg, var(--primary-purple), var(--accent-green), var(--accent-blue), var(--accent-orange));
    --gradient-trippy: linear-gradient(90deg, var(--accent-pink), var(--accent-yellow), var(--accent-cyan), var(--accent-magenta), var(--accent-green));
    --gradient-neon: linear-gradient(45deg, #FF0080, #FF8C00, #40E0D0, #EE82EE, #FF0080);
    --gradient-aurora: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-neon: 0 0 30px rgba(255, 0, 128, 0.5);
    --shadow-rainbow: 0 0 40px rgba(255, 140, 0, 0.4), 0 0 60px rgba(64, 224, 208, 0.3);
}

/* Psychedelic Background Animation */
@keyframes psychedelic-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rainbow-rotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.6), 0 0 60px rgba(255, 0, 128, 0.4); }
}

@keyframes morphing-shapes {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes floating-particles {
    0% { transform: translateY(0px) rotate(0deg); opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.7; }
    100% { transform: translateY(-40px) rotate(360deg); opacity: 0; }
}

@keyframes neon-flicker {
    0%, 100% { text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor; }
    50% { text-shadow: 0 0 2px currentColor, 0 0 5px currentColor, 0 0 7px currentColor; }
}

@keyframes video-hue-rotate {
    0% { filter: blur(1px) brightness(0.8) saturate(1.5) hue-rotate(0deg); }
    25% { filter: blur(1px) brightness(0.8) saturate(1.5) hue-rotate(90deg); }
    50% { filter: blur(1px) brightness(0.8) saturate(1.5) hue-rotate(180deg); }
    75% { filter: blur(1px) brightness(0.8) saturate(1.5) hue-rotate(270deg); }
    100% { filter: blur(1px) brightness(0.8) saturate(1.5) hue-rotate(360deg); }
}

/* Mouse trail effect */
.mouse-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: psychedelic-bg 1s ease infinite, rainbow-rotate 2s linear infinite;
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.6);
    transform: translate(-50%, -50%);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-trippy);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: psychedelic-bg 6s ease infinite;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: var(--shadow-md);
    animation: psychedelic-bg 3s ease infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: var(--gradient-neon);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: var(--shadow-md);
    animation: psychedelic-bg 4s ease infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-purple);
}

.nav-logo i {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite, rainbow-rotate 8s linear infinite;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.cta-button {
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    color: var(--white) !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    animation: psychedelic-bg 3s ease infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-aurora);
    background-size: 400% 400%;
    animation: psychedelic-bg 8s ease infinite;
    overflow: hidden;
    padding-top: 80px; /* Add padding to account for fixed navbar */
}

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: blur(1px) brightness(0.8) saturate(1.5) hue-rotate(0deg);
    animation: video-hue-rotate 10s ease-in-out infinite;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.3), rgba(16, 185, 129, 0.3), rgba(59, 130, 246, 0.3));
    z-index: 1;
    animation: overlay-pulse 4s ease-in-out infinite;
}

@keyframes overlay-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 10s ease-in-out infinite;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.mushroom-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: morphing-shapes 6s ease-in-out infinite;
}

/* Floating particles for extra trippiness */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-pink);
    border-radius: 50%;
    animation: floating-particles 4s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; background: var(--accent-yellow); }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; background: var(--accent-cyan); }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; background: var(--accent-magenta); }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; background: var(--accent-green); }
.particle:nth-child(5) { left: 50%; animation-delay: 0.5s; background: var(--accent-orange); }
.particle:nth-child(6) { left: 60%; animation-delay: 1.5s; background: var(--accent-blue); }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; background: var(--accent-pink); }
.particle:nth-child(8) { left: 80%; animation-delay: 3.5s; background: var(--accent-yellow); }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; background: var(--accent-cyan); }
.particle:nth-child(10) { left: 95%; animation-delay: 2s; background: var(--accent-magenta); }

.mushroom-cap {
    width: 100px;
    height: 60px;
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    border-radius: 50px 50px 0 0;
    position: relative;
    animation: grow 4s ease-in-out infinite, psychedelic-bg 3s ease infinite, rainbow-rotate 8s linear infinite;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
}

.mushroom-stem {
    width: 20px;
    height: 80px;
    background: var(--gradient-neon);
    background-size: 200% 200%;
    margin: 0 auto;
    border-radius: 0 0 10px 10px;
    position: relative;
    animation: grow 4s ease-in-out infinite 0.5s, psychedelic-bg 2s ease infinite, pulse-glow 3s ease-in-out infinite;
}

.spores {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.spore {
    width: 8px;
    height: 8px;
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    border-radius: 50%;
    position: absolute;
    animation: float 3s ease-in-out infinite, psychedelic-bg 2s ease infinite, rainbow-rotate 4s linear infinite;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.8);
}

.spore:nth-child(1) { left: -20px; animation-delay: 0s; }
.spore:nth-child(2) { left: -10px; animation-delay: 0.5s; }
.spore:nth-child(3) { left: 0px; animation-delay: 1s; }
.spore:nth-child(4) { left: 10px; animation-delay: 1.5s; }
.spore:nth-child(5) { left: 20px; animation-delay: 2s; }

.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-trippy);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out, psychedelic-bg 4s ease infinite, neon-flicker 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #FCD34D; /* Golden/yellow color */
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 0 0 10px rgba(252, 211, 77, 0.5);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* What We Do Section */
.what-we-do {
    padding: 6rem 0;
    background: var(--gradient-aurora);
    background-size: 400% 400%;
    animation: psychedelic-bg 12s ease infinite;
    position: relative;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.service-card:hover::after {
    left: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
    animation: psychedelic-bg 4s ease infinite;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* AI for Everyone Section */
.ai-for-everyone {
    padding: 6rem 0;
    background: var(--gradient-trippy);
    background-size: 400% 400%;
    animation: psychedelic-bg 10s ease infinite;
    position: relative;
}

.ai-for-everyone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0 25 Q12.5 0 25 25 T50 25 T75 25 T100 25" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ai-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.ai-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mushroom-transformation {
    position: relative;
    width: 200px;
    height: 200px;
}

.mushroom-cap-transform {
    width: 120px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 60px 60px 0 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    cursor: pointer;
}

.mushroom-cap-transform:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.lightbulb {
    width: 60px;
    height: 80px;
    background: var(--accent-orange);
    border-radius: 30px 30px 0 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.5s ease;
    opacity: 0;
}

.mushroom-transformation:hover .mushroom-cap-transform {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.mushroom-transformation:hover .lightbulb {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Journey Section */
.journey {
    padding: 6rem 0;
    background: var(--gradient-aurora);
    background-size: 400% 400%;
    animation: psychedelic-bg 14s ease infinite;
    position: relative;
}

.journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
    opacity: 0.2;
}

.journey-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.timeline-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
    animation: psychedelic-bg 5s ease infinite;
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(10deg);
}

.timeline-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.timeline-item p {
    color: var(--gray-600);
}

.journey-cta {
    text-align: center;
}

/* Client Wins Section */
.client-wins {
    padding: 6rem 0;
    background: var(--gradient-trippy);
    background-size: 400% 400%;
    animation: psychedelic-bg 16s ease infinite;
    position: relative;
}

.client-wins::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="30" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-video {
    aspect-ratio: 16/9;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-text:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-text p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: var(--black);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.testimonials-footer {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    font-style: italic;
}

/* Why Mushroom Section */
.why-mushroom {
    padding: 6rem 0;
    background: var(--gradient-aurora);
    background-size: 400% 400%;
    animation: psychedelic-bg 18s ease infinite;
    position: relative;
}

.why-mushroom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="25" height="25" patternUnits="userSpaceOnUse"><polygon points="12.5,2 22.5,7 22.5,17 12.5,22 2.5,17 2.5,7" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.2;
    animation: float 25s ease-in-out infinite;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.why-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.mushroom-facts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fact {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.fact:hover {
    background: var(--light-purple);
    transform: translateX(10px);
}

.fact i {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-top: 0.25rem;
}

.fact p {
    margin: 0;
    font-size: 1rem;
}

.why-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mycelium-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.mycelium-strand {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: mycelium-grow 4s ease-in-out infinite;
}

.mycelium-strand:nth-child(1) {
    width: 100px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.mycelium-strand:nth-child(2) {
    width: 80px;
    height: 2px;
    top: 30%;
    left: 20%;
    transform: rotate(-30deg);
    animation-delay: 1s;
}

.mycelium-strand:nth-child(3) {
    width: 120px;
    height: 2px;
    top: 70%;
    left: 10%;
    transform: rotate(60deg);
    animation-delay: 2s;
}

.mycelium-strand:nth-child(4) {
    width: 90px;
    height: 2px;
    top: 40%;
    right: 20%;
    transform: rotate(-45deg);
    animation-delay: 3s;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--gradient-trippy);
    background-size: 400% 400%;
    animation: psychedelic-bg 20s ease infinite;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="spirals" width="35" height="35" patternUnits="userSpaceOnUse"><path d="M17.5,17.5 m-10,0 a10,10 0 1,1 20,0 a10,10 0 1,1 -20,0" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23spirals)"/></svg>');
    opacity: 0.3;
    animation: float 30s ease-in-out infinite;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.values h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.value:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value i {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.value h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.value p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--gradient-aurora);
    background-size: 400% 400%;
    animation: psychedelic-bg 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.contact-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: blur(2px) brightness(0.7) hue-rotate(0deg);
    animation: video-hue-rotate 8s ease-in-out infinite reverse;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.3), rgba(16, 185, 129, 0.3), rgba(59, 130, 246, 0.3));
    z-index: 2;
    animation: overlay-pulse 6s ease-in-out infinite reverse;
}

.contact .container {
    position: relative;
    z-index: 3;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

/* Form validation styles */
.error-message {
    display: none;
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #EF4444;
}

/* Honeypot field - hidden from users but visible to bots */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Button loading state */
.btn-loading {
    display: none;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover {
    transform: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.contact-info p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    animation: psychedelic-bg 4s ease infinite;
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--gradient-trippy);
    background-size: 400% 400%;
    color: var(--white);
    padding: 3rem 0 1rem;
    animation: psychedelic-bg 25s ease infinite;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.3;
    animation: float 35s ease-in-out infinite;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--light-purple);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--gray-300);
    position: relative;
    z-index: 2;
}

/* Random Facts Button */
.magic-mushroom {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: auto;
    min-width: 120px;
    height: 50px;
    background: var(--gradient-trippy);
    background-size: 200% 200%;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite, psychedelic-bg 3s ease infinite, rainbow-rotate 6s linear infinite;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0 15px;
}

.facts-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.magic-mushroom:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Magic Modal */
.magic-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.8), rgba(16, 185, 129, 0.8), rgba(59, 130, 246, 0.8));
    backdrop-filter: blur(10px);
    animation: psychedelic-bg 3s ease infinite;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-xl), 0 0 50px rgba(255, 0, 128, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--black);
}

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

@keyframes grow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes mycelium-grow {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(1); }
    100% { transform: scaleX(1); }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ai-content,
    .why-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .journey-timeline {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .magic-mushroom {
        min-width: 100px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .facts-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .magic-mushroom {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
} 

/* Floating mushroom images in hero */
.floating-mushroom {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.6));
    animation: float 6s ease-in-out infinite, rainbow-rotate 12s linear infinite;
    z-index: 3;
}

.floating-mushroom-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-mushroom-2 {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

/* Service card mushrooms */
.service-mushroom {
    position: absolute;
    width: 40px;
    height: 40px;
    object-fit: contain;
    bottom: 10px;
    right: 10px;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    animation: float 4s ease-in-out infinite, rainbow-rotate 8s linear infinite;
    transition: all 0.3s ease;
}

.service-card:hover .service-mushroom {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 0, 128, 0.8));
}

/* AI section logo */
.ai-logo {
    position: absolute;
    width: 120px;
    height: 120px;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.7));
    animation: float 8s ease-in-out infinite, rainbow-rotate 15s linear infinite;
    z-index: 1;
}

/* Timeline mushrooms */
.timeline-mushroom {
    position: absolute;
    width: 30px;
    height: 30px;
    object-fit: contain;
    bottom: -15px;
    right: -10px;
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
    animation: float 5s ease-in-out infinite, rainbow-rotate 10s linear infinite;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-mushroom {
    transform: scale(1.3) rotate(-15deg);
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255, 0, 128, 0.8));
}

/* Testimonial mushrooms */
.testimonial-mushroom {
    position: absolute;
    width: 35px;
    height: 35px;
    object-fit: contain;
    top: 10px;
    right: 10px;
    opacity: 0.6;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
    animation: float 6s ease-in-out infinite, rainbow-rotate 12s linear infinite;
    transition: all 0.3s ease;
}

.testimonial-text:hover .testimonial-mushroom,
.testimonial-video:hover .testimonial-mushroom {
    transform: scale(1.2) rotate(5deg);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 0, 128, 0.8));
}

/* Why section logo */
.why-logo {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
    top: 20%;
    right: 20%;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
    animation: float 10s ease-in-out infinite, rainbow-rotate 18s linear infinite;
    z-index: 1;
}

/* About section mushroom */
.about-mushroom {
    position: absolute;
    width: 60px;
    height: 60px;
    object-fit: contain;
    bottom: 20px;
    right: 20px;
    opacity: 0.8;
    filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.6));
    animation: float 7s ease-in-out infinite, rainbow-rotate 14s linear infinite;
    transition: all 0.3s ease;
}

.about-image:hover .about-mushroom {
    transform: scale(1.3) rotate(15deg);
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.8));
}

/* Contact section mushrooms and logo */
.contact-mushroom {
    position: absolute;
    width: 45px;
    height: 45px;
    object-fit: contain;
    bottom: 15px;
    right: 15px;
    opacity: 0.7;
    filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.6));
    animation: float 5s ease-in-out infinite, rainbow-rotate 11s linear infinite;
    transition: all 0.3s ease;
}

.contact-form:hover .contact-mushroom {
    transform: scale(1.2) rotate(-10deg);
    opacity: 1;
    filter: drop-shadow(0 0 18px rgba(255, 0, 128, 0.8));
}

.contact-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: contain;
    top: 20px;
    right: 20px;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
    animation: float 9s ease-in-out infinite, rainbow-rotate 16s linear infinite;
    z-index: 1;
    pointer-events: none; /* Prevent interference with button clicks */
}

/* Enhanced animations for mushroom images */
@keyframes mushroom-glow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.8));
    }
}

@keyframes mushroom-bounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

/* Apply enhanced animations to all mushroom images */
.floating-mushroom,
.service-mushroom,
.timeline-mushroom,
.testimonial-mushroom,
.about-mushroom,
.contact-mushroom {
    animation: float 6s ease-in-out infinite, rainbow-rotate 12s linear infinite, mushroom-glow 4s ease-in-out infinite;
}

.ai-logo,
.why-logo,
.contact-logo {
    animation: float 8s ease-in-out infinite, rainbow-rotate 15s linear infinite, mushroom-glow 6s ease-in-out infinite;
}

/* Additional psychedelic effects for mushroom images */
.floating-mushroom:nth-child(odd) {
    animation-delay: 0s;
}

.floating-mushroom:nth-child(even) {
    animation-delay: 2s;
}

.service-mushroom:nth-child(odd) {
    animation-delay: 0s;
}

.service-mushroom:nth-child(even) {
    animation-delay: 1s;
}

.timeline-mushroom:nth-child(odd) {
    animation-delay: 0s;
}

.timeline-mushroom:nth-child(even) {
    animation-delay: 1.5s;
}

/* Hover effects for all mushroom images */
.floating-mushroom:hover,
.service-mushroom:hover,
.timeline-mushroom:hover,
.testimonial-mushroom:hover,
.about-mushroom:hover,
.contact-mushroom:hover {
    transform: scale(1.5) rotate(360deg);
    filter: drop-shadow(0 0 30px rgba(255, 0, 128, 1)) brightness(1.2);
    transition: all 0.5s ease;
}

/* Special effect for TMA logo images */
.ai-logo:hover,
.why-logo:hover,
.contact-logo:hover {
    transform: scale(1.3) rotate(180deg);
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 1)) brightness(1.3);
    transition: all 0.8s ease;
} 