/* ========================================
   CSS RESET & VARIABLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6C27FF;
    --primary-orange: #FF7E00;
    --dark-bg: #0A0118;
    --dark-purple: #1A0B2E;
    --light-bg: #FFFFFF;
    --light-gray: #F5F5F7;
    --text-dark: #1D1D1F;
    --text-light: #86868B;
    --gradient-purple: linear-gradient(135deg, #6C27FF 0%, #9D5CFF 100%);
    --gradient-orange: linear-gradient(135deg, #FF7E00 0%, #FFA640 100%);
    --gradient-mixed: linear-gradient(135deg, #6C27FF 0%, #FF7E00 100%);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.integrations-carousel {
    overflow: hidden;
    position: relative;
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.visible.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.logo:hover .logo-text {
    color: var(--primary-purple);
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */

.language-switcher {
    margin-right: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(108, 39, 255, 0.1);
    border: 1px solid rgba(108, 39, 255, 0.2);
    border-radius: 20px;
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(108, 39, 255, 0.2);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.lang-btn i {
    font-size: 16px;
}

.logo-accent {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary,
.btn-primary-large {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gradient-purple);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary-large {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-primary:hover,
.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(108, 39, 255, 0.3);
}

.btn-secondary,
.btn-secondary-large {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--text-dark);
    transition: var(--transition);
}

.btn-secondary-large {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-gradient {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #e50d31 0%, #ff4757 50%, #e50d31 100%);
    background-size: 200% auto;
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 13, 49, 0.3);
    position: relative;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 13, 49, 0.5);
    background-position: 100% center;
}

.btn-secondary:hover,
.btn-secondary-large:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary-large-light {
    display: inline-block;
    padding: 16px 36px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    border: 2px solid white;
    transition: var(--transition);
}

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding: 120px 0 100px;
    background: linear-gradient(180deg, #F5F3FF 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.hero-title.animated-gradient {
    font-size: 96px;
    font-weight: 900;
    letter-spacing: -4px;
    background: linear-gradient(
        90deg,
        #6C27FF 0%,
        #FF7E00 25%,
        #6C27FF 50%,
        #FF7E00 75%,
        #6C27FF 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(108, 39, 255, 0.3);
    position: relative;
    display: inline-block;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-features {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-light);
}

.hero-visual {
    position: relative;
    height: 550px;
    perspective: 1000px;
}

/* Surreal Scene Container */
.surreal-scene {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

/* Grid Background */
.grid-background {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(108, 39, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108, 39, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    border-radius: var(--border-radius);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* Glassmorphism Cards */
.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 8px 32px rgba(108, 39, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: cardSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.card-1 {
    width: 200px;
    height: 140px;
    top: 15%;
    left: 5%;
    animation-delay: 0.2s;
    background: linear-gradient(135deg, rgba(108, 39, 255, 0.1) 0%, rgba(255, 126, 0, 0.05) 100%);
}

.card-2 {
    width: 180px;
    height: 180px;
    top: 10%;
    right: 10%;
    animation-delay: 0.4s;
    background: linear-gradient(135deg, rgba(255, 126, 0, 0.1) 0%, rgba(108, 39, 255, 0.05) 100%);
}

.card-3 {
    width: 220px;
    height: 160px;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    animation-delay: 0.6s;
    background: linear-gradient(135deg, rgba(108, 39, 255, 0.08) 0%, rgba(255, 126, 0, 0.08) 100%);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(108, 39, 255, 0.3), transparent 70%);
    border-radius: 30px;
    opacity: 0;
    animation: glowPulse 3s ease-in-out infinite;
    z-index: -1;
}

.card-1 .card-glow {
    animation-delay: 0s;
}

.card-2 .card-glow {
    background: radial-gradient(circle at center, rgba(255, 126, 0, 0.3), transparent 70%);
    animation-delay: 1s;
}

.card-3 .card-glow {
    animation-delay: 2s;
}

/* Code Lines */
.code-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.code-lines span {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), transparent);
    border-radius: 2px;
    animation: codeLine 2s ease-in-out infinite;
}

.code-lines span:nth-child(1) {
    width: 80%;
}

.code-lines span:nth-child(2) {
    width: 60%;
    animation-delay: 0.3s;
}

.code-lines span:nth-child(3) {
    width: 90%;
    animation-delay: 0.6s;
}

/* Design Grid */
.design-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.design-grid div {
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 126, 0, 0.2), rgba(255, 126, 0, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(255, 126, 0, 0.3);
    animation: gridFloat 3s ease-in-out infinite;
}

.design-grid div:nth-child(1) { animation-delay: 0s; }
.design-grid div:nth-child(2) { animation-delay: 0.2s; }
.design-grid div:nth-child(3) { animation-delay: 0.4s; }
.design-grid div:nth-child(4) { animation-delay: 0.6s; }

/* Chart Bars */
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 80px;
    margin-top: 15px;
}

.chart-bars span {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-purple), var(--primary-orange));
    border-radius: 4px;
    animation: barGrow 2s ease-in-out infinite;
}

