/* Modern CSS for ShiftKeys.ai */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&family=JetBrains+Mono:wght@500;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #5A3E8D;
    --secondary-color: #ff9d2e;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --font-primary: 'IBM Plex Mono', monospace;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    background-color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

/* Main Sections & Containers */
section {
    padding: 6rem 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.section-container .section-subtitle {
    max-width: 600px;
    margin: 0 auto 60px auto;
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.5;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Navigation */
.navbar {
    min-height: 72px;
    padding: 0.3rem;
    background: rgb(0 0 0 / 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 0.22);
    border-bottom: 1.5px solid rgb(0 0 0 / 8%);
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000 !important;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 1.0);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 2px 32px 0 rgba(0, 0, 0, 0.35);
}

.navbar.scrolled .nav-brand,
.navbar.scrolled .nav-link {
    color: #fff;
}

/* Default navbar text colors for hero section */
.nav-brand,
.nav-link {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-toggle span {
    background: #fff;
}

.navbar.scrolled .nav-toggle span {
    background: #fff;
}

.nav-container {
    min-height:61.4px;
    padding: 0.4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 2.5rem;
    width: auto;
    display: block;
}

.nav-brand {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    padding-bottom: 0.125rem;
    text-shadow: 0 2px 12px #5a3e8d, 0 1px 0 #000;
}

.nav-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-transform: lowercase;
    font-weight: 400;
    opacity: 0.9;
    padding-bottom: 2px;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 3px;
    background: #ff9d2e;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 0.2s, transform 0.2s;
}

.nav-link:hover::after, .nav-link:focus::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
}

.nav-cta:hover {
    background: #4C347E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 62, 141, 0.3);
}

.nav-cta::after {
    display: none;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    margin: 3px 0;
    transition: var(--transition);
}


/* --- Mobile Warning Modal --- */
.mobile-warning-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 3000; /* Above everything else */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    font-family: var(--font-secondary);
}

.mobile-warning-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1.0); }
}

.mobile-warning-content h3 {
    font-family: var(--font-primary);
    margin-top: 0;
    font-size: 1.5rem;
}

.mobile-warning-content p {
    color: var(--gray-color);
    line-height: 1.6;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}




/* Main Content Visibility & Animation */
.main-content {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.main-content > section,
.main-content > footer {
    scroll-snap-align: center;
}

/* Animation Panel (Top Section) */
.animation-panel {
    background: #020103;
    background: radial-gradient(ellipse at bottom right, rgb(213 125 165 / 24%) 0%, transparent 40%), radial-gradient(ellipse at top left, #493077, #020103 70%);
    overflow: hidden;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: max(8vh, 90px) 0 4vh;
    gap: clamp(1.5rem, 3vh, 3rem);
    position: relative;
}

/* Hero Video Section - Performance Optimizations */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Content - Better Responsive Spacing */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 1200px;
    width: 100%;
    margin-top: 50vh;
    will-change: transform, opacity;
    opacity: 0;
    animation: heroContentFade 1.5s ease-out 0.5s forwards;
}

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

/* Hero Title */
.hero-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 0 8px #000;
}

/* Hero Subtitle */
.hero-subtitle {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 3rem;
    max-width: 700px;
    line-height: 1.5;
    text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 0 8px #000;
}

/* Hero CTA Buttons Container */
.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Download Buttons */
.hero-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 240px;
}

.hero-download-btn span {
    position: relative;
    z-index: 2;
}

.hero-download-btn i {
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

/* Windows Button */
.hero-download-btn.windows {
    background: rgba(0, 120, 212, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.3);
}

.hero-download-btn.windows:hover {
    background: rgba(0, 90, 158, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.4);
}

/* Mac Button */
.hero-download-btn.mac {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.hero-download-btn.mac:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}







/* Fade In Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    will-change: opacity, transform;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

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

/* Ensure workflow section appears after hero */
#workflow {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f99099 75%, #ff9d2e 100%);
}

/* Animation Panel (Top Section) - DEPRECATED */
.animation-panel {
    display: none; /* Hide old animation panel */
}

.horizontal-carousel-container {
    width: 200%;
    display: flex;
    animation: smoothCarousel 28s linear infinite;
}

.carousel-section {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    padding: 0 2vw;
    gap: 3vw;
}

