* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables for Theme Support */
:root {
    /* Dark Theme (Default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #0f0f14;
    --bg-card: rgba(15, 15, 20, 0.95);
    --bg-card-hover: rgba(20, 20, 30, 0.98);
    --text-primary: #ffffff;
    --text-secondary: #d0d0d0;
    --text-tertiary: #a0a0a0;
    --accent-primary: #00ffff;
    --accent-secondary: #0080ff;
    --accent-tertiary: #0080ff;
    --border-color: rgba(0, 255, 255, 0.3);
    --border-color-hover: rgba(0, 255, 255, 0.6);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-glow: rgba(0, 255, 255, 0.3);
    --gradient-orb-1: rgba(0, 255, 255, 0.6);
    --gradient-orb-2: rgba(0, 128, 255, 0.5);
    --gradient-orb-3: rgba(138, 43, 226, 0.4);
    --particle-color: rgba(0, 255, 255, 0.8);
    --focus-outline: 2px solid #00ffff;
    --focus-shadow: 0 0 0 3px rgba(0, 255, 255, 0.3);
}

[data-theme="light"] {
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #fafafa;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(245, 245, 250, 0.98);
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #6a6a6a;
    --accent-primary: #0080ff;
    --accent-secondary: #0066cc;
    --accent-tertiary: #0080ff;
    --border-color: rgba(0, 128, 255, 0.3);
    --border-color-hover: rgba(0, 128, 255, 0.6);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-glow: rgba(0, 128, 255, 0.2);
    --gradient-orb-1: rgba(0, 128, 255, 0.4);
    --gradient-orb-2: rgba(0, 100, 200, 0.3);
    --gradient-orb-3: rgba(100, 50, 200, 0.2);
    --particle-color: rgba(0, 128, 255, 0.6);
    --focus-outline: 2px solid #0080ff;
    --focus-shadow: 0 0 0 3px rgba(0, 128, 255, 0.2);
}

/* Ensure all product cards have consistent styling in dark mode - override inline styles */
.service-card.product-card[style*="background"] {
    background: linear-gradient(135deg, rgba(10, 20, 15, 0.95), rgba(15, 30, 25, 0.95)) !important;
}

/* Light mode overrides for product cards - ensure all cards have light background */
[data-theme="light"] .product-card,
[data-theme="light"] .service-card.product-card,
[data-theme="light"] .product-card[style*="background"] {
    background: var(--bg-card) !important;
    background-image: none !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 8px 32px var(--shadow-color) !important;
}

/* Override all text colors in product cards for light mode */
[data-theme="light"] .product-card p,
[data-theme="light"] .product-card ul,
[data-theme="light"] .product-card li,
[data-theme="light"] .product-card div:not(.product-badge):not(.product-visual):not(.product-overlay),
[data-theme="light"] .product-card p[style*="color"],
[data-theme="light"] .product-card ul[style*="color"],
[data-theme="light"] .product-card li[style*="color"] {
    color: var(--text-secondary) !important;
    text-shadow: none !important;
}

[data-theme="light"] .product-card h3,
[data-theme="light"] .product-card h3[style*="color"],
[data-theme="light"] .product-card h4,
[data-theme="light"] .product-card h4[style*="color"] {
    color: var(--accent-primary) !important;
    text-shadow: none !important;
}

/* Override product-specific accent colors to use theme accent */
[data-theme="light"] .product-card *[style*="color: #00ffc8"],
[data-theme="light"] .product-card *[style*="color: #00ffcc"],
[data-theme="light"] .product-card *[style*="color: #b080ff"],
[data-theme="light"] .product-card *[style*="color: #ff8c00"],
[data-theme="light"] .product-card *[style*="color: #ffa500"] {
    color: var(--accent-primary) !important;
}

/* Product visual area - lighter gradient for light mode */
[data-theme="light"] .product-visual,
[data-theme="light"] .product-visual[style*="background"] {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.08), rgba(0, 100, 200, 0.04)) !important;
}

