/* =========================================================
   AURAMIND — GLOBAL STYLES
   Professional AI company aesthetic
   Brand colors preserved: deep charcoal + violet accent
========================================================= */

:root {
    --bg: #08080A;
    --bg-soft: #0B0B0E;
    --surface: #121216;
    --surface-hover: #17171C;
    --surface-elevated: #1A1A20;

    --primary: #8D78D8;
    --primary-light: #B5A4F2;
    --primary-dim: rgba(141, 120, 216, 0.14);
    --primary-glow: rgba(141, 120, 216, 0.28);

    --gold: #D9A15C;
    --gold-light: #EFC48C;
    --gold-dim: rgba(217, 161, 92, 0.14);

    --white: #F7F7F8;
    --text: #E8E8EA;
    --muted: #A6A6AC;
    --faint: #8A8A91;

    --border: rgba(247, 247, 248, 0.07);
    --border-strong: rgba(247, 247, 248, 0.13);
    --border-primary: rgba(141, 120, 216, 0.35);

    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Manrope", sans-serif;
    --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

    --container: 1200px;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
    --shadow-primary: 0 12px 40px rgba(141, 120, 216, 0.22);
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

html {
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

::selection {
    background: var(--primary-dim);
    color: var(--white);
}

:focus-visible {
    outline: 1.5px solid var(--primary-light);
    outline-offset: 3px;
}

/* =========================================================
   SCROLL / ENTRANCE ANIMATIONS
========================================================= */

.js [data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-animate].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.js [data-animate="zoom-in"] {
    transform: scale(0.94);
}

.js [data-animate="zoom-in"].is-revealed {
    transform: scale(1);
}

[data-animate][data-animate-delay="1"] { transition-delay: 0.12s; }
[data-animate][data-animate-delay="2"] { transition-delay: 0.24s; }
[data-animate][data-animate-delay="3"] { transition-delay: 0.36s; }
[data-animate][data-animate-delay="4"] { transition-delay: 0.48s; }

.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.32s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.4s; }

.steps-grid .step-card:nth-child(1) { transition-delay: 0s; }
.steps-grid .step-card:nth-child(2) { transition-delay: 0.1s; }
.steps-grid .step-card:nth-child(3) { transition-delay: 0.2s; }
.steps-grid .step-card:nth-child(4) { transition-delay: 0.3s; }

.platforms-row .platform-tag:nth-child(1) { transition-delay: 0s; }
.platforms-row .platform-tag:nth-child(2) { transition-delay: 0.06s; }
.platforms-row .platform-tag:nth-child(3) { transition-delay: 0.12s; }
.platforms-row .platform-tag:nth-child(4) { transition-delay: 0.18s; }
.platforms-row .platform-tag:nth-child(5) { transition-delay: 0.24s; }
.platforms-row .platform-tag:nth-child(6) { transition-delay: 0.3s; }

.contact-info-grid .contact-info-item:nth-child(1) { transition-delay: 0s; }
.contact-info-grid .contact-info-item:nth-child(2) { transition-delay: 0.08s; }
.contact-info-grid .contact-info-item:nth-child(3) { transition-delay: 0.16s; }
.contact-info-grid .contact-info-item:nth-child(4) { transition-delay: 0.24s; }

.navbar {
    transition:
        background var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.navbar.is-scrolled {
    background: rgba(8, 8, 10, 0.92);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: var(--border-strong);
}

.nav-links a.is-active {
    color: var(--white);
}

.nav-links a.is-active::after {
    width: 100%;
}

.btn:active {
    transform: scale(0.97);
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] {
    --font-display: "IBM Plex Sans Arabic", "Manrope", sans-serif;
    --font-body: "IBM Plex Sans Arabic", "Manrope", sans-serif;
    --font-mono: "IBM Plex Sans Arabic", "Manrope", sans-serif;
}

html[dir="rtl"] body {
    font-family: var(--font-body);
}

html[dir="rtl"] .hero-description,
html[dir="rtl"] .section-heading p,
html[dir="rtl"] .solution-content p,
html[dir="rtl"] .service-card p,
html[dir="rtl"] .step-card p,
html[dir="rtl"] .why-card p,
html[dir="rtl"] .industry-card p,
html[dir="rtl"] .demo-copy p,
html[dir="rtl"] .contact-header p {
    line-height: 1.9;
}html[dir="rtl"] .hero-buttons,
html[dir="rtl"] .solution-container,
html[dir="rtl"] .service-link,
html[dir="rtl"] .contact-info-item,
html[dir="rtl"] .contact-socials,
html[dir="rtl"] .demo-panel {
    direction: rtl;
}

html[dir="rtl"] .contact-info-item {
    text-align: right;
}

html[dir="rtl"] .demo-message.visitor {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .demo-message.assistant {
    margin-left: auto;
    margin-right: 0;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 10, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.logo-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-mark {
    transform: rotate(25deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.18em;
    color: var(--white);
    white-space: nowrap;
}

.logo-text .accent {
    color: var(--primary-light);
    font-weight: 400;
}

/* =========================================================
   DESKTOP NAV
========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-inline: auto;
}

.nav-links a {
    white-space: nowrap;
    position: relative;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1.5px;
    background: var(--primary-light);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================================
   NAV RIGHT
========================================================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

/* =========================================================
   LANGUAGE SWITCH
========================================================= */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
}

.lang-option {
    padding: 4px 3px;
    color: var(--faint);
    background: transparent;
    font-weight: 600;
    transition: color var(--transition);
}

.lang-option:hover {
    color: var(--muted);
}

.lang-option.is-active {
    color: var(--primary-light);
}

.lang-divider {
    color: var(--border-strong);
    font-size: 0.7rem;
}

/* =========================================================
   NAV BUTTON
========================================================= */

.nav-button {
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--border-primary);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.nav-button:hover {
    background: var(--primary-dim);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
}

.mobile-menu-button span {
    display: block;
    width: 20px;
    height: 1.5px;
    margin: 3px auto;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-button.is-active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-links {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 24px;
    background: rgba(8, 8, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.mobile-nav-links.open {
    display: flex;
}

.mobile-nav-links a {
    padding: 14px 6%;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.mobile-nav-links a:hover {
    color: var(--white);
}

.mobile-demo-button {
    margin: 10px 6% 0;
    width: fit-content;
}

.lang-switch-mobile {
    padding: 12px 6% 4px;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.btn > span:last-child {
    transition: transform var(--transition);
}

.btn:hover > span:last-child {
    transform: translateX(4px);
}

html[dir="rtl"] .btn:hover > span:last-child {
    transform: translateX(-4px);
}

.btn-primary {
    position: relative;
    overflow: hidden;
    color: var(--bg);
    background: linear-gradient(135deg, var(--white), var(--primary-light));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
    transform: translateX(-120%);
}

.btn-primary:hover::before {
    transform: translateX(120%);
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-3px);
}

.btn-secondary {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--border-primary);
    background: rgba(247, 247, 248, 0.02);
    transform: translateY(-3px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
}

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

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(247, 247, 248, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 247, 248, 0.022) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.16;
    background: var(--primary);
}

.glow-one {
    top: -240px;
    right: -180px;
}

.glow-two {
    bottom: -380px;
    left: -260px;
    width: 480px;
    height: 480px;
    opacity: 0.07;
    background: var(--gold);
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 60px;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--primary-dim);
    border: 1px solid var(--border-primary);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
    flex-shrink: 0;
}

html[dir="rtl"] .eyebrow {
    letter-spacing: 0;
}

.hero-title {
    max-width: 760px;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 5.4vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    font-weight: 500;
    color: var(--white);
}

.hero-title-line1,
.hero-title-line2 {
    display: block;
}

.hero-title-line2 {
    color: var(--primary-light);
    font-style: italic;
    font-weight: 500;
}

html[dir="rtl"] .hero-title-line2 {
    font-style: normal;
}

.hero-description {
    max-width: 560px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-item strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.01em;
}

.trust-item small {
    font-size: 0.78rem;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: var(--border-strong);
}

/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
}

/* =========================================================
   PLATFORMS
========================================================= */

.platform-strip {
    padding: 56px 0 64px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

.platform-label {
    text-align: center;
    color: var(--faint);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
}

.platforms-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 500;
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.platform-tag:hover {
    color: var(--white);
    border-color: var(--border-primary);
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.platform-tag svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 140px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 72px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.section-heading h2,
.solution-content h2,
.contact-header h2,
.demo-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 400;
    color: var(--white);
}

.section-heading p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 540px;
    line-height: 1.75;
}

/* =========================================================
   SERVICES
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    padding: 40px 36px;
    min-height: 250px;
    background: var(--bg);
    transition:
        background var(--transition-slow),
        transform var(--transition);
}

.service-card:hover {
    background: var(--surface);
    transform: translateY(-4px);
}

.service-card.featured {
    background: linear-gradient(160deg, rgba(141, 120, 216, 0.09), rgba(141, 120, 216, 0.02));
    position: relative;
}

.service-card.featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-primary);
    pointer-events: none;
}

.service-card.featured:hover {
    background: linear-gradient(160deg, rgba(141, 120, 216, 0.14), rgba(141, 120, 216, 0.03));
}

.service-card.featured .service-icon {
    width: 52px;
    height: 52px;
}

.service-card.featured h3 {
    font-size: 1.22rem;
}

.service-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: var(--radius-sm);
    background: var(--primary-dim);
    color: var(--primary-light);
    transition:
        background var(--transition),
        transform var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(141, 120, 216, 0.22);
    transform: scale(1.08) rotate(-6deg);
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-card:nth-child(3n+2) .service-icon {
    background: var(--gold-dim);
    color: var(--gold-light);
}

.service-card:nth-child(3n+2):hover .service-icon {
    background: rgba(217, 161, 92, 0.22);
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.08rem;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--primary-light);
    font-size: 0.82rem;
    font-weight: 600;
}

/* =========================================================
   ANIMATIONS
========================================================= */

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1120px) {
    .nav-links,
    .nav-right {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }
}

@media (min-width: 1121px) {
    .mobile-nav-links {
        display: none !important;
    }
}

@media (max-width: 950px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        max-width: 600px;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
        margin-top: 20px;
    }

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

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .nav-container {
        height: 70px;
    }

    .logo-text {
        font-size: 0.78rem;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 0.96rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-trust {
        gap: 20px;
    }

    .trust-item strong {
        font-size: 1.25rem;
    }

    .trust-item small {
        font-size: 0.7rem;
    }

    .hero-visual {
        min-height: 320px;
    }

    .section {
        padding: 100px 0;
    }

    .section-heading {
        margin-bottom: 52px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        border-radius: var(--radius);
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
    .logo-text {
        font-size: 0.7rem;
        letter-spacing: 0.13em;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-trust {
        flex-wrap: wrap;
        gap: 16px 24px;
    }
}

/* =========================================================
   AURAMIND — PROFESSIONAL AI BUSINESS REDESIGN
   Product-led visuals, restrained effects, stronger hierarchy
========================================================= */

.hero-background .glow { opacity: 0.55; }

.hero-system-visual {
    min-height: 560px;
    max-width: 560px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.system-window {
    width: min(100%, 560px);
    border: 1px solid var(--border-strong);
    background: linear-gradient(180deg, rgba(24,24,30,.96), rgba(12,12,16,.98));
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0,0,0,.48), 0 0 80px rgba(141,120,216,.10);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.system-window-bar {
    height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}
.window-dots { display:flex; gap:6px; }
.window-dots span { width:7px; height:7px; border-radius:50%; background:rgba(247,247,248,.25); }
.window-title { font-family:var(--font-mono); font-size:.74rem; font-weight:600; letter-spacing:.02em; color:var(--white); }
.window-status { justify-self:end; display:flex; align-items:center; gap:7px; color:var(--muted); font-family:var(--font-mono); font-size:.66rem; text-transform:uppercase; letter-spacing:.06em; }
.status-dot { width:6px; height:6px; border-radius:50%; background:var(--primary-light); box-shadow:0 0 0 3px var(--primary-dim); animation:pulseDot 2s ease-in-out infinite; }
.system-chat { padding: 28px; }
.system-message { max-width: 82%; padding: 15px 17px; border:1px solid var(--border); border-radius:16px; margin-bottom:14px; }
.system-message.customer { margin-inline-start:auto; background:rgba(255,255,255,.035); border-start-end-radius:6px; }
.system-message.ai { background:rgba(141,120,216,.09); border-color:rgba(141,120,216,.20); border-start-start-radius:6px; }
.system-message small { display:block; color:var(--faint); font-family:var(--font-mono); font-size:.64rem; font-weight:500; text-transform:uppercase; letter-spacing:.08em; margin-bottom:6px; }
.system-message p { color:var(--text); font-size:.88rem; line-height:1.6; }
.system-actions { margin-top:22px; padding-top:20px; border-top:1px solid var(--border); display:grid; gap:11px; }
.system-actions span { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:.73rem; }
.system-actions i { width:18px; height:18px; display:grid; place-items:center; border-radius:50%; background:var(--gold-dim); color:var(--gold-light); font-style:normal; font-size:.65rem; }
.system-float { position:absolute; z-index:3; padding:13px 16px; background:rgba(18,18,22,.92); border:1px solid var(--border-strong); border-radius:14px; box-shadow:var(--shadow); backdrop-filter:blur(12px); }
.system-float strong { display:block; font-size:.72rem; color:var(--white); }
.system-float small { display:block; margin-top:3px; color:var(--faint); font-size:.63rem; }
.system-float-top { top:-18px; left:32px; }
.system-float-bottom { bottom:-18px; right:32px; }

.problem-grid { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--border); border-radius:22px; overflow:hidden; }
.problem-card { padding:28px 24px; border-inline-end:1px solid var(--border); min-height:210px; }
.problem-card:last-child { border-inline-end:0; }
.problem-card p { margin-top:10px; color:var(--muted); font-size:.82rem; line-height:1.7; }

.industries-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.industry-card { display:flex; flex-direction:column; border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.015); overflow:hidden; transition:transform var(--transition), border-color var(--transition), background var(--transition); }
.industry-card:hover { transform:translateY(-3px); border-color:var(--border-primary); background:rgba(141,120,216,.045); }
.industry-card h3 { color:var(--white); font-size:1rem; }
.industry-card p { color:var(--muted); font-size:.8rem; margin-top:7px; line-height:1.7; }

.steps-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.step-card { position:relative; padding:28px 24px; border:1px solid var(--border); border-radius:18px; background:rgba(255,255,255,.015); transition:transform var(--transition), border-color var(--transition), background var(--transition); }
.step-card:hover { transform:translateY(-3px); border-color:var(--border-primary); background:rgba(141,120,216,.045); }
.step-card h3 { margin-top:20px; }
.step-card p { margin-top:10px; color:var(--muted); font-size:.85rem; line-height:1.7; }

.lead-form { margin-top:44px; padding:26px; border:1px solid var(--border-strong); border-radius:22px; background:rgba(255,255,255,.025); box-shadow:var(--shadow); }
.lead-form-header { margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.lead-form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:15px; margin-top:22px; }
.lead-form label { display:block; }
.lead-form label.full { grid-column:1 / -1; }
.lead-form label > span { display:block; margin-bottom:7px; color:var(--muted); font-size:.7rem; font-weight:700; }
.lead-form input, .lead-form select { width:100%; height:46px; border:1px solid var(--border-strong); border-radius:11px; background:#0c0c10; color:var(--text); padding:0 13px; font:inherit; font-size:.78rem; outline:none; transition:border-color var(--transition), box-shadow var(--transition); }
.lead-form input::placeholder { color:var(--faint); }
.lead-form input:focus, .lead-form select:focus { border-color:var(--border-primary); box-shadow:0 0 0 3px var(--primary-dim); }
.form-submit { margin-top:18px; width:100%; justify-content:center; }
.form-note { margin-top:10px; color:var(--faint); font-size:.68rem; text-align:center; }

/* ---- Robot hand "touch" visual on the lead form ---- */

.lead-form-wrap {
    position: relative;
    margin-top: 60px;
}

.lead-form {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.lead-form-header {
    position: relative;
}

.lead-form-header::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -30px;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(141, 120, 216, 0.1) 45%, transparent 72%);
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
    animation: formTouchPulse 3.6s ease-in-out infinite;
}

.lead-form-header > * {
    position: relative;
    z-index: 1;
}

.form-touch {
    position: absolute;
    top: -58px;
    right: 26px;
    width: 132px;
    z-index: 2;
    pointer-events: none;
    animation: formTouchFloat 6.5s ease-in-out infinite;
}

html[dir="rtl"] .form-touch {
    right: auto;
    left: 26px;
}

.form-touch img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(ellipse 58% 52% at 64% 24%, #000 22%, rgba(0, 0, 0, 0.45) 48%, transparent 72%);
    mask-image: radial-gradient(ellipse 58% 52% at 64% 24%, #000 22%, rgba(0, 0, 0, 0.45) 48%, transparent 72%);
}

html[dir="rtl"] .form-touch img {
    -webkit-mask-image: radial-gradient(ellipse 58% 52% at 36% 24%, #000 22%, rgba(0, 0, 0, 0.45) 48%, transparent 72%);
    mask-image: radial-gradient(ellipse 58% 52% at 36% 24%, #000 22%, rgba(0, 0, 0, 0.45) 48%, transparent 72%);
}

.form-touch::after {
    content: "";
    position: absolute;
    top: 22%;
    right: 20%;
    width: 26px;
    height: 26px;
    background: radial-gradient(circle, rgba(247, 247, 248, 0.9) 0%, var(--primary-light) 35%, transparent 72%);
    border-radius: 50%;
    filter: blur(3px);
    mix-blend-mode: screen;
    animation: formTouchSpark 3.6s ease-in-out infinite;
}

html[dir="rtl"] .form-touch::after {
    right: auto;
    left: 20%;
}

.form-touch {
    --mirror: 1;
}

html[dir="rtl"] .form-touch {
    --mirror: -1;
}

@keyframes formTouchFloat {
    0%, 100% { transform: scaleX(var(--mirror)) translateY(0) rotate(-1.5deg); }
    50% { transform: scaleX(var(--mirror)) translateY(-9px) rotate(1deg); }
}

@keyframes formTouchPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes formTouchSpark {
    0%, 100% { opacity: 0.55; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
    .form-touch,
    .lead-form-header::before,
    .form-touch::after {
        animation: none;
    }
}

@media (max-width: 720px) {
    .form-touch {
        width: 120px;
        top: -78px;
        right: -4px;
    }
    .lead-form-header::before {
        width: 150px;
        height: 150px;
        top: -34px;
        right: -20px;
    }
}

@media (max-width: 950px) {
    .problem-grid { grid-template-columns:repeat(2,1fr); }
    .problem-card:nth-child(2) { border-inline-end:0; }
    .problem-card:nth-child(-n+2) { border-bottom:1px solid var(--border); }
    .industries-grid { grid-template-columns:1fr 1fr; }
    .system-float-top { left:20px; }
    .system-float-bottom { right:20px; }
    .steps-grid { grid-template-columns:repeat(2,1fr); }
    .step-card:not(:last-child)::after { display:none; }
}

@media (max-width: 600px) {
    .hero-system-visual { min-height:420px; margin-top:10px; }
    .system-window { border-radius:18px; }
    .system-chat { padding:20px; }
    .system-message { max-width:92%; }
    .system-message p { font-size:.78rem; }
    .system-float { padding:10px 12px; }
    .system-float-top { top:-14px; left:16px; }
    .system-float-bottom { bottom:-14px; right:16px; }
    .problem-grid { grid-template-columns:1fr; }
    .problem-card, .problem-card:nth-child(2) { border-inline-end:0; border-bottom:1px solid var(--border); }
    .problem-card:last-child { border-bottom:0; }
    .problem-card { min-height:auto; }
    .industries-grid { grid-template-columns:1fr; }
    .steps-grid { grid-template-columns:1fr; }
    .lead-form { padding:20px; }
    .lead-form-grid { grid-template-columns:1fr; }
    .lead-form label.full { grid-column:auto; }
}

/* =========================================================
   SECTION BACKGROUND WRAPPERS
   (class names match the "<name>-section" wrappers in the HTML)
========================================================= */

.problem-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-section {
    background: var(--bg);
}

.industries-section {
    background: var(--bg-soft);
}

.steps-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.solution-section {
    background: var(--bg);
}

.why-section {
    background: var(--bg);
}

.demo-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-section {
    position: relative;
    background: var(--bg-soft);
    overflow: hidden;
}

.contact-header {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.contact-header p {
    margin-top: 22px;
    color: var(--muted);
    line-height: 1.8;
}

/* ---- Problem cards: number badge ---- */

.problem-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border-primary);
    color: var(--primary-light);
}

.problem-number svg {
    width: 18px;
    height: 18px;
}

.problem-card:nth-child(2n) .problem-number {
    border-color: rgba(217, 161, 92, 0.35);
    color: var(--gold-light);
}

.problem-card h3 {
    margin-top: 34px;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
}

/* ---- Solution / "about" section: orbit graphic + capability list ---- */

.solution-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.solution-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-core {
    position: relative;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(24, 24, 30, 0.96), rgba(12, 12, 16, 0.98));
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.solution-core-glow {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    filter: blur(20px);
    animation: glowPulse 5s ease-in-out infinite;
    z-index: -1;
}

.solution-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
    animation: spin 30s linear infinite;
}

.solution-orbit-one {
    width: 300px;
    height: 300px;
}

.solution-orbit-two {
    width: 380px;
    height: 380px;
    border-style: dashed;
    animation-duration: 46s;
    animation-direction: reverse;
}

.solution-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 0.74rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    z-index: 3;
}

.solution-node-one {
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
}

.solution-node-two {
    bottom: 18%;
    left: 4%;
}

.solution-node-three {
    bottom: 18%;
    right: 4%;
}

.solution-content .section-kicker {
    margin-bottom: 18px;
}

.solution-content p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
    max-width: 540px;
}

.capability-list {
    margin-top: 44px;
    border-top: 1px solid var(--border);
}

.capability-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.capability-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--primary-dim);
    color: var(--primary-light);
}

.capability-icon svg {
    width: 19px;
    height: 19px;
}

.capability-item:nth-child(2n) .capability-icon {
    background: var(--gold-dim);
    color: var(--gold-light);
}

.capability-item h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.98rem;
    color: var(--white);
}

.capability-item p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.7;
}

/* ---- Industries: photo + icon badge ---- */

.industry-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}

