/* === BASE === */
html {
    max-width: 100%;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior: none;
}

/* === SCROLL-STACKING SECTIONS === */
/* Sections overlap previous one slightly with rounded top + shadow. */

main {
    position: relative;
}

main > section {
    position: relative;
}

/* Guarantee dark backgrounds for sections containing light/transparent text and cards */
#packages {
    background-color: #0d1117 !important;
}
#text-reveal,
#support,
#why,
#stats,
#faq {
    background-color: #080c14 !important;
}

/* Hero: normal flow */
main > .hero-section {
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
}

/* === SKIP LINK === */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    overflow: visible;
}

/* === TEXT ACCENT (gradient text) === */
.text-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 28px rgba(37,99,235,0.4));
}

/* === HEADER SCROLL STATE === */
/* === HEADER BASE & LAYOUT === */
.header {
    height: 4rem; /* 64px */
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
    width: 100%;
    max-width: 80rem; /* 1280px */
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: none;
}

.logo-text {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    transition: color 0.3s ease;
}

/* Desktop Navigation Link container */
.header-nav {
    display: none;
}

@media (min-width: 1081px) {
    .header-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.header-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.header-nav a:hover,
.header-nav a.active {
    color: #ffffff;
}

/* Desktop controls (language switcher + CTA button) */
.header-controls {
    display: none;
}

@media (min-width: 1081px) {
    .header-controls {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lang-btn {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.lang-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Primary CTA button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #ffffff;
    color: #060a10;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-portal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    margin-right: 0.5rem;
}

.btn-portal:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.header.scrolled.header-on-light .btn-portal {
    border-color: rgba(12, 15, 22, 0.15);
    background: rgba(12, 15, 22, 0.03);
    color: #0c0f16;
}

.header.scrolled.header-on-light .btn-portal:hover {
    background: rgba(12, 15, 22, 0.08);
    border-color: rgba(12, 15, 22, 0.25);
}

/* Mobile Toggle Hamburger Button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    gap: 4.5px;
    z-index: 55;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
    display: block;
    width: 1.25rem;
    height: 1.5px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

@media (min-width: 1081px) {
    .nav-toggle {
        display: none;
    }
}

/* === HEADER SCROLL STATE === */
.header.scrolled {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Dark sections scrolled state */
.header.scrolled:not(.header-on-light) {
    background: rgba(6, 10, 16, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.2);
}

/* Light sections scrolled state */
.header.scrolled.header-on-light {
    background: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.02);
}

/* Element color transitions - Light sections */
.header.scrolled.header-on-light .logo-text {
    color: #0c0f16;
}

.header.scrolled.header-on-light .nav-links a {
    color: rgba(12, 15, 22, 0.6);
}

.header.scrolled.header-on-light .nav-links a:hover,
.header.scrolled.header-on-light .nav-links a.active {
    color: #0c0f16;
}

.header.scrolled.header-on-light .lang-btn {
    color: rgba(12, 15, 22, 0.4);
}

.header.scrolled.header-on-light .lang-btn:hover {
    color: rgba(12, 15, 22, 0.8);
}

.header.scrolled.header-on-light .lang-btn.active {
    color: #0c0f16;
    background: rgba(0, 0, 0, 0.06);
}

.header.scrolled.header-on-light .btn-cta {
    background: #0c0f16;
    color: #ffffff;
    border-color: transparent;
}

.header.scrolled.header-on-light .btn-cta:hover {
    background: rgba(12, 15, 22, 0.9);
}

.header.scrolled.header-on-light .nav-toggle span {
    background-color: #0c0f16;
}

.header.scrolled.header-on-light .nav-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* === MOBILE NAV OVERLAY DRAWER === */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: rgba(6, 10, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 6rem 2rem 2rem;
    overscroll-behavior: contain;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

/* Header state inside open mobile drawer */
.header.menu-open,
.header.menu-open.scrolled {
    background: rgba(6, 10, 16, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: none !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

.header.menu-open .logo-text,
.header.menu-open.scrolled .logo-text {
    color: #ffffff !important;
}

.header.menu-open .nav-toggle span,
.header.menu-open.scrolled .nav-toggle span {
    background-color: #ffffff !important;
}

/* Mobile navigation items */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.mobile-nav a {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: #ffffff;
}

/* Mobile drawer language switcher */
.mobile-menu .lang-switcher {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.02);
}

.mobile-menu .lang-switcher .lang-btn {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-menu .lang-switcher .lang-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile Portal button */
.mobile-portal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 18rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    margin-top: 1.5rem;
    text-align: center;
}

.mobile-portal:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Mobile CTA button */
.mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 18rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease;
    margin-top: 0.75rem;
    text-align: center;
}

.mobile-cta:hover {
    background-color: #1d4ed8;
}

/* === COOKIE CONSENT === */
.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-content {
    max-width: 52rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.125rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1rem;
    background: rgba(8,12,20,0.94);
    box-shadow: 0 14px 40px rgba(0,0,0,0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.875rem;
    line-height: 1.55;
}

.cookie-consent-text strong,
.cookie-consent-text a {
    color: #fff;
}

.cookie-consent-text a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.cookie-consent-actions {
    flex-shrink: 0;
}

.cookie-accept {
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.1rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(37,99,235,0.28);
}

@media (max-width: 640px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-accept {
        width: 100%;
    }
}

@media (max-width: 1080px) and (min-width: 769px) {
    .header-nav,
    .header-controls {
        display: none !important;
    }

    .header-toggle {
        display: flex !important;
    }

    #header .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* === NAV TOGGLE ANIMATION === */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* === LANGUAGE BUTTON (default dark hero state) === */
.lang-btn.active {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #080c14;
}

/* --- Top-left gradient glow near logo --- */
.hero-glow-topleft {
    position: absolute;
    top: -80px;
    left: -60px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        ellipse at top left,
        rgba(37, 99, 235, 0.22) 0%,
        rgba(124, 58, 237, 0.10) 35%,
        transparent 70%
    );
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

/* --- Particle canvas --- */
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* --- Ambient orbs --- */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.hero-orb-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -5%;
    background: rgba(37,99,235,0.20);
    filter: blur(140px);
    animation: orbFloat1 20s ease-in-out infinite alternate;
}
.hero-orb-2 {
    width: 400px;
    height: 400px;
    top: 30%;
    left: -5%;
    background: rgba(99,102,241,0.15);
    filter: blur(120px);
    animation: orbFloat2 25s ease-in-out infinite alternate;
}
.hero-orb-3 {
    width: 300px;
    height: 300px;
    bottom: -5%;
    right: 10%;
    background: rgba(96,165,250,0.10);
    filter: blur(100px);
    animation: orbFloat3 18s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    from { transform: translate(0, 0); }
    to   { transform: translate(-30px, 20px); }
}
@keyframes orbFloat2 {
    from { transform: translate(0, 0); }
    to   { transform: translate(20px, -25px); }
}
@keyframes orbFloat3 {
    from { transform: translate(0, 0); }
    to   { transform: translate(-15px, -20px); }
}

@media (max-width: 768px) {
    .hero-orb { animation: none; }
    .hero-orb-1 { width: 300px; height: 300px; filter: blur(80px); }
    .hero-orb-2 { width: 200px; height: 200px; filter: blur(60px); }
    .hero-orb-3 { width: 150px; height: 150px; filter: blur(50px); }
}

/* --- Hero layout --- */
.hero-inner {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 80rem;
    width: 100%;
    margin: 0 auto;
    padding: 140px 2rem 100px;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 100px 1.5rem 80px;
    }
    .hero-subtitle { margin-left: 0; margin-right: auto; }
    .hero-ctas { justify-content: flex-start; }
}

/* --- Restrained Eyebrow / Badge --- */
.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    opacity: 0;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- Headline --- */
.hero-headline {
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
}
.hero-line {
    display: block;
}

/* --- Subtitle --- */
.hero-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 1.5rem 0 0;
    max-width: 28rem;
    opacity: 0;
}

/* --- CTAs --- */
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    opacity: 0;
}
.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: #2563eb;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.hero-cta-primary:hover {
    background: #3b82f6;
    box-shadow: 0 0 30px rgba(59,130,246,0.4);
    transform: translateY(-2px);
}
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border: 1px solid rgba(255,255,255,0.20);
    color: #cbd5e1;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    text-decoration: none;
}
.hero-cta-secondary:hover {
    border-color: rgba(255,255,255,0.40);
    color: white;
}