/* Product badges - ensure visibility */
[data-theme="light"] .product-badge,
[data-theme="light"] .product-card > div[style*="position: absolute"][style*="top: 20px"],
[data-theme="light"] .service-card > div[style*="position: absolute"][style*="top: 20px"] {
    color: #000 !important;
    background: linear-gradient(135deg, #00ffc8, #00ff88) !important;
    box-shadow: 0 4px 15px rgba(0, 128, 255, 0.3) !important;
}

/* Key Features section border */
[data-theme="light"] .product-card > div[style*="padding-top: 25px"],
[data-theme="light"] .product-card > div[style*="border-top"] {
    border-top-color: var(--border-color) !important;
}

/* Platform badges - light mode styling */
[data-theme="light"] .product-card > div > div[style*="background: rgba(10, 10, 10"],
[data-theme="light"] .product-card > div[style*="display: flex"] > div[style*="background: rgba(10, 10, 10"] {
    background: var(--bg-card-hover) !important;
    border-color: var(--border-color) !important;
}

[data-theme="light"] .product-card > div > div[style*="color: #ffffff"],
[data-theme="light"] .product-card > div[style*="display: flex"] > div > div[style*="color: #ffffff"] {
    color: var(--text-primary) !important;
}

[data-theme="light"] .product-card > div > div[style*="color: #a0a0a0"],
[data-theme="light"] .product-card > div[style*="display: flex"] > div > div[style*="color: #a0a0a0"] {
    color: var(--text-tertiary) !important;
}

/* Launch Status box */
[data-theme="light"] .product-card > div[style*="padding: 15px"][style*="background"],
[data-theme="light"] .product-card > div[style*="margin-top: 25px"][style*="padding: 15px"] {
    background: rgba(0, 128, 255, 0.08) !important;
    border-left-color: var(--accent-primary) !important;
}

[data-theme="light"] .product-card > div[style*="padding: 15px"] p,
[data-theme="light"] .product-card > div[style*="padding: 15px"] p[style*="color"],
[data-theme="light"] .product-card > div[style*="padding: 15px"] strong {
    color: var(--text-primary) !important;
    text-shadow: none !important;
}

[data-theme="light"] .product-card > div[style*="padding: 15px"] strong {
    color: var(--accent-primary) !important;
}

/* Remove text shadows for better visibility */
[data-theme="light"] .product-card *[style*="text-shadow"] {
    text-shadow: none !important;
}

[data-theme="light"] section.services p[style*="color: #e0e0e0"],
[data-theme="light"] section.testimonials p[style*="color: #d0d0d0"] {
    color: var(--text-secondary) !important;
}

/* Ensure early access form text is visible in light mode */
[data-theme="light"] .early-access-form p {
    color: var(--text-tertiary) !important;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Simple Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Canvas for particles */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Simple floating gradient orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: simpleFloat 20s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gradient-orb-1), transparent 70%);
    top: 10%;
    left: 10%;
    transition: background 0.3s ease;
}

.gradient-orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--gradient-orb-2), transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: -10s;
    transition: background 0.3s ease;
}

.gradient-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gradient-orb-3), transparent 70%);
    bottom: 10%;
    left: 40%;
    animation-delay: -5s;
    transition: background 0.3s ease;
}

@keyframes simpleFloat {
    0%, 100% { 
        transform: translate(0, 0);
    }
    50% { 
        transform: translate(50px, -50px);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 30px var(--shadow-color);
}

[data-theme="light"] nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 5px 30px var(--shadow-color);
}

nav.scrolled {
    padding: 15px 50px;
    background: rgba(10, 10, 10, 0.98);
}

[data-theme="light"] nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--accent-primary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.theme-toggle:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--border-color-hover);
    transform: scale(1.05);
}

.theme-toggle:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    box-shadow: var(--focus-shadow);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-icon {
    transition: transform 0.3s ease;
    font-size: 20px;
    line-height: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.theme-icon::before {
    content: "🌙";
    display: block;
    line-height: 1;
}

[data-theme="light"] .theme-icon::before {
    content: "☀️";
}

/* Ensure no duplicate icons */
.theme-icon::after {
    display: none !important;
    content: none !important;
}

.theme-icon > * {
    display: none !important;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    transition: background 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    text-shadow: 0 2px 5px var(--shadow-color);
}

.nav-links a:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* About/Team Section */
.about {
    padding: 100px 50px;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
    margin-bottom: 60px;
}

.about-content p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 900px;
    margin: 20px auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 60px var(--shadow-glow);
    background: var(--bg-card-hover);
}

.team-member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border: 3px solid rgba(0, 255, 255, 0.3);
}

