/* ==========================================================================
   The Popular Concepts - Futuristic SaaS Theme
   Color palette: Electric Cyan + Deep Violet + Warm Coral accents
   ========================================================================== */

:root {
    --color-bg: #070B14;
    --color-bg-secondary: #0D1321;
    --color-bg-card: #111827;
    --color-bg-card-hover: #1A2332;
    --color-surface: rgba(17, 24, 39, 0.7);
    --color-border: rgba(0, 229, 255, 0.15);
    --color-border-hover: rgba(0, 229, 255, 0.35);

    --color-primary: #00E5FF;
    --color-primary-dark: #00B8D4;
    --color-secondary: #7C3AED;
    --color-accent: #FF6B35;
    --color-accent-soft: #FF8F65;

    --color-text: #E8EDF5;
    --color-text-muted: #94A3B8;
    --color-text-dim: #64748B;
    --color-white: #FFFFFF;

    --gradient-primary: linear-gradient(135deg, #00E5FF 0%, #7C3AED 50%, #FF6B35 100%);
    --gradient-hero: linear-gradient(180deg, #070B14 0%, #0D1321 50%, #111827 100%);
    --gradient-glow: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.15) 0%, transparent 60%);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.2);
    --shadow-glow-purple: 0 0 40px rgba(124, 58, 237, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --header-height: 72px;
    --container-max: 1200px;
    --section-padding: 100px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover, a:focus-visible {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 16px;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

.section-title {
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 640px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover, .btn-primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.35);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border-hover);
}

.btn-outline:hover, .btn-outline:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(0, 229, 255, 0.05);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(7, 11, 20, 0.95);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-white);
}