.animation-panel .gif-tv {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    height: min(40vh, 360px);
    width: auto;
    aspect-ratio: 16/9;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.animation-panel .gif-tv:hover {
    transform: scale(1.02);
}

.animation-panel .gif-tv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.carousel-bottom-row {
    display: none;
}

.animation-cta-overlay {
    width: 100%;
    text-align: center;
}

.animation-cta-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.animation-cta-subtitle {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.animation-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #5A3E8D;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
}

.animation-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: #4e357a;
}

.animation-download-btn svg {
    width: 20px;
    height: 20px;
}

/* Workflow Section */
#workflow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

#workflow .section-title,
#workflow .infographic-subtitle {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.infographic-wrapper {
   background: none;
   backdrop-filter: none;
   -webkit-backdrop-filter: none;
   border: none;
   box-shadow: none;
   padding: 0;
   width: auto;
}

.infographic-header {
    margin-bottom: 4rem;
}

.infographic-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.infographic-subtitle {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.infographic-workflow-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Medium screens - 2x2 grid */
@media (max-width: 1200px) {
    .infographic-workflow-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium screens - 2x2 grid */
@media (max-width: 1450px) {
    .infographic-workflow-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile screens - single column */
@media (max-width: 768px) {
    .infographic-workflow-container {
        grid-template-columns: 1fr;
    }
}

/* Mobile screens - single column */
@media (max-width: 720px) {
    .infographic-workflow-container {
        grid-template-columns: 1fr;
    }
}

.infographic-workflow-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.infographic-workflow-step:hover {
    color: rgba(255,255,255,0.9);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.infographic-workflow-step > .infographic-context-note {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infographic-workflow-step .infographic-note-content {
    text-align: center;
}

.infographic-workflow-step .infographic-note-bullet {
    display: none;
}

.infographic-step-circle { display: none; }

.infographic-step-number {
    display: inline-block;
    background: rgba(0,0,0,0.2);
    color: #fff;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    font-size: 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
}

.infographic-step-icon {
    line-height: 1;
    height: 48px;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infographic-step-icon svg {
    width: 48px;
    height: 48px;
    stroke: #fff;
}

.infographic-workflow-step h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.infographic-workflow-step p {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.infographic-step-shortcut {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
}

.infographic-key {
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.05);
    color: #212529;
    box-shadow: 0 2px 1px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 6px 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    text-shadow: none;
    display: inline-block;
    line-height: 1.2;
    margin: 5px;
}

.infographic-key-plus {
    color: rgba(255,255,255,0.9);
}

.inline-key {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
}

.infographic-flow-connector { display: none; }
.infographic-divider { display: none; }

.infographic-context-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    width: 50%;
    margin: 5rem auto 0;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.infographic-context-section::before {
    content: '';
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.infographic-note-title {
    color: #fff;
    font-size: 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
}

.infographic-note-title h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.infographic-note-description {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Demo Section */
.demo {
    background: #020103;
    background: radial-gradient(ellipse at bottom right, #2c1d4a, #020103 70%);
    position: relative;
}

.demo .section-title {
    color: #fff;
    margin-left: 5px;
}

.demo-content {
    max-width: 900px;
    margin: 0 auto;
}

.demo-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
}

.demo-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-play-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.demo-play-btn svg {
    width: 30px;
    height: 30px;
    color: white;
    margin-left: 5px;
}

/* Features Section */
#features {
    color: #fff;
    position: relative;
    isolation: isolate;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f99099 75%, #ff9d2e 100%);
}

#features > .section-content-wrapper,
#testimonial > .section-content-wrapper {
    position: relative;
    z-index: 2;
}

#features .section-title {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
        
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    line-height: 1;
    height: 48px;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke: #fff;
}

#features .feature-card h3,
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

#features .feature-card p,
.feature-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* FAQ Section */
#faq {
    background: var(--light-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.faq-item {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--gray-color);
}

/* Pricing Section */
#pricing {
    padding-top: 2rem;
}

.pricing {
    background: #f0f0f5;
}

/* Pricing Toggle */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(90, 62, 141, 0.1);
}

.toggle-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    transition: color 0.3s ease;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--primary-color);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Pricing Footnote */
.pricing-footnote {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    text-align: center;
}

/* Pricing Badge */
.pricing-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1;
    white-space: nowrap;
}

.pricing-card {
    position: relative;
}

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

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

/* Responsive pricing grid */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

.pricing-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
}