.team-member h4 {
    font-size: 24px;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.team-member .role {
    color: var(--accent-secondary);
    font-size: 16px;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.team-member a {
    color: var(--accent-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.team-member a:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

.team-member a:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 50px;
}

.testimonials-section {
    padding: 100px 50px;
}

.testimonials-section .testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 60px var(--shadow-glow);
    background: var(--bg-card-hover);
}

.testimonial-quote {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.testimonial-author-info h5 {
    color: var(--accent-primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author-info p {
    color: var(--text-tertiary);
    font-size: 14px;
}

.testimonial-rating {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Client Logos Section */
.clients {
    padding: 80px 50px;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
}

.clients-section {
    padding: 80px 50px;
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
}

.clients-section .clients-container {
    max-width: 1200px;
    margin: 0 auto;
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.client-logo {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.client-logo:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 30px var(--shadow-glow);
    background: var(--bg-card-hover);
}

.client-logo-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent-primary);
    opacity: 0.7;
}

/* Enhanced Contact Form */
.contact-form select {
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 400;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
    min-height: 44px;
}

.contact-form select:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    box-shadow: 0 0 20px var(--shadow-glow), var(--focus-shadow);
}

.contact-form select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    color: var(--accent-primary);
}

.contact-method:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    border-radius: 4px;
}

.contact-method-icon {
    font-size: 24px;
}

/* Social Media Section */
.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

[data-theme="light"] .social-link {
    background: rgba(0, 128, 255, 0.1);
}

.social-link:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

[data-theme="light"] .social-link:hover {
    background: rgba(0, 128, 255, 0.2);
}

.social-link:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-button {
    width: 60px;
    height: 60px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    color: var(--bg-primary);
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow-glow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px var(--shadow-glow);
}

.chat-button:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 3px;
    box-shadow: 0 15px 40px var(--shadow-glow), var(--focus-shadow);
}

.chat-window {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 60px);
    height: 550px;
    max-height: calc(100vh - 120px);
    min-height: 400px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px var(--shadow-color);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    z-index: 998;
    box-sizing: border-box;
    overflow: hidden;
    bottom: auto;
    left: auto;
}

.chat-window.active {
    display: flex;
    animation: slideUpFadeIn 0.3s ease-out;
}

@keyframes slideUpFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    flex-shrink: 0;
}

.chat-header h4 {
    color: var(--accent-primary);
    font-size: 18px;
    margin: 0;
    padding-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

.chat-close:hover {
    color: var(--accent-primary);
    background: rgba(0, 255, 255, 0.1);
}

.chat-close:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    color: var(--accent-primary);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 80%;
}

.chat-message.bot {
    background: rgba(0, 255, 255, 0.1);
    color: var(--text-secondary);
    align-self: flex-start;
}

.chat-message.user {
    background: rgba(0, 128, 255, 0.2);
    color: var(--text-primary);
    align-self: flex-end;
}

.chat-input-area {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    min-height: 44px;
}

.chat-input:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px var(--shadow-glow), var(--focus-shadow);
}

.chat-send {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 10px;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    font-weight: 600;
}

.chat-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-glow);
}

.chat-send:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    box-shadow: 0 5px 15px var(--shadow-glow), var(--focus-shadow);
}

/* Scroll Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Technology Stack Section */
.tech-stack {
    padding: 100px 50px;
}

.tech-stack-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Carousel Styles */
.carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 60px;
    padding: 0 60px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-track.auto-slide {
    animation: scrollCarousel 25s linear infinite;
}

.carousel-track.paused {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 255, 255, 0.2);
    border: 2px solid var(--border-color);
    color: var(--accent-primary);
    width: 50px;
    height: 50px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

[data-theme="light"] .carousel-arrow {
    background: rgba(0, 128, 255, 0.15);
    border-color: var(--border-color);
}

.carousel-arrow:hover {
    background: rgba(0, 255, 255, 0.3);
    border-color: var(--border-color-hover);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px var(--shadow-glow);
}

[data-theme="light"] .carousel-arrow:hover {
    background: rgba(0, 128, 255, 0.25);
}

.carousel-arrow:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

.tech-item {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    min-width: 200px;
    flex-shrink: 0;
    user-select: none;
}

.tech-item:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 60px var(--shadow-glow);
    background: var(--bg-card-hover);
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.tech-name {
    font-size: 20px;
    color: var(--accent-primary);
    font-weight: 600;
    text-shadow: 0 2px 10px var(--shadow-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content h1 {
    font-size: 72px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00ffff, #0080ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
    font-weight: 900;
}

.hero-content p {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease;
    text-shadow: 0 2px 10px var(--shadow-color);
    font-weight: 500;
}

.cta-button {
    padding: 18px 45px;
    font-size: 18px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1.4s ease;
    box-shadow: 0 10px 30px var(--shadow-glow);
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    font-weight: 600;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-glow);
}

.cta-button:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 3px;
    box-shadow: 0 15px 40px var(--shadow-glow), var(--focus-shadow);
}

