/* ========================================
   LightShield SIEM - Premium Theme CSS
   ======================================== */

/* ========================================
   CSS Variables - Premium Theme
   ======================================== */
:root {
    color-scheme: light;
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-1: #f1f5f9;
    --surface-2: #e2e8f0;
    --text: #0f172a;
    --text-muted: #4a5568;
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --accent: #f97316;
    --accent-light: #fb923c;
    --sketch: #334155;
    --success: #059669;
    --border: rgba(15, 23, 42, 0.12);
    --border-subtle: rgba(15, 23, 42, 0.08);
    --card-bg: #ffffff;
    --card-border: rgba(15, 23, 42, 0.12);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --hover-bg: rgba(13, 148, 136, 0.08);
    --focus-ring: rgba(13, 148, 136, 0.22);
    --section-surface-bg: linear-gradient(180deg, rgba(13, 148, 136, 0.05) 0%, rgba(13, 148, 136, 0.02) 100%);
    --header-bg: rgba(248, 250, 252, 0.92);
    --footer-bg: #ffffff;
    --input-bg: #f8fafc;
    --input-bg-focus: #ffffff;
    --alert-bg: #fef3c7;
    --alert-text: #92400e;
    --alert-border: rgba(245, 158, 11, 0.3);
    --status-success-bg: #dcfce7;
    --status-success-text: #166534;
    --status-error-bg: #fef2f2;
    --status-error-text: #dc2626;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --hero-bg-opacity: 0.06;
    --hero-bg-opacity-strong: 0.09;
    --page-glow: radial-gradient(circle at 15% 0%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(249, 115, 22, 0.08) 0%, transparent 45%);
    /* Indian Flag Colors */
    --india-saffron: #FF9933;
    --india-white: #FFFFFF;
    --india-green: #138808;
    --india-blue: #000080;
}

/* Dark Mode Theme */
[data-theme="dark"] {
    color-scheme: dark;
    --bg: #050911;
    --surface: #0f172a;
    --surface-1: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --text-muted: #9aa6bf;
    --border: rgba(255, 255, 255, 0.14);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.12);
    --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    --hover-bg: rgba(255, 255, 255, 0.06);
    --focus-ring: rgba(45, 212, 191, 0.35);
    --section-surface-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    --header-bg: rgba(6, 10, 18, 0.9);
    --footer-bg: #060a12;
    --input-bg: rgba(15, 23, 42, 0.95);
    --input-bg-focus: rgba(15, 23, 42, 1);
    --alert-bg: rgba(251, 191, 36, 0.15);
    --alert-text: #fcd34d;
    --alert-border: rgba(251, 191, 36, 0.3);
    --status-success-bg: rgba(34, 197, 94, 0.18);
    --status-success-text: #86efac;
    --status-error-bg: rgba(239, 68, 68, 0.18);
    --status-error-text: #fca5a5;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --hero-bg-opacity: 0.12;
    --hero-bg-opacity-strong: 0.16;
    --page-glow: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.18) 0%, transparent 70%);
}

/* Ambient background glow */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--page-glow);
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"] section:not(.hero):not(.section-surface) {
    background-color: var(--bg);
    background-image: none;
}

/* Dark mode cards */
[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .ai-card,
[data-theme="dark"] .segment-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .compliance-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .hero-stat,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .sketch-box,
[data-theme="dark"] .contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .pricing-card.featured {
    background: linear-gradient(135deg, #0d3331 0%, var(--surface) 100%);
    border-color: var(--primary);
}

[data-theme="dark"] .sketch-box::before {
    background: var(--border);
}

/* Logo Styles */
.hero-bg-logo {
    position: absolute;
    top: 360px !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 60%;
    height: auto;
    max-width: 450px;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    filter: none !important;
    mix-blend-mode: normal;
}

.made-in-india-logo {
    display: block;
    max-width: 140px;
    height: auto;
    margin-top: 2rem;
    filter: grayscale(100%);
    opacity: 0.8;
}

[data-theme="dark"] .made-in-india-logo {
    filter: grayscale(100%) invert(1) brightness(1.2);
    mix-blend-mode: screen;
}

/* Footer Trademark Fix */
.footer-logo-text .trademark {
    top: 0;
    margin-left: 2px;
    font-size: 0.6em;
}

[data-theme="dark"] .beta-badge {
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.3);
}

[data-theme="dark"] .ai-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
}

[data-theme="dark"] .compliance-alert {
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
}

[data-theme="dark"] .tag {
    background: rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.3);
    color: var(--primary-light);
}

[data-theme="dark"] .btn-secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--surface-2);
    border-color: var(--primary);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--input-bg);
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary);
}

[data-theme="dark"] .form-input:focus {
    background: var(--input-bg-focus);
}

[data-theme="dark"] .mobile-nav {
    background: var(--surface);
}

[data-theme="dark"] .hero-orb-1,
[data-theme="dark"] .hero-orb-2 {
    opacity: 0.05;
}

