/* ============================================
   PROJECTRA - Jeton-Style Redesign
   Warm Gradients | Smooth Scroll | Glassmorphism
   ============================================ */

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

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
}

:root {
    /* Jeton-Style Warm Colors */
    --coral: #FF6B6B;
    --coral-light: #FF8A8A;
    --orange: #FF9F43;
    --peach: #FFEAA7;
    --cream: #FFF9E6;
    --mint: #00D9A5;
    --mint-light: #00F5B8;
    --purple: #8B5CF6;
    --purple-dark: #7C3AED;
    --blue: #4A90D9;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --text-dark: #1A1A2E;
    --text-light: #6B7280;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-warm: linear-gradient(135deg, #FF6B6B 0%, #FF9F43 50%, #FFEAA7 100%);
    --gradient-coral: linear-gradient(135deg, #FF6B6B 0%, #FF8A8A 100%);
    --gradient-mint: linear-gradient(135deg, #00D9A5 0%, #00F5B8 100%);
    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    --gradient-dark: linear-gradient(180deg, #1A1A2E 0%, #2D2D44 100%);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 60px rgba(255, 107, 107, 0.3);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--cream);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography - Large Jeton Style */
h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
}

/* ============================================
   FLOATING BOTTOM NAVIGATION - Jeton Style
   ============================================ */
.navbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 8px 20px 8px 8px;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled .nav-menu a {
    color: var(--dark);
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .nav-brand {
    border-right-color: rgba(0, 0, 0, 0.1);
}

.nav-brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.nav-brand h2 {
    margin: 0;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.navbar.scrolled .nav-brand h2 {
    color: var(--dark);
}

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

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark);
}

.nav-menu .btn-primary {
    background: var(--gradient-coral);
    color: white !important;
    padding: 10px 24px;
}

.nav-menu .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   BUTTONS - Modern Rounded Style
   ============================================ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-coral);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

/* White button variant */
.btn-white {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   HERO SECTION - Warm Gradient Background
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 120px 0 180px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Text with white aura/glow effect */
.hero-title-typewriter {
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 40px rgba(255, 255, 255, 0.7),
        0 0 60px rgba(255, 255, 255, 0.5),
        0 0 80px rgba(255, 255, 255, 0.3);
    color: var(--white);
    text-align: left;
    min-height: 1.2em;
    /* Performance optimizations for smooth scrolling during animation */
    will-change: contents;
    contain: layout style;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-title-typewriter::after {
    content: '|';
    animation: heroCursorBlink 0.7s infinite;
    color: var(--white);
    font-weight: 300;
    margin-left: 4px;
}

.hero-title-typewriter.typing-complete::after {
    display: none;
}

.hero-subtitle-typewriter {
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 40px rgba(255, 255, 255, 0.7),
        0 0 60px rgba(255, 255, 255, 0.5),
        0 0 80px rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
}

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

/* Animated Background Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 159, 67, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(5deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    justify-items: start;
    position: relative;
    z-index: 1;
}

.hero-content {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp 1s ease forwards 0.3s;
    text-align: left;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--white);
    opacity: 0.95;
    max-width: 500px;
}

.hero-buttons {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 10;
}

/* AI Badge */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ai-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Hero Image with 3D Effect */
.hero-image {
    position: relative;
    opacity: 0;
    transform: translateY(40px) perspective(1000px) rotateY(-5deg);
    animation: slideUpRotate 1s ease forwards 0.6s;
}

@keyframes slideUpRotate {
    to {
        opacity: 1;
        transform: translateY(0) perspective(1000px) rotateY(0deg);
    }
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-image:hover img {
    transform: scale(1.02) translateY(-5px);
}

/* Floating decorative elements */
.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--mint);
    border-radius: 24px;
    z-index: -1;
    animation: floatSlow 4s ease-in-out infinite;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: var(--purple);
    border-radius: 20px;
    z-index: -1;
    animation: floatSlow 5s ease-in-out infinite reverse;
}

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

/* ============================================
   PROBLEM SECTION - Dark Background
   ============================================ */
.problem-section {
    padding: 120px 0;
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
}

.problem-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.problem-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.problem-card .icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.problem-card lord-icon {
    display: block;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.problem-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ============================================
   THREE WORDS SCROLL SECTION - Jeton Style
   ============================================ */
.three-words-section {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background: var(--white);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.three-words-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.word-item {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(60px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.word-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.word-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.word-icon svg {
    width: 36px;
    height: 36px;
}

.word-icon-green {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.word-icon-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.word-icon-coral {
    background: linear-gradient(135deg, #FF6B6B 0%, #EF4444 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.word-text {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.word-plan .word-text {
    color: #22C55E;
}

.word-manage .word-text {
    color: #3B82F6;
}

.word-grow .word-text {
    color: #FF6B6B;
}

/* Stagger animation delays */
.word-item[data-index="0"] { transition-delay: 0s; }
.word-item[data-index="1"] { transition-delay: 0.15s; }
.word-item[data-index="2"] { transition-delay: 0.3s; }

/* Mobile responsive */
@media (max-width: 768px) {
    .three-words-section {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }

    .word-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .word-icon svg {
        width: 26px;
        height: 26px;
    }

    .word-text {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .word-item {
        gap: 14px;
    }
}

/* ============================================
   VIDEO SECTION - Gradient Background
   ============================================ */
.video-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--purple-dark) 100%);
    color: var(--white);
}

.video-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.video-container::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-coral);
    border-radius: 28px;
    z-index: -1;
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: 24px;
}

/* ============================================
   FEATURES SECTION - Alternating Colors
   ============================================ */
.features-section {
    padding: 120px 0;
    background: var(--white);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.features-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    font-size: 1.2rem;
    color: var(--text-light);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-content ul {
    list-style: none;
}

.feature-content li {
    padding: 12px 0;
    padding-left: 36px;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.feature-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content li::after {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.feature-image {
    position: relative;
    perspective: 1000px;
}

.feature-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-image:hover img {
    transform: scale(1.05) rotateX(-4deg) rotateY(6deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.2);
}

/* Reverse tilt for alternating feature items */
.feature-item.reverse .feature-image:hover img {
    transform: scale(1.05) rotateX(-4deg) rotateY(-6deg);
}

/* Decorative shapes for features */
.feature-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-coral);
    border-radius: 24px;
    top: 20px;
    left: 20px;
    z-index: -1;
    opacity: 0.3;
}

/* ============================================
   BENEFITS SECTION - Mint Background
   ============================================ */
.benefits-section {
    padding: 120px 0;
    background: var(--gradient-mint);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.benefits-section h2 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 4rem;
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.benefit-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS - Steps with Animation
   ============================================ */
.how-it-works-section {
    padding: 120px 0;
    background: var(--cream);
}

.how-it-works-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Connection line */
.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--orange), var(--mint), var(--purple), var(--blue));
    border-radius: 2px;
    z-index: 0;
}

.step {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.4s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    background: var(--gradient-coral);
    color: white;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 200px;
    margin: 0 auto;
}

/* ============================================
   GALLERY SECTION - Screenshot Showcase
   ============================================ */
.gallery-section {
    padding: 120px 0;
    background: var(--dark);
    color: var(--white);
}

.gallery-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.9);
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

.gallery-item:hover {
    transform: scale(1.03);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover p {
    transform: translateY(0);
}

/* ============================================
   PRICING SECTION - Cards with Hover
   ============================================ */
.pricing-section {
    padding: 120px 0;
    background: var(--cream);
}

.pricing-section h2 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 1rem;
}

.pricing-subtitle {
    text-align: center;
    color: var(--mint);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: left;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    background: var(--dark);
    color: var(--white);
    transform: scale(1.02);
    border: none;
}

.pricing-card.featured.visible {
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-5px);
}

.pricing-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mint);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card .badge-dark {
    background: var(--dark-light);
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.price {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price .currency {
    font-size: 2rem;
    font-weight: 400;
    color: var(--dark);
}

.price .period {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
    margin-left: 8px;
}

.pricing-card.featured .price {
    color: var(--white);
}

.pricing-card.featured .price .currency {
    color: var(--white);
}

.pricing-card.featured .price .period {
    color: rgba(255, 255, 255, 0.6);
}

.price-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.pricing-card.featured .price-description {
    color: rgba(255, 255, 255, 0.7);
}

.features-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card.featured .features-header {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.pricing-card.featured li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-card li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* ============================================
   TESTIMONIALS - Jeton Style Message Bubbles
   ============================================ */
.testimonials-section {
    padding: 120px 0;
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

.testimonials-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.testimonials-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

/* Fallback gradient if no image */
.testimonials-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 50%, #1A1A2E 100%);
    z-index: -1;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.testimonials-messages {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.message-bubble {
    background: rgba(45, 45, 68, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 28px;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.message-bubble[data-index="0"] { transition-delay: 0s; }
.message-bubble[data-index="1"] { transition-delay: 0.15s; }
.message-bubble[data-index="2"] { transition-delay: 0.3s; }

.message-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--white);
}

.message-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
}

.message-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--dark);
    flex-shrink: 0;
}

.avatar-green {
    background: linear-gradient(135deg, #22C55E 0%, #86EFAC 100%);
}

.avatar-purple {
    background: linear-gradient(135deg, #A78BFA 0%, #C4B5FD 100%);
}

.avatar-mint {
    background: linear-gradient(135deg, #A3E635 0%, #D9F99D 100%);
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 20px;
        min-height: auto;
    }

    .testimonials-messages {
        max-width: 100%;
    }

    .message-bubble {
        padding: 20px;
    }
}

/* ============================================
   CTA SECTION - Full Width Gradient
   ============================================ */
.cta-section {
    padding: 120px 0;
    background: var(--gradient-purple);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 120px 0;
    background: var(--white);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--cream);
    padding: 50px;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.contact-form button {
    width: 100%;
    margin-top: 16px;
}

/* ============================================
   FOOTER - Dark with Gradient Accent
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--coral);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FLOATING SUPPORT BUTTON
   ============================================ */
.support-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.support-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-coral);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero .container,
    .feature-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .benefits-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .steps-container::before {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
    }

    .navbar {
        top: 10px;
        left: 10px;
        right: 10px;
        border-radius: 20px;
        padding: 8px 15px 8px 8px;
    }

    .nav-brand {
        display: none;
    }

    .nav-menu {
        width: 100%;
        justify-content: space-around;
    }

    .nav-menu a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 100px 0 120px;
        min-height: 100vh;
    }

    /* Hero video on mobile */
    .hero-video {
        object-position: center center;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    .hero-content {
        text-align: left;
    }

    .hero-title-typewriter {
        font-size: 2rem;
        line-height: 1.2;
        text-shadow:
            0 0 15px rgba(255, 255, 255, 0.9),
            0 0 30px rgba(255, 255, 255, 0.6);
    }

    .hero-subtitle-typewriter,
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        bottom: 100px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: calc(100% - 40px);
        left: 20px;
        transform: none;
    }

    .hero-buttons .btn-large {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .ai-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
    }

    .problem-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .support-button {
        bottom: 90px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    /* Problem section mobile */
    .problem-section {
        padding: 80px 0;
    }

    .problem-section h2 {
        margin-bottom: 2.5rem;
    }

    .problem-card {
        padding: 30px 20px;
    }

    .problem-card .icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .problem-card h3 {
        font-size: 1.2rem;
    }

    .problem-card p {
        font-size: 0.9rem;
    }

    /* Features section mobile */
    .features-section {
        padding: 80px 0;
    }

    .features-intro {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .feature-item {
        gap: 30px;
        margin-bottom: 60px;
    }

    .feature-content h3 {
        font-size: 1.6rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .feature-image::before {
        top: 10px;
        left: 10px;
    }

    /* Benefits section mobile */
    .benefits-section {
        padding: 80px 0;
    }

    .benefits-section h2 {
        margin-bottom: 2.5rem;
    }

    .benefit-card {
        padding: 30px 24px;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    /* How it works section mobile */
    .how-it-works-section {
        padding: 80px 0;
    }

    .how-it-works-section h2 {
        margin-bottom: 2.5rem;
    }

    .step {
        padding: 0 10px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step h3 {
        font-size: 1rem;
    }

    .step p {
        font-size: 0.85rem;
    }

    /* Pricing section mobile */
    .pricing-section {
        padding: 80px 0;
    }

    .pricing-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .pricing-card {
        padding: 30px 24px;
    }

    .pricing-card h3 {
        font-size: 1.2rem;
    }

    .price {
        font-size: 3rem;
    }

    .price .currency {
        font-size: 1.5rem;
    }

    .pricing-card li {
        font-size: 0.9rem;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 80px 0;
    }

    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    /* Contact section mobile */
    .contact-section {
        padding: 80px 0;
    }

    /* Video section mobile */
    .video-section {
        padding: 80px 0;
    }

    .video-section h2 {
        margin-bottom: 2rem;
    }

    /* Footer mobile */
    .footer {
        padding: 60px 0 20px;
    }

    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* Very small screens (under 480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title-typewriter {
        font-size: 1.7rem;
    }

    .hero-subtitle-typewriter,
    .hero-subtitle {
        font-size: 0.9rem;
    }

    .ai-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .icons-grid-wrapper {
        width: 240px;
        height: 240px;
    }

    .icon-card {
        width: 60px;
        height: 60px;
        padding: 6px;
        border-radius: 12px;
    }

    .icon-card span:first-child {
        font-size: 1.3rem;
    }

    .icon-label {
        font-size: 0.55rem;
    }

    .grid-outline {
        width: 240px;
        height: 240px;
    }

    .center-lightning {
        width: 160px;
        height: 160px;
    }

    .flying-center-content h2 {
        font-size: 1.3rem;
    }

    .flying-center-content p {
        font-size: 0.9rem;
    }

    .word-text {
        font-size: clamp(2rem, 14vw, 3rem);
    }

    .word-icon {
        width: 40px;
        height: 40px;
    }

    .word-icon svg {
        width: 20px;
        height: 20px;
    }

    .screenshot-column {
        flex: 0 0 160px;
    }

    .screenshots-headline h2 {
        font-size: 1.6rem;
    }

    .screenshots-headline p {
        font-size: 0.9rem;
    }

    .envelope-title {
        font-size: clamp(1.6rem, 12vw, 2.5rem);
    }

    .envelope-subtitle {
        font-size: 0.9rem;
    }

    .pricing-card .badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video {
        display: none;
    }
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Parallax helper */
.parallax {
    will-change: transform;
}

/* ============================================
   FLYING ICONS SECTION - Smooth Scroll Animation
   ============================================ */
.flying-icons-section {
    height: 100vh;
    min-height: 700px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Clip the flood effect to this section */
    isolation: isolate;
}

.flying-icons-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 0 60px;
    overflow: visible;
    z-index: 99;
}

/* Center Content - text on LEFT and RIGHT side of the grid, cream on cream until flood reveals it */
.flying-center-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    opacity: 1;
    max-width: 320px;
    background: transparent;
    padding: 30px;
}

/* Left side text */
.flying-content-left {
    right: calc(50% + 200px);
    text-align: right;
}

/* Right side text */
.flying-content-right {
    left: calc(50% + 200px);
    text-align: left;
}

.flying-center-content.visible {
    opacity: 1;
    transform: translateY(-50%);
}

/* Text is cream-colored (invisible on cream background) until flood */
.flying-center-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--cream);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: none;
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.flying-center-content p {
    font-size: 1.1rem;
    color: var(--cream);
    text-shadow: none;
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

/* When flood is active, text becomes white and visible */
.flying-icons-section.flood-active .flying-center-content h2 {
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.flying-icons-section.flood-active .flying-center-content p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Flying Icons - positioned relative to icons-grid-wrapper */
.flying-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: opacity 0.5s ease;
    will-change: transform, opacity;
    z-index: 5;
}

/* Keep icons within the wrapper */
.icons-grid-wrapper .flying-icon {
    top: 50%;
    left: 50%;
}

/* ============================================
   FUSION ICON - Appears when icons merge
   ============================================ */
.fusion-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    opacity: 0;
    pointer-events: none;
}

.fusion-logo {
    width: 120px;
    height: 120px;
    background: var(--gradient-warm);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.4);
    transform: scale(0.5);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.6s ease;
}

.fusion-logo img {
    width: 70px;
    height: 70px;
    filter: brightness(0) invert(1);
}

.fusion-icon.active .fusion-logo {
    transform: scale(1);
    box-shadow: 0 30px 80px rgba(255, 107, 107, 0.6);
}

/* Glow Effect */
.fusion-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.8) 0%, rgba(255, 159, 67, 0.4) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fusion-icon.active .fusion-glow {
    opacity: 1;
    animation: fusionGlow 2s ease-in-out infinite;
}

@keyframes fusionGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* Pulsing Rings */
.fusion-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 3px solid rgba(255, 107, 107, 0.6);
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
}

.fusion-icon.active .fusion-ring {
    animation: fusionRing 1.5s ease-out infinite;
}

.fusion-ring-2 {
    animation-delay: 0.5s !important;
}

@keyframes fusionRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Particle burst effect */
.fusion-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    z-index: 4;
}

.fusion-particles::before,
.fusion-particles::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
    opacity: 0;
}

.fusion-icon.active .fusion-particles::before {
    animation: particle1 1s ease-out infinite;
}

.fusion-icon.active .fusion-particles::after {
    animation: particle2 1s ease-out 0.2s infinite;
}

@keyframes particle1 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(-80px, -60px) scale(0); opacity: 0; }
}

