/* =========================================
   ZIVCORE — Enterprise Architecture
   Premium Company Website Styles
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ─── Design Tokens ─── */
:root {
    --clr-dark: #1b2533;
    --clr-darker: #111921;
    --clr-darkest: #0a1017;
    --clr-blue: #2ea8e0;
    --clr-blue-light: #5cc4f4;
    --clr-blue-dim: #1b7aab;
    --clr-text: #e8eef4;
    --clr-muted: #8fa5bb;
    --clr-border: rgba(46, 168, 224, 0.15);
    --clr-glass: rgba(255, 255, 255, 0.03);
    --clr-glass-hover: rgba(255, 255, 255, 0.07);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;

    --shadow-blue: 0 0 40px rgba(46, 168, 224, 0.2);
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--clr-darkest);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── Background Gradient Orbs ─── */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

body::before {
    width: 700px;
    height: 700px;
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(46, 168, 224, 0.08) 0%, transparent 70%);
}

body::after {
    width: 600px;
    height: 600px;
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(46, 168, 224, 0.06) 0%, transparent 70%);
}

/* ─── Utility ─── */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-blue);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--clr-text);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--clr-muted);
    max-width: 600px;
    margin-top: 1rem;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--clr-blue);
    color: #fff;
    box-shadow: 0 4px 24px rgba(46, 168, 224, 0.35);
}

.btn-primary:hover {
    background: var(--clr-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(46, 168, 224, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--clr-blue);
    border: 1.5px solid var(--clr-blue);
}

.btn-outline:hover {
    background: rgba(46, 168, 224, 0.08);
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--clr-glass);
    color: var(--clr-text);
    border: 1.5px solid var(--clr-border);
}

.btn-ghost:hover {
    background: var(--clr-glass-hover);
    transform: translateY(-2px);
}

/* ─── Navbar ─── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(10, 16, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    padding: 0.9rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--clr-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--clr-text);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

/* ─── Hero ─── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 168, 224, 0.1);
    border: 1px solid rgba(46, 168, 224, 0.25);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-blue);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-eyebrow span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-blue);
    display: inline-block;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--clr-blue), var(--clr-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--clr-muted);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--clr-border);
}

.stat-item {}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--clr-muted);
    margin-top: 0.3rem;
    font-weight: 500;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-ring {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 1px solid rgba(46, 168, 224, 0.15);
    animation: spin-slow 20s linear infinite;
}

.hero-glow-ring::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--clr-blue);
    border-radius: 50%;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--clr-blue), 0 0 24px var(--clr-blue);
}

.hero-logo-wrap {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 37, 51, 0.9) 60%, rgba(10, 16, 23, 0.9) 100%);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-blue);
    position: relative;
    z-index: 1;
}

.hero-logo-wrap img {
    width: 200px;
}

/* ─── Floating Cards ─── */
.float-card {
    position: absolute;
    background: rgba(27, 37, 51, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-card);
    z-index: 2;
}

.float-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(46, 168, 224, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.float-card-text {
    font-size: 0.8rem;
}

.float-card-text strong {
    display: block;
    color: var(--clr-text);
    font-weight: 600;
    font-size: 0.85rem;
}

.float-card-text span {
    color: var(--clr-muted);
}

.float-card--top {
    top: 20px;
    right: -30px;
    animation: float 4s ease-in-out infinite;
}

.float-card--bottom {
    bottom: 40px;
    left: -40px;
    animation: float 4s ease-in-out infinite 2s;
}

/* ─── Products Section ─── */
#products {
    padding: 7rem 0;
    position: relative;
}

.products-header {
    text-align: center;
    margin-bottom: 4rem;
}

.products-header .section-desc {
    margin: 1rem auto 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.product-card {
    background: var(--clr-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(46, 168, 224, 0.4);
    box-shadow: var(--shadow-blue);
    background: var(--clr-glass-hover);
}

.product-card-hero {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.product-card-hero--blue {
    background: linear-gradient(135deg, rgba(27, 37, 51, 0.9) 0%, rgba(10, 16, 23, 0.9) 100%);
}

.product-card-hero--teal {
    background: linear-gradient(135deg, rgba(20, 38, 45, 0.9) 0%, rgba(10, 16, 23, 0.9) 100%);
}

.product-card-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, var(--hero-glow, rgba(46, 168, 224, 0.12)) 0%, transparent 65%);
}

.product-hero-icon {
    font-size: 5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px var(--hero-glow, rgba(46, 168, 224, 0.5)));
    animation: float 5s ease-in-out infinite;
}