[data-theme="dark"] .step-number {
    box-shadow: 0 0 30px rgba(13, 148, 136, 0.3);
}

[data-theme="dark"] .sketch-underline::after {
    opacity: 0.6;
}

[data-theme="dark"] .logo-text span {
    color: var(--primary-light);
}

[data-theme="dark"] .footer-logo-text span {
    color: var(--primary-light);
}

[data-theme="dark"] .integration-logos span {
    color: var(--text-muted);
}

/* ========================================
   Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.display-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-style: normal;
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

/* ========================================
   Accent Underlines
   ======================================== */
.sketch-underline {
    position: relative;
    display: inline;
    color: var(--primary);
}

.sketch-underline::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    opacity: 0.4;
    pointer-events: none;
}

.sketch-highlight {
    position: relative;
    display: inline;
    color: var(--primary);
    font-weight: 600;
}

.sketch-highlight::before {
    content: '';
    position: absolute;
    inset: -2px -6px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 4px;
    pointer-events: none;
    z-index: -1;
}

.sketch-box {
    position: relative;
    padding: 24px 28px;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1.5px solid #fbbf24;
    border-radius: 3px;
}

.sketch-box::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 24px;
    width: 32px;
    height: 12px;
    background: #fbbf24;
    border-radius: 1px;
    opacity: 0.8;
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 3px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    vertical-align: middle;
    margin-left: 8px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--surface-1);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 14px 20px;
}

.btn-ghost:hover {
    color: var(--primary);
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 28px;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
    will-change: transform, box-shadow;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* ========================================
   Tags
   ======================================== */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(13, 148, 136, 0.08);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.01em;
}

.tag-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
}

/* ========================================
   Icons
   ======================================== */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(13, 148, 136, 0.08);
    border-radius: 10px;
    color: var(--primary);
}

.icon-box-lg {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: none;
    gap: 8px;
}

.nav a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 6px;
    transition: all 0.2s;
}

.nav a:hover {
    color: var(--text);
    background: var(--hover-bg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-cta {
    display: none;
}

@media (min-width: 900px) {
    .nav {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-cta {
        display: inline-flex;
    }
}

/* Dark Mode Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: var(--surface-1);
    border-color: var(--primary);
    color: var(--primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* ========================================
   Sections
   ======================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-surface {
    background: var(--section-surface-bg);
}

[data-theme="dark"] .hero {
    background: none;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-desc {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0fdfa 0%, var(--bg) 50%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -150px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
}

.trademark {
    font-size: 0.5em;
    font-weight: 500;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    position: relative;
    top: -0.2em;
    line-height: 1;
    margin-left: 0.25em;
    vertical-align: baseline;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.hero h1 .display-text {
    color: var(--text);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hero-stat {
    padding: 24px 16px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--card-border);
}

.hero-stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero-note {
    margin-top: 48px;
    display: inline-block;
}

/* ========================================
   How It Works
   ======================================== */
.steps-grid {
    display: grid;
    gap: 32px;
    position: relative;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .steps-grid::before {
        display: none;
    }
}

.step-card {
    text-align: center;
    position: relative;
    padding: 40px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2);
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

@keyframes flowArrow {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(6px);
    }
}

.step-arrow {
    animation: flowArrow 2s infinite ease-in-out;
    display: none;
    position: absolute;
    top: 90px;
    right: -25px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    z-index: 2;
}

@media (min-width: 768px) {
    .step-arrow {
        display: block;
    }

    .step-card:last-child .step-arrow {
        display: none;
    }
}

/* ========================================
   Value Props
   ======================================== */
.value-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
    will-change: transform, box-shadow;
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.value-icon {
    flex-shrink: 0;
}

/* ========================================
   Compliance Section
   ======================================== */
.compliance-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .compliance-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.compliance-card {
    padding: 32px 24px 40px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    text-align: center;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
    will-change: transform, box-shadow;
}

.compliance-card:hover {
    border-color: var(--success);
    box-shadow: var(--shadow);
}

.compliance-card h3 {
    margin: 20px 0 8px;
}

.compliance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    color: var(--success);
}

.compliance-alert {
    margin-top: 16px;
    padding: 10px 14px;
    background: var(--alert-bg);
    border: 1px solid var(--alert-border);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--alert-text);
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 28px;
}

.feature-card h3 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

/* ========================================
   AI Section
   ======================================== */
.ai-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .ai-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ai-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.ai-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 10px;
    color: #92400e;
}

/* ========================================
   Integrations
   ======================================== */
.integrations-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.integration-category h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.integration-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.integration-logo {
    padding: 10px 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
}

.integration-logo:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   Target Segments
   ======================================== */
.segments-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .segments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.segment-card {
    padding: 32px 24px;
    text-align: center;
}

.segment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(13, 148, 136, 0.08);
    border-radius: 50%;
    color: var(--primary);
    margin-bottom: 20px;
}

.segment-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* ========================================
   Pricing
   ======================================== */