.cta-button:active {
    transform: translateY(-1px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px var(--shadow-glow));
    font-weight: 800;
    transition: background 0.3s ease;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

.service-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 60px var(--shadow-glow);
    background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-card));
}

.service-card:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 4px;
    box-shadow: 0 20px 60px var(--shadow-glow), var(--focus-shadow);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--accent-primary);
    font-weight: 700;
    text-shadow: 0 2px 10px var(--shadow-glow);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
    text-shadow: 0 1px 5px var(--shadow-color);
}

/* Features Section */
.features {
    padding: 100px 50px;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    padding: 50px 40px;
    text-align: center;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px var(--shadow-color);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

.feature-item h4 {
    font-size: 22px;
    margin: 20px 0 10px;
    color: var(--accent-primary);
    font-weight: 700;
    text-shadow: 0 2px 10px var(--shadow-glow);
}

.feature-item p {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Stats Section */
.stats {
    padding: 100px 50px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.stat-item {
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 56px;
    font-weight: bold;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.4));
}

.stat-label {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
    text-shadow: 0 1px 5px var(--shadow-color);
}

/* Contact Section */
.contact {
    padding: 100px 50px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 400;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-tertiary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    box-shadow: 0 0 20px var(--shadow-glow), var(--focus-shadow);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 18px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    font-weight: 600;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-glow);
}

.submit-button:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 3px;
    box-shadow: 0 10px 30px var(--shadow-glow), var(--focus-shadow);
}

.submit-button:active {
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 50px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.footer-center {
    flex: 1;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 400;
    text-shadow: 0 1px 3px var(--shadow-color);
    margin: 0;
    padding: 0 20px;
}

.footer-right {
    flex: 1;
    min-width: 0;
}

footer p {
    color: var(--text-secondary);
    font-weight: 400;
    text-shadow: 0 1px 3px var(--shadow-color);
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 50px;
    background: var(--bg-tertiary);
}

/* Early Access Form Styles */
.early-access-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.early-access-form {
    max-width: 600px;
    margin: 0 auto;
}

.early-access-form input,
.early-access-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    min-height: 44px;
    box-sizing: border-box;
}

.early-access-form input::placeholder {
    color: var(--text-tertiary);
}

.early-access-form input:focus,
.early-access-form select:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
    border-color: var(--accent-primary);
    background: var(--bg-card);
    box-shadow: 0 0 20px var(--shadow-glow), var(--focus-shadow);
}

.early-access-form select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.newsletter-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* FAQ Section */
.faq-section {
    padding: 100px 50px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 5px 20px var(--shadow-glow);
    background: var(--bg-card-hover);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    min-height: 44px;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question:focus-visible {
    outline: var(--focus-outline);
    outline-offset: -2px;
    color: var(--accent-primary);
}

.faq-toggle {
    font-size: 28px;
    color: var(--accent-primary);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

/* Case Studies Section */
.case-studies-section {
    padding: 100px 50px;
}

.case-studies-container {
    max-width: 1400px;
    margin: 0 auto;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.case-study-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.case-study-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 60px var(--shadow-glow);
    background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-card));
}

.case-study-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.case-study-card h3 {
    font-size: 24px;
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.case-study-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 600;
}

[data-theme="light"] .tag {
    background: rgba(0, 128, 255, 0.1);
    border-color: var(--border-color);
}

.case-study-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

[data-theme="light"] .case-study-metrics {
    background: rgba(0, 0, 0, 0.05);
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

.case-study-tech {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 14px;
}

.case-study-tech strong {
    color: var(--accent-primary);
}

/* Navigation CTA Button */
.nav-cta-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-glow);
    min-height: 44px;
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow-glow);
}

.nav-cta-button:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 3px;
    box-shadow: 0 8px 20px var(--shadow-glow), var(--focus-shadow);
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 998;
    animation: floatPulse 3s ease-in-out infinite;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-cta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.floating-cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.6);
}

.cta-icon {
    font-size: 20px;
}

