:root {
    --atv-primary: #4f46e5;
    --atv-primary-dark: #3730a3;
    --atv-accent: #06b6d4;
    --atv-dark: #0f172a;
    --atv-dark-light: #1e293b;
}

* { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }

html { scroll-behavior: smooth; }

.hero-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    position: relative;
}

.feature-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
}

.industry-card {
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
.industry-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
.industry-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.9) 100%);
}

.advantage-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--atv-primary), var(--atv-accent));
    color: white;
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--atv-primary), #6366f1);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(79, 70, 229, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.section-padding { padding: 80px 0; }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--atv-primary), var(--atv-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }

.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--atv-accent);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

/* ATVSync visual photo layer */
#industries a { position: relative; overflow: hidden; }
#industries a::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .22;
    transition: transform .5s ease, opacity .3s ease;
}
#industries a:hover::before { transform: scale(1.08); opacity: .32; }
#industries a > * { position: relative; z-index: 1; }
#industries a:nth-child(1)::before { background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=900&q=80'); }
#industries a:nth-child(2)::before { background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=900&q=80'); }
#industries a:nth-child(3)::before { background-image: url('https://images.unsplash.com/photo-1542367592-8849eb950fd8?auto=format&fit=crop&w=900&q=80'); }
#industries a:nth-child(4)::before { background-image: url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=900&q=80'); }
#industries a:nth-child(5)::before { background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80'); }
#industries a:nth-child(6)::before { background-image: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=900&q=80'); }

.photo-card img { display: block; }
@media (max-width: 1024px) {
    .hero-gradient { min-height: auto; }
}

/* More DS-GO-style photo visuals */
.ds-photo-tile {
    position: relative;
    height: 190px;
    border-radius: 18px;
    overflow: hidden;
    background: #111827;
    box-shadow: 0 18px 35px rgba(0,0,0,.22);
}
.ds-photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
    opacity: .82;
}
.ds-photo-tile:hover img { transform: scale(1.08); opacity: 1; }
.ds-photo-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72));
}
.ds-photo-tile span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
}
.scenario-photo {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111827;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .18);
}
.scenario-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.scenario-photo:hover img { transform: scale(1.06); }
.scenario-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.64));
}
.scenario-photo-caption {
    position: absolute;
    left: 20px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: .18em;
}
.cms-mini-card {
    padding: 12px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.cms-window {
    background: #0f172a;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, .28);
    border: 1px solid rgba(255,255,255,.08);
}
.cms-window-bar {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 16px;
    background: #111827;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.cms-window-bar span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #ef4444;
}
.cms-window-bar span:nth-child(2) { background: #f59e0b; }
.cms-window-bar span:nth-child(3) { background: #10b981; }


/* Generated local visuals override — DS-GO-like original ATVSync media */
#industries a:nth-child(1)::before { background-image: url('generated/industry-horeca.svg') !important; }
#industries a:nth-child(2)::before { background-image: url('generated/industry-retail.svg') !important; }
#industries a:nth-child(3)::before { background-image: url('generated/industry-azs.svg') !important; }
#industries a:nth-child(4)::before { background-image: url('generated/industry-cinema.svg') !important; }
#industries a:nth-child(5)::before { background-image: url('generated/industry-finance.svg') !important; }
#industries a:nth-child(6)::before { background-image: url('generated/industry-transport.svg') !important; }
.ds-photo-tile img,
.scenario-photo img,
.photo-card img { background: #0f172a; }


/* Real local photos override — visible photo layer */
#industries a:nth-child(1)::before { background-image: url('photos/industry-horeca.jpg') !important; opacity: .42 !important; }
#industries a:nth-child(2)::before { background-image: url('photos/industry-retail.jpg') !important; opacity: .42 !important; }
#industries a:nth-child(3)::before { background-image: url('photos/industry-azs.jpg') !important; opacity: .42 !important; }
#industries a:nth-child(4)::before { background-image: url('photos/industry-cinema.jpg') !important; opacity: .42 !important; }
#industries a:nth-child(5)::before { background-image: url('photos/industry-finance.jpg') !important; opacity: .42 !important; }
#industries a:nth-child(6)::before { background-image: url('photos/industry-transport.jpg') !important; opacity: .42 !important; }
#industries a:hover::before { opacity: .58 !important; }
.ds-photo-tile img,
.scenario-photo img,
.photo-card img { filter: saturate(1.08) contrast(1.03); }
.scenario-photo::after { background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.38)) !important; }
.ds-photo-tile::after { background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.48)) !important; }