/* --- Hero Visual (3-layer composite) --- */
.hero-visual {
    position: relative;
    width: 100%;
    min-height: 460px;
    opacity: 0;
    perspective: 900px;
}
.hv-glow {
    position: absolute;
    inset: -3rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* Browser mockup */
.hv-browser {
    position: relative;
    z-index: 5;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0f18;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 
                0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform: rotateY(-8deg) rotateX(4deg);
    transform-style: preserve-3d;
    opacity: 0;
}

.hv-browser-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
}

.hv-dot-red, .hv-dot-yellow, .hv-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hv-dot-red    { background: rgba(255, 255, 255, 0.12); }
.hv-dot-yellow { background: rgba(255, 255, 255, 0.12); }
.hv-dot-green  { background: rgba(255, 255, 255, 0.12); }

.hv-browser-url {
    margin-left: 10px;
    font-family: 'SF Mono', ui-monospace, monospace;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
    user-select: none;
}

/* Sidebar items */
.hv-portal-side-item {
    height: 6px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
    width: 80%;
    transition: background 0.2s ease;
}
.hv-portal-side-item.active {
    background: rgba(37, 99, 235, 0.25);
    width: 90%;
}

/* --- Scroll indicator --- */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero-scroll-line {
    width: 1px;
    height: 0;
    background: rgba(255,255,255,0.2);
    animation: scrollLineGrow 2s ease-in-out infinite;
}
@keyframes scrollLineGrow {
    0%   { height: 0; opacity: 0; }
    50%  { height: 32px; opacity: 1; }
    100% { height: 32px; opacity: 0; }
}
.hero-scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #475569;
}

