/* smartxcore.com — SmartCore LLC company site
 *
 * Reference language: Anthropic, Vercel, Linear, Stripe (company /
 * about pages). Quiet, confident, narrative-first. Trust signals
 * (D-U-N-S, address, NAICS-level metadata) sit in the footer
 * where procurement teams know to look — not in the hero where
 * they'd read as defensive.
 *
 * Design system is shared with smveo.com: same conic-gradient
 * brand mark, same dark neutral palette, same typography.
 */

:root {
    --bg:           #0a0c10;
    --bg-elev-1:    #11141a;
    --bg-elev-2:    #161922;
    --bg-card:      #14171f;

    --border:        rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.13);

    --text:           #f1f3f6;
    --text-secondary: #a8aeba;
    --text-tertiary:  #6b7280;

    --accent:        #ff8a3d;
    --accent-mid:    #ff5c8a;
    --accent-end:    #c440ff;
    --accent-hover:  #ffa05c;
    --accent-fg:     #1a0e08;

    --max-w:         1180px;
    --radius:        12px;
    --radius-lg:     18px;

    --font-sans: "Inter", -apple-system, "Segoe UI Variable", "Segoe UI",
                 system-ui, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 12, 16, 0.72);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.005em;
}
.brand-mark {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: conic-gradient(
        from 200deg,
        var(--accent) 0deg,
        var(--accent-mid) 140deg,
        var(--accent-end) 260deg,
        var(--accent) 360deg
    );
    position: relative;
    box-shadow: 0 4px 14px rgba(255, 92, 138, 0.20);
    transition: box-shadow 240ms ease;
}
.brand-mark::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--bg);
    border-radius: 50%;
}
.brand-mark svg {
    position: relative;
    z-index: 1;
    color: var(--text);
}
.brand:hover .brand-mark {
    box-shadow: 0 6px 22px rgba(255, 92, 138, 0.36),
                0 0 0 4px rgba(255, 92, 138, 0.08);
}
.brand-name { color: var(--text); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 140ms ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--text);
    color: var(--bg) !important;
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 600;
}
.nav-cta:hover {
    background: #fff;
    color: var(--bg) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 120px;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -25%;
    z-index: -1;
    background:
        radial-gradient(circle at 22% 30%, rgba(255, 138, 61, 0.13), transparent 50%),
        radial-gradient(circle at 78% 30%, rgba(196, 64, 255, 0.11), transparent 55%),
        radial-gradient(circle at 50% 95%, rgba(255, 92, 138, 0.08), transparent 60%);
    animation: aurora-drift 32s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}
@keyframes aurora-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-3%, 2%, 0) scale(1.05); }
    100% { transform: translate3d(2%, -2%, 0) scale(1.03); }
}
.hero-inner {
    max-width: 820px;
    text-align: left;
}
.hero-title {
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 0 0 24px;
    color: var(--text);
}
.hero-title .accent {
    background: linear-gradient(90deg, var(--accent), var(--accent-mid), var(--accent-end));
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.hero-sub {
    font-size: 19px;
    color: var(--text-secondary);
    margin: 0 0 36px;
    max-width: 620px;
    line-height: 1.6;
}
.hero-cta {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   BUTTONS — shared with smveo.com
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease,
                box-shadow 160ms ease, border-color 160ms ease;
}
.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--text);
    color: var(--bg);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.10);
}
.btn-primary:hover {
    background: #fff;
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.18);
}
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
        transparent 30%,
        rgba(255, 138, 61, 0.30) 50%,
        transparent 70%);
    transform: translateX(-100%);
    transition: transform 0s;
    pointer-events: none;
}
.btn-primary:hover::after {
    transform: translateX(100%);
    transition: transform 0.7s ease;
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    background: var(--bg-elev-1);
    border-color: rgba(255, 255, 255, 0.22);
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { padding: 110px 0; border-top: 1px solid var(--border); }
.hero { border-top: 0; }
.section-eyebrow {
    font-size: 12.5px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin: 0 0 14px;
}
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 18px;
    color: var(--text);
    max-width: 720px;
}
.section-lead {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 0 48px;
    line-height: 1.65;
}

/* ============================================================
   PRODUCTS — flagship product card
   ============================================================ */