.logo:hover {
    color: var(--color-white);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.logo-domain,
.logo-slogan {
    font-size: 0.72rem;
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.3;
    max-width: 240px;
}

.logo-image {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    object-fit: cover;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link:focus-visible, .nav-link.active {
    color: var(--color-white);
    background: rgba(0, 229, 255, 0.08);
}

.nav-cta {
    margin-left: 8px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: var(--gradient-glow);
    filter: blur(60px);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatParticle 8s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title .typing-text {
    color: var(--color-primary);
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--color-accent);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: blink 0.8s step-end infinite;
}

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

.hero-desc {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
}

.stat-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
}

.stat-value .counter-suffix {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Marquee */
.marquee-section {
    padding: 24px 0 32px;
    margin-top: -12px;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marquee-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: rgba(17, 24, 39, 0.65);
    padding: 14px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: auto;
}

.marquee-viewport::-webkit-scrollbar {
    display: none;
}

.marquee-viewport.is-dragging {
    cursor: grabbing;
}

.marquee-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
    padding: 0 12px;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    padding: 10px 18px;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.marquee-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Sections */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-alt {
    background: var(--color-bg-secondary);
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-purple);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.product-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.product-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.product-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
}

.product-icon.whatsapp { background: rgba(37, 211, 102, 0.15); color: #25D366; }
.product-icon.rcs { background: rgba(0, 229, 255, 0.15); color: #00E5FF; }
.product-icon.bot { background: rgba(124, 58, 237, 0.15); color: #7C3AED; }
.product-icon.chat { background: rgba(255, 107, 53, 0.15); color: #FF6B35; }
.product-icon.workflow { background: rgba(255, 193, 7, 0.15); color: #FFC107; }
.product-icon.api { background: rgba(99, 102, 241, 0.15); color: #6366F1; }

.product-card h3 {
    margin-bottom: 8px;
}

.product-card .product-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
}

.product-card p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-features {
    margin-bottom: 24px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.product-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Deployment Cards */
.deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.deployment-card {
    padding: 36px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.deployment-card.featured {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, var(--color-bg-card) 100%);
    box-shadow: var(--shadow-glow);
}

.deployment-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-hover);
}

.deployment-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    background: rgba(255, 107, 53, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.deployment-card h3 {
    margin-bottom: 12px;
}

.deployment-card > p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-size: 0.9375rem;
}

.deployment-list li {
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--color-text-dim);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.deployment-list li:last-child {
    border-bottom: none;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--color-bg-card);
    transition: border-color var(--transition-fast);
}

.faq-item.active {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover, .faq-question:focus-visible {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box {
    position: relative;
    padding: 64px 48px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

/* Contact Page */
.page-hero {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    pointer-events: none;
}

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

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    padding: 80px 0;
}

.contact-info-card {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.contact-info-card h3 {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.contact-info-item strong {
    display: block;
    color: var(--color-white);
    margin-bottom: 4px;
    font-size: 0.875rem;
}

.contact-info-item span, .contact-info-item a {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* Forms */
.contact-form-card {
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.contact-form-card h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.contact-form-card > p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--color-accent);
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--color-text-dim);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-message {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.form-submit {
    width: 100%;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-legal {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: var(--color-text-dim);
    text-align: center;
}

.form-legal a {
    color: var(--color-primary);
}

/* Legal Pages */
.legal-content {
    padding: 60px 0 100px;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h1 {
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--color-text-dim);
    font-size: 0.875rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.375rem;
    margin: 40px 0 16px;
    color: var(--color-primary);
}

.legal-content h3 {
    font-size: 1.125rem;
    margin: 24px 0 12px;
}

.legal-content p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul, .legal-content ol {
    margin: 16px 0 16px 24px;
    color: var(--color-text-muted);
}

.legal-content ul {
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--color-primary);
}

/* AI Section */
.ai-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ai-visual {
    position: relative;
    padding: 40px;
}

.ai-orbit {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    margin: 0 auto;
}

.ai-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-glow);
    animation: pulseGlow 3s ease infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 229, 255, 0.3); }
    50% { box-shadow: 0 0 60px rgba(124, 58, 237, 0.4); }
}

.ai-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    animation: orbitFloat 4s ease-in-out infinite;
}

.ai-node:nth-child(2) { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.ai-node:nth-child(3) { top: 50%; right: 5%; animation-delay: 0.5s; }
.ai-node:nth-child(4) { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.ai-node:nth-child(5) { top: 50%; left: 5%; animation-delay: 1.5s; }

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

.ai-content .section-label {
    margin-bottom: 12px;
}

.ai-content h2 {
    margin-bottom: 20px;
}

.ai-content > p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.ai-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    color: var(--color-text-muted);
}

.ai-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 0.75rem;
}

/* Scroll Animations (animate.style helpers) */
.animate-on-scroll:not(.animate__animated),
.reveal:not(.animate__animated),
.reveal-left:not(.animate__animated),
.reveal-right:not(.animate__animated),
.reveal-scale:not(.animate__animated),
.animate-scroll:not(.animate__animated) {
    opacity: 0;
}

.animate-hero:not(.animate__animated) {
    opacity: 0;
}

.animate-on-scroll.animate__animated,
.reveal.animate__animated,
.reveal-left.animate__animated,
.reveal-right.animate__animated,
.reveal-scale.animate__animated,
.animate-scroll.animate__animated,
.animate-hero.animate__animated {
    opacity: 1;
}

.section-header .section-title {
    display: inline-block;
}

.page-hero h1 {
    display: inline-block;
}

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

/* Footer */
.site-footer {
    position: relative;
    padding: 80px 0 32px;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.footer-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    color: var(--color-white);
}

.footer-brand .footer-logo:hover {
    color: var(--color-white);
}

.footer-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-email a {
    color: var(--color-primary);
    font-weight: 500;
}

.footer-address {
    color: var(--color-text-dim);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 12px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover, .footer-links a:focus-visible {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--color-text-dim);
}

.footer-tag {
    color: var(--color-text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deployment-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .ai-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(7, 11, 20, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--color-border);
        padding: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .nav-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-box {
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll.animate__animated,
    .reveal.animate__animated,
    .reveal-left.animate__animated,
    .reveal-right.animate__animated,
    .reveal-scale.animate__animated,
    .animate-scroll.animate__animated,
    .animate-hero.animate__animated {
        opacity: 1;
    }

    .marquee-viewport {
        overflow-x: auto;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Logo, Hero Image, Product Detail, Pricing */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-white);
}

.footer-logo-image {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
}

.hero-image {
    background: var(--color-bg);
    min-height: 88vh;
    padding-bottom: 48px;
}

.hero-image-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    pointer-events: none;
    user-select: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.72) 42%, rgba(7, 11, 20, 0.5) 100%);
    z-index: 1;
}

.hero-bg {
    z-index: 1;
}

.hero-content-overlay {
    position: relative;
    z-index: 3;
}

.product-hero {
    background: var(--gradient-hero);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail-text {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-subheading {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-white);
    margin: 28px 0 14px;
}

.product-detail-list {
    margin: 0;
    padding: 0;
}

.product-detail-list li {
    position: relative;
    padding: 10px 0 10px 22px;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.capability-block {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.capability-block:last-child {
    border-bottom: none;
}

.capability-block h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.capability-block p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    padding: 36px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, var(--color-bg-card) 100%);
    box-shadow: var(--shadow-glow);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-hover);
}

.pricing-card h3 {
    margin-bottom: 8px;
}

.pricing-lead {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    min-height: 48px;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.pricing-features {
    margin-bottom: 28px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0 10px 18px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .product-detail-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        background-position: center;
    }
}

@media (max-width: 768px) {
    .logo-slogan {
        display: none;
    }
}