.industry-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.03);
    transition: transform var(--transition-slow);
}

.industry-card:hover .industry-media img {
    transform: scale(1.06);
}

.industry-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0) 45%, rgba(8, 8, 10, 0.6) 100%);
    pointer-events: none;
}

.industry-icon {
    position: absolute;
    left: 20px;
    bottom: -18px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: rgba(18, 18, 22, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-strong);
    color: var(--primary-light);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.industry-icon svg {
    width: 22px;
    height: 22px;
}

.industry-card:nth-child(2n) .industry-icon {
    color: var(--gold-light);
}

.industry-body {
    padding: 32px 24px 26px;
}

.industry-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1rem;
    color: var(--white);
}

/* ---- Steps: marker circle ---- */

.step-marker {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border-primary);
    color: var(--primary-light);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.step-marker svg {
    width: 21px;
    height: 21px;
}

.step-card:hover .step-marker {
    border-color: var(--primary-light);
    box-shadow: 0 0 24px rgba(141, 120, 216, 0.25);
}

.step-card:last-child .step-marker {
    border-color: rgba(217, 161, 92, 0.4);
    color: var(--gold-light);
}

.step-card:last-child:hover .step-marker {
    border-color: var(--gold-light);
    box-shadow: 0 0 24px rgba(217, 161, 92, 0.25);
}