.products {
    background: var(--bg);
}
.product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 36px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    margin-top: 40px;
    transition: transform 240ms ease, box-shadow 240ms ease,
                border-color 240ms ease;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.40),
        0 0 0 1px rgba(255, 92, 138, 0.18);
    border-color: transparent;
}
.product-card-art {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-icon {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: conic-gradient(
        from 200deg,
        var(--accent) 0deg,
        var(--accent-mid) 140deg,
        var(--accent-end) 260deg,
        var(--accent) 360deg
    );
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 16px 40px rgba(255, 92, 138, 0.30);
    transition: transform 240ms ease;
}
.product-icon::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--bg-card);
}
.product-icon svg {
    position: relative;
    z-index: 1;
    color: var(--text);
}
.product-card:hover .product-icon { transform: scale(1.05); }
.product-eyebrow {
    font-size: 11.5px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 10px;
}
.product-card-body h4 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--text);
}
.product-card-body p {
    margin: 0 0 16px;
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 560px;
}
.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 14.5px;
    font-weight: 600;
    transition: gap 200ms ease;
}
.product-card:hover .product-link { gap: 12px; }

/* ============================================================
   MISSION — narrative two-paragraph section
   ============================================================ */
.mission {
    background: var(--bg-elev-1);
}
.mission-inner {
    max-width: 820px;
}
.mission-body p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 720px;
}
.mission-body p:last-child { margin-bottom: 0; }

/* ============================================================
   TEAM — leader card
   ============================================================ */
.team {
    background: var(--bg);
}
.leader-card {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 720px;
    margin-top: 24px;
    transition: border-color 200ms ease, transform 200ms ease,
                box-shadow 200ms ease;
}
.leader-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
.leader-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-end));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    box-shadow: 0 10px 28px rgba(255, 92, 138, 0.30);
    position: relative;
}
.leader-avatar::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 92, 138, 0.22) 0%, transparent 65%);
    animation: leader-halo 4.8s ease-in-out infinite;
    z-index: -1;
}
@keyframes leader-halo {
    0%, 100% { transform: scale(1);    opacity: 0.5; }
    50%      { transform: scale(1.18); opacity: 0.85; }
}
.leader-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: var(--text);
    letter-spacing: -0.01em;
}
.leader-role {
    font-size: 13.5px;
    color: var(--accent);
    margin: 4px 0 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.leader-bio {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
    line-height: 1.65;
    max-width: 460px;
}

/* ============================================================
   CONTACT — three minimal cards
   ============================================================ */
.contact {
    background: var(--bg-elev-1);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}
.contact-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: border-color 200ms ease, transform 200ms ease,
                box-shadow 200ms ease;
}
.contact-card:not(.contact-card-static):hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.contact-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255, 138, 61, 0.10);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background 240ms ease, transform 240ms ease;
}
.contact-card:not(.contact-card-static):hover .contact-icon {
    background: rgba(255, 138, 61, 0.18);
    transform: scale(1.05);
}
.contact-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text);
}
.contact-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 56px 0 28px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 44px;
}
.footer-brand-col .brand { margin-bottom: 14px; }
.footer-tag {
    color: var(--text-tertiary);
    font-size: 13.5px;
    margin: 0 0 16px;
    max-width: 280px;
    line-height: 1.5;
}
.footer-col h4 {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    font-weight: 600;
    margin: 0 0 14px;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 140ms ease;
}
.footer-col a:hover { color: var(--text); }
.footer-base {
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-tertiary);
    font-size: 12.5px;
    flex-wrap: wrap;
}
.footer-base a { color: var(--text-tertiary); }
.footer-base a:hover { color: var(--text); }
.footer-sep { opacity: 0.5; }

/* D-U-N-S badge — subtle, footer-only. Pattern matches Stripe's
   compliance pill: small icon + concise label, low contrast. */
.duns-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-tertiary);
    font-size: 12.5px;
    font-weight: 500;
    transition: background 200ms ease, border-color 200ms ease,
                color 200ms ease;
}
.duns-badge svg { color: #4ade80; flex-shrink: 0; }
.duns-badge sup {
    font-size: 0.65em;
    top: -0.4em;
    position: relative;
    margin-left: 1px;
    opacity: 0.7;
}
.duns-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-strong);
    color: var(--text-secondary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .product-card {
        grid-template-columns: 1fr;
        padding: 32px;
        text-align: left;
        gap: 22px;
    }
    .product-card-art { justify-content: flex-start; }
    .product-icon { width: 80px; height: 80px; }
    .product-card-body h4 { font-size: 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 14px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .nav-inner { padding: 12px 18px; }
    .nav-links { gap: 18px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .container { padding: 0 18px; }
    .hero { padding: 80px 0; }
    section { padding: 70px 0; }
    .leader-card { flex-direction: column; gap: 18px; padding: 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; }
    .footer-sep { display: none; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .hero::before, .leader-avatar::before,
    .btn-primary::after { animation: none; }
}
