/* ═════════════════════════════════════════════════════════════════════════════
   Tema: Asfaltna inteligencija — tamna, premium, auto-industrijska atmosfera
   ═════════════════════════════════════════════════════════════════════════════ */

/* ─── Design tokens ─────────────────────────────────────────────────────────── */
:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --cyan: #06b6d4;
    --violet: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 50%, #8b5cf6 100%);
    --accent-gradient-horiz: linear-gradient(90deg, #2563eb 0%, #06b6d4 50%, #8b5cf6 100%);

    --asphalt-50: #f8fafc;
    --asphalt-100: #f1f5f9;
    --asphalt-400: #94a3b8;
    --asphalt-500: #64748b;
    --asphalt-bg: #0a0a0f;
    --asphalt-deep: #0f172a;
    --asphalt-blue: #1e3a8a;

    --surface: rgba(255, 255, 255, 0.055);
    --surface-hover: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.18);
    --text: #f8fafc;
    --text-muted: #94a3b8;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.18);
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & base ────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--asphalt-bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

/* ─── Animated gradient mesh background ─────────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(ellipse 100% 100% at 50% 50%, rgba(37, 99, 235, 0.18), transparent 55%),
        radial-gradient(ellipse 90% 80% at 20% 20%, rgba(37, 99, 235, 0.16), transparent 60%),
        radial-gradient(ellipse 80% 70% at 80% 30%, rgba(139, 92, 246, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 70% at 50% 90%, rgba(6, 182, 212, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 60% at 10% 80%, rgba(37, 99, 235, 0.12), transparent 50%);
    background-size: 200% 200%;
    animation: mesh-move 22s ease-in-out infinite alternate;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.35;
    pointer-events: none;
}

@keyframes mesh-move {
    0%   { background-position: 50% 50%, 0% 0%, 100% 0%, 50% 100%, 0% 100%; }
    25%  { background-position: 55% 45%, 100% 0%, 100% 100%, 0% 100%, 0% 0%; }
    50%  { background-position: 50% 55%, 100% 100%, 0% 100%, 0% 0%, 100% 0%; }
    75%  { background-position: 45% 50%, 0% 100%, 0% 0%, 100% 0%, 100% 100%; }
    100% { background-position: 50% 50%, 0% 0%, 100% 0%, 50% 100%, 0% 100%; }
}

/* ─── Reusable glass card ───────────────────────────────────────────────────── */
.glass {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.glass-glow {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.glass-glow:hover {
    transform: translateY(-8px);
    background: var(--surface-hover);
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow), var(--shadow);
}

/* ─── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: padding var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.88);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    border-color: var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    position: relative;
    padding: 8px 14px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.94rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    flex-shrink: 0;
}

.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), background var(--transition), border-color var(--transition);
}

.nav-cta.login,
.nav-cta.demo {
    background: var(--accent-gradient-horiz);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.nav-cta.login:hover,
.nav-cta.demo:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.5);
    filter: brightness(1.08);
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition), background var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-gradient-horiz);
    color: #fff;
    box-shadow: 0 8px 26px rgba(37, 99, 235, 0.42);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.58);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px) scale(1.03);
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 170px 0 100px;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Speed lines behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background:
        repeating-linear-gradient(
            105deg,
            transparent 0,
            transparent 60px,
            rgba(37, 99, 235, 0.04) 60px,
            rgba(37, 99, 235, 0.04) 62px,
            transparent 62px,
            transparent 180px
        );
    pointer-events: none;
    animation: speed-lines 10s linear infinite;
}

@keyframes speed-lines {
    0% { transform: translateX(0); }
    100% { transform: translateX(-180px); }
}

/* Headlight beam */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at right, rgba(37, 99, 235, 0.12), transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 999px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease both;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-dot 1.8s infinite;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.55rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.12s both;
}

.hero h1 .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 530px;
    margin-bottom: 38px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.22s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.32s both;
}

.hero-stats {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease 0.42s both;
}

.hero-stats-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
}

.hero-stats-list .stat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hero-stats-list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #10b981;
    margin-top: 2px;
}

.hero-stats-list span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Trust bar ───────────────────────────────────────────────────────────── */
.trust-bar {
    position: relative;
    z-index: 2;
    padding: 30px 0 70px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trust-card {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(37, 99, 235, 0.6);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.trust-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.75);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.trust-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trust-card span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ─── Phone mockup ────────────────────────────────────────────────────────── */
.hero-mockup {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    animation: float-phone 5.5s ease-in-out infinite;
}

@keyframes float-phone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 340px;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    inset: -60px -70px;
    background: var(--accent-gradient);
    filter: blur(90px);
    opacity: 0.16;
    border-radius: 50%;
    z-index: -1;
    animation: glow-breathe 5s ease-in-out infinite;
}

