/* PulseMQ Website Styles */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Navbar */
.navbar {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
}

/* Animated SVG Logo */
.logo-svg {
    display: block;
}

.logo-svg .pulse-line {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: pulse-dash 2s linear infinite;
}

@keyframes pulse-dash {
    to {
        stroke-dashoffset: 0;
    }
}

.logo-svg-text {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    fill: #22d3ee;
    transition: fill 0.3s;
}

.logo:hover .logo-svg-text {
    fill: #10b981;
}

.logo:hover .pulse-line {
    stroke: #10b981;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-color) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Deployment Section */
.deployment {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.deployment-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.deployment-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow);
}

.deployment-card.cloud {
    border-color: var(--primary-color);
}

.deployment-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-color);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.deployment-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 16px;
}

.deployment-card h3 {
    text-align: center;
    margin-bottom: 8px;
}

.deployment-tagline {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.deployment-features {
    list-style: none;
    margin-bottom: 24px;
}

.deployment-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.deployment-features .check {
    color: var(--success-color);
}

.deployment-price {
    text-align: center;
    margin-bottom: 16px;
}

.deployment-price .from {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.deployment-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.deployment-price .period {
    color: var(--text-muted);
}

.deployment-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.pricing-section-title {
    text-align: center;
    margin: 48px 0 24px;
    font-size: 1.5rem;
}

.pricing-section-title:first-of-type {
    margin-top: 0;
}

.pricing-section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    vertical-align: middle;
    margin-left: 8px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.pricing-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
}

.period {
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--success-color);
}

.pricing-features .x {
    color: var(--text-muted);
}

.pricing-features .disabled {
    color: var(--text-muted);
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
}

.pricing-note a {
    color: var(--primary-color);
}

/* 2-column pricing grid */
.pricing-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 32px;
}

