/* Global Styles */
:root {
    --primary-dark: #1a1a2e;
    --primary-navy: #0f3460;
    --accent-teal: #16213e;
    --accent-cyan: #00bcd4;
    --accent-lime: #00ff88;
    --text-silver: #e0e0e0;
    --text-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #00bcd4 0%, #00ff88 100%);
    --gradient-secondary: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
}

* {
    box-sizing: border-box;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 90px; /* Mobile: space for fixed navbar */
}

@media (min-width: 641px) {
    body {
        padding-top: 100px; /* Desktop: navbar is larger */
    }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.8); }
}

@keyframes slide-in {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Floating shapes animation - toned down for enterprise feel */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .floating-shape {
        animation: none;
        opacity: 0.12;
    }
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-cyan);
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-lime);
    top: 60%;
    right: -150px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-cyan);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Neon Button Styles */
.neon-button {
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: -1;
}

.neon-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.25);
}

.neon-button:hover::before {
    transform: translateX(100%);
}

.neon-button:focus-visible {
    outline: 2px solid var(--accent-lime);
    outline-offset: 3px;
}

.neon-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Secondary Button */
.secondary-button {
    background: transparent;
    color: var(--accent-lime);
    padding: 1rem 2rem;
    border: 2px solid var(--accent-lime);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.secondary-button:hover {
    background: var(--accent-lime);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.25);
}

.secondary-button:focus-visible {
    outline: 2px solid var(--accent-lime);
    outline-offset: 3px;
}

.secondary-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Problem Cards */
.problem-card {
    background: var(--gradient-secondary);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.problem-card:hover {
    border-color: rgba(0, 255, 136, 0.6);
    transform: translateY(-5px);
}

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

.problem-card-icon {
    background: rgba(0, 188, 212, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Solution Cards */
.solution-card {
    background: rgba(15, 52, 96, 0.5);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.solution-card:hover::after {
    opacity: 0.1;
}

.solution-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-lime);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.solution-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Industry Cards */
.industry-card {
    position: relative;
    background: var(--gradient-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.industry-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.industry-card:hover .industry-card-image {
    transform: scale(1.1);
}

.industry-card-content {
    padding: 2rem;
}

/* ROI Cards */
.roi-card {
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.roi-card-icon {
    background: rgba(0, 255, 136, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 2s ease;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--gradient-secondary);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.3;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(15, 52, 96, 0.7);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent-lime);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.15);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-lime);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    z-index: 10;
}

.founders-badge {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a2e;
    animation: pulse-glow 2s infinite;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-features ul {
    width: 100%;
}

.pricing-button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.25);
}

.pricing-button:focus-visible {
    outline: 2px solid var(--accent-lime);
    outline-offset: 3px;
}

/* Desktop enhancements (mobile-first: base is already set in mobile-first.css) */
@media (min-width: 769px) {
    .neon-button,
    .secondary-button {
        width: auto;
        max-width: none;
    }
}

/* Demo Video Section */
#demo-video {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

#demo-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.7);
}

#demo-video::-webkit-media-controls-play-button {
    background-color: var(--accent-cyan);
    border-radius: 50%;
}

/* Pricing Calculator */
.pricing-calculator {
    animation: fadeInUp 0.6s ease-out;
}

.calculator-input {
    width: 120px;
    min-height: 48px;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 188, 212, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.calculator-input:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

@media (min-width: 768px) {
    .calculator-input {
        font-size: 2rem;
    }
}

.calculator-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00bcd4, #00ff88);
    border: none;
    border-radius: 50%;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calculator-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.calculator-slider {
    width: 100%;
    height: 8px;
    background: rgba(0, 188, 212, 0.2);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #00bcd4, #00ff88);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #00bcd4, #00ff88);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-lime);
}

/* Neon Button Outline */
.neon-button-outline {
    background: transparent;
    color: var(--accent-lime);
    padding: 1rem 2rem;
    border: 2px solid var(--accent-lime);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.neon-button-outline:hover {
    background: var(--accent-lime);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.25);
    transform: translateY(-2px);
}

.neon-button-outline:focus-visible {
    outline: 2px solid var(--accent-lime);
    outline-offset: 3px;
}

/* How It Works Section */
.how-it-works-step {
    background: var(--gradient-secondary);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.how-it-works-step:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.15);
}

.how-it-works-step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    border: 3px solid var(--primary-dark);
}

.how-it-works-step-icon {
    margin: 1rem auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Snapshot Cards - load more: initially hidden, revealed by JS (specificity over .snapshot-card) */
.snapshot-card.snapshot-card--load-more {
    display: none;
}
.snapshot-card.snapshot-card--load-more.is-visible {
    display: flex;
}

.snapshot-card {
    background: rgba(15, 52, 96, 0.7);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.snapshot-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-lime);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.15);
}

.snapshot-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.snapshot-card-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.snapshot-card-footer {
    margin-top: auto;
}

.snapshot-cta-button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.snapshot-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.25);
}

/* Trust Badges */
.trust-badge {
    background: var(--gradient-secondary);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.15);
}

/* Testimonial Cards (Updated) */
.testimonial-card {
    background: var(--gradient-secondary);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.15);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    margin-top: auto;
}