/* =====================================================
   VIONIS Tech — corporate landing page styles
   Self-contained. Does NOT inherit from the CarAtoZ
   stylesheet so it stays portable on a separate domain.
   ===================================================== */

:root {
    /* CarAtoZ-aligned palette — pink → purple gradient on a deep purple-black.
       Keeps the same role assignments as the previous teal/navy theme so
       the rest of the stylesheet works without restructuring. */
    --v-bg:        #0d0a18;   /* deep purple-black */
    --v-bg-2:      #1a1230;   /* card surface (slightly lighter) */
    --v-bg-3:      #261845;   /* hover surface */
    --v-text:      #fff5fa;   /* near-white with a faint pink warmth */
    --v-text-mute: #a08eb8;   /* muted purple-gray */
    --v-text-soft: #e8dcf2;   /* soft titles */
    --v-accent:    #ff3366;   /* CarAtoZ pink (primary) */
    --v-accent-2:  #9333ea;   /* CarAtoZ purple (gradient end) */
    --v-line:      rgba(255, 51, 102, 0.2);
    --v-shadow:    0 10px 30px -10px rgba(15, 5, 25, 0.75);
    --v-radius:    10px;
    --v-radius-lg: 18px;
    --v-font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --v-font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --v-font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --v-trans:     all 0.25s cubic-bezier(0.45, 0, 0.55, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--v-font);
    background: var(--v-bg);
    color: var(--v-text-soft);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--v-accent); text-decoration: none; transition: var(--v-trans); }
a:hover { color: var(--v-accent-2); }
img { max-width: 100%; height: auto; display: block; }

::selection { background: rgba(255, 51, 102, 0.3); color: var(--v-text); }

/* ---- Layout ---- */
.v-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.v-section {
    padding: 100px 0;
    position: relative;
}

.v-section--alt { background: var(--v-bg-2); }

/* ---- Header / Nav ---- */
.v-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(13, 10, 24, 0.85);
    transition: padding 0.2s ease, box-shadow 0.2s ease;
    border-bottom: 1px solid transparent;
}
.v-header--scrolled {
    padding: 12px 0;
    border-bottom-color: var(--v-line);
    box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.6);
}
.v-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.v-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--v-font-head);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: var(--v-text);
}
.v-logo:hover { color: var(--v-text); }

/* Logo image — the raw PNG is dark gray on transparent. `brightness(0)
   invert(1)` turns any non-transparent pixel pure white, which gives us
   maximum contrast against the dark purple-black background without
   needing a separate white asset. The pink drop-shadow ties the logo
   into the CarAtoZ-aligned palette so it doesn't read as monochrome. */
.v-logo__img {
    width: 40px;
    height: 40px;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 51, 102, 0.35));
    transition: filter 0.25s ease, transform 0.25s ease;
}
.v-logo:hover .v-logo__img {
    filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(255, 51, 102, 0.55));
    transform: rotate(-6deg);
}

/* Kept for backwards-compat in case any partial still uses the text mark.
   Same gradient styling as before. */
.v-logo__mark {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--v-accent), var(--v-accent-2));
    display: flex; align-items: center; justify-content: center;
    color: var(--v-bg);
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 6px 18px -4px rgba(255, 51, 102, 0.45);
}
.v-logo__text strong { color: var(--v-accent); }

.v-nav { display: flex; gap: 6px; align-items: center; }
.v-nav__link {
    color: var(--v-text-mute);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--v-trans);
}
.v-nav__link:hover { color: var(--v-accent); background: rgba(255, 51, 102, 0.06); }
.v-nav__link--active { color: var(--v-accent); }