@keyframes particle2 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(80px, -40px) scale(0); opacity: 0; }
}

/* Title animation during fusion */
.fusion-title {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    min-height: 1.2em;
}

.fusion-title.hidden {
    opacity: 0;
    transform: translateY(30px);
}

.fusion-subtitle {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s, opacity 0.4s ease 0.1s;
    min-height: 1.5em;
}

.fusion-subtitle.hidden {
    opacity: 0;
    transform: translateY(20px);
}

/* Typewriter Effect - disabled, text is now static */
.fusion-title::after,
.fusion-subtitle::after {
    content: none;
}

/* Icon Cards - Square design */
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 90px;
    height: 90px;
    padding: 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

/* Purple transformation for icons during outline animation */
.flying-icon.purple-tint .icon-card {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%) !important;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
    transition: all 0.8s ease;
}

.flying-icon.purple-tint .icon-card span:first-child,
.flying-icon.purple-tint .icon-card lord-icon {
    filter: grayscale(1) brightness(1.5) sepia(1) hue-rotate(220deg) saturate(3);
    transition: filter 0.8s ease;
}

.flying-icon.purple-tint .icon-label {
    color: white !important;
    transition: color 0.8s ease;
}

.icon-card:hover {
    transform: scale(1.08);
}

.icon-card span:first-child {
    font-size: 2rem;
}