.pricing-tagline {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.price .from {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

.pricing-beta-cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 24px 32px;
    text-align: center;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-beta-cta p {
    margin-bottom: 16px;
    color: var(--text-color);
}

.pricing-beta-cta strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .pricing-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Beta Banner (News Blitz) */
.beta-banner {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    color: white;
    padding: 10px 0;
    text-align: center;
}

.beta-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.beta-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.beta-banner-text {
    font-size: 0.9375rem;
}

.beta-banner-text strong {
    color: #fef3c7;
}

.beta-banner-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.beta-banner-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
    .beta-banner .container {
        flex-direction: column;
        gap: 8px;
    }

    .beta-banner-text {
        font-size: 0.8125rem;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9375rem;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group:last-of-type {
    margin-bottom: 24px;
}

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 12px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: var(--primary-color);
}

.cta .btn:hover {
    background: var(--bg-secondary);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: #94a3b8;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9375rem;
}

.footer-brand .logo {
    color: white;
}

.footer-links h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links-inline {
    display: flex;
    gap: 24px;
}

.footer-links-inline a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-links-inline a:hover {
    color: white;
}

/* Download Page Styles */
.download-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.download-header {
    text-align: center;
    margin-bottom: 40px;
}

.download-header h1 {
    margin-bottom: 16px;
}

.download-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    max-width: 700px;
    margin: 0 auto;
}

.download-section {
    max-width: 900px;
    margin: 0 auto;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-error {
    background: #fef2f2;
    color: var(--danger-color);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.required {
    color: var(--danger-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group a {
    color: var(--primary-color);
}

/* Download Info */
.download-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.download-info h3 {
    margin-bottom: 16px;
}

.download-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.download-info li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-info .icon {
    font-size: 1.25rem;
}

.download-info .note {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    font-size: 0.9375rem;
}

.download-info .note a {
    color: var(--primary-color);
}

/* Success States */
.success-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.text-center {
    text-align: center;
}

.email-display {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--primary-color);
    margin: 8px 0 24px;
}

.verification-tips {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.verification-tips h4 {
    margin-bottom: 12px;
}

.verification-tips ul {
    list-style: none;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.verification-tips li {
    padding: 6px 0;
}

/* Download Box */
.download-box {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.download-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.download-info-row:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.download-info-row .label {
    color: var(--text-muted);
}

.download-info-row .value {
    font-weight: 500;
}

.download-expires {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Next Steps */
.next-steps {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.next-steps h3 {
    margin-bottom: 16px;
}

.next-steps ol {
    padding-left: 24px;
    color: var(--text-muted);
}

.next-steps li {
    padding: 8px 0;
}

.next-steps a {
    color: var(--primary-color);
}

/* Resources */
.resources {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.resources h4 {
    margin-bottom: 16px;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    padding: 12px 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: background 0.2s;
}

.resource-link:hover {
    background: var(--border-color);
}

.resource-link .icon {
    font-size: 1.25rem;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .deployment-grid {
        grid-template-columns: 1fr;
    }

    .beta-benefits {
        flex-direction: column;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 24px;
    }

    .resource-links {
        flex-direction: column;
    }

    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.screenshot-item {
    background: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.screenshot-image {
    width: 100%;
    overflow: hidden;
    background: #0f172a;
}

.screenshot-image img {
    width: 100%;
    height: auto;
    display: block;
    /* High-quality image rendering - no scale transforms to avoid blur */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    /* Use GPU acceleration for smooth rendering */
    will-change: opacity;
    backface-visibility: hidden;
}

.screenshot-item:hover .screenshot-image img {
    /* Use filter instead of scale to avoid interpolation blur */
    filter: brightness(1.05);
}

.screenshot-item h4 {
    padding: 20px 20px 8px;
    color: var(--text-color);
}

.screenshot-item p {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .screenshot-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
}

/* Hero Slideshow */
.slideshow-container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.slideshow-frame {
    position: relative;
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    aspect-ratio: 16 / 9;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    /* High-quality image rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.slide.active {
    opacity: 1;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot:hover {
    background: var(--text-muted);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slideshow-container {
        max-width: 100%;
    }
}

/* Lightbox Modal Styles */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-container {
    position: relative;
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
    transition: transform 0.2s, color 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 28px;
    padding: 20px 16px;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s, transform 0.2s;
    border-radius: 8px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: calc(95vh - 80px);
    overflow-y: auto;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(95vh - 200px);
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    animation: lightboxFadeIn 0.3s ease;
    /* High-quality image rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    /* GPU acceleration for crisp rendering */
    will-change: opacity;
    backface-visibility: hidden;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-info {
    margin-top: 24px;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    animation: lightboxSlideUp 0.4s ease 0.1s both;
}

@keyframes lightboxSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lightbox-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.lightbox-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

/* Hide lightbox dots - arrows are sufficient for navigation */
.lightbox-dots {
    display: none;
}

.lightbox-dot {
    display: none;
}

/* Clickable indicator for slideshow and screenshots */
.slideshow-frame {
    cursor: pointer;
    position: relative;
}

.slideshow-frame::after {
    content: '🔍 Click to enlarge';
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8125rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.slideshow-frame:hover::after {
    opacity: 1;
}

.screenshot-image {
    cursor: pointer;
    position: relative;
}

.screenshot-item .screenshot-image::after {
    content: '🔍 Click to enlarge';
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.screenshot-item:hover .screenshot-image::after {
    opacity: 1;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 15px 12px;
        font-size: 22px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: -40px;
        font-size: 32px;
    }

    .lightbox-title {
        font-size: 1.25rem;
    }

    .lightbox-description {
        font-size: 0.9rem;
    }

    .lightbox-image {
        max-height: calc(95vh - 250px);
    }
}

/* ========================================
   WHY PULSEMQ / TRUST SECTION
   ======================================== */
.why-pulsemq {
    padding: 48px 0;
    background: var(--bg-secondary);
}

.why-pulsemq .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-pulsemq .section-subtitle {
    font-size: 0.9375rem;
    max-width: 500px;
    margin-bottom: 32px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.trust-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    fill: none;
}

.trust-item h3 {
    color: var(--text-color);
    margin-bottom: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
}

.trust-item p {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .why-pulsemq {
        padding: 32px 0;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 48px 0;
    background: var(--bg-color);
}

.testimonials .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.testimonial-card {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.testimonial-stars svg {
    width: 14px;
    height: 14px;
    fill: #fbbf24;
}

.testimonial-quote {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 16px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1px;
}

.author-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials {
        padding: 32px 0;
    }
}

/* ========================================
   FOOTER ENHANCEMENTS
   ======================================== */
.footer-trust {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px 0;
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
    margin-bottom: 32px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.9375rem;
}

.trust-badge .badge-icon {
    font-size: 1.25rem;
}

.footer-address {
    margin: 16px 0;
}

.footer-address address {
    font-style: normal;
    line-height: 1.8;
    font-size: 0.9375rem;
}

.footer-address a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-address a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.25rem;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .footer-trust {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
}

/* ========================================
   CONTACT SECTION ENHANCEMENTS
   ======================================== */
.contact-hours {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.contact-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.contact-details p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */
.about-hero {
    padding: 48px 0 32px;
    background: var(--bg-secondary);
    text-align: center;
}

.about-hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.about-hero .hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-muted);
}

.our-story {
    padding: 48px 0;
}

.story-content {
    max-width: 700px;
    margin: 0 auto;
}

.story-content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.our-values {
    padding: 48px 0;
    background: var(--bg-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.value-card {
    background: var(--bg-color);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.value-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.value-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 8px;
    line-height: 1;
}

.value-card h3 {
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 1rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 1.5rem;
    }
}

/* AI Innovation Section */
.ai-innovation {
    padding: 48px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.ai-innovation .container {
    max-width: 900px;
}

.innovation-badge {
    display: inline-block;
    background: rgba(34, 211, 238, 0.2);
    color: #22d3ee;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.ai-innovation h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.ai-innovation p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.innovation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.innovation-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.innovation-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.15);
    border-radius: 6px;
}

.innovation-icon svg {
    width: 18px;
    height: 18px;
    color: #22d3ee;
}

.innovation-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .innovation-grid {
        grid-template-columns: 1fr;
    }
}

/* US Focus Section */
.us-focus {
    padding: 48px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.us-focus h2 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.us-content {
    max-width: 600px;
    margin: 0 auto;
}

.us-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.us-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 24px 0;
}

.us-stat {
    display: flex;
    flex-direction: column;
}

.us-stat .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.us-stat .stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .us-stats {
        flex-direction: row;
        gap: 24px;
    }

    .us-stat .stat-value {
        font-size: 1.5rem;
    }
}

/* About Page CTA */
.about-cta {
    padding: 48px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.about-cta h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.about-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 0.9375rem;
}

.about-cta .btn {
    background: white;
    color: var(--primary-color);
}

.about-cta .btn:hover {
    background: var(--bg-secondary);
}

/* ========================================
   PLATFORM HIGHLIGHTS SECTION
   ======================================== */
.platform-highlights {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
    margin-bottom: 48px;
}

.highlight-item {
    text-align: center;
    padding: 24px 16px;
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1;
}

.highlight-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .platform-highlights {
        padding: 48px 0;
    }
}

/* ========================================
   ROLE-BASED VALUE SECTION
   ======================================== */
.role-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.role-card {
    background: white;
    border-radius: 12px;
    padding: 28px 24px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.role-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.role-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-style: italic;
}

.role-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-benefits li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.role-benefits li::before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

/* Role section responsive */
@media (max-width: 1200px) {
    .role-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .role-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .role-grid {
        grid-template-columns: 1fr;
    }

    .role-section {
        padding: 48px 0;
    }

    .role-card {
        padding: 24px 20px;
    }
}

/* ========================================
   OHIO MAP ICON
   ======================================== */
.trust-icon.ohio-map {
    width: 48px;
    height: 48px;
    padding: 4px;
    background: transparent;
}

.trust-icon.ohio-map svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-color);
    stroke-width: 2;
}

/* ========================================
   TECHNICAL DETAILS SECTION
   ======================================== */
.tech-details-toggle {
    text-align: center;
    margin-top: 48px;
}

.tech-details-toggle button {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tech-details-toggle button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light);
}

.tech-details-toggle .toggle-icon {
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.tech-details-toggle button.active .toggle-icon {
    transform: rotate(45deg);
}

.tech-details-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px;
    margin-top: 32px;
    border: 1px solid var(--border-color);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-details-section h3 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.25rem;
    color: var(--text-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tech-item {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.tech-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.tech-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-item li {
    padding: 8px 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.tech-item li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-details-section {
        padding: 24px;
    }
}