.v-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--v-accent);
    border-radius: 6px;
    color: var(--v-accent);
    font-weight: 600;
    font-size: 0.88rem;
    font-family: var(--v-font);
    background: transparent;
    cursor: pointer;
    transition: var(--v-trans);
    text-decoration: none;
}
.v-cta-btn:hover {
    background: rgba(255, 51, 102, 0.1);
    color: var(--v-accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px -4px rgba(255, 51, 102, 0.35);
}
.v-cta-btn--solid {
    background: var(--v-accent);
    color: var(--v-bg);
}
.v-cta-btn--solid:hover {
    background: var(--v-accent-2);
    color: var(--v-bg);
}
.v-cta-btn--lg {
    padding: 14px 28px;
    font-size: 0.95rem;
}

.v-menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--v-accent);
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
}

/* Mobile drawer */
.v-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 10, 24, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: 100px 24px 40px;
    flex-direction: column;
    gap: 6px;
}
.v-mobile-nav.is-open { display: flex; }
.v-mobile-nav .v-nav__link {
    font-size: 1.1rem;
    padding: 14px 18px;
    border-radius: 8px;
}

/* ---- HERO ---- */
.v-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.v-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 51, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 51, 102, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.v-hero__inner { position: relative; z-index: 1; }
.v-hero__eyebrow {
    display: inline-block;
    color: var(--v-accent);
    font-family: var(--v-font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.v-hero__title {
    font-family: var(--v-font-head);
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--v-text);
    margin-bottom: 16px;
}
.v-hero__title .v-gradient {
    background: linear-gradient(135deg, var(--v-accent) 0%, #e9b5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.v-hero__subtitle {
    font-family: var(--v-font-head);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--v-text-mute);
    margin-bottom: 28px;
}
.v-hero__desc {
    font-size: 1.05rem;
    max-width: 580px;
    color: var(--v-text-mute);
    margin-bottom: 36px;
}
.v-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- About / Section header ---- */
.v-section__header { margin-bottom: 48px; max-width: 720px; }
.v-section__num {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--v-accent);
    font-family: var(--v-font-mono);
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.v-section__num::after {
    content: '';
    width: 240px;
    height: 1px;
    background: var(--v-line);
}
.v-section__title {
    font-family: var(--v-font-head);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--v-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.v-section__sub {
    color: var(--v-text-mute);
    font-size: 1.05rem;
    margin-top: 14px;
    max-width: 640px;
}

/* ---- About grid ---- */
.v-about__grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
}
.v-about__body p {
    color: var(--v-text-mute);
    font-size: 1rem;
    margin-bottom: 18px;
}
.v-about__body p strong { color: var(--v-text-soft); }
.v-about__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.v-chip {
    font-family: var(--v-font-mono);
    font-size: 0.78rem;
    color: var(--v-accent);
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(255, 51, 102, 0.06);
    border: 1px solid var(--v-line);
}
.v-about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.v-stat {
    padding: 22px 20px;
    background: var(--v-bg-2);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-lg);
    text-align: center;
    transition: var(--v-trans);
}
.v-stat:hover { transform: translateY(-3px); border-color: var(--v-accent); }
.v-stat__num {
    font-family: var(--v-font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--v-accent);
    line-height: 1;
    margin-bottom: 6px;
}
.v-stat__label {
    font-size: 0.78rem;
    color: var(--v-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---- Product (CarAtoZ showcase) ---- */
.v-product__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.v-product__copy {
    color: var(--v-text-mute);
    font-size: 1rem;
}
.v-product__copy h3 {
    font-family: var(--v-font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--v-text);
    margin-bottom: 16px;
}
.v-product__copy h3 .v-grad {
    background: linear-gradient(90deg, #ff3366, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.v-product__copy p { margin-bottom: 14px; }
.v-product__features {
    list-style: none;
    margin: 24px 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.v-product__features li {
    color: var(--v-text-soft);
    font-size: 0.92rem;
    padding-left: 26px;
    position: relative;
}
.v-product__features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--v-accent);
    font-size: 1.1rem;
    line-height: 1.4;
}
.v-product__visual {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 51, 102, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(147, 51, 234, 0.18) 0%, transparent 50%),
        var(--v-bg-2);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.v-product__visual::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 51, 102, 0.15) 0%, transparent 70%);
    top: -50px; right: -50px;
    border-radius: 50%;
}
.v-product__app-icon {
    width: 92px; height: 92px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ff3366, #9333ea);
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 38px;
    box-shadow: 0 18px 40px -10px rgba(255, 51, 102, 0.5);
    position: relative;
    z-index: 1;
}
.v-product__app-name {
    font-family: var(--v-font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--v-text);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.v-product__app-name strong {
    background: linear-gradient(90deg, #ff3366, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.v-product__app-tag {
    color: var(--v-text-mute);
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative; z-index: 1;
}
.v-product__app-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--v-line);
    color: var(--v-accent);
    font-family: var(--v-font-mono);
    font-size: 0.82rem;
    position: relative;
    z-index: 1;
}