.icon-card lord-icon {
    flex-shrink: 0;
}

.icon-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.1;
}

/* Icons Grid Wrapper - stays centered, ABOVE flood effect */
.icons-grid-wrapper {
    position: absolute;
    width: 400px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
    z-index: 100;
    isolation: isolate;
    background: var(--cream);
    border-radius: 28px;
}

/* Grid Outline Animation - draws clockwise */
.grid-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: visible;
}

.grid-outline.visible {
    opacity: 1;
}

.grid-outline svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.grid-outline-path {
    fill: none;
    stroke: #8B5CF6;
    stroke-width: 14;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    filter: drop-shadow(0 0 0 transparent);
}

.grid-outline.visible .grid-outline-path {
    animation: drawOutline 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               outlineGlow 1.5s ease-out forwards;
}

@keyframes drawOutline {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes outlineGlow {
    0% {
        filter: drop-shadow(0 0 0 transparent);
    }
    30% {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.8)) drop-shadow(0 0 40px rgba(139, 92, 246, 0.6));
    }
    60% {
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 1)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6)) drop-shadow(0 0 30px rgba(139, 92, 246, 0.4));
    }
}

/* Center Lightning Bolt */
.center-lightning {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 350px;
    height: 350px;
    z-index: 25;
    opacity: 0;
    filter: drop-shadow(0 0 30px rgba(252, 211, 77, 0.95)) drop-shadow(0 0 60px rgba(245, 158, 11, 0.8));
    pointer-events: none;
    transition: none;
}