.phone-frame {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #0f172a;
    border-radius: 0 0 16px 16px;
    z-index: 5;
}

.phone-screen {
    position: relative;
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    border-radius: 34px;
    overflow: hidden;
    min-height: 520px;
    padding: 54px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 6px;
}

.phone-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.phone-info {
    flex: 1;
}

.phone-info strong {
    font-size: 0.95rem;
    color: #fff;
}

.phone-info span {
    display: block;
    font-size: 0.75rem;
    color: #10b981;
}

.chat-bubble {
    max-width: 84%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    animation: bubble-in 0.55s ease forwards, floaty 4s ease-in-out infinite;
    position: relative;
}

.chat-bubble.client {
    align-self: flex-end;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border-bottom-right-radius: 6px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.chat-bubble.ai {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border-bottom-left-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.chat-bubble:nth-child(2) { animation-delay: 0.6s, 0s; }
.chat-bubble:nth-child(3) { animation-delay: 1.6s, 0.8s; }
.chat-bubble:nth-child(4) { animation-delay: 2.6s, 1.6s; }
.chat-bubble:nth-child(5) { animation-delay: 3.6s, 2.4s; }
.chat-bubble:nth-child(6) { animation-delay: 4.6s, 3.2s; }
.chat-bubble:nth-child(7) { animation-delay: 5.6s, 4.0s; }

@keyframes bubble-in {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes glow-breathe {
    0%, 100% { opacity: 0.14; transform: scale(1); }
    50% { opacity: 0.24; transform: scale(1.05); }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
}

.phone-input {
    margin-top: auto;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.phone-input .send {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
}

/* ─── Section common ────────────────────────────────────────────────────────── */
.section {
    position: relative;
    padding: 110px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.65rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 16px;
}

.section-title .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ─── Channels section ─────────────────────────────────────────────────────── */
.channels-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, transparent 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.channels-hub {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "wa . tiktok"
        "email hub insta"
        "yt . fb";
    gap: 28px;
    align-items: start;
}

.channels-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.channels-lines line {
    stroke: rgba(37, 99, 235, 0.25);
    stroke-width: 1.5;
    stroke-linecap: round;
    transition: stroke 300ms ease, stroke-width 300ms ease, filter 300ms ease;
    filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.12));
}

.channels-lines line.active {
    stroke: rgba(6, 182, 212, 0.95);
    stroke-width: 2.8;
    filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.65));
}

.channel-card,
.channel-hub-center {
    position: relative;
    z-index: 1;
}

.pos-wa { grid-area: wa; }
.pos-insta { grid-area: insta; }
.pos-fb { grid-area: fb; }
.pos-email { grid-area: email; }
.pos-tiktok { grid-area: tiktok; }
.pos-yt { grid-area: yt; }
.pos-hub {
    grid-area: hub;
    justify-self: center;
    align-self: center;
}

.channel-hub-center {
    justify-self: center;
    align-self: center;
}

.hub-core {
    width: 216px;
    height: 216px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.24), rgba(6, 182, 212, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25), 0 0 30px rgba(6, 182, 212, 0.2);
    position: relative;
    animation: hub-breathe 4s ease-in-out infinite;
}

.hub-core::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.35);
    animation: spin-slow 30s linear infinite;
}

.hub-core::after {
    content: '';
    position: absolute;
    inset: -45px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
    z-index: -1;
    animation: hub-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hub-breathe {
    0%, 100% { box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25), 0 0 30px rgba(6, 182, 212, 0.2); }
    50% { box-shadow: 0 25px 70px rgba(37, 99, 235, 0.4), 0 0 50px rgba(6, 182, 212, 0.35); }
}

@keyframes hub-pulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.25); opacity: 0.18; }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hub-core .core-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.hub-core strong {
    font-size: 1.1rem;
    color: #fff;
}

.hub-core span {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.channel-card {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(37, 99, 235, 0.6);
    border-radius: var(--radius);
    padding: 22px 20px;
    width: 365.33px;
    height: 187.09px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow: hidden;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-color: rgba(6, 182, 212, 0.75);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25), 0 18px 50px rgba(0, 0, 0, 0.35);
}

.channel-card.available {
    border-color: rgba(37, 99, 235, 0.6);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
}

.channel-card.available:hover {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.08) 100%);
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    transition: transform 300ms ease, background 300ms ease;
}

.channel-card:hover .channel-icon {
    transform: scale(1.1);
}

.channel-icon svg {
    width: 24px;
    height: 24px;
}

.channel-card.available .channel-icon {
    background: var(--accent-gradient);
    border: none;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.channel-card.available .channel-icon svg {
    fill: #fff;
    stroke: #fff;
}

.channel-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.channel-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.channel-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.channel-badge.live {
    background: rgba(6, 182, 212, 0.14);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.3);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.1);
}