/* === ATVSync uplift styles === */
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .55s ease, transform .8s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; position: relative; }
#hero-slider { position: relative; overflow: hidden; }
.hero-slide-caption { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(180deg, rgba(15,23,42,.05), rgba(15,23,42,.78)); color: #fff; backdrop-filter: blur(6px); }
.hero-slide-eyebrow { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(99,102,241,.85); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.hero-slide-caption h3 { margin: 10px 0 4px; font-size: 1.15rem; font-weight: 800; }
.hero-slide-caption p { font-size: .85rem; color: rgba(255,255,255,.78); }
.hero-slider-dots { position: absolute; right: 18px; top: 18px; display: flex; gap: 8px; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.32); border: 0; cursor: pointer; transition: width .25s ease, background .25s ease; }
.hero-dot.active { background: #fff; width: 26px; }

#cms-tabs { gap: 8px; }
.cms-tab { padding: 10px 18px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff; color: #475569; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s ease; }
.cms-tab:hover { color: #0f172a; border-color: #cbd5e1; }
.cms-tab.active { background: #0f172a; border-color: #0f172a; color: #fff; box-shadow: 0 10px 24px rgba(15,23,42,.18); }
.cms-shot-wrap { position: relative; }
.cms-shot { width: 100%; height: auto; display: block; opacity: 0; position: absolute; inset: 0; transition: opacity .35s ease; }
.cms-shot.active { opacity: 1; position: relative; }
.cms-window-bar { position: relative; }
.cms-url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #94a3b8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; padding: 4px 14px; border-radius: 999px; }

.tv-card { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(15,23,42,.18); background: #0b1220; }
.tv-card img { width: 100%; height: auto; display: block; }

.compare-table { border-collapse: separate; border-spacing: 0; background: #fff; }
.compare-table th, .compare-table td { padding: 16px 22px; border-bottom: 1px solid #f1f5f9; }
.compare-table thead th { background: #f8fafc; color: #0f172a; font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; padding-top: 22px; padding-bottom: 22px; }
.compare-table thead th.compare-us { background: linear-gradient(135deg, rgba(99,102,241,.10), rgba(34,211,238,.10)); color: #312e81; }
.compare-table tbody tr:hover { background: #f8fafc; }
.compare-table td:first-child { font-weight: 700; color: #1e293b; }
.compare-table td.compare-yes { color: #047857; font-weight: 800; text-align: center; background: rgba(16,185,129,.06); }
.compare-table td.compare-yes::before { content: '✓ '; color: #10b981; font-weight: 900; }
.compare-table td.compare-no { color: #b91c1c; text-align: center; }
.compare-table td.compare-no::before { content: '✗ '; color: #ef4444; font-weight: 900; }

.lang-switcher { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); border-radius: 999px; padding: 4px; }
.lang-btn { background: transparent; border: 0; color: #cbd5e1; font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; cursor: pointer; transition: all .2s ease; }
.lang-btn:hover { color: #fff; }
.lang-btn.active { background: linear-gradient(135deg, #6366f1, #22d3ee); color: #fff; box-shadow: 0 6px 18px rgba(99,102,241,.35); }
.lang-divider { width: 1px; height: 14px; background: rgba(255,255,255,.10); }
.lang-tip { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 30px); background: #0f172a; color: #fff; padding: 12px 22px; border-radius: 12px; box-shadow: 0 18px 40px rgba(15,23,42,.35); font-size: 13px; font-weight: 600; opacity: 0; transition: all .3s ease; z-index: 9999; }
.lang-tip.show { opacity: 1; transform: translate(-50%, 0); }


/* === Live demo cards styles === */
.live-card { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(15,23,42,.18); background: #0b1220; transition: transform .35s ease, box-shadow .35s ease; }
.live-card:hover { transform: translateY(-4px); box-shadow: 0 32px 80px rgba(15,23,42,.30); }
.live-card img { display: block; width: 100%; height: auto; }
.live-caption { padding: 18px 22px 22px; background: linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.92)); position: absolute; left: 0; right: 0; bottom: 0; color: #fff; }
.live-caption h3 { font-size: 1.05rem; font-weight: 800; margin: 8px 0 4px; }
.live-caption p { font-size: .82rem; color: rgba(255,255,255,.78); }
.live-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .18em; color: #fff; }
.live-pill-indigo { background: #6366f1; }
.live-pill-cyan { background: #06b6d4; }
.live-pill-orange { background: #f97316; }
.live-pill-rose { background: #e11d48; }
.live-pill-violet { background: #a855f7; }
.live-pill-green { background: #16a34a; }
[data-i18n] { transition: opacity .15s ease; }


/* === Product Modules section === */
.product-module-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 24px;
    transition: box-shadow .3s ease, transform .3s ease;
}
.product-module-card:hover {
    box-shadow: 0 20px 40px -10px rgba(99,102,241,.15);
    transform: translateY(-4px);
}
.product-module-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mc1, #6366f1), var(--mc2, #06b6d4));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--mc1, #6366f1) 40%, transparent);
}

/* === Featured Solutions section === */
.featured-solution-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
    background: #111827;
    box-shadow: 0 20px 45px rgba(15,23,42,.18);
    transition: transform .35s ease, box-shadow .35s ease;
}
.featured-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15,23,42,.26);
}
.featured-solution-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .72;
    transition: opacity .4s ease, transform .6s ease;
}
.featured-solution-card:hover img {
    opacity: .88;
    transform: scale(1.06);
}
.featured-solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15,23,42,.88) 100%);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 22px 20px;
    color: #fff;
}
.featured-solution-overlay h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 8px 0 4px;
}
.featured-solution-overlay p {
    font-size: .8rem;
    color: rgba(255,255,255,.75);
    margin: 0;
}
.featured-solution-tag {
    display: inline-block;
    background: rgba(99,102,241,.85);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    padding: 3px 10px;
    border-radius: 999px;
}

/* === Player specs table === */
.mt-6.overflow-hidden.rounded-xl.border.border-gray-200 table td {
    vertical-align: middle;
}

/* Hero stats bar spacing */
#hero { padding-bottom: 3rem; }