.center-lightning svg {
    width: 100%;
    height: 100%;
}

.center-lightning.visible {
    animation: lightningAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes lightningAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(-20deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.4) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 35px rgba(252, 211, 77, 1)) drop-shadow(0 0 70px rgba(245, 158, 11, 0.9));
    }
}

/* Color Variants */
.icon-card-coral {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8A8A 100%);
    color: white;
}
.icon-card-coral .icon-label { color: white; }

.icon-card-mint {
    background: linear-gradient(135deg, #00D9A5 0%, #00F5B8 100%);
    color: white;
}
.icon-card-mint .icon-label { color: white; }

.icon-card-purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    color: white;
}
.icon-card-purple .icon-label { color: white; }

.icon-card-orange {
    background: linear-gradient(135deg, #FF9F43 0%, #FFEAA7 100%);
}

.icon-card-blue {
    background: linear-gradient(135deg, #4A90D9 0%, #74B9FF 100%);
    color: white;
}
.icon-card-blue .icon-label { color: white; }

.icon-card-green {
    background: linear-gradient(135deg, #00B894 0%, #55EFC4 100%);
    color: white;
}
.icon-card-green .icon-label { color: white; }

.icon-card-yellow {
    background: linear-gradient(135deg, #F1C40F 0%, #F9E79F 100%);
}

.icon-card-pink {
    background: linear-gradient(135deg, #E91E63 0%, #F48FB1 100%);
    color: white;
}
.icon-card-pink .icon-label { color: white; }

.icon-card-teal {
    background: linear-gradient(135deg, #009688 0%, #4DB6AC 100%);
    color: white;
}
.icon-card-teal .icon-label { color: white; }

/* Responsive */
@media (max-width: 768px) {
    .flying-icons-section {
        height: 100vh;
        min-height: 600px;
        overflow: hidden;
    }

    .flying-icons-container {
        height: 100%;
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
        z-index: 99;
    }

    .flying-center-content {
        position: absolute;
        left: 50%;
        right: auto;
        top: calc(50% - 220px);
        transform: translate(-50%, -100%);
        text-align: center;
        max-width: 90%;
    }

    /* Hide right content on mobile, show only left */
    .flying-content-right {
        display: none;
    }

    .flying-content-left {
        left: 50%;
        right: auto;
    }

    .flying-center-content.visible {
        transform: translate(-50%, -100%);
    }

    .flying-center-content h2 {
        font-size: 1.5rem;
    }

    .flying-center-content p {
        font-size: 1rem;
    }

    .icons-grid-wrapper {
        width: 280px;
        height: 280px;
    }

    .icon-card {
        width: 70px;
        height: 70px;
        padding: 8px;
        border-radius: 14px;
    }

    .icon-card span:first-child {
        font-size: 1.5rem;
    }

    .icon-label {
        font-size: 0.6rem;
    }

    .grid-outline {
        width: 280px;
        height: 280px;
    }

    .grid-outline-path {
        stroke-width: 8;
        stroke-dasharray: 1400;
        stroke-dashoffset: 1400;
    }

    .center-lightning {
        width: 200px;
        height: 200px;
    }

    /* Navbar mobile adjustments */
    .navbar {
        padding: 8px 16px;
        gap: 8px;
    }

    .navbar .nav-links {
        display: none;
    }

    .navbar .logo {
        font-size: 1rem;
    }
}

/* ============================================
   SCROLLING SCREENSHOTS SECTION
   ============================================ */
.scrolling-screenshots-section {
    position: relative;
    min-height: 100vh;
    background: var(--dark);
    overflow: hidden;
    padding: 80px 0;
}

/* Highlighted Headline */
.screenshots-headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.screenshots-headline h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.screenshots-headline h2 .highlight {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.screenshots-headline p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

/* Screenshots Container */
.screenshots-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    height: 100vh;
    padding: 0 40px;
    position: relative;
    mask-image: linear-gradient(to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%);
}

/* Screenshot Column */
.screenshot-column {
    flex: 0 0 300px;
    max-width: 300px;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    position: relative;
}

.screenshot-column:hover {
    opacity: 0.9;
}

/* Screenshot Track - contains images that scroll */
.screenshot-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    will-change: transform;
}

.screenshot-track img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform-style: preserve-3d;
}

.screenshot-track img:hover {
    transform: scale(1.08) perspective(1000px) rotateX(-3deg) rotateY(5deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.3);
    z-index: 10;
    position: relative;
}

/* Responsive */
@media (max-width: 1024px) {
    .screenshots-container {
        gap: 16px;
        padding: 0 20px;
    }

    .screenshot-column {
        flex: 0 0 280px;
    }
}

@media (max-width: 768px) {
    .scrolling-screenshots-section {
        min-height: 80vh;
        padding: 60px 0;
    }

    .screenshots-container {
        gap: 12px;
        padding: 0 16px;
    }

    .screenshot-column {
        flex: 0 0 200px;
    }

    .screenshot-column:nth-child(3) {
        display: none;
    }

    .screenshots-headline h2 {
        font-size: 2rem;
    }

    .screenshots-headline p {
        font-size: 1rem;
    }
}

/* Screenshot Lightbox */
.screenshot-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.screenshot-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--coral);
}

.lightbox-image {
    max-width: 90%;
    max-height: 75vh;
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.screenshot-lightbox.active .lightbox-image {
    transform: scale(1);
}

.lightbox-caption {
    color: white;
    font-size: 1.2rem;
    margin-top: 24px;
    text-align: center;
    max-width: 600px;
}

/* Make screenshots clickable */
.screenshot-track img {
    cursor: pointer;
    pointer-events: auto;
}

/* Screen Flash Effect - Lightning Strike */
.screen-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    pointer-events: none;
    z-index: 9999;
}

.screen-flash.flash {
    animation: screenFlash 0.8s ease-out;
}

@keyframes screenFlash {
    0% {
        background: rgba(255, 255, 255, 0);
    }
    5% {
        background: rgba(252, 211, 77, 0.6);
    }
    10% {
        background: rgba(255, 255, 255, 0.1);
    }
    20% {
        background: rgba(252, 211, 77, 0.5);
    }
    30% {
        background: rgba(255, 255, 255, 0.05);
    }
    45% {
        background: rgba(252, 211, 77, 0.3);
    }
    60% {
        background: rgba(255, 255, 255, 0);
    }
    100% {
        background: rgba(255, 255, 255, 0);
    }
}

/* ============================================
   GRID FLOOD FILL EFFECT - Purple expands outward from icons
   Positioned within section, clipped by overflow: hidden
   ============================================ */
/* Flood fill effect - expanding circle, clipped to section */
.grid-flood-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    --flood-radius: 0px;
    --flood-cx: 50%;
    --flood-cy: 50%;
}

/* The expanding purple circle */
.grid-flood-fill::before {
    content: '';
    position: absolute;
    top: var(--flood-cy);
    left: var(--flood-cx);
    transform: translate(-50%, -50%);
    width: calc(var(--flood-radius) * 2);
    height: calc(var(--flood-radius) * 2);
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.grid-flood-fill.visible::before {
    opacity: 1;
}

/* ============================================
   ENVELOPE CTA SECTION - Jeton Style
   ============================================ */
.envelope-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: var(--coral);
}

.envelope-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-coral);
    z-index: 1;
}