.pricing-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    padding: 36px 28px;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.pricing-tier {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.pricing-features li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--success);
    margin-top: 2px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 24px;
    padding-bottom: 4px;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.faq-item summary:hover {
    background-color: var(--hover-bg);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 16px 24px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   Contact
   ======================================== */
.contact-grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.3fr;
    }
}

.contact-form {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--input-bg);
    color: var(--text);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--input-bg-focus);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.form-row {
    display: grid;
    gap: 16px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-status {
    margin-top: 16px;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    background: var(--status-success-bg);
    color: var(--status-success-text);
}

.form-status.error {
    background: var(--status-error-bg);
    color: var(--status-error-text);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--footer-bg);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
}

.footer-logo-mark .trademark {
    position: absolute;
    top: 15px;
    right: -6px;
    margin-left: 0;
    font-size: 0.55rem;
    line-height: 1;
}

.footer-logo img {
    width: 72px;
    height: 72px;
}

.footer-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text);
    display: inline-flex;
    align-items: flex-start;
    line-height: 1.1;
}

.footer-logo-text span {
    color: var(--primary);
}

.footer-logo-text .trademark {
    font-size: 0.55em;
    top: -0.35em;
    margin-left: 0.15em;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links .footer-heading {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

.footer-links a {
    display: block;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Patent Pending Badge */
.patent-pending {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.patent-pending svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
    flex-shrink: 0;
}

.hero-badges .tag-patent {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    font-weight: 600;
}

/* ========================================
   Animations
   ======================================== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-count] {
    font-variant-numeric: tabular-nums;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.12s linear;
    will-change: width;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Utility Classes
   ======================================== */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 16px;
}

.mt-6 {
    margin-top: 24px;
}

.mt-8 {
    margin-top: 32px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

/* ========================================
   Hero Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badges .tag {
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badges .tag:nth-child(1) { animation-delay: 0.1s; }
.hero-badges .tag:nth-child(2) { animation-delay: 0.2s; }
.hero-badges .tag:nth-child(3) { animation-delay: 0.3s; }

.hero h1 {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.hero-actions .btn {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-actions .btn:nth-child(1) { animation-delay: 0.6s; }
.hero-actions .btn:nth-child(2) { animation-delay: 0.75s; }

.hero-stat {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-stat:nth-child(1) { animation-delay: 0.8s; }
.hero-stat:nth-child(2) { animation-delay: 0.9s; }
.hero-stat:nth-child(3) { animation-delay: 1.0s; }
.hero-stat:nth-child(4) { animation-delay: 1.1s; }

@keyframes logoFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
        opacity: var(--hero-bg-opacity);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px) scale(1.02);
        opacity: var(--hero-bg-opacity-strong);
    }
}

.hero-bg-logo {
    animation: logoFloat 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-logo,
    .hero-badges .tag,
    .hero h1,
    .hero-subtitle,
    .hero-actions .btn,
    .hero-stat,
    .scroll-reveal {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Enhanced CTA button glow */
.hero-actions .btn-primary {
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3), 0 0 30px rgba(13, 148, 136, 0.15);
}

.hero-actions .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4), 0 0 40px rgba(13, 148, 136, 0.2);
}

[data-theme="dark"] .hero-actions .btn-primary {
    box-shadow: 0 4px 15px rgba(45, 212, 191, 0.25), 0 0 30px rgba(45, 212, 191, 0.12);
}

[data-theme="dark"] .hero-actions .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(45, 212, 191, 0.35), 0 0 40px rgba(45, 212, 191, 0.18);
}

/* Enhanced card hover effects */
.card:hover,
.feature-card:hover,
.value-card:hover,
.compliance-card:hover,
.ai-card:hover,
.segment-card:hover,
.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.15), 0 0 0 1px rgba(13, 148, 136, 0.1);
}

[data-theme="dark"] .card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .value-card:hover,
[data-theme="dark"] .compliance-card:hover,
[data-theme="dark"] .ai-card:hover,
[data-theme="dark"] .segment-card:hover,
[data-theme="dark"] .pricing-card:hover {
    box-shadow: 0 8px 30px rgba(45, 212, 191, 0.12), 0 0 0 1px rgba(45, 212, 191, 0.15);
}

/* FAQ animations */
.faq-item[open] summary {
    margin-bottom: 0;
}

.faq-item .faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item[open] .faq-answer {
    max-height: 300px;
    opacity: 1;
}

/* Integration logo hover */
.integration-logo:hover {
    transform: translateY(-2px) scale(1.02);
}

/* ========================================
   Mobile Optimizations
   ======================================== */
@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .display-text {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-desc {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ai-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .card {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .integration-logos {
        gap: 8px;
    }

    .integration-logo {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .faq-item summary {
        font-size: 0.95rem;
        padding: 16px;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
    }
}

/* Section page specific styles */
.page-hero {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #f0fdfa 0%, var(--bg) 50%);
}

[data-theme="dark"] .page-hero {
    background: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding: 12px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-weight: 500;
    transition: all 0.2s;
}

.back-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}