.cta-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .nav-cta-button {
        display: none;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 18px;
    }
    
    .floating-cta {
        bottom: 100px;
        right: 20px;
    }
    
    .floating-cta-button {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .cta-text {
        display: none;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-metrics {
        grid-template-columns: 1fr;
    }
    
    .faq-section,
    .newsletter-section,
    .testimonials-section,
    .case-studies-section {
        padding: 60px 30px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

/* Blog Section */
.blog-section {
    padding: 100px 50px;
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.blog-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow-color);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color-hover);
    box-shadow: 0 20px 60px var(--shadow-glow);
    background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-card));
}

.blog-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 128, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .blog-image-placeholder {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.15), rgba(0, 100, 200, 0.1));
}

.blog-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

[data-theme="light"] .blog-category {
    background: rgba(0, 128, 255, 0.1);
}

.blog-card h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
    font-size: 15px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.blog-date::before {
    content: "📅 ";
}

.blog-read-time::before {
    content: "⏱️ ";
}

.blog-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-link:hover {
    color: var(--accent-secondary);
    transform: translateX(5px);
}

.blog-link:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .blog-section {
        padding: 60px 30px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-image-placeholder {
        height: 150px;
        font-size: 48px;
    }
}

/* Blog Post Page Styles */
.blog-post-page {
    min-height: 100vh;
    padding-top: 80px;
}

.blog-post-header {
    padding: 60px 50px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-post-header .blog-category {
    margin-bottom: 20px;
}

.blog-post-title {
    font-size: 48px;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 16px;
    color: var(--text-tertiary);
    flex-wrap: wrap;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 50px 80px;
    line-height: 1.8;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.blog-post-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.9;
}

.blog-post-content h2 {
    font-size: 32px;
    color: var(--accent-primary);
    margin: 50px 0 25px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-post-content h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin: 35px 0 20px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-post-content h4 {
    font-size: 20px;
    color: var(--accent-secondary);
    margin: 30px 0 15px;
    font-weight: 600;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 20px 0 25px 30px;
    color: var(--text-secondary);
}

.blog-post-content li {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.8;
}

.blog-post-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-post-content a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.blog-post-content a:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

.blog-post-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding: 20px 30px;
    margin: 30px 0;
    background: var(--bg-card);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-post-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 128, 255, 0.2));
    border-radius: 15px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

[data-theme="light"] .blog-post-image {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.15), rgba(0, 100, 200, 0.1));
}

.blog-post-footer {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px 50px;
    border-top: 1px solid var(--border-color);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-to-blog:hover {
    color: var(--accent-secondary);
    transform: translateX(-5px);
}

.back-to-blog:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 2px;
    border-radius: 4px;
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    font-size: 24px;
    color: var(--accent-primary);
    margin-bottom: 25px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-article-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-article-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    box-shadow: 0 10px 30px var(--shadow-glow);
    background: var(--bg-card-hover);
}

.related-article-card h4 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.related-article-card p {
    color: var(--text-tertiary);
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .blog-post-page {
        padding-top: 70px;
    }

    .blog-post-header {
        padding: 40px 20px 30px;
    }

    .blog-post-title {
        font-size: 32px;
    }

    .blog-post-content {
        padding: 30px 20px 60px;
    }

    .blog-post-content h2 {
        font-size: 26px;
        margin: 35px 0 20px;
    }

    .blog-post-content h3 {
        font-size: 20px;
        margin: 25px 0 15px;
    }

    .blog-post-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .blog-post-content li {
        font-size: 16px;
    }

    .blog-post-image {
        height: 250px;
        font-size: 48px;
    }

    .blog-post-footer {
        padding: 30px 20px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card Enhancements */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card:hover .product-overlay {
    opacity: 1 !important;
}

.product-card:hover .product-visual {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 255, 200, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 255, 200, 0.6);
    }
}

.product-visual {
    transition: transform 0.3s ease;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #00ffff;
    transition: all 0.3s ease;
    pointer-events: none;
}