.chart-bars span:nth-child(1) { animation-delay: 0s; }
.chart-bars span:nth-child(2) { animation-delay: 0.2s; }
.chart-bars span:nth-child(3) { animation-delay: 0.4s; }
.chart-bars span:nth-child(4) { animation-delay: 0.6s; }

/* Floating Shapes */
.shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.shape-circle {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-purple), transparent);
    border-radius: 50%;
    top: 50%;
    left: 15%;
    animation-delay: 0s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid var(--primary-orange);
    opacity: 0.1;
    bottom: 30%;
    right: 20%;
    animation-delay: 2s;
}

.shape-square {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
    opacity: 0.1;
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation-delay: 4s;
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-purple);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 20%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 40%; top: 40%; animation-delay: 1s; background: var(--primary-orange); }
.particle:nth-child(3) { left: 60%; top: 60%; animation-delay: 2s; }
.particle:nth-child(4) { left: 80%; top: 30%; animation-delay: 3s; background: var(--primary-orange); }
.particle:nth-child(5) { left: 30%; top: 70%; animation-delay: 4s; }
.particle:nth-child(6) { left: 70%; top: 80%; animation-delay: 5s; background: var(--primary-orange); }

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes glowPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes codeLine {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.05);
    }
}

@keyframes gridFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes barGrow {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(1.1);
        opacity: 1;
    }
}

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

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px);
    }
}

/* ========================================
   SOCIAL PROOF SECTION
   ======================================== */

.social-proof {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #F1F3F5 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.social-proof-label {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 48px;
    line-height: 1.2;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
}

.client-logo {
    text-align: center;
    padding: 24px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-purple);
}

.client-logo-img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: var(--transition);
}

.client-logo:hover .client-logo-img {
    opacity: 1;
}

.placeholder-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.placeholder-logo .logo-icon {
    font-size: 32px;
    opacity: 0.4;
}

.placeholder-logo .logo-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
}

.client-logo:hover .placeholder-logo .logo-icon {
    opacity: 1;
}

.client-logo:hover .placeholder-logo .logo-name {
    color: var(--primary-purple);
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(108, 39, 255, 0.1) 0%, rgba(255, 126, 0, 0.1) 100%);
    color: var(--primary-purple);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   ABOUT SIDRAH SOFT SECTION
   ======================================== */