.channel-badge.request {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.channels-disclaimer {
    text-align: center;
    margin-top: 48px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.channels-disclaimer svg {
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    stroke: var(--primary-light);
}

/* ─── Industries / Delatnosti ─────────────────────────────────────────────── */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.industry-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: var(--surface-hover);
    border-color: var(--border-light);
    box-shadow: var(--shadow-glow), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.industry-card.available {
    border: 2px solid rgba(37, 99, 235, 0.6);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.2), 0 16px 50px rgba(0, 0, 0, 0.35);
}

.industry-card.available:hover {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.08) 100%);
    box-shadow: 0 0 70px rgba(37, 99, 235, 0.3), 0 24px 70px rgba(0, 0, 0, 0.45);
}

.industry-card.available h3,
.industry-card.available p,
.industry-card.available .industry-list li {
    color: #f1f5f9;
}

.industry-card.available .industry-list li::before {
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.industry-card.soon {
    border-color: rgba(139, 92, 246, 0.35);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.06) 0%, var(--surface) 100%);
    opacity: 0.92;
}

.industry-card.soon:hover {
    border-color: rgba(139, 92, 246, 0.55);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.industry-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.industry-badge.live {
    background: rgba(6, 182, 212, 0.14);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.3);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.1);
}

.industry-badge.soon {
    background: rgba(139, 92, 246, 0.12);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.industry-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    margin-bottom: 28px;
    transition: transform 300ms ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.08);
}

.industry-icon svg {
    width: 38px;
    height: 38px;
}

.industry-card.available .industry-icon {
    background: var(--accent-gradient);
    border: none;
    box-shadow: 0 12px 34px rgba(37, 99, 235, 0.4);
}

.industry-card.soon .industry-icon {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.industry-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.industry-list {
    margin-top: 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.industry-list li {
    position: relative;
    padding-left: 22px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.industry-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

.industry-card.soon .industry-list li::before {
    background: var(--violet);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.45);
}

/* ─── Features / Mogućnosti ───────────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.feature-card {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 2px solid rgba(37, 99, 235, 0.6);
    border-radius: var(--radius);
    padding: 30px 26px;
    position: relative;
    overflow: hidden;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14) 0%, rgba(6, 182, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.75);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.feature-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 64px;
    flex-shrink: 0;
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: transform 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-light);
}

.feature-card:hover .feature-icon {
    transform: scale(1.12);
    background: rgba(37, 99, 235, 0.22);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.25);
}

.feature-body {
    position: relative;
    z-index: 1;
    flex: 1;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ─── How it works ──────────────────────────────────────────────────────────── */
.steps-section {
    background: rgba(15, 23, 42, 0.45);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 18%;
    right: 18%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.5) 20%, rgba(6, 182, 212, 0.5) 50%, rgba(139, 92, 246, 0.5) 80%, transparent 100%);
    border-radius: 3px;
    z-index: 0;
}

.step-card {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 2px solid rgba(37, 99, 235, 0.6);
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
    padding: 42px 30px 34px;
    text-align: center;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-color: rgba(6, 182, 212, 0.75);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    border: 4px solid var(--asphalt-deep);
    position: relative;
}

/* Tachometer ticks on step number */
.step-number::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ─── Demo preview section ──────────────────────────────────────────────────── */
.demo-preview-section {
    overflow: hidden;
}

.demo-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-preview-text {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.demo-preview-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
}

.demo-preview-text h3 .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.demo-preview-text p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.demo-preview-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-preview-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.demo-preview-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: var(--primary-light);
    margin-top: 2px;
}

.demo-preview-item span {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.demo-preview-grid .phone-mockup {
    max-width: 360px;
}

.demo-preview-grid .phone-screen {
    min-height: 540px;
}

.whatsapp-cta-info .whatsapp-cta-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 2px solid rgba(37, 99, 235, 0.6);
    border-radius: var(--radius);
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.whatsapp-cta-info .whatsapp-cta-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-color: rgba(6, 182, 212, 0.75);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.whatsapp-cta-info .whatsapp-cta-card .whatsapp-icon-wrap {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.08);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.18);
    transition: transform var(--transition), background var(--transition);
}

.whatsapp-cta-info .whatsapp-cta-card:hover .whatsapp-icon-wrap {
    transform: scale(1.06);
    background: rgba(34, 197, 94, 0.14);
}

.whatsapp-cta-info .whatsapp-cta-card .whatsapp-icon {
    width: 54px;
    height: 54px;
    stroke: none;
    filter: drop-shadow(0 6px 18px rgba(34, 197, 94, 0.42));
    transition: filter var(--transition);
}

.whatsapp-cta-info .whatsapp-cta-card:hover .whatsapp-icon {
    filter: drop-shadow(0 9px 26px rgba(34, 197, 94, 0.58));
}

