/* =========================================================
   SYDI AI — Enterprise Products Page
   Pixel-matched to the reference "Home page exact placements"
   ========================================================= */

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

:root {
    --bg-deep:      #000515;
    --bg-navy:      #000515;
    --bg-navy-2:    #000515;
    --bg-card:      rgba(10, 20, 45, 0.55);
    --bg-card-2:    rgba(2, 14, 38, 0.55);
    --text-white:   #ffffff;
    --text-mute:    #b8c4dc;
    --text-dim:     #8a97b3;
    --accent-cyan:  #2eb8ff;
    --accent-cyan-2:#22a7f0;
    --accent-cyan-3:#4dc7ff;
    --card-border:  rgba(46, 184, 255, 0.28);
    --card-border-hi:rgba(46, 184, 255, 0.85);
    --header-h:     64px;
    --content-max:  1200px;
}

html, body { height: 100%; }

body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #000515;
    background-color: var(--bg-deep);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Subtle starfield */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.35), transparent 60%),
        radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.25), transparent 60%),
        radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,0.3), transparent 60%),
        radial-gradient(1px 1px at 85% 85%, rgba(255,255,255,0.2), transparent 60%),
        radial-gradient(1px 1px at 50% 15%, rgba(255,255,255,0.2), transparent 60%),
        radial-gradient(1px 1px at 90% 55%, rgba(255,255,255,0.25), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }


/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(2, 14, 38, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 184, 255, 0.08);
    transition: background .25s ease;
}

.site-header.scrolled {
    background: rgba(2, 14, 38, 0.96);
    border-bottom-color: rgba(46, 184, 255, 0.18);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.brand-sydi { color: #ffffff; }
.brand-sep  { color: var(--accent-cyan); opacity: .9; font-weight: 400; margin: 0 2px; }
.brand-ai   { color: var(--accent-cyan); }

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-list { display: flex; gap: 34px; }

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mute);
    padding: 6px 0;
    position: relative;
    transition: color .2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--accent-cyan);
    transition: width .25s ease;
}
.nav-link:hover,
.nav-link.active { color: #ffffff; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }


/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .22s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    font-family: inherit;
    text-decoration: none;
}
.btn-arrow { font-size: 16px; line-height: 1; transition: transform .22s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
    background: var(--accent-cyan);
    color: #041022;
    border-color: var(--accent-cyan);
}
.btn-primary:hover {
    background: var(--accent-cyan-3);
    border-color: var(--accent-cyan-3);
    box-shadow: none;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(46, 184, 255, 0.06);
}

.btn-cta {
    padding: 10px 20px;
    font-size: 13px;
    flex-shrink: 0;
    border-radius: 6px;
}

/* Mobile toggle (hamburger) */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px; height: 24px;
    position: relative;
}
.mobile-toggle span {
    position: absolute; left: 0;
    width: 100%; height: 2px;
    background: #fff;
    transition: all .3s;
}
.mobile-toggle span:nth-child(1) { top: 2px; }
.mobile-toggle span:nth-child(2) { top: 11px; }
.mobile-toggle span:nth-child(3) { top: 20px; }


/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 30px;
}

.hero-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 20px 40px 10px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
}

.hero-left { max-width: 560px; }

.eyebrow {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 60px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #ffffff;
    margin-bottom: 22px;
}
.hero-title .accent { color: var(--accent-cyan); display: inline-block; }

.hero-sub {
    font-size: 17px;
    color: var(--text-mute);
    line-height: 1.55;
    margin-bottom: 30px;
    max-width: 470px;
}

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

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 640px;
    height: auto;
    filter: none;
    animation: floatSlow 6s ease-in-out infinite;
}

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


/* =========================================================
   INFORMATION SECTION — Six Enterprise Products
   ========================================================= */
.products {
    position: relative;
    z-index: 1;
    padding: 10px 0 50px;
}