.about-sidrah {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F6FF 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-label {
    color: var(--primary-orange);
    margin-bottom: 16px;
}

.about-text .section-title {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text .section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    font-size: 24px;
    color: var(--primary-purple);
    margin-top: 4px;
}

.about-feature h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.about-feature p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.stat-card {
    background: linear-gradient(135deg, 
        rgba(108, 39, 255, 0.05) 0%, 
        rgba(255, 122, 89, 0.05) 100%);
    border: 1px solid rgba(108, 39, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(108, 39, 255, 0.15);
    border-color: rgba(108, 39, 255, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #6C27FF 0%, #FF7A59 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ========================================
   VISION SECTION
   ======================================== */

.vision-section {
    padding: 100px 0;
    background: #0e0817;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(108, 39, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 122, 89, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.vision-card {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, 
        rgba(20, 20, 30, 0.6) 0%, 
        rgba(30, 25, 40, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 20%, 
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.vision-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(108, 39, 255, 0.3), 
        rgba(255, 122, 89, 0.3), 
        rgba(108, 39, 255, 0.3));
    border-radius: var(--border-radius);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: borderRotate 4s linear infinite;
    background-size: 400% 400%;
}

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

.vision-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(108, 39, 255, 0.4);
    box-shadow: 
        0 15px 40px rgba(108, 39, 255, 0.3),
        0 0 30px rgba(108, 39, 255, 0.1);
}

.vision-card:hover::before {
    opacity: 1;
}

.vision-card:hover::after {
    opacity: 1;
}

.vision-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 24px;
    color: white;
}

.vision-icon.purple {
    background: linear-gradient(135deg, #6C27FF 0%, #8B5CF6 100%);
    box-shadow: 0 4px 20px rgba(108, 39, 255, 0.3);
}

.vision-icon.orange {
    background: linear-gradient(135deg, #FF7A59 0%, #FF8A7A 100%);
    box-shadow: 0 4px 20px rgba(255, 122, 89, 0.3);
}

.vision-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.vision-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.vision-section .section-label {
    color: var(--primary-orange);
}

.vision-section .section-title {
    color: white;
}

.vision-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   USE CASES SECTION
   ======================================== */

.use-cases {
    padding: 100px 0;
    background: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.use-case-card {
    padding: 40px;
    background: transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-8px);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    border: 1px solid #383838;
    background: transparent;
    transition: var(--transition);
    position: relative;
}

.card-icon.purple {
    border-color: #383838;
    color: var(--primary-purple);
}

.card-icon.orange {
    border-color: #383838;
    color: var(--primary-orange);
}

.use-case-card:hover .card-icon.purple {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.05);
}

.use-case-card:hover .card-icon.orange {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.05);
}

.use-case-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.use-case-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   AUTOMATION DEMO SECTION
   ======================================== */

.automation-demo {
    padding: 100px 0;
    background: var(--dark-purple);
    color: white;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.demo-window {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.window-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.window-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.demo-canvas {
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 300px;
}

.demo-step {
    opacity: 0;
    transform: scale(0);
    animation: stepAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.step-1 {
    animation-delay: 0.5s;
}

.step-2 {
    animation-delay: 1s;
}

.step-3 {
    animation-delay: 1.5s;
}

@keyframes stepAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.step-content {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-purple);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.step-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.demo-arrow {
    font-size: 32px;
    color: var(--primary-orange);
    opacity: 0;
    animation: arrowAppear 0.3s ease forwards;
}

.arrow-1 {
    animation-delay: 0.8s;
}

.arrow-2 {
    animation-delay: 1.3s;
}

@keyframes arrowAppear {
    to {
        opacity: 1;
    }
}

.demo-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.demo-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    padding: 12px 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   INTEGRATIONS SECTION
   ======================================== */

.integrations {
    padding: 100px 0;
    background: white;
}

.integrations-carousel {
    overflow: hidden;
    position: relative;
    width: 90vw;
    margin: 0 auto 48px auto;
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
}

.carousel-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
}

.carousel-row-top {
    background: white;
}

.carousel-row-bottom {
    background: white;
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 32px;
    will-change: transform;
}

.carousel-row-top .carousel-track {
    animation: scrollRight 30s linear infinite;
}

.carousel-row-bottom .carousel-track {
    animation: scrollLeft 30s linear infinite;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.integration-card {
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 80px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: rgba(0, 0, 0, 0.12);
}

.integration-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #374151;
}



/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    padding: 100px 0;
    background: #0e0817;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 126, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(108, 39, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.02) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.02) 75%, rgba(255, 255, 255, 0.02) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.02) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.02) 75%, rgba(255, 255, 255, 0.02) 26%, transparent 77%, transparent);
    background-size: 50px 50px;
    pointer-events: none;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.step-card {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(20, 20, 30, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.3);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 25%, 
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 20px;
    opacity: 0.8;
}

.step-icon-large {
    font-size: 64px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon-large i {
    background: linear-gradient(135deg, #FF7A59 0%, #6C27FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(108, 39, 255, 0.4));
    transition: all 0.3s ease;
}

.step-card:hover .step-icon-large i {
    filter: drop-shadow(0 0 30px rgba(108, 39, 255, 0.6));
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.95);
}

.step-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Text colors for dark background */
.how-it-works .section-label {
    color: rgba(255, 255, 255, 0.7);
}

/* Automation Services section label color */
.automation-demo .section-label {
    color: #ff7a59;
}

.how-it-works .section-title {
    color: rgba(255, 255, 255, 0.95);
}

.how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   TEMPLATES SECTION
   ======================================== */

.templates {
    padding: 100px 0;
    background: white;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.template-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.template-header {
    height: 180px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.purple-gradient {
    background: var(--gradient-purple);
}

.orange-gradient {
    background: var(--gradient-orange);
}

.template-visual {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.mini-node {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.mini-node:nth-child(2) {
    animation-delay: 0.5s;
}

.mini-node:nth-child(3) {
    animation-delay: 1s;
}

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

.template-content {
    padding: 32px;
}

.template-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.template-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.template-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   CONTACT SALES SECTION
   ======================================== */

.contact-sales {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.contact-feature {
    display: flex;
    gap: 16px;
    align-items: start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e50d31 0%, #ff4757 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-feature h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-feature p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e50d31;
    box-shadow: 0 0 0 3px rgba(229, 13, 49, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    margin-top: 8px;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    padding: 120px 0;
    background: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mixed);
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--dark-purple);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 40px;
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.footer-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-purple);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-orange);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 40px;
    }

    .cards-grid,
    .steps-container,
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integrations-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vision-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vision-card {
        padding: 32px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 24px 40px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        pointer-events: none;
        z-index: 999;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .language-switcher {
        margin-bottom: 24px;
    }
    
    .language-switcher .lang-btn {
        padding: 12px 20px;
        gap: 10px;
        border-radius: 25px;
        font-size: 15px;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        color: var(--text-dark);
        font-size: 18px;
        font-weight: 600;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active a {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a:hover {
        color: var(--primary-purple);
        background: rgba(108, 39, 255, 0.05);
        padding-left: 16px;
        border-radius: 8px;
    }

    .nav-links .btn-gradient {
        margin-top: 20px;
        padding: 16px 32px;
        width: 100%;
        text-align: center;
        font-size: 16px;
        border-radius: 25px;
        box-shadow: 0 6px 20px rgba(229, 13, 49, 0.4);
    }

    .nav-links .btn-gradient:hover {
        background-position: 100% center;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(229, 13, 49, 0.6);
        padding-left: 32px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-content,
    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cards-grid,
    .steps-container,
    .templates-grid,
    .integrations-grid,
    .logo-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-features,
    .cta-features {
        flex-direction: column;
        gap: 12px;
    }

    .demo-canvas {
        flex-direction: column;
        padding: 40px 20px;
    }

    .demo-arrow {
        transform: rotate(90deg);
    }
}

/* ========================================
   SCROLL ANIMATIONS - FADE UP
   ======================================== */

/* Initial state - hidden */
.fade-up {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(2px);
    transition: opacity 1.2s cubic-bezier(0.42, 0, 0.58, 1), 
                transform 1.2s cubic-bezier(0.42, 0, 0.58, 1),
                filter 1.2s cubic-bezier(0.42, 0, 0.58, 1);
    transition-delay: 0.3s;
    will-change: opacity, transform, filter;
}

/* Visible state */
.fade-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Delay variations for staggered animations */
.fade-up.delay-1 {
    transition-delay: 0.45s;
}

.fade-up.delay-2 {
    transition-delay: 0.6s;
}

.fade-up.delay-3 {
    transition-delay: 0.75s;
}

.fade-up.delay-4 {
    transition-delay: 0.9s;
}

/* Smoother animation for cards */
.fade-up-fast {
    opacity: 0;
    transform: translateY(35px) scale(0.95);
    filter: blur(1px);
    transition: opacity 1s cubic-bezier(0.42, 0, 0.58, 1), 
                transform 1s cubic-bezier(0.42, 0, 0.58, 1),
                filter 1s cubic-bezier(0.42, 0, 0.58, 1);
    transition-delay: 0.3s;
    will-change: opacity, transform, filter;
}

.fade-up-fast.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6C27FF 0%, #FF7A59 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(108, 39, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 30px rgba(108, 39, 255, 0.5);
    background: linear-gradient(135deg, #7A38FF 0%, #FF8A7A 100%);
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.back-to-top i {
    animation: bounce 2s infinite;
}

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

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   UTILITIES
   ======================================== */

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

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}