.product-card-hero--teal {
    --hero-glow: rgba(46, 224, 180, 0.12);
}

.product-card-body {
    padding: 2rem 2rem 2.5rem;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.badge-blue {
    background: rgba(46, 168, 224, 0.12);
    color: var(--clr-blue);
    border: 1px solid rgba(46, 168, 224, 0.25);
}

.badge-teal {
    background: rgba(46, 224, 180, 0.12);
    color: #2ee0b4;
    border: 1px solid rgba(46, 224, 180, 0.25);
}

.product-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clr-text);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.product-card-desc {
    font-size: 0.95rem;
    color: var(--clr-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--clr-muted);
}

.product-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-blue);
    flex-shrink: 0;
}

.product-card-actions {
    display: flex;
    gap: 0.75rem;
}

/* ─── About / Vision Section ─── */
#about {
    padding: 7rem 0;
    position: relative;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.pillar-card {
    background: var(--clr-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
}

.pillar-card:hover {
    background: var(--clr-glass-hover);
    border-color: rgba(46, 168, 224, 0.35);
    transform: translateY(-3px);
}

.pillar-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.pillar-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-text);
    margin-bottom: 0.4rem;
}

.pillar-desc {
    font-size: 0.83rem;
    color: var(--clr-muted);
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.about-img-frame {
    background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-darker) 100%);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-img-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-blue), transparent);
}

.about-logo-large {
    width: 200px;
    opacity: 0.9;
}

.about-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-top: 1.5rem;
    line-height: 1.4;
}

.about-tagline em {
    color: var(--clr-blue);
    font-style: normal;
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tech-pill {
    background: rgba(46, 168, 224, 0.08);
    border: 1px solid rgba(46, 168, 224, 0.2);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--clr-blue);
}

/* ─── Why Zivcore (Values) Section ─── */
#values {
    padding: 7rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(27, 37, 51, 0.3) 50%, transparent 100%);
}

.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-header .section-desc {
    margin: 1rem auto 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--clr-glass);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--clr-blue);
    transition: width var(--transition);
}

.value-card:hover {
    background: var(--clr-glass-hover);
    transform: translateY(-4px);
}

.value-card:hover::after {
    width: 80%;
}

.value-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(46, 168, 224, 0.1);
    border: 1px solid rgba(46, 168, 224, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.value-card:hover .value-icon-wrap {
    background: rgba(46, 168, 224, 0.2);
    transform: scale(1.08);
}

.value-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.6rem;
}

.value-desc {
    font-size: 0.88rem;
    color: var(--clr-muted);
    line-height: 1.7;
}

/* ─── Contact / CTA Section ─── */
#contact {
    padding: 7rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-darker) 100%);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-blue), transparent);
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 168, 224, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-box .section-title {
    max-width: 640px;
    margin: 0 auto 1rem;
    position: relative;
}

.cta-box .section-desc {
    max-width: 520px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.cta-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--clr-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    position: relative;
}

.cta-email a {
    color: var(--clr-blue);
    text-decoration: none;
    font-weight: 500;
}

.cta-email a:hover {
    color: var(--clr-blue-light);
}

/* ─── Footer ─── */
#footer {
    background: var(--clr-darker);
    border-top: 1px solid var(--clr-border);
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 36px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--clr-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--clr-text);
}

.footer-copy {
    color: var(--clr-muted);
    font-size: 0.83rem;
}

.footer-copy strong {
    color: var(--clr-blue);
}

/* ─── Divider ─── */
.section-divider {
    display: block;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--clr-blue), var(--clr-blue-light));
    margin: 1.25rem 0;
}

.section-divider--center {
    margin: 1.25rem auto;
}

/* ─── Scroll Reveal ─── */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--clr-darkest);
}

::-webkit-scrollbar-thumb {
    background: var(--clr-blue-dim);
    border-radius: 3px;
}

/* ─── Animations ─── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.7);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.3s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.45s;
    opacity: 0;
}

.delay-4 {
    animation-delay: 0.6s;
    opacity: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 16, 23, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--clr-border);
    }

    .hamburger {
        display: flex;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .hero-glow-ring {
        width: 300px;
        height: 300px;
    }

    .hero-logo-wrap {
        width: 240px;
        height: 240px;
    }

    .hero-logo-wrap img {
        width: 150px;
    }

    .float-card--top,
    .float-card--bottom {
        display: none;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}