/* =============================================
   ProWatchly Version Pages Styles
   On-Premises & Web Version Pages
   ============================================= */

/* =============================================
   Version Hero Sections
   ============================================= */
.version-hero {
    min-height: 100vh;
    padding: 120px 2rem 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.on-premises-hero {
    background: linear-gradient(180deg, #0d2825 0%, #105658 50%, #1a936f 100%);
    color: white;
}

.web-hero {
    background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* On-Premises Grid Pattern */
.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(26,147,111,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,147,111,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.security-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    border: 1px solid rgba(74, 222, 128, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 400px;
    height: 400px;
    animation: ringPulse 4s ease-out infinite;
}

.ring-2 {
    width: 600px;
    height: 600px;
    animation: ringPulse 4s ease-out infinite 1s;
}

.ring-3 {
    width: 800px;
    height: 800px;
    animation: ringPulse 4s ease-out infinite 2s;
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* Web Cloud Pattern */
.cloud-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.connection-dots .dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #60a5fa;
    border-radius: 50%;
    animation: dotFloat 6s ease-in-out infinite;
}

.dot-1 { top: 20%; left: 15%; animation-delay: 0s; }
.dot-2 { top: 40%; left: 80%; animation-delay: 1s; }
.dot-3 { top: 60%; left: 25%; animation-delay: 2s; }
.dot-4 { top: 30%; left: 60%; animation-delay: 3s; }
.dot-5 { top: 70%; left: 70%; animation-delay: 4s; }

@keyframes dotFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 1; }
}

.version-hero .hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 5;
    margin-bottom: 2rem;
}

/* Ensure all hero elements are above background */
.hero-content * {
    position: relative;
}

.version-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    background: rgba(26, 147, 111, 0.3);
    border: 1px solid rgba(74, 222, 128, 0.5);
}

.web-label {
    background: rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(96, 165, 250, 0.5);
}

.version-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #4ade80;
}

.highlight-blue {
    color: #60a5fa;
}

.version-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.version-hero .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

/* Buttons */
.btn-blue {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    /* Mobile touch improvements */
    min-height: 48px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10;
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-blue:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Mobile CTA buttons */
@media (max-width: 768px) {
    .version-hero .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .version-hero .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        min-height: 52px;
    }
}

/* Infrastructure Graphics */
.infra-graphic {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.infra-svg {
    width: 100%;
    height: auto;
}

/* SVG Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes blinkDelay {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes dataLine {
    0% { stroke-dashoffset: 10; }
    100% { stroke-dashoffset: 0; }
}

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

.blink {
    animation: blink 1.5s ease-in-out infinite;
}

.blink-delay {
    animation: blinkDelay 1.5s ease-in-out infinite;
}

.data-line {
    animation: dataLine 1s linear infinite;
}

.data-line-delay {
    animation: dataLine 1s linear infinite;
    animation-delay: 0.5s;
}

.cloud-float {
    animation: cloudFloat 3s ease-in-out infinite;
}

/* =============================================
   Benefits Section
   ============================================= */
.benefits-section {
    padding: var(--section-padding);
    background: #f8fffe;
}

.web-benefits {
    background: #f0f9ff;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

.web-benefits h2 {
    color: #1e40af;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 147, 111, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.web-card {
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.blue-icon svg {
    stroke: #3b82f6;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.web-card h3 {
    color: #1e40af;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.7;
}

/* =============================================
   Architecture Section
   ============================================= */
.architecture-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #ffffff 0%, #f0f9f6 100%);
}

.architecture-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.architecture-diagram {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.arch-layer {
    width: 100%;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 147, 111, 0.1);
}

.arch-layer h4 {
    text-align: center;
    color: var(--primary-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arch-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.arch-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f8fffe;
    border-radius: 12px;
    border: 1px solid rgba(26, 147, 111, 0.15);
    font-weight: 500;
    color: var(--primary-dark);
}

.arch-item.featured {
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    color: white;
    border: none;
}

.arch-icon {
    font-size: 1.5rem;
}

.arch-connector {
    display: flex;
    justify-content: center;
}

/* =============================================
   Requirements Section
   ============================================= */
.requirements-section {
    padding: var(--section-padding);
    background: white;
}

.requirements-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

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

.requirement-card {
    background: #f8fffe;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 2px solid rgba(26, 147, 111, 0.1);
    transition: all 0.3s ease;
}

.requirement-card.featured {
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    color: white;
    transform: scale(1.05);
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(26, 147, 111, 0.15);
}

.requirement-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.req-tier-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.req-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #4ade80, #1a936f);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.req-price {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 147, 111, 0.2);
    text-align: center;
}

.req-price-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.req-price-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-main);
}