/* The envelope flap - white triangle that opens */
.envelope-flap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50vw 50vh 50vw;
    border-color: transparent transparent var(--white) transparent;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.envelope-flap.visible {
    opacity: 1;
    animation: envelopeOpen 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes envelopeOpen {
    0% {
        border-width: 0 50vw 0 50vw;
        transform: translateX(-50%) translateY(-20px);
    }
    100% {
        border-width: 0 50vw 50vh 50vw;
        transform: translateX(-50%) translateY(0);
    }
}

/* White content area below the triangle */
.envelope-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 3;
    height: 0;
    overflow: hidden;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.envelope-content-wrapper.visible {
    height: 45vh;
}

/* Content inside the envelope */
.envelope-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 4;
    text-align: center;
    padding: 60px 40px 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.envelope-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.envelope-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--coral);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.envelope-title span {
    display: block;
}

.envelope-subtitle {
    font-size: 1.3rem;
    color: var(--coral);
    opacity: 0.7;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.envelope-section .btn-white {
    background: var(--dark);
    color: var(--white);
    padding: 20px 48px;
    font-size: 1.1rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.envelope-section .btn-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    background: var(--dark-light);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .envelope-section {
        min-height: 70vh;
    }

    .envelope-flap {
        border-width: 0 50vw 40vh 50vw;
    }

    @keyframes envelopeOpen {
        0% {
            border-width: 0 50vw 0 50vw;
            transform: translateX(-50%) translateY(-20px);
        }
        100% {
            border-width: 0 50vw 40vh 50vw;
            transform: translateX(-50%) translateY(0);
        }
    }

    .envelope-content-wrapper.visible {
        height: 35vh;
    }

    .envelope-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .envelope-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .envelope-content {
        padding: 40px 20px 60px;
    }
}