.step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    left: calc(100% - 16px);
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M8 5.5 13.5 11 8 16.5' stroke='%236C6C72' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

html[dir="rtl"] .step-card:not(:last-child)::after {
    transform: scaleX(-1);
    left: auto;
    right: calc(100% - 16px);
}

/* ---- Why AuraMind cards ---- */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.why-card {
    padding-block: 26px 4px; padding-inline: 0 28px;
    border-top: 1px solid var(--border);
    background: transparent;
}

.why-card:not(:last-child) {
    border-inline-end: 1px solid var(--border);
}

.why-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--primary-dim);
    color: var(--primary-light);
}

.why-index svg {
    width: 18px;
    height: 18px;
}

.why-card:nth-child(2n) .why-index {
    background: var(--gold-dim);
    color: var(--gold-light);
}

.why-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.02rem;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.75;
}

/* ---- Demo / "see it in action" section ---- */

.demo-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.demo-copy p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

.demo-copy .btn {
    margin-top: 32px;
}

.demo-preview {
    display: flex;
    justify-content: center;
}

.demo-window {
    width: 100%;
    max-width: 420px;
    border: 1px solid var(--border-strong);
    background: linear-gradient(180deg, rgba(24, 24, 30, 0.96), rgba(12, 12, 16, 0.98));
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.demo-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}