/* === SERVICES LAYOUT === */
.services-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 960px) {
    .services-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Featured Card (Dark slate, high contrast) */
.service-card-featured {
    background: #0a0f18;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-featured:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(59, 130, 246, 0.15);
}

/* Supporting Cards (Light, neutral) */
.service-card-supporting {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 
                0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card-supporting:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 
                0 1px 5px rgba(0, 0, 0, 0.03);
}

/* === FAQ ACCORDION REDESIGN === */
.faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-trigger:hover {
    color: #60a5fa;
}

.faq-trigger:hover .faq-num {
    color: #60a5fa;
}

.faq-num {
    font-family: 'Sora', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    width: 1.75rem;
    transition: color 0.2s ease;
}

.faq-question {
    flex: 1;
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    transition: color 0.2s ease;
}

/* Plus/Minus icon */
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-icon span {
    position: absolute;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.2s ease;
}

/* Horizontal bar */
.faq-icon span:first-child {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Vertical bar (rotates to 0 on open) */
.faq-icon span:last-child {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Open state */
[data-faq].faq-open .faq-num {
    color: #60a5fa;
}

[data-faq].faq-open .faq-question {
    color: #ffffff;
}

[data-faq].faq-open .faq-icon span {
    background: #60a5fa;
}

[data-faq].faq-open .faq-icon span:last-child {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Content & answer */
.faq-content {
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    padding: 0 0 1.75rem 3rem;
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* === FORM STATUS === */
.form-status {
    display: none;
}
.form-status.success {
    display: block;
    background: #ECFDF5;
    border: 1px solid #6EE7B7;
    color: #065F46;
}
.form-status.error {
    display: block;
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}

/* === SELECT DROPDOWN ARROW (light theme) === */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* === SERVICE CARD (dark theme) === */

/* === PROCESS TIMELINE === */
.process-timeline-container {
    position: relative;
    padding-top: 1rem;
}

/* Horizontal line running behind the timeline nodes on desktop */
.process-timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 52px;
    height: 2px;
    background: rgba(15, 23, 42, 0.06);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-badge {
    height: 2rem;
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.process-timeline-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 2rem;
    z-index: 5;
    position: relative;
}

.process-title {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.3s ease;
}

.process-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Hover effects driven by CSS variables */
.process-step:hover .process-badge {
    color: var(--step-accent);
}

.process-step:hover .process-timeline-dot {
    border-color: var(--step-accent);
    background: var(--step-accent);
    box-shadow: 0 0 0 4px var(--step-accent-glow);
    transform: scale(1.2);
}

.process-step:hover .process-title {
    color: #000000;
}

/* Connector arrow between services cards and process steps */
.section-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2rem 0 0.5rem;
}
.section-connector-line {
    width: 2px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(37,99,235,0.06), rgba(37,99,235,0.2));
    border-radius: 2px;
}
.section-connector-chevron {
    color: rgba(37,99,235,0.25);
}

/* Responsive vertical timeline for mobile */
@media (max-width: 767px) {
    .process-timeline-container {
        padding-left: 2rem;
        padding-top: 0;
    }
    .process-timeline-line {
        display: block !important;
        position: absolute;
        left: 7px; /* Center dot is 14px, so 14/2 = 7px */
        top: 10px;
        bottom: 10px;
        width: 2px;
        height: auto;
        background: rgba(15, 23, 42, 0.06);
    }
    .process-step {
        position: relative;
        margin-bottom: 2.5rem;
    }
    .process-step:last-child {
        margin-bottom: 0;
    }
    .process-badge {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
        height: auto;
    }
    .process-timeline-dot {
        position: absolute;
        left: -29px; /* -32px padding + 7px offset */
        top: 6px;
        width: 14px;
        height: 14px;
        margin-bottom: 0;
    }
}

/* === TESTIMONIALS REDESIGN === */
.tm-featured {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tm-featured-inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    min-height: 0;
}

.tm-featured-quote-col {
    padding: 3rem 3rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tm-quote-mark {
    font-family: 'Sora', serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(37, 99, 235, 0.08);
    font-weight: 700;
    position: absolute;
    top: 1rem;
    left: 2rem;
    user-select: none;
    pointer-events: none;
}

.tm-featured-blockquote {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #334155;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    position: relative;
    z-index: 1;
}

.tm-featured-highlight {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #059669;
    background: rgba(5, 150, 105, 0.06);
    border: 1px solid rgba(5, 150, 105, 0.12);
    border-radius: 8px;
    padding: 0.625rem 1rem;
    margin: 0;
    display: inline-block;
    align-self: flex-start;
}

.tm-featured-identity {
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.tm-monogram {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--tm-accent, #2563EB);
    color: #ffffff;
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tm-monogram--lg {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    border-radius: 14px;
}

.tm-identity-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.tm-name {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    margin: 0;
}

.tm-company {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.tm-industry-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 3px 10px;
    border-radius: 100px;
}

.tm-stars {
    display: flex;
    gap: 2px;
    margin-top: 0.25rem;
}

.tm-star {
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

/* Supporting cards grid */
.tm-supporting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tm-supporting-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.tm-supporting-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.08);
}

.tm-supporting-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.tm-stars-sm {
    display: flex;
    gap: 1px;
}

.tm-star-sm {
    width: 13px;
    height: 13px;
    color: #f59e0b;
}

.tm-supporting-quote {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #475569;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.tm-supporting-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.tm-name-sm {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #0f172a;
    margin: 0;
}

.tm-company-sm {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
}

@media (max-width: 768px) {
    .tm-featured-inner {
        grid-template-columns: 1fr;
    }
    .tm-featured-quote-col {
        padding: 2rem 1.5rem 1.5rem;
    }
    .tm-featured-identity {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding: 1.5rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    .tm-identity-text {
        align-items: flex-start;
    }
    .tm-stars {
        display: none;
    }
    .tm-supporting-grid {
        grid-template-columns: 1fr;
    }
    .tm-quote-mark {
        font-size: 4rem;
    }
    .tm-featured-blockquote {
        font-size: 1rem;
    }
}

/* === PORTFOLIO CARDS === */
.portfolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.04);
}
.portfolio-card .overflow-hidden img {
    transition: transform 0.4s ease;
}
.portfolio-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #F3F4F6;
    font-size: 0.85rem;
    color: #64748B;
    font-weight: 600;
    display: block;
}
.portfolio-card.hidden-card {
    display: none;
}
.portfolio-filter.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* Submit button styling moved to KONTAKT REDESIGN section */
/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    .hero-orb, .hero-cards, .hero-card-typing span,
    .hero-card-live-dot, .hero-badge-dot,
    .hero-scroll-line {
        animation: none;
    }
}

/* === TEXT REVEAL SCROLLYTELLING === */
.text-reveal-section {
    background: #f8fafc;
    padding: 0;
}
.text-reveal-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px;
}
.text-reveal-text {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: clamp(28px, 4.5vw, 54px);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.reveal-word {
    display: inline;
    color: #d1d5db;
    transition: color 0.08s linear;
}
@media (max-width: 640px) {
    .text-reveal-inner {
        padding: 70px 16px;
    }
    .text-reveal-text {
        font-size: clamp(18px, 5vw, 23px);
        line-height: 1.45;
        letter-spacing: -0.01em;
    }
}

/* === SCROLL PROGRESS BAR === */
.scroll-progress-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    z-index: 55;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.scroll-progress-bar {
    height: 100%;
    background: #2563eb;
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
}

/* === HOVER-REVEAL GLOW CARDS (Why Digisto) === */
.why-card-glow {
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card-glow::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(400px 200px at var(--mx, 50%) 0%, rgba(37,99,235,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.why-card-glow:hover {
    border-color: rgba(37,99,235,0.4) !important;
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 20px 50px -20px rgba(37,99,235,0.3);
}
.why-card-glow:hover::before {
    opacity: 1;
}

/* === MAGNETIC BUTTON === */
.magnetic-wrap {
    display: inline-block;
    will-change: transform;
}
.magnetic-inner {
    display: inline-flex;
    will-change: transform;
}


/* === PRICING SECTION === */
.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .pricing-cards-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 2.5rem;
    }
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Featured card style - OS Naročanje */
.pricing-card-featured {
    background: #111827; /* Richer surface contrast */
    border: 2px solid #2563eb; /* Accent border */
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
    z-index: 5;
}

.pricing-card-featured:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: #3b82f6;
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.25);
}

@media (max-width: 1024px) {
    .pricing-card-featured, .pricing-card-featured:hover {
        transform: scale(1);
    }
}

.pricing-badge-highlight {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

/* Price layout styles */
.pricing-price-block {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.pricing-setup-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
    display: block;
}

.pricing-setup-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.pricing-maintenance-block {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-maintenance-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563eb;
}

.pricing-card-featured .pricing-maintenance-dot {
    background: #3b82f6;
    animation: priceDotPulse 2s infinite alternate;
}

@keyframes priceDotPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

/* Feature lists */
.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pricing-feature-item {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.pricing-check-icon {
    width: 16px;
    height: 16px;
    color: #2563eb;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-card-featured .pricing-check-icon {
    color: #60a5fa;
}

/* Meta info block at bottom */
.pricing-meta-block {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    margin-bottom: 2rem;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-meta-block p {
    margin: 0;
}

/* Call to action button */
.pricing-cta-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-cta-standard {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.pricing-cta-standard:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.pricing-cta-featured {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.pricing-cta-featured:hover {
    background: #3b82f6;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

/* === SUPPORT SECTION Overhaul === */
.support-plans-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 4rem;
}

.support-plan-col {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background-color 0.3s ease;
}

.support-plan-col:hover {
    background: rgba(255, 255, 255, 0.01);
}

.support-plan-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.support-plan-title {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.support-plan-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.support-plan-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.support-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.support-plan-features li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.support-check-icon {
    width: 14px;
    height: 14px;
    color: #3b82f6;
    margin-top: 3px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.support-plan-col:hover .support-check-icon {
    color: #60a5fa;
}

/* === ADD-ONS TABLE LAYOUT === */
.addons-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
    row-gap: 0;
}

.addon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.addon-row:hover {
    border-bottom-color: rgba(37, 99, 235, 0.4);
}

.addon-name-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.addon-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease, transform 0.2s ease;
}

.addon-row:hover .addon-bullet {
    background: #3b82f6;
    transform: scale(1.2);
}

.addon-name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.addon-row:hover .addon-name {
    color: #ffffff;
}

.addon-price {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.addon-row:hover .addon-price {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    color: #60a5fa;
}

/* === RESPONSIVE LAYOUTS === */
@media (max-width: 991px) {
    .support-plans-panel {
        grid-template-columns: 1fr;
    }
    .support-plan-col:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .support-plan-col {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .addons-table-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
}

/* === ZA KOGA (WHO) AUDIENCE CARDS === */
.who-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.who-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--who-accent, #2563EB);
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.who-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.1);
    border-color: var(--who-accent, #2563EB);
}

.who-card-inner {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.who-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 0.625rem;
}

.who-card-title {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

.who-card-detail {
    margin-bottom: 1rem;
}

.who-detail-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 0.375rem;
}

.who-detail-tag--outcome {
    color: #059669;
    background: rgba(5, 150, 105, 0.06);
}

.who-detail-text {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.who-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.who-package-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--who-accent, #2563EB);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    padding: 5px 12px;
    border-radius: 100px;
    transition: background 0.2s ease, color 0.2s ease;
}

.who-card:hover .who-package-pill {
    background: var(--who-accent, #2563EB);
    color: #ffffff;
}

@media (max-width: 960px) {
    .who-cards-container {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

/* === DIGITALNI SISTEM (WHY DIGISTO) REDESIGN === */
.system-mockup-wrapper {
    background: #0a0f1d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

.system-mockup-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    position: relative;
}

.system-header-dots {
    display: flex;
    gap: 6px;
}

.system-header-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.system-address-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2px 32px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
    pointer-events: none;
}

.system-mockup-body {
    display: flex;
    height: 280px;
}

.system-mockup-sidebar {
    width: 60px;
    background: rgba(255, 255, 255, 0.01);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.system-sidebar-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.system-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: center;
}

.system-sidebar-links span {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    transition: background 0.2s ease;
}

.system-sidebar-links span.active-link {
    background: #2563eb;
}

.system-mockup-main {
    flex: 1;
    padding: 20px;
    background: #090d16;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.system-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 10px;
}

.system-health-badge {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.system-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.system-widget:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.system-widget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.system-widget-row:last-child {
    border-bottom: none;
}

/* KPI Strip Ribbon Styling */
.system-kpi-strip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.system-kpi-card {
    padding: 2.25rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.system-kpi-card:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.kpi-num {
    font-family: 'Sora', 'Inter', system-ui, sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
}

.kpi-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .system-kpi-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .system-kpi-card {
        padding: 2rem 1rem;
    }
    .system-kpi-card:nth-child(even) {
        border-right: none;
    }
    .system-kpi-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}

@media (max-width: 640px) {
    .system-kpi-strip {
        grid-template-columns: 1fr;
    }
    .system-kpi-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .system-kpi-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .system-mockup-body {
        height: 300px;
    }
}

/* === KONTAKT REDESIGN === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
    align-items: start;
}

.contact-info-col {
    grid-column: span 5;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-trust-container {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-trust-icon-box {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-trust-item:first-child .contact-trust-icon-box {
    background-color: #ecfdf5;
    color: #10b981;
}

.contact-trust-item:nth-child(2) .contact-trust-icon-box {
    background-color: #eff6ff;
    color: #2563eb;
}

.contact-trust-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.contact-trust-desc {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.125rem;
    line-height: 1.4;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-direct-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.contact-email-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.contact-email-link:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.contact-form-card {
    grid-column: span 7;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 1rem; /* 16px to prevent mobile input focus auto-zoom */
    transition: all 0.2s ease-in-out;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #94a3b8;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.contact-select-wrapper {
    position: relative;
    width: 100%;
}

.contact-select {
    appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
}

.contact-select-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.contact-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-submit-wrapper {
    display: flex;
    justify-content: flex-start;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #2563eb;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.15);
    border: none;
    cursor: pointer;
    width: auto;
}

.contact-submit-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.25);
}

.form-status {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    line-height: 1.4;
}

.form-status.success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-status.error {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .contact-info-col {
        grid-column: auto;
    }
    
    .contact-form-card {
        grid-column: auto;
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }
    
    .contact-submit-wrapper,
    .contact-submit-wrapper .magnetic-wrap,
    .contact-submit-btn {
        width: 100%;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .shimmer {
        animation: none !important;
    }
    .reveal-word {
        color: #1e293b !important;
    }
    .scroll-progress-wrap {
        display: none;
    }
}

/* === PREVENT MOBILE INPUT FOCUS AUTO-ZOOM === */
@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}