.menu-toggle:active {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: calc(100% - 40px);
        max-width: 320px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        padding: 30px 20px;
        border-radius: 10px;
        transition: right 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 0;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        transition: background 0.2s ease;
    }

    .nav-links a:active {
        background: rgba(0, 255, 255, 0.1);
    }

    .nav-links.active {
        right: 20px;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 16px;
    }

    nav {
        padding: 15px 20px;
    }

    nav.scrolled {
        padding: 12px 20px;
    }

    .logo {
        font-size: 24px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    /* Section padding adjustments */
    .about,
    .services,
    .features,
    .stats,
    .contact,
    .tech-stack,
    .testimonials-section,
    .case-studies-section,
    .blog-section,
    .faq-section,
    .testimonials {
        padding: 60px 20px;
    }

    .about-content p,
    .about-container p {
        font-size: 16px;
        padding: 0 10px;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .features-grid {
        max-width: 100%;
        gap: 25px;
    }
    
    .feature-item {
        min-height: auto;
        padding: 30px 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-card h3 {
        font-size: 24px;
    }

    .service-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    /* Product cards mobile */
    .product-visual {
        height: 150px !important;
    }

    .product-visual div {
        font-size: 60px !important;
    }

    .product-badge {
        font-size: 10px !important;
        padding: 6px 15px !important;
        top: 15px !important;
        right: 15px !important;
    }

    /* Stats grid mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* Contact form mobile */
    .contact-container {
        padding: 0 10px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 16px;
    }

    .contact-methods {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .contact-method {
        font-size: 14px;
    }

    /* Early access form mobile */
    .early-access-form {
        padding: 25px 20px !important;
    }

    .early-access-form input,
    .early-access-form select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 16px !important;
        min-height: 44px !important;
    }

    /* Improve touch targets */
    .faq-question {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-cta-button {
        min-height: 44px;
    }

    /* Prevent horizontal scroll */
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .case-studies-grid,
    .blog-grid,
    .stats-grid {
        width: 100%;
        max-width: 100%;
    }

    /* Product card mobile improvements */
    .product-card ul {
        font-size: 14px;
        line-height: 1.8;
    }

    .product-card h4 {
        font-size: 16px;
    }

    /* Product badge positioning for mobile */
    .product-badge {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        font-size: 10px !important;
        padding: 5px 12px !important;
    }

    /* Platform badges mobile */
    .product-card > div:last-of-type {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Text adjustments */
    .service-card p,
    .case-study-description,
    .testimonial-quote {
        font-size: 15px;
        line-height: 1.7;
    }

    /* Ensure no horizontal overflow */
    img, video, iframe, canvas {
        max-width: 100%;
        height: auto;
    }

    /* Prevent text overflow */
    h1, h2, h3, h4, h5, h6, p, li, span, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-button {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .chat-window {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        max-height: calc(100vh - 120px);
        min-height: 350px;
        right: 20px;
        left: 20px;
        bottom: 100px;
        top: auto;
        border-radius: 15px;
    }

    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-member {
        padding: 25px 20px;
    }

    .team-member-photo {
        width: 120px;
        height: 120px;
        font-size: 50px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .client-logo {
        padding: 20px;
        height: 100px;
    }

    .carousel-wrapper {
        padding: 0 20px;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .carousel-arrow-left {
        left: 5px;
    }

    .carousel-arrow-right {
        right: 5px;
    }

    .tech-item {
        min-height: 140px;
        padding: 25px 15px;
        min-width: 140px;
    }

    .tech-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .tech-name {
        font-size: 16px;
    }

    /* Footer mobile */
    footer {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-left {
        order: 1;
        justify-content: center;
    }

    .footer-center {
        order: 2;
        padding: 0;
    }

    .footer-right {
        display: none;
    }

    footer p {
        font-size: 14px;
    }

    /* Blog section mobile - already handled */
    /* FAQ section mobile - already handled */
    /* Case studies mobile - already handled */
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .service-card h3 {
        font-size: 22px;
    }

    .service-card p,
    .service-card li {
        font-size: 14px;
    }

    .nav-links {
        width: calc(100% - 20px);
        right: -100%;
        padding: 20px 15px;
    }

    .nav-links.active {
        right: 10px;
    }

    .about,
    .services,
    .features,
    .stats,
    .contact,
    .tech-stack,
    .testimonials-section,
    .case-studies-section,
    .blog-section,
    .faq-section,
    .testimonials {
        padding: 50px 15px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .contact-method {
        font-size: 13px;
        flex-wrap: wrap;
    }

    /* Additional small screen fixes */
    .hero {
        min-height: 100vh;
        padding: 0 15px;
    }

    .about-content p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Ensure all inline styles in product cards are responsive */
    .product-card * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Fix product visual on very small screens */
    .product-visual {
        min-height: 120px !important;
    }
}

/* Tablet responsiveness (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid,
    .case-studies-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        padding: 18px 40px;
    }

    .section-title {
        font-size: 40px;
    }

    .about,
    .services,
    .features,
    .stats,
    .contact,
    .tech-stack,
    .testimonials-section,
    .case-studies-section,
    .blog-section,
    .faq-section,
    .testimonials {
        padding: 80px 40px;
    }
}