.demo-window-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-dim);
    color: var(--primary-light);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
}

.demo-window-brand strong {
    display: block;
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 600;
}

.demo-window-brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.demo-status {
    color: var(--primary-light);
    font-size: 0.7rem;
    animation: pulseDot 2s ease-in-out infinite;
}

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

.demo-messages {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-message {
    max-width: 85%;
    padding: 12px 15px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text);
}

.demo-message.visitor {
    align-self: flex-end;
    margin-left: auto;
    background: var(--primary-dim);
    border: 1px solid var(--border-primary);
    border-bottom-right-radius: 4px;
}

.demo-message.assistant {
    align-self: flex-start;
    background: rgba(247, 247, 248, 0.03);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.demo-suggestion-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.demo-suggestion-row span {
    padding: 8px 14px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 500;
}
.demo-suggestion-row span:nth-child(2) {
    border-color: rgba(217, 161, 92, 0.3);
    color: var(--gold-light);
}

/* ---- Contact / lead form ---- */

.contact-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.lead-form-header .form-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary-light);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.lead-form-header h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--white);
}

.lead-form-header small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 0;
    text-align: left;
}

html[dir="rtl"] .contact-info-grid {
    text-align: right;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition:
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

a.contact-info-item:hover {
    border-color: var(--border-primary);
    background: var(--surface-hover);
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--primary-dim);
    color: var(--primary-light);
}