/* ---- Value props ---- */
.v-values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.v-value {
    padding: 28px 24px;
    background: var(--v-bg-2);
    border: 1px solid var(--v-line);
    border-radius: var(--v-radius-lg);
    transition: var(--v-trans);
}
.v-value:hover {
    transform: translateY(-4px);
    border-color: var(--v-accent);
    box-shadow: 0 18px 36px -16px rgba(255, 51, 102, 0.35);
}
.v-value__icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid var(--v-line);
    display: flex; align-items: center; justify-content: center;
    color: var(--v-accent);
    font-size: 18px;
    margin-bottom: 18px;
}
.v-value__title {
    font-family: var(--v-font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--v-text);
    margin-bottom: 8px;
}
.v-value__desc {
    color: var(--v-text-mute);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ---- Contact ---- */
.v-contact {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}
.v-contact__title {
    font-family: var(--v-font-head);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--v-text);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.v-contact__sub {
    color: var(--v-text-mute);
    font-size: 1.05rem;
    margin-bottom: 28px;
}
.v-contact__info {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
    font-size: 0.92rem;
    color: var(--v-text-mute);
}
.v-contact__info a { color: var(--v-text-soft); }
.v-contact__info i { color: var(--v-accent); margin-right: 8px; }

/* ---- Footer ---- */
.v-footer {
    padding: 36px 0;
    border-top: 1px solid var(--v-line);
    text-align: center;
    color: var(--v-text-mute);
    font-size: 0.85rem;
    font-family: var(--v-font-mono);
}
.v-footer a { color: var(--v-text-soft); }
.v-footer__socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 18px;
}
.v-footer__socials a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255, 51, 102, 0.05);
    border: 1px solid var(--v-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--v-trans);
}
.v-footer__socials a:hover {
    background: rgba(255, 51, 102, 0.12);
    transform: translateY(-2px);
}

/* ---- Animations ---- */
.v-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.v-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .v-section { padding: 80px 0; }
    .v-about__grid { grid-template-columns: 1fr; gap: 40px; }
    .v-product__grid { grid-template-columns: 1fr; gap: 40px; }
    .v-product__features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .v-nav { display: none; }
    .v-menu-toggle { display: inline-flex; }
    .v-cta-btn { font-size: 0.82rem; padding: 8px 16px; }
    .v-section { padding: 64px 0; }
    .v-hero { min-height: auto; padding: 100px 0 60px; }
    .v-hero__desc { font-size: 0.95rem; }
    .v-hero__actions .v-cta-btn { flex: 1; justify-content: center; }
    .v-section__num::after { width: 80px; }
    .v-about__stats { grid-template-columns: 1fr 1fr; }
    .v-stat { padding: 18px 14px; }
    .v-stat__num { font-size: 1.6rem; }
    .v-product__visual { padding: 30px 20px; }
    .v-product__app-icon { width: 76px; height: 76px; font-size: 30px; border-radius: 18px; }
    .v-contact__info { flex-direction: column; gap: 10px; }
}
