/* ===================================
   PREMIUM ENHANCEMENTS FOR CENTAURI
   Adds glassmorphism, micro-interactions,
   and visual polish
   =================================== */

/* ===========================================
   1. HERO SECTION - DISABLED ORBITAL ANIMATIONS
   (Removed to prevent layout issues)
   =========================================== */

/* Hide orbital elements completely - they cause layout issues */
.hero-orbitals,
.hero-radial-glow {
    display: none !important;
}

/* ===========================================
   2. ENHANCED HEADLINE WITH GRADIENT GLOW
   =========================================== */

h1 {
    line-height: 1.1 !important;
    letter-spacing: -0.045em !important;
}

h1 .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.3));
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(102, 126, 234, 0.5)); }
}

h1 .gradient-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
    border-radius: 3px;
    opacity: 0;
    animation: slide-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
    box-shadow: 0 4px 20px rgba(74, 172, 254, 0.4);
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 0.8;
        transform: translateX(0);
    }
}

/* ===========================================
   3. PREMIUM GLASSMORPHISM BUTTONS
   =========================================== */

.cta-primary,
.nav-btn.primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.cta-primary::before,
.nav-btn.primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary:hover,
.nav-btn.primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(102, 126, 234, 0.45),
        0 0 60px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.cta-primary:hover::before,
.nav-btn.primary:hover::before {
    opacity: 1;
}

.cta-secondary,
.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 
        0 4px 24px rgba(102, 126, 234, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-secondary:hover,
.nav-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.cta-secondary:hover::before {
    opacity: 1;
}

/* ===========================================
   4. ENHANCED COUNTDOWN - SUBTLE & ELEGANT
   =========================================== */

.countdown {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 252, 0.98));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 20px !important;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    overflow: hidden;
}

/* Remove aggressive border glow animation */
.countdown::before {
    display: none;
}

.countdown-item {
    position: relative;
    z-index: 1;
}

.countdown-number {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Remove aggressive tick animation */
    transition: transform 0.2s ease;
}

/* Subtle separator dots instead of animated ones */
.countdown-item::after {
    content: ':';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-60%);
    font-size: 1.5rem;
    color: rgba(102, 126, 234, 0.4);
    font-weight: 700;
    /* No animation - static */
}

.countdown-item:last-child::after {
    display: none;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===========================================
   5. PREMIUM NAVBAR WITH FROSTED GLASS
   =========================================== */

header {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 
        0 4px 32px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.nav-links {
    gap: 2.5rem !important;
}

.logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo-icon,
.logo img:first-child {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-icon,
.logo:hover img:first-child {
    transform: rotate(-10deg) scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(102, 126, 234, 0.4));
}

/* ===========================================
   6. MICRO-ANIMATIONS
   =========================================== */

/* Icon hover animations */
.nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Promo badge gentle pulse */
.promo-badge {
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1), gentle-float 3s ease-in-out infinite 1s;
}

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

/* CTA button arrow animation */
.cta-btn span:last-child {
    display: inline-block;
    transition: transform 0.3s ease;
}

.cta-btn:hover span:last-child {
    transform: translateX(4px);
}

/* Play icon pulse */
.cta-secondary span:first-child {
    display: inline-block;
    animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ===========================================
   7. SECTION DIVIDERS & TRANSITIONS
   =========================================== */

/* Wavy divider after hero */
.hero::after {
    display: none; /* Remove old after element */
}

.hero {
    padding-bottom: clamp(8rem, 15vh, 12rem) !important;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(102, 126, 234, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 242, 254, 0.1), transparent);
}

.features-section {
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,60 Q300,0 600,60 T1200,60 L1200,120 L0,120 Z" fill="rgba(247,250,252,0.5)"/></svg>');
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

/* Gradient fade transitions between sections */
.features-section,
section {
    background: linear-gradient(
        180deg, 
        rgba(247, 250, 252, 0) 0%,
        rgba(247, 250, 252, 0.3) 20%,
        rgba(247, 250, 252, 0.5) 50%,
        rgba(247, 250, 252, 0.3) 80%,
        rgba(247, 250, 252, 0) 100%
    );
}

/* ===========================================
   8. LAYERED BACKGROUND PATTERNS
   =========================================== */

body::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 254, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(247, 250, 252, 0.5) 0%, transparent 100%);
}

/* Subtle grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Orbital shape elements */
.orbital-bg {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.05);
    pointer-events: none;
    z-index: 0;
}

.orbital-bg:nth-child(1) {
    top: 10%;
    left: 5%;
    animation: drift 40s ease-in-out infinite;
}