.contact-info-icon svg {
    width: 18px;
    height: 18px;
}

.contact-info-text {
    min-width: 0;
}

.contact-info-text small {
    display: block;
    color: var(--faint);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.contact-info-text strong {
    display: block;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
}

.contact-socials-label {
    color: var(--faint);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.contact-socials-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted);
    transition:
        color var(--transition),
        border-color var(--transition),
        background var(--transition),
        transform var(--transition);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    color: var(--primary-light);
    border-color: var(--border-primary);
    background: var(--surface-hover);
    transform: translateY(-3px);
}

/* ---- Footer link group spacing ---- */

.footer {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    background: #070709;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand p {
    margin-top: 10px;
    color: var(--faint);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-group strong {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom p {
    color: var(--faint);
    font-size: 0.75rem;
}

/* ---- Responsive adjustments for the new sections ---- */

@media (max-width: 950px) {
    .solution-container {
        grid-template-columns: 1fr;
        gap: 54px;
        text-align: center;
    }

    .solution-visual {
        order: -1;
    }

    .solution-content p {
        margin-inline: auto;
    }

    .capability-item {
        text-align: start;
    }

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

    .why-card:nth-child(2n) {
        border-inline-end: 0;
    }

    .demo-panel {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .demo-copy p {
        margin-inline: auto;
        max-width: 520px;
    }

    .demo-preview {
        order: -1;
    }

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

@media (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        border-inline-end: 0 !important;
        padding-inline-end: 0;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .solution-visual {
        min-height: 340px;
        transform: scale(0.85);
    }

    .demo-messages {
        padding: 18px;
    }

    .footer-links {
        gap: 32px;
    }
}

/* =========================================================
   IMAGE INTEGRATION
   Photography layered into the existing dark/purple system.
========================================================= */

/* ---- Solution / About: AI + human hand-off portrait ----
   The circle becomes a real photograph, framed by the same
   glow + orbit rings already in place. The label floats as a
   pill badge overlapping the lower edge of the circle. */

.solution-core {
    overflow: visible;
}

.solution-core-media {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-soft);
}

.solution-core-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 35%;
    filter: saturate(1.08) contrast(1.04);
}

.solution-core-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(8, 8, 10, 0.05) 0%, rgba(8, 8, 10, 0.65) 100%);
}