.pricing-card.featured {
    border-color: #5A3E8D;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-features li {
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.pricing-card.featured .pricing-tier {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured .pricing-price {
    color: #fff;
}

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

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: radial-gradient(circle at 100% 0%, #8a5cf5, #5A3E8D 50%, #2c1d4a 110%);
    border-radius: inherit;
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    border-radius: inherit;
}

.pricing-tier {
    font-size: 1.35rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    padding-left: 25px;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.pricing-card.featured .pricing-features li::before {
    color: #fff;
}

.pricing-card .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #5A3E8D;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
    margin: auto 0 0 0;
    align-self: center;
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: #4e357a;
}

.pricing-card .btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.pricing-card .btn-outline:hover {
    background: var(--primary-color);
    color: #fff !important;
}

.pricing-card .disabled-btn {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #6c757d !important;
    cursor: not-allowed;
    pointer-events: none;
}

.pricing-card.featured .btn-primary {
    background: #fff;
    color: var(--primary-color) !important;
    text-shadow: none;
}

.pricing-card.featured .btn-primary:hover {
    background: #f0f0f5;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

/* CTA Section */
#cta {
    background: #020103;
    background: radial-gradient(ellipse at top left, #1a122c, #020103 70%);
    color: #fff;
    text-align: center;
    position: relative;
    padding: 8rem 0;
}

#cta::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
}

#cta .section-title {
    color: #fff;
    margin-bottom: 3rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-top: -2rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    transition: var(--transition);
    color: #fff;
    border: none;
    min-width: 240px;
}

.download-btn.windows {
    background: #0078D4; /* Windows blue */
}
.download-btn.windows:hover {
    background: #005a9e;
}

.download-btn.mac {
    background: #333; /* Dark grey for Mac */
}

.download-btn.mac:hover {
    background: #555;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.download-btn i {
    font-size: 1.25rem;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 1rem 0;
    border-top: 1px solid #333;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

/* === Card Component System === */
.card {
    border-radius: 16px;
    transition: all 0.3s ease-in-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

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

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-solid {
    background: #ffffff;
    border: 1px solid #0000001c;
    box-shadow: 4px 4px 15px 3px rgb(0 0 0 / 8%);
}

.card-solid:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
/* ============================ */

/* --- Responsive Styles --- */
@media (max-width: 900px) {
    .animation-panel {
        padding-top: 120px;
        gap: clamp(1rem, 4vh, 2rem);
    }
    .carousel-top-row {
        animation-duration: 15s !important;
    }
    .carousel-bottom-row {
        display: flex;
        animation: smoothCarouselReverse 15s linear infinite !important;
    }
    .animation-cta-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        margin-top: -1rem;
    }
    .animation-cta-subtitle {
        font-size: clamp(0.8rem, 3vw, 1.1rem);
        max-width: 95%;
        margin: 0 auto 1.5rem;
    }
    .animation-download-btn {
        margin-bottom: 2rem;
    }
    .animation-panel .gif-tv {
        height: min(28vh, 200px);
    }

    .nav-brand-wrapper .nav-tagline {
        display: none !important;
    }
    .infographic-wrapper {
        width: auto;
        margin: 0 20px;
        padding: 32px 24px;
    }

    .infographic-flow-connector {
        display: none;
    }
    .solution-content {
        flex-direction: column;
    }
    .solution-visual {
        display: none;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .infographic-context-section {
        width: 90%;
    }
    
    /* Navbar mobile menu styles - moved from 768px */
    .nav-container {
        justify-content: space-between;
    }
    .nav-toggle {
        display: flex;
        order: 3;
    }
    .nav-links {
        display: none;
        order: 4;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: rgba(20, 20, 20, 1.0);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        flex-direction: column;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links.active {
        display: flex !important;
    }
    .nav-links .nav-link {
        padding: 0.875rem 1.5rem;
        width: 100%;
        text-align: left;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #fff !important;
        font-weight: 400;
    }
    .nav-links .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #fff !important;
    }
    .nav-links .nav-link:last-child {
        border-bottom: none;
    }
    .nav-links .nav-cta {
        margin: 0.5rem 1.5rem;
        text-align: center;
        background: var(--primary-color);
        color: #fff !important;
    }
    .nav-brand-wrapper {
        order: 1;
    }
    
    /* Additional mobile nav styling - moved from 768px */
    .nav-links {
        background-color: rgba(20, 20, 20, 1.0) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    /* Ensure mobile menu links stay white */
    .navbar.scrolled .nav-links .nav-link {
        color: #fff !important;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .concept-hero-key {
        width: 168px;
        height: 60px;
        font-size: 18px;
    }
    #leftShift {
        padding-left: 0.5rem;
    }
    #rightShift {
        padding-right: 0.5rem;
    }
    .concept-hero-keys {
        gap: 20px;
    }
    .concept-hero-plus {
        font-size: 50px;
    }
    .infographic-context-notes {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 1100px) {
    .infographic-context-section {
        width: 90%;
    }
}



/* --- Shared Card Style --- */
.pricing-card,
.faq-item {
    background: #ffffff;
    border: 1px solid #0000001c;
    border-radius: 16px;
    box-shadow: 4px 4px 15px 3px rgb(0 0 0 / 8%);
    transition: all 0.3s ease-in-out;
}

.pricing-card:hover,
.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* --- Backgrounds and Texture --- */
#features::before,
#testimonial::before,
#workflow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

/* --- Responsive Styles --- */
@media (max-width: 900px) {
    /* Hero Video Mobile Adjustments */
    .hero-video-section {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta-buttons {
        display: none; /* Hide all download buttons on mobile */
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }

    .animation-panel {
        padding-top: 120px;
        gap: clamp(1rem, 4vh, 2rem);
    }
}

@media (max-width: 768px) {
    /* Hero Video Mobile Refinements */
    .hero-video-section {
        min-height: 500px;
    }
    
    .hero-content {
        margin-top: 30vh;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 4vw, 1.2rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-video-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.8) 100%
        );
    }
    

    


    html {
        font-size: 15px;
    }
}

.hero-content h1, .hero-content p {
    text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 0 8px #000;
}

/* Mobile-specific video adjustments */
@media (max-width: 600px) {
    .hero-video-background {
        background: #000 !important;
    }
    
    .hero-video-wrapper video {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
        transform: translateY(-20%) !important;
    }
    
    .hero-video-fallback {
        display: none !important;
    }
}

/* Fix video scaling - use contain to prevent cropping */
@media (max-width: 1200px) {
    .hero-video-wrapper video {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
    }
    
    /* Ensure black background for letterbox/pillarbox areas */
    .hero-video-wrapper {
        background: #000;
    }
}

/* Tablet (iPad) Breakpoint */
@media (max-width: 1024px) {
    .hero-content {
        margin-top: 40vh;
    }
}

/* Small Tablet Breakpoint */
@media (max-width: 768px) {
    .hero-content {
        margin-top: 60vh;
        padding: 0 1.5rem;
    }
}

/* Mobile Breakpoint - Enhanced */
@media (max-width: 600px) {
    .hero-content {
        margin-top: 65vh;
        margin-bottom: 0;
    }
    
    /* Ensure scroll indicator is visible */
    .hero-scroll-indicator {
        bottom: 20px !important;
        opacity: 0.8;
    }
    

    
    /* Ensure mobile menu has proper styling */
    .nav-links .nav-link {
        font-size: 0.9rem !important;
        padding: 0.75rem 1.5rem !important;
    }
}

/* Fix potential video overflow issues */
.hero-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none; /* Prevent video from blocking interactions */
}

/* Ensure smooth transitions */
.hero-video-wrapper video,
.hero-content,
.navbar {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Fix CTA button responsiveness */
@media (max-width: 480px) {
    .hero-cta-buttons {
        display: none !important; /* Hide all download buttons on small screens */
    }
}

/* Ensure overlay doesn't block interactions */
.hero-video-overlay {
    pointer-events: none !important;
}

/* Fix fade-in animations for performance */
.fade-in-up {
    will-change: opacity, transform;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
}

/* Ensure video background stays behind */
.hero-video-background {
    z-index: -1 !important;
    position: fixed !important;
}

/* Fixed Background Video Container */
.hero-video-background {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1 !important;
    overflow: hidden;
    background: #000;
}

/* Video Wrapper */
.hero-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure proper positioning for multiple videos */
.hero-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



/* Video Element */
.hero-video-wrapper video {
    object-fit: contain; /* Changed from cover to prevent cropping */
    object-position: center center;
    z-index: 1;
    display: block;
    filter: brightness(0.85) saturate(1.05) contrast(1.05);
    transition: opacity 0.5s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Video Fallback Gradient */
.hero-video-fallback {
    display: none;
    position: absolute;
    bottom: 0; left: 0;
    width: 100vw;
    height: 30vh;
    z-index: 0;
    background: linear-gradient(
        to top,
        rgba(40, 0, 60, 0.95) 0%,
        rgba(40, 0, 60, 0.7) 40%,
        rgba(0,0,0,0.85) 80%,
        rgba(0,0,0,0.0) 100%
    );
    filter: blur(18px);
}

/* Hero Video Overlay - Minimal Black style */
.hero-video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none !important;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
}

 