/**
 * =====================================
 *         FIRA DESIGN SYSTEM
 * =====================================
 *
 * Project: Fira - Project Management Platform
 * Type: Professional Landing Page
 *
 * DESIGN PHILOSOPHY
 * -----------------
 * Core Principle: Modern professionalism with user-first clarity
 * Design Style: Clean minimal with dynamic accents
 * Emotion Goal: Trust, efficiency, and innovation
 *
 * VISUAL LANGUAGE
 * ----------------
 * Primary Focus: Clear content hierarchy
 * Hierarchy: Size, weight, color, strategic spacing
 * Whitespace: Generous breathing room for focus
 *
 * COLOR SYSTEM
 * -------------
 * Primary: 210 40% 20% - Deep Navy Blue
 * Secondary: 195 65% 45% - Ocean Blue
 * Accent: 180 65% 45% - Teal
 *
 * TYPOGRAPHY
 * ----------
 * Display: Inter 700 - Strong headlines
 * Body: Inter 400 - Clear readable content
 * Scale: Systematic size progression
 *
 * INTERACTIONS
 * ------------
 * Feedback: Immediate, subtle
 * Transitions: 300ms ease
 * States: Complete coverage
 *
 * ACCESSIBILITY
 * -------------
 * Contrast: WCAG AA compliant
 * Focus: Clear indicators
 * Motion: Respects preferences
 * ====================================
 */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for sticky header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: hsl(210, 40%, 15%);
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Wide screen optimizations */
@media (min-width: 1400px) {
    .container {
        max-width: 90%;
        padding: 0 40px;
    }
}

@media (min-width: 1800px) {
    .container {
        max-width: 85%;
        padding: 0 60px;
    }
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Wide screen typography */
@media (min-width: 1400px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.4rem;
    }
}

@media (min-width: 1800px) {
    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 3.2rem;
    }

    .hero-description {
        font-size: 1.5rem;
    }
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: hsl(210, 20%, 45%);
}

/* Gradient Text */
.gradient-text {
    color: hsl(195, 65%, 40%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary-hero {
    font-size: 1.2rem;
    padding: 1.1rem 2.8rem;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFBA00 100%);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    border: none;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 8px 32px rgba(255, 107, 53, 0.7), 0 4px 16px rgba(0, 0, 0, 0.2);
    }
}

/* CTA Badge/Urgency Indicator */
.btn-with-badge {
    position: relative;
}

.btn-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #00D084;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 208, 132, 0.4);
    animation: badge-bounce 2s ease-in-out infinite;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes badge-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

/* Shine effect on primary CTA */
@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Browser Compatibility Modal Styles */
.compatibility-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.compatibility-modal {
    background: white;
    width: 100%;
    min-height: 100vh;
    box-shadow: none;
}