.solution-core-content {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    padding: 11px 20px;
    border-radius: 100px;
    background: rgba(18, 18, 22, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    z-index: 4;
    text-align: left;
}

.solution-core-label {
    color: var(--faint);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.solution-core-content strong {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--white);
}

.solution-core-content small {
    color: var(--primary-light);
    font-size: 0.68rem;
    font-weight: 600;
}

html[dir="rtl"] .solution-core-content {
    text-align: right;
}

html[dir="rtl"] .industry-icon {
    left: auto;
    right: 20px;
}

/* ---- Hero: the nebula clip as a quiet companion object ----
   Sits on the window's own top-right corner (hero-system-visual
   is now capped at the window's width, so this anchors to a
   real edge instead of floating in open space). Small, calm
   float, no oversized glow — a detail, not a distraction. */

.hero-artifact {
    position: absolute;
    top: -22px;
    right: -18px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 4;
    box-shadow:
        0 0 0 1px var(--border-strong),
        0 14px 34px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(141, 120, 216, 0.22);
    animation: float 8s ease-in-out infinite;
}

.hero-artifact::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 20px 8px rgba(8, 8, 10, 0.55);
    pointer-events: none;
}.hero-artifact video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Solution visual: a soft glow behind the orbit ----
   Sits behind the rings/core, additive-blended and heavily
   masked so it reads as ambient light rather than a visible
   picture — a quiet accent, not a second focal point. */