.orbital-bg:nth-child(2) {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    animation: drift 50s ease-in-out infinite reverse;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

/* ===========================================
   9. COOKIE BUTTON - SUBTLE STYLING
   =========================================== */

.nav-link[title="Cookie Preferences"] {
    font-size: 0.75rem !important;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.03);
}

.nav-link[title="Cookie Preferences"]:hover {
    opacity: 0.8;
    transform: translateY(-1px);
    background: rgba(102, 126, 234, 0.08);
}

/* If there's a floating cookie button, make it subtle */
#cookie-button,
.cookie-float-btn {
    opacity: 0.4 !important;
    transform: scale(0.85) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

#cookie-button:hover,
.cookie-float-btn:hover {
    opacity: 0.7 !important;
    transform: scale(0.9) !important;
}

/* ===========================================
   10. FEATURE CARDS ENHANCEMENT
   =========================================== */

.feature-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25) !important;
}

.feature-card:hover::before {
    opacity: 0.03;
}

.feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===========================================
   11. RESPONSIVE ADJUSTMENTS
   =========================================== */

@media (max-width: 768px) {
    .hero::before,
    .hero::after {
        width: 400px !important;
        height: 400px !important;
    }

    .hero-orbitals {
        width: 400px;
        height: 400px;
    }

    .orbital-dot {
        width: 6px;
        height: 6px;
    }

    h1 .gradient-text::after {
        height: 3px;
        bottom: -8px;
    }

    .countdown {
        border-radius: 16px !important;
    }

    .nav-links {
        gap: 1rem !important;
    }
}

/* ===========================================
   12. PERFORMANCE OPTIMIZATIONS
   =========================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Hardware acceleration for smooth animations */
.hero::before,
.hero::after,
.orbital-dot,
.cta-btn,
.nav-btn,
.countdown,
.feature-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===========================================
   13. SOCIAL PROOF SECTION
   =========================================== */

.social-proof-section {
    padding: clamp(3rem, 6vh, 5rem) 0;
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.3) 0%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 6vw, 4rem);
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.stat-item:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.2s;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.3) 50%, transparent 100%);
}

.testimonials-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    position: relative;
    overflow: hidden;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.15s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.testimonial-card:hover::before {
    opacity: 0.03;
}

.testimonial-stars {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--text-medium);
    position: relative;
    z-index: 1;
}

.testimonial-author strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ===========================================
   14. PRODUCT PREVIEW SECTION
   =========================================== */

.product-preview-section {
    padding: clamp(5rem, 10vh, 8rem) 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 250, 252, 0.5) 100%);
    position: relative;
}

.product-mockup {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

.mockup-frame {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: 24px;
    box-shadow: 
        0 24px 80px rgba(102, 126, 234, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-frame:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 32px 100px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

.mockup-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
}

.mockup-dots span:nth-child(1) {
    background: linear-gradient(135deg, #f5576c, #f093fb);
}

.mockup-dots span:nth-child(2) {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.mockup-dots span:nth-child(3) {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.mockup-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.02em;
}

.mockup-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 400px;
}

.mockup-sidebar {
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
    border-right: 2px solid rgba(102, 126, 234, 0.08);
    padding: 1.5rem 0;
}

.mockup-menu-item {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: default;
    transition: all 0.3s ease;
    position: relative;
}

.mockup-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mockup-menu-item.active {
    background: rgba(102, 126, 234, 0.08);
    color: var(--primary-blue);
}

.mockup-menu-item.active::before {
    opacity: 1;
}

.mockup-main {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mockup-widget {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
}

.mockup-widget:hover {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
}

.widget-header {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.widget-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.task-preview {
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-medium);
    position: relative;
    padding-left: 2rem;
}

.task-preview::before {
    content: '✓';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-weight: 700;
}

.progress-bar-preview {
    width: 100%;
    height: 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.4);
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
}

.mockup-glow {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Responsive adjustments for mockup */
@media (max-width: 768px) {
    .mockup-content {
        grid-template-columns: 1fr;
    }

    .mockup-sidebar {
        border-right: none;
        border-bottom: 2px solid rgba(102, 126, 234, 0.08);
    }

    .mockup-menu-item {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .mockup-main {
        padding: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .testimonials-preview {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   15. URGENCY TEXT FOR COUNTDOWN - SUBTLE
   =========================================== */

.countdown-urgency {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 0.05em;
    /* No animation - static and professional */
}

.countdown-urgency::before {
    content: '✨';
    margin-right: 0.5rem;
    /* No animation */
}