.whatsapp-cta-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.whatsapp-cta-text strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.whatsapp-cta-text .whatsapp-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.03em;
}

.whatsapp-cta-text span:not(.whatsapp-number) {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ─── Footer CTA ────────────────────────────────────────────────────────────── */
.footer-cta {
    padding: 120px 0;
}

.footer-cta-card {
    position: relative;
    text-align: center;
    padding: 90px 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 80% at 50% 120%, rgba(37, 99, 235, 0.28), transparent),
        rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-glow);
}

.footer-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0.07;
    z-index: 0;
}

.footer-cta-card > * {
    position: relative;
    z-index: 1;
}

.footer-cta-card .section-label {
    margin-bottom: 22px;
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.35);
}

.footer-cta-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.9rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-cta-card p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 38px;
    line-height: 1.7;
}

.footer-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-cta-actions .btn-accent {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.footer-cta-actions .btn-accent:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
    filter: brightness(1.08);
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.contact-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.contact-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 44px 36px 36px;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 70% at 50% -10%, rgba(37, 99, 235, 0.2), transparent),
        rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: translateY(16px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-modal.visible .contact-modal-card {
    transform: translateY(0) scale(1);
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.contact-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: rotate(90deg);
}

.contact-modal-close svg {
    width: 18px;
    height: 18px;
}

.contact-modal-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
    color: #fff;
}

.contact-modal-icon svg {
    width: 36px;
    height: 36px;
    stroke: #fff;
}

.contact-modal-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.contact-modal-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.contact-modal-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    text-decoration: none;
    margin-bottom: 18px;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.contact-modal-phone:hover {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
}

.contact-modal-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.contact-modal-number {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.contact-modal-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-modal-note svg {
    width: 18px;
    height: 18px;
    color: #22c55e;
    flex-shrink: 0;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer {
    padding: 60px 0 36px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 14px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: color var(--transition), transform var(--transition);
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ─── Demo page ───────────────────────────────────────────────────────────────── */
.demo-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.demo-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 24px 80px;
}

.demo-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 620px;
    padding: 64px 52px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.demo-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    box-shadow: 0 12px 34px rgba(37, 99, 235, 0.35);
    animation: floaty 4s ease-in-out infinite;
}

.demo-card h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.demo-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 34px;
}

/* ─── Sigurnost section ───────────────────────────────────────────────────── */
.sigurnost-section {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.45) 50%, transparent 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.sigurnost-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: stretch;
}

.sigurnost-card {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.06) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 2px solid rgba(37, 99, 235, 0.6);
    border-radius: var(--radius);
    padding: 31px 22px;
    min-height: 336px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.sigurnost-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-color: rgba(6, 182, 212, 0.75);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.sigurnost-icon {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.18);
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    flex-shrink: 0;
}

.sigurnost-icon svg {
    width: 31px;
    height: 31px;
    stroke: var(--primary-light);
}

.sigurnost-card:hover .sigurnost-icon {
    transform: scale(1.1);
    background: rgba(37, 99, 235, 0.22);
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.3);
}

.sigurnost-card h3 {
    font-size: 1.26rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.sigurnost-card p {
    color: var(--text-muted);
    font-size: 1.06rem;
    line-height: 1.55;
}

/* ─── Scroll reveal ─────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-mockup {
        order: 2;
        margin-top: 50px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-stats-list {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .channels-hub {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "hub hub"
            "wa insta"
            "fb email"
            "tiktok yt";
        gap: 20px;
    }

    .channels-lines {
        display: none;
    }

    .channel-hub-center {
        grid-area: hub;
        margin-bottom: 8px;
    }

    .demo-preview-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .demo-preview-grid {
        text-align: center;
    }

    .demo-preview-text {
        align-items: center;
    }

    .demo-preview-list {
        align-items: flex-start;
        max-width: 420px;
        margin: 0 auto;
    }

    .steps-grid::before {
        display: none;
    }

    .step-card {
        text-align: left;
    }

    .step-number {
        margin: 0 0 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px 28px;
        gap: 6px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-cta-group {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats-list {
        gap: 14px;
    }

    .trust-grid,
    .industries-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .channels-hub {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "hub hub"
            "wa insta"
            "fb email"
            "tiktok yt";
        gap: 16px;
    }

    .channel-hub-center {
        grid-area: hub;
    }

    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .phone-mockup,
    .demo-preview-grid .phone-mockup {
        max-width: 300px;
    }

    .phone-screen {
        min-height: 460px !important;
    }

    .chat-bubble {
        font-size: 0.82rem;
    }

    .footer-cta-card {
        padding: 54px 24px;
    }

    .footer-cta-card h2 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .demo-card {
        padding: 44px 28px;
    }

    .demo-card h1 {
        font-size: 1.9rem;
    }
}