.products-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* Heading strip (line beneath text, not behind) */
.products-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}
.products-heading .heading-dot { display: none; }
.products-heading h2 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}
.products-heading h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 320px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(46, 184, 255, 0.6), transparent);
}
.heading-dot {
    width: 6px; height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: none;
    position: relative;
    flex-shrink: 0;
}
.heading-dot::before,
.heading-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 130px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(46, 184, 255, 0.55));
}
.heading-dot::before { right: 100%; margin-right: 14px; background: linear-gradient(to left, rgba(46, 184, 255, 0.55), transparent); }
.heading-dot::after  { left: 100%;  margin-left: 14px; }

.products-heading .heading-dot:first-child::before { display: none; }
.products-heading .heading-dot:last-child::after   { display: none; }


/* 3 x 2 grid of product cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.product-card {
    position: relative;
    background: linear-gradient(180deg, rgba(2, 14, 38, 0.65), rgba(2, 14, 38, 0.65));
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 24px 60px 24px 26px;
    min-height: 170px;
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
    overflow: hidden;
    color: inherit;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(46, 184, 255, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--card-border-hi);
    box-shadow: none;
}
.product-card:hover::before { opacity: 1; }

.product-icon-wrap {
    width: 104px; height: 104px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2eb8ff;
    border-radius: 50%;
    background: rgba(46, 184, 255, 0.14);
    padding: 8px;
    box-shadow: none;
    box-sizing: border-box;
    overflow: hidden;
}
.product-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.4);
    filter: none;
}

.product-body {
    flex: 1;
    min-width: 0;
}
.product-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}
.product-desc {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.4;
}

.product-arrow {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 28px; height: 28px;
    border: 1px solid rgba(46, 184, 255, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--accent-cyan);
    transition: all .25s ease;
    background: rgba(2, 14, 38, 0.8);
    z-index: 3;
}
.product-card:hover .product-arrow {
    background: var(--accent-cyan);
    color: #041022;
    transform: translateX(3px);
    border-color: var(--accent-cyan);
}


/* =========================================================
   VALUE PILLARS STRIP
   ========================================================= */
.pillars-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 26px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(2, 14, 38, 0.55), rgba(2, 14, 38, 0.55));
    box-shadow: none;
}

.pillar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
    padding: 4px 6px;
}
.pillar:hover { transform: translateY(-1px); }
.pillar:hover .pillar-label { color: var(--accent-cyan-3); }

.pillar-icon {
    width: 52px; height: 52px;
    object-fit: contain;
    filter: none;
    flex-shrink: 0;
}
.pillar-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    transition: color .2s;
    white-space: nowrap;
}

.pillar-sep {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: none;
    flex-shrink: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    .hero-title  { font-size: 52px; }
    .hero-inner  { padding: 20px 32px 10px; }
    .products-inner { padding: 0 32px; }
    .nav-list    { gap: 24px; }
    .header-inner{ padding: 0 24px; }
}

@media (max-width: 980px) {
    .header-inner { padding: 0 20px; }
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h); left: 0; right: 0;
        background: rgba(2, 14, 38, 0.98);
        padding: 20px;
        border-bottom: 1px solid rgba(46, 184, 255, 0.15);
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 16px; }
    .mobile-toggle { display: block; }
    .btn-cta { display: none; }

    .hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
    .hero-left  { margin: 0 auto; }
    .hero-title { font-size: 42px; }
    .hero-ctas  { justify-content: center; }
    .hero-sub   { margin-left: auto; margin-right: auto; }

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

    .pillars-strip {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 22px;
    }
    .pillar-sep { display: none; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 34px; }
    .hero-inner { padding: 0 20px; }
    .products-inner { padding: 0 20px; }
    .products-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
    .products-heading h2 { font-size: 12px; letter-spacing: 2px; }
    .heading-dot::before, .heading-dot::after { width: 40px; }
    .product-card { padding-right: 55px; }
}

.brand-sep{display:none;}
