/* ============================================
   CONVERSATIONAL AI (Convoking) - THEME STYLES
   Author: Ahtisham ul haq | ThriveHash
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --color-primary: #2997ff;
    --color-primary-hover: #0077ed;
    --color-primary-light: rgba(41, 151, 255, 0.1);
    --color-black: #000000;
    --color-white: #ffffff;
    --color-dark: #000000;
    --color-dark-card: #111111;
    --color-dark-header: #000000;
    --color-gray-light: #f5f5f7;
    --color-gray: #86868b;
    --color-text: #1d1d1f;
    --color-text-light: #6e6e73;
    --color-border: #d2d2d7;
    --color-blue-label: #2997ff;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ---------- Section Base ---------- */
.cai-section {
    position: relative;
    overflow: hidden;
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-blue-label);
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.section-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 16px;
}

.section-subheading {
    font-size: 16px;
    color: var(--color-text-light);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0;
    line-height: 1.2;
    position: relative;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(41, 151, 255, 0.35);
}
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.04);
}
.btn-outline:active { transform: scale(0.98); }

.btn-outline-dark {
    background-color: transparent;
    color: #1d1d1f;
    border: 1.5px solid #d2d2d7;
}
.btn-outline-dark:hover {
    border-color: #1d1d1f;
    transform: scale(1.04);
}