@keyframes slideUpScale {
    from {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.compatibility-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.compatibility-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.compatibility-close-btn {
    background: #f1f5f9;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #64748b;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s;
    font-weight: 300;
    line-height: 1;
}

.compatibility-close-btn:hover {
    background: #e2e8f0;
    color: #334155;
    transform: rotate(90deg);
}

.compatibility-modal-body {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.compatibility-browser-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 1.75rem;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.compatibility-browser-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #f1f5f9;
}

.compatibility-browser-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.compatibility-browser-icon svg {
    width: 32px;
    height: 32px;
}

.compatibility-browser-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.browser-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.browser-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.compatibility-status-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.compatibility-status-badge:hover {
    transform: scale(1.05);
}

.compatibility-badge-full {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.compatibility-badge-good {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.compatibility-badge-limited {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.compatibility-browser-description {
    color: #475569;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.compatibility-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compatibility-features-section {
    margin-top: 0.5rem;
}

.compatibility-recommendations-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 1.75rem;
    border: 2px solid #e2e8f0;
}

.compatibility-recommendations {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compatibility-recommendations li {
    padding: 0.75rem 0;
    color: #475569;
    line-height: 1.6;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    border-bottom: 1px solid #e2e8f0;
}

.compatibility-recommendations li:last-child {
    border-bottom: none;
}

.compatibility-recommendations li::before {
    content: '→';
    color: #3490dc;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -2px;
}

.compatibility-matrix-wrapper {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.compatibility-matrix {
    width: 100%;
    border-collapse: collapse;
}

.compatibility-matrix thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.compatibility-matrix th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compatibility-matrix th:nth-child(2),
.compatibility-matrix th:nth-child(3),
.compatibility-matrix th:nth-child(4) {
    text-align: center;
}

.compatibility-matrix tbody tr {
    transition: background 0.2s;
}

.compatibility-matrix tbody tr:hover {
    background: #f8fafc;
}

.compatibility-matrix td {
    padding: 0.75rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.compatibility-matrix tbody tr:last-child td {
    border-bottom: none;
}

.compatibility-matrix td:nth-child(2),
.compatibility-matrix td:nth-child(3),
.compatibility-matrix td:nth-child(4) {
    text-align: center;
}

.compatibility-matrix td:first-child {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.compatibility-feature-card {
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.compatibility-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.compatibility-feature-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.compatibility-feature-name {
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

.compatibility-modal-footer {
    padding: 1.25rem 2rem;
    background: #f8fafc;
    border-top: 2px solid #f1f5f9;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.compatibility-btn-primary {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, hsl(195, 65%, 45%), hsl(210, 70%, 50%));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(52, 144, 220, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.compatibility-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 144, 220, 0.4);
}


/* Responsive */
@media (max-width: 768px) {
    .compatibility-modal-body {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .compatibility-features-grid {
        grid-template-columns: 1fr;
    }

    .compatibility-browser-card,
    .compatibility-recommendations-section {
        padding: 1.5rem;
    }

    .browser-name {
        font-size: 1.25rem;
    }

    .compatibility-browser-icon {
        width: 56px;
        height: 56px;
    }

    .compatibility-status-badge {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 640px) {
    .compatibility-modal-header,
    .compatibility-modal-footer {
        padding: 1.25rem;
    }

    .compatibility-modal-body {
        padding: 1.25rem;
    }

    .compatibility-modal-title {
        font-size: 1.15rem;
        gap: 0.5rem;
    }

    .compatibility-modal-title .status-icon svg {
        width: 20px;
        height: 20px;
    }

    .compatibility-browser-card {
        padding: 1.25rem;
    }

    .compatibility-browser-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .compatibility-browser-icon {
        width: 48px;
        height: 48px;
    }

    .compatibility-browser-icon svg {
        width: 24px;
        height: 24px;
    }

    .browser-name {
        font-size: 1.15rem;
    }

    .compatibility-status-badge {
        width: 42px;
        height: 42px;
        margin-left: auto;
    }

    .compatibility-status-badge svg {
        width: 20px;
        height: 20px;
    }

    .compatibility-feature-card {
        padding: 0.85rem;
    }

    .compatibility-recommendations-section {
        padding: 1.25rem;
    }
}

.btn-primary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary-hero:hover::before {
    left: 100%;
}

.btn-primary-hero:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.6), 0 6px 16px rgba(0, 0, 0, 0.2);
    animation: none;
}

.btn-primary-hero svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary-hero:hover svg {
    transform: translate(4px, -4px) rotate(5deg);
}

.btn-primary-hero:active {
    transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.95);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Secondary button variant for light backgrounds */
.btn-secondary-light {
    background: white;
    color: #FF6B35;
    border: 2px solid #FF6B35;
    transition: all 0.3s ease;
}

.btn-secondary-light:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Trust Section */
.trust-section {
    background: linear-gradient(180deg, #ffffff 0%, hsl(210, 40%, 98%) 100%);
    padding: 60px 0;
    border-bottom: 1px solid hsl(210, 20%, 92%);
}

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

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid hsl(210, 20%, 90%);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: hsl(195, 55%, 75%);
}

.trust-badge svg {
    color: hsl(195, 65%, 45%);
    flex-shrink: 0;
}

.trust-badge div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-badge strong {
    color: hsl(210, 40%, 15%);
    font-size: 1rem;
    font-weight: 600;
}

.trust-badge span {
    color: hsl(210, 20%, 50%);
    font-size: 0.875rem;
}

/* Manual Gallery Section */
.manual-gallery {
    margin-top: 3rem;
}

.manual-gallery .video-container {
    margin-bottom: 1.5rem;
}

/* Gallery Controls under manual gallery */
.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-arrow {
    background: white;
    border: 2px solid #3490dc;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-arrow:hover {
    background: #3490dc;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(52, 144, 220, 0.4);
}

.gallery-arrow:hover svg path {
    stroke: white;
}

.gallery-arrow svg path {
    stroke: #3490dc;
    transition: stroke 0.3s ease;
}

.gallery-arrow:active {
    transform: scale(0.95);
}

.gallery-autoplay-toggle {
    background: white;
    border: 2px solid #3490dc;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    margin-left: 0.75rem;
}

.gallery-autoplay-toggle:hover {
    background: #3490dc;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(52, 144, 220, 0.4);
}

.gallery-autoplay-toggle:hover svg path,
.gallery-autoplay-toggle:hover svg rect {
    stroke: white;
    fill: white;
}

.gallery-autoplay-toggle.playing {
    background: #3490dc;
    border-color: #2779bd;
}

.gallery-autoplay-toggle.playing svg path,
.gallery-autoplay-toggle.playing svg rect {
    stroke: white;
    fill: white;
}

.gallery-autoplay-toggle:active {
    transform: scale(0.95);
}

.gallery-autoplay-toggle svg {
    transition: all 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(96, 165, 250, 0.5) rgba(0, 0, 0, 0.1);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.5);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.8);
}

.gallery-thumb {
    width: 70px;
    height: 50px;
    min-width: 70px;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    padding: 0;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover {
    border-color: #3490dc;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    border-color: #3490dc;
    box-shadow: 0 4px 12px rgba(52, 144, 220, 0.3);
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-controls {
        gap: 0.5rem;
    }

    .gallery-arrow,
    .gallery-autoplay-toggle {
        width: 36px;
        height: 36px;
    }

    .gallery-arrow svg,
    .gallery-autoplay-toggle svg {
        width: 16px;
        height: 16px;
    }

    .gallery-thumb {
        width: 60px;
        height: 42px;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .gallery-controls {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .gallery-thumbnails {
        order: -1;
        width: 100%;
        gap: 0.5rem;
    }

    .gallery-thumb {
        width: 50px;
        height: 36px;
        min-width: 50px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, hsl(210, 40%, 98%) 0%, hsl(195, 40%, 98%) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid hsl(210, 20%, 92%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(52, 144, 220, 0.15);
    border-color: hsl(195, 55%, 80%);
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    color: hsl(210, 20%, 30%);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    position: relative;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(195, 65%, 45%), hsl(210, 70%, 50%));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar svg {
    color: white;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(52, 144, 220, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-info strong {
    color: hsl(210, 40%, 15%);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    color: hsl(210, 20%, 50%);
    font-size: 0.875rem;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, hsl(210, 40%, 25%) 0%, hsl(195, 55%, 35%) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    margin-bottom: 1rem;
    display: inline-flex;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-icon svg {
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid hsl(210, 15%, 85%);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.95);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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


.nav-brand h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: hsl(210, 40%, 25%);
    margin: 0;
}

.nav-logo {
    height: 2.8rem;
    width: auto;
    display: block;
    margin: 0;
    filter: brightness(0) saturate(100%) invert(45%) sepia(65%) saturate(1800%) hue-rotate(160deg) brightness(95%) contrast(90%);
}

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

.nav-links a {
    text-decoration: none;
    color: hsl(210, 25%, 15%);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: hsl(195, 40%, 35%);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, hsl(195, 30%, 97%) 0%, hsl(210, 25%, 96%) 100%);
    overflow: hidden;
    position: relative;
}

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

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 600px;
}

/* Wide screen hero optimizations */
@media (min-width: 1400px) {
    .hero-wrapper {
        gap: 6rem;
        min-height: 700px;
    }
}

@media (min-width: 1800px) {
    .hero-wrapper {
        gap: 8rem;
        min-height: 800px;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-video {
    flex: 1;
    max-width: 750px;
    position: relative;
    overflow: visible;
}

/* Wide screen video optimizations */
@media (min-width: 1400px) {
    .hero-video {
        max-width: 900px;
    }
}

@media (min-width: 1800px) {
    .hero-video {
        max-width: 1100px;
    }
}

/* Video container for positioning loader */
.video-container {
    position: relative;
    width: fit-content;
    max-width: 100%;
    height: auto;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(52, 144, 220, 0.12),
        0 5px 15px rgba(52, 144, 220, 0.08);
    transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

.video-container:hover {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.18),
        0 15px 30px rgba(52, 144, 220, 0.15),
        0 8px 20px rgba(52, 144, 220, 0.1);
    transform: translateY(-2px);
}

/* Gallery Progress Bar */
.gallery-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.gallery-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3490dc 0%, #2779bd 100%);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(52, 144, 220, 0.5);
}

/* Gallery image */
#gallery-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: opacity 0.2s ease-in-out, transform 0.3s ease;
    display: block;
    object-fit: contain;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

#gallery-image:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Slideshow image (fallback) */
#slideshow-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, opacity 0.2s ease-in-out;
    transform-style: preserve-3d;
    display: block;
    object-fit: contain;
    aspect-ratio: 16 / 9;
}



.hero-title {
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 400;
    color: hsl(210, 20%, 50%);
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: hsl(210, 20%, 35%);
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    text-align: center;
    line-height: 1.7;
}

.hero-description strong {
    color: hsl(210, 40%, 25%);
    font-weight: 600;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.benefit-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, hsl(195, 60%, 96%), hsl(210, 60%, 98%));
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid hsl(195, 40%, 85%);
    color: hsl(210, 40%, 25%);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.benefit-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 144, 220, 0.15);
    border-color: hsl(195, 55%, 75%);
}

.benefit-badge svg {
    color: hsl(195, 65%, 45%);
    flex-shrink: 0;
}

.hero-social-proof {
    text-align: center;
    color: hsl(210, 15%, 50%);
    font-size: 0.95rem;
    margin-top: 1.5rem;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, hsl(195, 55%, 35%), hsl(180, 65%, 45%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: hsl(210, 15%, 55%);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    width: 100%;
    max-width: 500px;
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}


@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}



/* Navigation */








/* How to Run Section */
.how-to-run {
    padding: 80px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    font-size: 1.25rem;
    color: hsl(210, 15%, 50%);
}

/* GitHub Section */
.github-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 2px solid hsl(195, 30%, 85%);
    text-align: center;
}

.github-section h3 {
    color: hsl(210, 15%, 15%);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.github-link {
    margin-top: 1.5rem;
}

.btn-github {
    background: linear-gradient(135deg, hsl(210, 25%, 15%), hsl(210, 25%, 30%));
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-github:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-github span {
    margin-right: 0.5rem;
}

/* Instructions Section */
.instructions-section {
    margin-bottom: 3rem;
}

.instructions-section h3 {
    color: hsl(210, 15%, 15%);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    text-align: center;
}

/* Deployment Method Tabs */
.deployment-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid hsl(210, 20%, 92%);
    flex-wrap: wrap;
    justify-content: center;
}

.deployment-tab {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(210, 15%, 40%);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.deployment-tab:hover {
    color: hsl(195, 55%, 45%);
    background: hsl(195, 60%, 98%);
}

.deployment-tab.active {
    color: hsl(195, 55%, 45%);
    border-bottom-color: hsl(195, 55%, 45%);
    background: hsl(195, 60%, 98%);
}

.deployment-tab svg {
    width: 20px;
    height: 20px;
}

/* Tab Content for Deployment Instructions */
.deployment-content {
    display: none;
    animation: fadeInUp 0.4s ease-in-out;
}

.deployment-content.active {
    display: block;
}

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

/* Progressive Disclosure for Advanced Options */
.advanced-toggle {
    text-align: center;
    margin: 2rem 0;
}

.advanced-toggle-btn {
    background: none;
    border: 2px solid hsl(195, 55%, 45%);
    color: hsl(195, 55%, 45%);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.advanced-toggle-btn:hover {
    background: hsl(195, 55%, 45%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 144, 220, 0.3);
}

.advanced-toggle-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.advanced-toggle-btn.expanded svg {
    transform: rotate(180deg);
}

.advanced-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.advanced-content.expanded {
    max-height: 2000px;
    transition: max-height 0.6s ease-in;
}

.instruction-block {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid hsl(195, 25%, 90%);
    position: relative;
}

.instruction-block h4 {
    color: hsl(195, 55%, 45%);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.steps {
    margin-bottom: 1.5rem;
}

.step {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(135deg, hsl(195, 55%, 45%), hsl(180, 65%, 50%));
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    box-shadow: 0 1px 3px rgba(52, 144, 220, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-number::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid hsl(195, 55%, 45%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.step-content {
    flex: 1;
}

.step-content strong {
    color: hsl(210, 15%, 15%);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-content p {
    color: hsl(210, 15%, 40%);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Hint text styling - secondary information */
.step-content p em {
    font-style: italic;
    font-size: 0.85rem;
    color: hsl(210, 15%, 55%);
    font-weight: 400;
    opacity: 0.8;
}

/* Reduce margin for hint paragraphs */
.step-content p:has(em) {
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
}

.step-content ul {
    margin-left: 1rem;
    margin-top: 0.5rem;
    list-style-type: disc;
}

.step-content li {
    margin-bottom: 0.3rem;
    color: hsl(210, 15%, 35%);
}

.step-content .github-link {
    margin-top: 1rem;
}

.step-content .btn-github {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}


/* Requirements Section */
.requirements-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid hsl(280, 30%, 95%);
}

.requirements-section h3 {
    color: hsl(260, 15%, 15%);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

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

.requirement-item {
    background: linear-gradient(135deg, rgba(192, 38, 211, 0.05), rgba(255, 20, 147, 0.05));
    border: 1px solid hsl(280, 30%, 90%);
    border-radius: 12px;
    padding: 1rem;
    color: hsl(260, 15%, 35%);
    font-size: 0.95rem;
}

.requirement-item strong {
    color: hsl(280, 100%, 65%);
}

.option-card {
    background: white;
    border-radius: 16px;
    border: 2px solid hsl(222, 47%, 95%);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    will-change: transform;
    height: fit-content;
    min-height: 200px;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(217, 91%, 60%), hsl(158, 64%, 52%));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

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

.option-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    border-color: hsl(217, 91%, 80%);
}

.option-card.expanded {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 80px rgba(59, 130, 246, 0.2);
    border-color: hsl(217, 91%, 60%);
}

.option-card.expanded::before {
    transform: scaleX(1);
}

.option-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    gap: 1rem;
    position: relative;
}

.option-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(158, 64%, 52%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.option-header h3 {
    flex: 1;
    margin: 0;
    color: hsl(222, 47%, 11%);
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.option-card.expanded .option-header h3 {
    color: hsl(217, 91%, 60%);
}

.expand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(158, 64%, 52%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
}

.option-card:hover .expand-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.expand-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-top: -2px;
}

.option-card.expanded .expand-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, hsl(158, 64%, 52%), hsl(217, 91%, 60%));
}

.option-card.expanded .expand-icon::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.option-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.option-content.expanded {
    max-height: 800px;
    opacity: 1;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.option-details {
    padding: 1rem 2rem 2rem;
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.02) 0%,
        rgba(16, 185, 129, 0.02) 100%);
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.option-details h4 {
    margin: 1rem 0 1.5rem;
    color: hsl(217, 91%, 60%);
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.option-details h4::before {
    content: '▶';
    font-size: 0.8rem;
    color: hsl(158, 64%, 52%);
}

.option-details ol {
    margin-left: 1rem;
    margin-bottom: 2rem;
    counter-reset: step-counter;
    list-style: none;
}

.option-details ol li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: hsl(222, 47%, 25%);
    line-height: 1.6;
}

.option-details ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(158, 64%, 52%));
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.option-details li {
    margin-bottom: 0.5rem;
    color: hsl(222, 47%, 25%);
}

.option-details ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}


code {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.08) 0%,
        rgba(16, 185, 129, 0.08) 100%);
    color: hsl(217, 91%, 60%);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid hsl(217, 91%, 90%);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 2px 4px 2px 0;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
}

code:hover {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.12) 0%,
        rgba(16, 185, 129, 0.12) 100%);
    border-color: hsl(217, 91%, 70%);
    transform: translateY(-1px);
}

code:active {
    transform: translateY(0);
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.15) 0%,
        rgba(16, 185, 129, 0.15) 100%);
}

/* Copy notification */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, hsl(180, 65%, 45%), hsl(195, 65%, 50%));
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.copy-notification::before {
    content: '✓';
    margin-right: 8px;
    font-weight: bold;
}

/* Platforms Section */
.platforms {
    padding: 60px 0;
    background: hsl(195, 25%, 98%);
}

.platforms .section-header {
    margin-bottom: 2rem;
}

.platforms .section-header h2 {
    font-size: 2rem;
}

.platforms .section-header p {
    font-size: 1rem;
    color: hsl(210, 15%, 50%);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.platform-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid hsl(195, 25%, 90%);
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(52, 144, 220, 0.1);
    border-color: hsl(195, 45%, 75%);
}

.platform-card h3 {
    color: hsl(210, 15%, 15%);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.platform-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.platform-card li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    color: hsl(210, 15%, 35%);
    font-size: 0.9rem;
    line-height: 1.5;
}

.platform-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: hsl(195, 55%, 45%);
    font-weight: bold;
}

.platform-card li:last-child {
    margin-bottom: 0;
}

.platform-card strong {
    color: hsl(210, 15%, 15%);
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: hsl(195, 25%, 98%);
}

/* Use Case Tabs */
.use-case-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 2rem;
    flex-wrap: wrap;
}

.use-case-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid hsl(210, 20%, 85%);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: hsl(210, 20%, 40%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.use-case-tab svg {
    transition: transform 0.3s ease;
}

.use-case-tab:hover {
    border-color: hsl(195, 55%, 60%);
    color: hsl(195, 65%, 45%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 144, 220, 0.15);
}

.use-case-tab:hover svg {
    transform: scale(1.1);
}

.use-case-tab.active {
    background: linear-gradient(135deg, hsl(195, 65%, 45%), hsl(210, 70%, 50%));
    border-color: hsl(195, 65%, 45%);
    color: white;
    box-shadow: 0 4px 16px rgba(52, 144, 220, 0.3);
}

.use-case-tab.active svg {
    color: white;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

/* Enhanced Feature Grid */
.features-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card-enhanced {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid hsl(210, 20%, 92%);
    position: relative;
    overflow: hidden;
}

.feature-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(195, 65%, 45%), hsl(180, 65%, 50%));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(52, 144, 220, 0.2);
    border-color: hsl(195, 55%, 75%);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, hsl(195, 60%, 96%), hsl(210, 60%, 98%));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card-enhanced:hover .feature-icon {
    background: linear-gradient(135deg, hsl(195, 65%, 45%), hsl(210, 70%, 50%));
    transform: scale(1.05);
}

.feature-icon svg {
    color: hsl(195, 65%, 45%);
    transition: color 0.3s ease;
}

.feature-card-enhanced:hover .feature-icon svg {
    color: white;
}

.feature-card-enhanced h3 {
    color: hsl(210, 40%, 15%);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-benefit {
    color: hsl(195, 65%, 45%);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.feature-description {
    color: hsl(210, 20%, 40%);
    font-size: 1rem;
    line-height: 1.7;
}

/* Old feature styles (kept for compatibility) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid hsl(195, 25%, 90%);
    position: relative;
    overflow: hidden;
}

.feature-card h3 {
    color: hsl(210, 15%, 15%);
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 1.5rem;
    color: hsl(210, 15%, 40%);
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: hsl(210, 15%, 35%);
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: hsl(180, 65%, 45%);
    font-weight: bold;
}

.feature-card strong {
    color: hsl(210, 15%, 15%);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 2px solid hsl(195, 25%, 90%);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: hsl(195, 45%, 70%);
    box-shadow: 0 4px 20px rgba(52, 144, 220, 0.08);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: hsl(195, 30%, 97%);
}

.faq-question h3 {
    margin: 0;
    color: hsl(210, 15%, 15%);
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    color: hsl(195, 55%, 45%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: hsl(195, 30%, 95%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(52, 144, 220, 0.1);
}

.faq-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(195, 55%, 45%), hsl(180, 65%, 50%));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.faq-question:hover .faq-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(52, 144, 220, 0.2);
}

.faq-question:hover .faq-icon::before {
    opacity: 0.1;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg) scale(1.05);
    background: linear-gradient(135deg, hsl(195, 55%, 45%), hsl(180, 65%, 50%));
    color: white;
    box-shadow: 0 4px 15px rgba(52, 144, 220, 0.3);
}

.faq-item.active .faq-icon::before {
    opacity: 0;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon svg path {
    transition: stroke 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: hsl(195, 15%, 99%);
    opacity: 0;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    opacity: 1;
    padding: 0 2rem 1.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    margin: 0;
    color: hsl(210, 15%, 40%);
    line-height: 1.6;
    padding-top: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.faq-item.active .faq-answer p {
    transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, hsl(195, 65%, 45%), hsl(180, 65%, 45%));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Fullscreen Gallery Modal */
.gallery-fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-fullscreen-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-fullscreen-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    user-select: none;
    cursor: pointer;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-fullscreen-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    backdrop-filter: blur(10px);
}

.gallery-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.gallery-fullscreen-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    backdrop-filter: blur(10px);
}

.gallery-fullscreen-prev {
    left: 30px;
}

.gallery-fullscreen-next {
    right: 30px;
}

.gallery-fullscreen-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.gallery-fullscreen-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.gallery-fullscreen-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    z-index: 10002;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive for Fullscreen Gallery */
@media (max-width: 768px) {
    .gallery-fullscreen-close {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }

    .gallery-fullscreen-nav {
        width: 50px;
        height: 50px;
    }

    .gallery-fullscreen-prev {
        left: 15px;
    }

    .gallery-fullscreen-next {
        right: 15px;
    }

    .gallery-fullscreen-image {
        max-width: 95%;
        max-height: 85vh;
    }

    .gallery-fullscreen-counter {
        bottom: 20px;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .gallery-fullscreen-close {
        width: 44px;
        height: 44px;
        top: 10px;
        right: 10px;
    }

    .gallery-fullscreen-close svg {
        width: 24px;
        height: 24px;
    }

    .gallery-fullscreen-nav {
        width: 44px;
        height: 44px;
    }

    .gallery-fullscreen-nav svg {
        width: 28px;
        height: 28px;
    }

    .gallery-fullscreen-prev {
        left: 10px;
    }

    .gallery-fullscreen-next {
        right: 10px;
    }

    .gallery-fullscreen-counter {
        bottom: 15px;
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* Footer */
.footer {
    background: hsl(210, 25%, 15%);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-brand h3 {
    color: hsl(180, 65%, 55%);
    margin-bottom: 0.5rem;
}

.footer-logo {
    height: 2.4rem;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
    filter: brightness(0) saturate(100%) invert(73%) sepia(25%) saturate(1234%) hue-rotate(137deg) brightness(95%) contrast(90%);
}

.footer-brand p {
    color: hsl(210, 15%, 70%);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: hsl(210, 15%, 70%);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: hsl(180, 65%, 55%);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(210, 15%, 25%);
    color: hsl(180, 55%, 70%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        max-width: none;
    }

    .hero-video {
        max-width: 100%;
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .benefit-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .use-case-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .use-case-tab {
        justify-content: center;
        width: 100%;
    }

    .features-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .deployment-options {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .option-header {
        padding: 1.5rem;
    }

    .option-details {
        padding: 1rem 1.5rem 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 0.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
    }
}

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-primary-hero {
        font-size: 1rem;
        padding: 0.9rem 2rem;
        animation: pulse-glow 2.5s ease-in-out infinite;
    }

    .btn-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: -6px;
        right: -6px;
    }

    /* Reduce hover transforms on mobile for better touch UX */
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: translateY(-1px);
    }

    .btn-primary-hero:hover {
        transform: translateY(-2px) scale(1.02);
    }

    /* Ensure secondary buttons are readable on mobile */
    .btn-secondary {
        background: rgba(15, 23, 42, 0.98);
        font-weight: 600;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
    }

    .benefit-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.85rem;
    }

    .hero-social-proof {
        font-size: 0.85rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-content p {
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .use-case-tab {
        font-size: 0.9rem;
        padding: 0.85rem 1.5rem;
    }

    .feature-card-enhanced {
        padding: 2rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-card-enhanced h3 {
        font-size: 1.25rem;
    }

    .feature-benefit {
        font-size: 0.95rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }

    .dashboard-preview {
        max-width: 300px;
    }

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