.solution-visual {
    isolation: isolate;
}

.solution-visual::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
    background-image: url("images/orbit-rays.jpg");
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(circle, transparent 92px, black 100px, black 116px, transparent 126px);
    mask-image: radial-gradient(circle, transparent 92px, black 100px, black 116px, transparent 126px);
    animation: spin 40s linear infinite reverse;
    pointer-events: none;
    z-index: 1;
}

/* ---- Responsive: keep the image accents calm on small screens ---- */

@media (max-width: 950px) {
    .hero-artifact {
        top: -14px;
        right: -10px;
        width: 82px;
        height: 82px;
    }
}

@media (max-width: 600px) {
    .solution-core-content {
        padding: 9px 16px;
    }

    .solution-core-content strong {
        font-size: 0.84rem;
    }

    .hero-artifact {
        top: -10px;
        right: -6px;
        width: 64px;
        height: 64px;
    }
}

/* Accessible document utilities */
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 2000;
  padding: .7rem 1rem;
  border-radius: 999px;
  color: var(--bg);
  background: var(--white);
  transform: translateY(-180%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); }
img.asset-fallback {
  min-height: 180px;
  background: linear-gradient(135deg, rgba(141,120,216,.18), rgba(217,161,92,.12));
  object-fit: cover;
}

/* =========================================================
   POLISH LAYER (merged from polish.css)
========================================================= */
/* Mobile browsers: 100vh is taller than the visible screen */
.hero {
    min-height: 100vh;
    min-height: 100svh;
}

/* Tighter, more professional section rhythm */
.section {
    padding: 112px 0;
}

@media (max-width: 600px) {
    .section {
        padding: 80px 0;
    }
}

/* Calmer cards: no lifting, just a background change */
.service-card:hover,
.step-card:hover,
.industry-card:hover {
    transform: none;
}

.service-card:hover .service-icon {
    transform: none;
}

/* Touch targets */
.btn {
    min-height: 48px;
}

.lang-option {
    min-width: 32px;
    min-height: 36px;
}

.mobile-nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
}

/* Contact: the social icons sat in one grid cell, off-centre.
   Form column and info column now line up at the top. */
.lead-form-wrap {
    margin-top: 0;
}

.contact-socials {
    grid-column: 1 / -1;
}

@media (min-width: 951px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Form dropdowns readable on dark backgrounds (iOS/Android) */
.lead-form select,
.lead-form input {
    color-scheme: dark;
    -webkit-appearance: none;
    appearance: none;
}

.lead-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%239A9A9F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 38px;
}