.requirement-card.featured .req-price {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.requirement-card.featured .req-price-label {
    color: rgba(255, 255, 255, 0.8);
}

.requirement-card.featured .req-price-value {
    color: white;
}

.requirements-note {
    max-width: 700px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(26, 147, 111, 0.08);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-main);
}

.requirements-note .note-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.requirements-note p {
    margin: 0;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.requirements-note a {
    color: var(--primary-main);
    font-weight: 600;
    text-decoration: none;
}

.requirements-note a:hover {
    text-decoration: underline;
}

/* Hardware Cost Badge */
.req-hw-cost {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(26, 147, 111, 0.2);
    text-align: center;
}

.req-hw-cost span {
    font-size: 0.9rem;
    color: var(--gray-600);
    background: rgba(26, 147, 111, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.requirement-card.featured .req-hw-cost {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.requirement-card.featured .req-hw-cost span {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

/* Software Pricing Info Box */
.software-pricing-info {
    max-width: 600px;
    margin: 3rem auto 2rem;
    background: linear-gradient(135deg, rgba(26, 147, 111, 0.1), rgba(136, 217, 193, 0.1));
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(26, 147, 111, 0.2);
    text-align: center;
}

.spi-content h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.spi-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.spi-content strong {
    color: var(--primary-main);
    font-size: 1.1rem;
}

.spi-link {
    color: var(--primary-main);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.spi-link:hover {
    text-decoration: underline;
}

/* Hardware Terms */
.hw-terms {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 1rem;
    font-style: italic;
}

.requirement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.requirement-card.featured h3 {
    color: white;
}

.req-cameras {
    font-size: 1rem;
    color: var(--primary-main);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(26, 147, 111, 0.2);
}

.requirement-card.featured .req-cameras {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.requirement-card ul {
    list-style: none;
}

.requirement-card li {
    padding: 0.5rem 0;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.requirement-card li::before {
    content: "✓";
    color: var(--primary-main);
    font-weight: bold;
}

.requirement-card.featured li::before {
    color: #4ade80;
}

/* =============================================
   How It Works Section - Detailed Steps
   ============================================= */
.how-it-works-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #1e40af;
}

.how-it-works-section .section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Individual Step Container */
.how-it-works-step {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.how-it-works-step:hover {
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.how-it-works-step.reverse {
    direction: rtl;
    grid-template-columns: 0.9fr 1.1fr;
}

.how-it-works-step.reverse > * {
    direction: ltr;
}

/* Step Visual (SVG Diagram) */
.step-visual {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-radius: 16px;
    padding: 1.25rem;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
}

.step-diagram {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Mobile scroll indicator */
.step-visual::after {
    content: '';
    display: none;
}

@media (max-width: 768px) {
    .step-visual::after {
        content: '← Scroll →';
        display: block;
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(59, 130, 246, 0.9);
        color: white;
        font-size: 0.65rem;
        font-weight: 600;
        padding: 0.25rem 0.75rem;
        border-radius: 12px;
        opacity: 0.8;
        pointer-events: none;
        animation: fadeInOut 3s ease-in-out infinite;
    }
    
    @keyframes fadeInOut {
        0%, 100% { opacity: 0; }
        20%, 80% { opacity: 0.8; }
    }
    
    .step-visual:hover::after,
    .step-visual:active::after {
        opacity: 0;
    }
}

/* Step Content */
.step-content {
    padding: 1.5rem 0;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.step-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.step-content h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.step-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Step Checklist */
.step-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0.5rem;
}

.step-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.step-checklist li:hover {
    background: white;
}

.step-checklist .check-icon {
    color: white;
    background: #22c55e;
    font-weight: bold;
    font-size: 0.7rem;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.step-checklist code {
    background: #e0e7ff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.75rem;
    color: #4338ca;
    word-break: break-all;
    display: inline-block;
    margin-top: 0.25rem;
}

/* Step Note */
.step-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fcd34d;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #92400e;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
}

.step-note .note-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* Step Features Tags */
.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.2s ease;
}

.feature-tag:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
}

/* Step CTA */
.step-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.step-cta .btn {
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-note {
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
}

/* Step Arrow Connector */
.step-arrow {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    opacity: 0.6;
}

.step-arrow svg {
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.2));
}

/* SVG Animations */
.data-packet {
    opacity: 0.8;
}

.blink {
    animation: blink 1.5s infinite;
}

.blink-delay {
    animation: blink 1.5s infinite 0.5s;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.bbox-pulse {
    animation: bboxPulse 1s infinite;
}

@keyframes bboxPulse {
    0%, 100% { stroke-opacity: 1; }
    50% { stroke-opacity: 0.5; }
}

.alert-pulse {
    animation: alertPulse 1.5s infinite;
}

@keyframes alertPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.notification-slide {
    animation: slideIn 0.3s ease-out;
}

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

/* Responsive Design for How It Works */
@media (max-width: 1000px) {
    .how-it-works-step {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .how-it-works-step.reverse {
        direction: ltr;
        grid-template-columns: 1fr;
    }
    
    .step-visual {
        order: -1;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }
    
    .step-diagram {
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .step-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 3rem 0.75rem;
    }
    
    .how-it-works-section h2 {
        font-size: 1.75rem;
        padding: 0 0.5rem;
    }
    
    .how-it-works-section .section-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    
    .how-it-works-step {
        padding: 1.25rem;
        margin: 0 0 1rem;
        border-radius: 16px;
        gap: 1.5rem;
    }
    
    .step-visual {
        padding: 0.5rem;
        border-radius: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .step-diagram {
        min-width: 400px;
        height: auto;
    }
    
    .step-content {
        padding: 0.5rem 0;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .step-badge {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .step-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .step-checklist {
        padding: 0.25rem;
        border-radius: 10px;
    }
    
    .step-checklist li {
        padding: 0.6rem 0.6rem;
        font-size: 0.85rem;
        line-height: 1.4;
        gap: 0.6rem;
    }
    
    .step-checklist .check-icon {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        margin-top: 2px;
    }
    
    .step-checklist code {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
        display: block;
        margin-top: 0.3rem;
        max-width: 100%;
        overflow-x: auto;
    }
    
    .step-note {
        padding: 0.75rem 0.85rem;
        font-size: 0.8rem;
        border-radius: 10px;
        gap: 0.5rem;
    }
    
    .step-note .note-icon {
        font-size: 1rem;
    }
    
    .step-features {
        gap: 0.4rem;
    }
    
    .feature-tag {
        padding: 0.35rem 0.65rem;
        font-size: 0.7rem;
        border-radius: 15px;
    }
    
    .step-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        text-align: center;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }
    
    .step-cta .btn {
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .cta-note {
        font-size: 0.8rem;
    }
    
    .step-arrow {
        margin: 0.5rem 0;
    }
    
    .step-arrow svg {
        width: 28px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 2.5rem 0.5rem;
    }
    
    .how-it-works-section h2 {
        font-size: 1.5rem;
    }
    
    .how-it-works-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .how-it-works-step {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .step-visual {
        padding: 0.35rem;
        border-radius: 8px;
    }
    
    .step-diagram {
        min-width: 350px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.85rem;
    }
    
    .step-checklist li {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

/* Legacy step-card styles (keep for compatibility) */
.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    background: #f0f9ff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1e40af;
}

.step-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-connector {
    display: flex;
    align-items: center;
}

/* =============================================
   Security Note Section
   ============================================= */
.security-note-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.security-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #f59e0b;
}

.security-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.security-text h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.security-text p {
    color: #78350f;
    line-height: 1.7;
    margin: 0;
}

.security-text a {
    color: #d97706;
    font-weight: 600;
    text-decoration: none;
}

.security-text a:hover {
    text-decoration: underline;
}

/* =============================================
   Comparison Section
   ============================================= */
.comparison-section {
    padding: var(--section-padding);
    background: #f8fafc;
}

.comparison-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    font-weight: 600;
}

.comparison-header > div {
    padding: 1.25rem;
    text-align: center;
}

.comparison-header .comp-feature {
    text-align: left;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row > div {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
}

.comp-feature {
    color: #334155;
    font-weight: 500;
}

.comp-web, .comp-onprem {
    text-align: center;
    justify-content: center;
    color: #64748b;
}

.comp-web.highlight {
    color: #3b82f6;
    font-weight: 600;
}

.comp-onprem.highlight {
    color: #1a936f;
    font-weight: 600;
}

/* Pricing CTA Box */
.pricing-cta-box {
    max-width: 500px;
    margin: 2rem auto 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(96, 165, 250, 0.1));
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pricing-cta-box p {
    margin: 0 0 1rem 0;
    color: #1e40af;
    font-size: 1rem;
}

.pricing-cta-box strong {
    font-size: 1.2rem;
    color: #3b82f6;
}

.pricing-terms {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

/* =============================================
   CTA Sections
   ============================================= */
.cta-section {
    padding: var(--section-padding);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-main));
}

.web-cta {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta-section .btn-primary {
    background: white;
    color: var(--primary-dark);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-dark);
}

.web-cta .btn-blue {
    background: white;
    color: #1e40af;
}

.web-cta .btn-blue:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 900px) {
    .version-hero h1 {
        font-size: 2.25rem;
    }
    
    .version-hero p {
        font-size: 1.05rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.75rem;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .requirement-card.featured {
        transform: none;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-connector {
        transform: rotate(90deg);
    }
    
    .step-card {
        max-width: 100%;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .security-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-section .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 600px) {
    .version-hero {
        padding: 100px 1rem 40px;
    }
    
    .version-hero h1 {
        font-size: 1.75rem;
        line-height: 1.25;
    }
    
    .version-hero p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .version-label {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    /* Benefits */
    .benefits-section {
        padding: 50px 1rem;
    }
    
    .benefits-section h2 {
        font-size: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.15rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
    }
    
    /* Infra graphic */
    .infra-graphic {
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }
    
    /* Comparison */
    .comparison-section {
        padding: 50px 0.75rem;
    }
    
    .comparison-section h2 {
        font-size: 1.5rem;
    }
    
    .arch-items {
        flex-direction: column;
        align-items: center;
    }
    
    .arch-item {
        width: 100%;
        justify-content: center;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
    
    .comparison-row > div {
        padding: 0.65rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .comp-feature {
        font-size: 0.75rem;
    }
    
    /* Pricing CTA */
    .pricing-cta-box {
        padding: 1.25rem;
        font-size: 0.9rem;
    }
    
    .pricing-cta-box .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Security Note */
    .security-note-section {
        padding: 2.5rem 1rem;
    }
    
    .security-content {
        padding: 1.5rem;
    }
    
    .security-text h3 {
        font-size: 1.1rem;
    }
    
    .security-text p {
        font-size: 0.9rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 50px 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
}

/* Touch device specific optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-blue:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn-blue:active {
        transform: scale(0.97);
        box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    }
    
    .benefit-card:hover {
        transform: none;
    }
    
    .benefit-card:active {
        transform: scale(0.99);
    }
    
    .version-card:hover {
        transform: none;
    }
}

/* =============================================
   Air-Gapped Security Badge
   ============================================= */
.air-gapped-badge {
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.agb-content {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(13, 40, 37, 0.95), rgba(16, 86, 88, 0.95));
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                0 0 40px rgba(74, 222, 128, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.agb-shield {
    flex-shrink: 0;
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.3)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.5)); }
}

.agb-text {
    flex: 1;
}

.agb-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.agb-icon {
    font-size: 1.5rem;
}

.agb-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.agb-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(74, 222, 128, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.agb-feature svg {
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .agb-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .agb-title {
        justify-content: center;
    }
    
    .agb-features {
        justify-content: center;
    }
}

/* Alert Animations for On-Premises Monitors */
@keyframes alertPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

@keyframes bboxBlink {
    0%, 100% { stroke-opacity: 1; }
    50% { stroke-opacity: 0.3; }
}

.alert-pulse {
    animation: alertPulse 1s ease-in-out infinite;
}

.bbox-blink {
    animation: bboxBlink 0.6s ease-in-out infinite;
}

.alert-bar {
    animation: alertPulse 0.8s ease-in-out infinite;
}

.alert-text {
    animation: bboxBlink 0.8s ease-in-out infinite;
}