.btn-dark {
    background-color: #1d1d1f;
    color: var(--color-white);
}
.btn-dark:hover {
    background-color: #000;
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Ghost button (like Apple's "Learn more >" links) */
.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1.5px solid rgba(255,255,255,0.2);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 980px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

/* Text link button (Apple "Learn more" style) */
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 17px;
    font-weight: 400;
    color: var(--color-primary);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.btn-text:hover { gap: 8px; }
.btn-text svg { transition: transform 0.2s; }
.btn-text:hover svg { transform: translateX(3px); }

/* ============================================
   HEADER — Convoking Design
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-dark-header);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: var(--header-height);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* ── Logo ── */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.logo-icon-box {
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Nav — base styles (critical overrides in header inline style) ── */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list > li > a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-list > li > a:hover {
    color: var(--color-white);
}

.nav-list > li > a svg {
    transition: transform 0.3s ease;
}

.nav-list > li:hover > a svg {
    transform: rotate(180deg);
}

/* ── Dropdown — base styles ── */
.nav-list .sub-menu li a {
    display: block;
    padding: 10px 24px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-list .sub-menu li a:hover {
    color: var(--color-white);
    background: rgba(41, 151, 255, 0.1);
}

/* ── Header CTA ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 980px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.header-cta:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(41, 151, 255, 0.35);
}

/* ── Mobile Toggle ── */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Hamburger → X */
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sub-menu toggle arrow */
.sub-toggle { display: none; }

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .sub-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        position: absolute;
        right: 0;
        top: 6px;
        cursor: pointer;
        color: rgba(255,255,255,0.4);
        transition: transform 0.3s ease, color 0.3s ease;
        z-index: 5;
    }
    .sub-open > .sub-toggle { transform: rotate(180deg); color: #fff; }
    .menu-item-has-children { position: relative; }
    .menu-item-has-children > .sub-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .sub-open > .sub-menu { max-height: 300px; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 60%, #000000 100%);
    padding: 120px 0 30px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Video background */
.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* When video is present, remove default gradient */
.hero-section.has-video {
    background: #000;
}

/* Dark overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Purple glow on top of overlay */
.hero-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(41, 151, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.hero-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.hero-tab:hover,
.hero-tab.active {
    background: rgba(41, 151, 255, 0.15);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.hero-tab svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.hero-dashboard {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-dashboard .dashboard-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    min-width: 240px;
    text-align: left;
}

.hero-dashboard .dashboard-card h4 {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-dashboard .dashboard-card p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.hero-dashboard .dashboard-card img {
    margin-top: 12px;
    border-radius: 8px;
}

.hero-phone {
    position: relative;
    display: inline-block;
    margin-top: 24px;
}

.hero-phone-inner {
    background: var(--color-dark-card);
    border-radius: 24px;
    padding: 30px 24px 24px;
    max-width: 300px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-phone .mic-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.hero-phone .mic-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.hero-phone .phone-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.hero-phone .phone-btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
}
.hero-phone .phone-btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(41, 151, 255, 0.35);
}

.hero-phone .phone-btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}
.hero-phone .phone-btn-outline:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: var(--color-white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 16px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: var(--color-border);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* ============================================
   LOGOS SECTION — Infinite Slider
   ============================================ */
.logos-section {
    padding: 40px 0;
}

/* Core layout handled by inline critical CSS in header.php */

.logos-bar {
    background: #000;
    border-radius: 16px;
    padding: 36px 0;
    overflow: hidden;
    position: relative;
}

.logos-bar::before,
.logos-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.logos-bar::before {
    left: 0;
    background: linear-gradient(to right, #000 0%, transparent 100%);
}

.logos-bar::after {
    right: 0;
    background: linear-gradient(to left, #000 0%, transparent 100%);
}

.logo-slide img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: all 0.3s ease;
}

.logo-slide img:hover {
    opacity: 0.9;
}

.logo-slide .logo-text-placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.logo-slide .logo-text-placeholder.large {
    font-size: 24px;
    font-weight: 700;
}

.logo-slide:hover .logo-text-placeholder {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background: var(--color-white);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.features-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 816px;
    margin: 0 auto;
}

.feature-card {
    background: var(--color-gray-light);
    border-radius: 16px;
    padding: 32px 28px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   PLATFORM / BENEFITS SECTION
   ============================================ */
.platform-section {
    background: var(--color-gray-light);
    padding: 80px 0;
}

.platform-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.platform-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.platform-benefits {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-item {
    position: relative;
    padding-left: 20px;
}

.benefit-item.active {
    border-left: 3px solid var(--color-primary);
}

.benefit-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.benefits-alternating .benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.benefits-alternating .benefit-row:nth-child(even) {
    direction: rtl;
}

.benefits-alternating .benefit-row:nth-child(even) > * {
    direction: ltr;
}

.benefits-alternating .benefit-row-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

.benefits-alternating .benefit-row-content p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.benefits-alternating .benefit-row-image img {
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ============================================
   SECURITY SECTION
   ============================================ */
.security-section {
    background: var(--color-dark);
    padding: 80px 0;
}

.security-section .section-label {
    color: var(--color-primary);
}

.security-section .section-heading {
    color: var(--color-white);
}

.security-section .section-subheading {
    color: rgba(255, 255, 255, 0.6);
}

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

.security-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: left;
    transition: var(--transition);
}

.security-card:hover {
    border-color: rgba(41, 151, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.security-card .card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.security-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.security-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.security-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.security-section .btn-primary {
    display: block;
    max-width: 220px;
    margin: 0 auto;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-section {
    background: linear-gradient(180deg, var(--color-dark) 0%, #0a0a0a 100%);
    padding: 80px 0;
}

.industries-section .section-heading {
    color: var(--color-white);
}

.industries-section .section-subheading {
    color: rgba(255, 255, 255, 0.6);
}

.industries-grid-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

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

.industry-card {
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 20, 40, 0.95) 0%, rgba(40, 20, 60, 0.85) 100%);
    z-index: 0;
}

.industry-card > * {
    position: relative;
    z-index: 1;
}

.industry-card:hover {
    transform: translateY(-4px);
}

.industry-listen {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    align-self: flex-start;
    cursor: pointer;
}

.industry-listen svg {
    width: 16px;
    height: 16px;
}

.industry-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 16px;
}

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
}

.industry-link:hover {
    gap: 10px;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
    background: #ffffff;
    padding: 80px 0;
}

.comparison-table-wrap {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table thead th {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    background: #f1f5f9;
    color: #374151 !important;
}

.comparison-table thead th:first-child {
    text-align: left;
    border-radius: 12px 0 0 0;
    color: #374151 !important;
}

.comparison-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.comparison-table thead th.highlight {
    background: #dbeafe;
    color: var(--color-primary) !important;
}

.comparison-table tbody td {
    padding: 18px 24px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    color: #374151 !important;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: #111827 !important;
}

.comparison-table tbody td:nth-child(2) {
    color: #374151 !important;
}

.comparison-table tbody td .check {
    color: var(--color-primary) !important;
    font-size: 20px;
}

.comparison-table tbody td .check-gray {
    color: #9ca3af !important;
    font-size: 20px;
}

.comparison-table tbody td .highlight-text {
    color: var(--color-primary) !important;
    font-weight: 700;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: linear-gradient(180deg, var(--color-gray-light) 0%, var(--color-white) 100%);
    padding: 80px 0;
}

.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px 32px;
    min-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-quote-icon {
    font-size: 48px;
    color: #d1d5db;
    line-height: 1;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-text strong {
    color: var(--color-primary);
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--color-gray);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonials-nav .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: var(--transition);
}

.testimonials-nav .dot.active {
    background: var(--color-primary);
    width: 12px;
    height: 12px;
}

.testimonials-nav .nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--color-white);
}

.testimonials-nav .nav-arrow:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ============================================
   INTEGRATIONS
   ============================================ */
.integrations-section {
    background: var(--color-gray-light);
    padding: 80px 0;
}

.integrations-bar {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.integrations-bar img {
    height: 36px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.integrations-bar img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    background: var(--color-white);
    padding: 80px 0;
}

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

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    cursor: pointer;
    gap: 16px;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
}

.faq-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-toggle svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-item.active .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 0 24px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--color-white);
}

.cta-box {
    background: #1d1d1f;
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.cta-image img {
    max-width: 100%;
    border-radius: 12px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 0.8fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .footer-logo {
    margin-bottom: 16px;
}

.footer-brand .footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand .footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand .footer-logo-text .crown {
    color: #a855f7;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a::before {
    content: '→';
    font-size: 12px;
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ABOUT US PAGE
   ============================================ */
.page-hero {
    background: linear-gradient(180deg, var(--color-dark) 0%, #0a0a0a 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-hero .breadcrumb {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a:hover {
    color: var(--color-white);
}

.about-story {
    padding: 80px 0;
    background: var(--color-white);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-content .section-label {
    text-align: left;
}

.about-story-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 16px;
    text-align: left;
}

.about-story-content p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-story-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-values {
    padding: 80px 0;
    background: var(--color-gray-light);
}

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

.value-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--color-primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon img {
    width: 32px;
    height: 32px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.about-team {
    padding: 80px 0;
    background: var(--color-white);
}

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

.team-card {
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-card .team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--color-border);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    border-color: var(--color-primary);
}

.team-card .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 4px;
}

.team-card p {
    font-size: 14px;
    color: var(--color-gray);
}

.about-mission {
    padding: 80px 0;
    background: var(--color-dark);
}

.about-mission .section-heading {
    color: var(--color-white);
}

.about-mission .section-subheading {
    color: rgba(255, 255, 255, 0.6);
}

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

.mission-stat {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.mission-stat .number {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.mission-stat .label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   CONTACT US PAGE
   ============================================ */
.contact-info-section {
    padding: 80px 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-details h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 16px;
}

.contact-details > p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--color-gray-light);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card .info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.contact-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111827 !important;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 15px;
    color: #374151 !important;
    line-height: 1.5;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: var(--color-primary) !important;
}

/* WPForms Styling */
.contact-form-wrap {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contact-form-wrap h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

.contact-form-wrap > p {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* WPForms overrides */
.contact-form-wrap .wpforms-container .wpforms-form .wpforms-field-label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.contact-form-wrap .wpforms-container .wpforms-form input[type="text"],
.contact-form-wrap .wpforms-container .wpforms-form input[type="email"],
.contact-form-wrap .wpforms-container .wpforms-form input[type="tel"],
.contact-form-wrap .wpforms-container .wpforms-form input[type="url"],
.contact-form-wrap .wpforms-container .wpforms-form textarea,
.contact-form-wrap .wpforms-container .wpforms-form select {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
    width: 100%;
    background: var(--color-gray-light);
}

.contact-form-wrap .wpforms-container .wpforms-form input:focus,
.contact-form-wrap .wpforms-container .wpforms-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.1);
    background: var(--color-white);
}

.contact-form-wrap .wpforms-container .wpforms-form .wpforms-submit-container button {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: var(--font-primary) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    width: 100%;
}

.contact-form-wrap .wpforms-container .wpforms-form .wpforms-submit-container button:hover {
    background: var(--color-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 151, 255, 0.3);
}

/* Fallback contact form (when WPForms not installed) */
.cai-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.cai-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.cai-contact-form input,
.cai-contact-form textarea,
.cai-contact-form select {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: var(--color-gray-light);
}

.cai-contact-form input:focus,
.cai-contact-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.1);
    background: var(--color-white);
}

.cai-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.cai-contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* Contact Map */
.contact-map {
    padding: 0 0 80px;
    background: var(--color-white);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: 48px; }
    .hero-subtitle { font-size: 28px; }
    .section-heading { font-size: 34px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .platform-layout { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid-top { grid-template-columns: 1fr; }
    .industries-grid-bottom { grid-template-columns: repeat(2, 1fr); }
    .cta-box { grid-template-columns: 1fr; text-align: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-story-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .mission-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Mobile nav handled by inline critical CSS in header.php */

    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 22px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .features-grid,
    .features-grid-bottom { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .industries-grid-bottom { grid-template-columns: 1fr; }
    .section-heading { font-size: 28px; }
    .cta-box { padding: 40px 24px; }
    .cta-content h2 { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .benefits-alternating .benefit-row { grid-template-columns: 1fr; }
    .benefits-alternating .benefit-row:nth-child(even) { direction: ltr; }
    .hero-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    .hero-tab { flex-shrink: 0; }
    .page-hero h1 { font-size: 36px; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cai-contact-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 18px; }
    .section-heading { font-size: 24px; }
    .stat-number { font-size: 32px; }
    .testimonial-card { min-width: 280px; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
}