html[dir="rtl"] .lead-form select {
    background-position: left 12px center;
    padding-right: 13px;
    padding-left: 38px;
}

/* Footer: copyright row was squeezed beside the links */
.footer-container {
    align-items: flex-start;
}

.footer-bottom {
    flex-basis: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom span {
    color: var(--faint);
    font-size: 0.75rem;
}

@media (max-width: 600px) {
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* =========================================================
   HOME: PRICING PREVIEW + FAQ (previously injected by extras.js)
========================================================= */
.x-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.x-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color var(--transition), background var(--transition); }
.x-card:hover { border-color: var(--border-primary); background: var(--surface-hover); }
.x-card.f { border-color: var(--border-primary); background: linear-gradient(170deg, rgba(141, 120, 216, 0.12), var(--surface) 60%); }
.x-pop { position: absolute; top: -12px; inset-inline-start: 28px; padding: 4px 12px; border-radius: 100px; background: var(--primary-light); color: var(--bg); font-size: 0.72rem; font-weight: 700; }
.x-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--white); }
.x-price { display: flex; align-items: baseline; gap: 6px; color: var(--white); }
.x-price b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; letter-spacing: -0.02em; }
.x-price span { color: var(--muted); font-size: 0.85rem; }
.x-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }
.x-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.x-foot small { color: var(--muted); font-size: 0.85rem; }
.faq-section { background: var(--bg-soft); }
.x-faq { max-width: 760px; border-top: 1px solid var(--border); }
.x-faq details { border-bottom: 1px solid var(--border); }
.x-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; color: var(--white); font-weight: 600; font-size: 1rem; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; color: var(--primary-light); font-size: 1.4rem; font-weight: 400; line-height: 1; flex-shrink: 0; }
.x-faq details[open] summary::after { content: "\2212"; }
.x-faq summary:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 4px; border-radius: 4px; }
.x-faq details p { padding: 0 0 24px; color: var(--muted); font-size: 0.95rem; line-height: 1.8; max-width: 640px; }
@media (max-width: 950px) { .x-grid { grid-template-columns: 1fr; max-width: 480px; } }

/* =========================================================
   FIXES & POLISH (added in the review)
========================================================= */

/* Hero entrance runs in pure CSS, so the headline never waits for JavaScript */
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.js .hero [data-animate] { opacity: 1; transform: none; transition: none; animation: riseIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.js .hero [data-animate="zoom-in"] { animation-name: zoomIn; }
.js .hero [data-animate-delay="1"] { animation-delay: 0.1s; }
.js .hero [data-animate-delay="2"] { animation-delay: 0.2s; }
.js .hero [data-animate-delay="3"] { animation-delay: 0.3s; }
.js .hero [data-animate-delay="4"] { animation-delay: 0.4s; }

/* Infinite animations pause while their section is off screen */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after,
.is-offscreen::before, .is-offscreen::after { animation-play-state: paused !important; }

/* Missing decorative video: hide the empty disc */
.hero-artifact.asset-missing { display: none; }

/* Contact form status (screen-reader + visual) */
.form-status { min-height: 1.2em; margin-top: 10px; color: var(--primary-light); font-size: 0.82rem; text-align: center; }
.form-status:empty { margin-top: 0; min-height: 0; }

/* Keyboard focus that is always visible */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

/* Lighter blur on small screens: big blurred layers are the costliest paint on phones */
@media (max-width: 760px) {
    .glow { filter: blur(70px); }
    .navbar, .navbar.is-scrolled { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

/* iOS Safari zooms the page when a field's text is under 16px */
@media (max-width: 950px) {
    .lead-form input, .lead-form select { font-size: 16px; }
}

/* Minimum readable sizes for the smallest captions */
.form-note { font-size: 0.75rem; }

/* Arabic must never be letter-spaced (it breaks the joined letterforms) */
html[dir="rtl"] body *:not(.logo-text):not(.logo-text *):not(.solution-core-label) { letter-spacing: 0 !important; }

/* Arabic/RTL: tablet card text aligns to the start edge */
html[dir="rtl"] .system-message.customer { margin-inline-start: auto; }

/* Narrow laptops / tablets landscape: tighter header so long Turkish labels fit */
@media (min-width: 1121px) and (max-width: 1320px) {
    .nav-links { gap: 22px; }
    .nav-right { gap: 14px; }
}

/* Very small phones: the orbit graphic must not widen the page */
@media (max-width: 400px) {
    .solution-visual { overflow: clip; }
}

/* 404 page */
.notfound { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 140px 0 80px; overflow: hidden; text-align: center; }
.notfound-inner { position: relative; display: grid; justify-items: center; gap: 18px; }
.notfound-code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); line-height: 1; color: var(--primary-light); }
.notfound h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--white); }
.notfound p:not(.notfound-code) { max-width: 440px; color: var(--muted); }
