/* ══════════════════════════════════════════════════
   Zaffer System — PREMIUM DESIGN SYSTEM
   Ultra-Modern SaaS Landing Page — Light & Elegant
   ══════════════════════════════════════════════════ */

/* ═══ CSS CUSTOM PROPERTIES (LIGHT MODE - DEFAULT) ═══ */
:root {
    /* Backgrounds — clean whites & soft grays */
    --z-bg: #ffffff;
    --z-bg2: #f8fafc;
    --z-bg3: #f1f5f9;
    --z-bg4: #e8ecf1;

    /* Brand Colors — soft & elegant */
    --z-navy: #2d3a6e;
    --z-indigo: #5b5fc7;
    --z-purple: #7c6bc4;
    --z-cyan: #0ea5c9;
    --z-emerald: #0fa97a;
    --z-gold: #e69500;
    --z-red: #e54d4d;
    --z-pink: #d946a8;
    --z-blue: #4b8df8;
    --z-orange: #ef7a1a;

    /* Text — dark but soft */
    --z-text: #334155;
    --z-text2: #64748b;
    --z-text3: #94a3b8;
    --z-heading: #1e293b;

    /* Glass & Borders — subtle and clean */
    --z-card: #ffffff;
    --z-glass: rgba(255, 255, 255, 0.75);
    --z-glass2: rgba(255, 255, 255, 0.9);
    --z-glass3: rgba(255, 255, 255, 0.95);
    --z-border: rgba(0, 0, 0, 0.06);
    --z-border2: rgba(0, 0, 0, 0.1);

    /* Effects — soft and gentle */
    --z-glow: rgba(91, 95, 199, 0.2);
    --z-glow2: rgba(124, 107, 196, 0.15);
    --z-shadow: rgba(0, 0, 0, 0.06);
    --z-shadow2: rgba(0, 0, 0, 0.1);

    /* Spacing & Sizing */
    --z-radius: 16px;
    --z-radius-sm: 10px;
    --z-radius-lg: 24px;
    --z-radius-xl: 32px;

    /* Typography */
    --z-font: 'Cairo', 'Inter', sans-serif;
    --z-font-en: 'Inter', 'Cairo', sans-serif;

    /* Transitions */
    --z-transition: cubic-bezier(0.4, 0, 0.2, 1);
    --z-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Navbar */
    --z-nav-bg: rgba(255, 255, 255, 0.88);
    --z-nav-blur: blur(20px) saturate(180%);

    /* Input */
    --z-input-bg: #f8fafc;
    --z-input-border: rgba(0, 0, 0, 0.1);
}

/* ═══ DARK MODE ═══ */
[data-theme="dark"] {
    --z-bg: #0a0f1e;
    --z-bg2: #0f1629;
    --z-bg3: #1a2035;
    --z-bg4: #222942;
    --z-card: #141b2d;
    --z-text: #e2e8f0;
    --z-text2: #b0bdd0;
    --z-text3: #8b9dc3;
    --z-heading: #ffffff;
    --z-glass: rgba(255, 255, 255, 0.05);
    --z-glass2: rgba(255, 255, 255, 0.08);
    --z-glass3: rgba(255, 255, 255, 0.12);
    --z-border: rgba(255, 255, 255, 0.1);
    --z-border2: rgba(255, 255, 255, 0.18);
    --z-shadow: rgba(0, 0, 0, 0.3);
    --z-shadow2: rgba(0, 0, 0, 0.5);
    --z-glow: rgba(129, 140, 248, 0.35);
    --z-nav-bg: rgba(10, 15, 30, 0.92);
    --z-input-bg: rgba(255, 255, 255, 0.06);
    --z-input-border: rgba(255, 255, 255, 0.12);
    --z-indigo: #818cf8;
    --z-purple: #a78bfa;
    --z-cyan: #67e8f9;
}

[data-theme="dark"] .z-mock-card,
[data-theme="dark"] .z-device {
    background: var(--z-bg3);
    border-color: var(--z-border2);
}

[data-theme="dark"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Gradient text for light mode (default) */
.gradient-text {
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Gradient text — BRIGHT override for dark mode (all instances) */
[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 35%, #e879f9 70%, #67e8f9 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="dark"] .z-hero h1 .gradient-text {
    background: linear-gradient(135deg, #e0e7ff 0%, #a5b4fc 30%, #c084fc 60%, #67e8f9 100%) !important;
    background-size: 300% 300% !important;
    animation: gradient-shift 6s ease infinite !important;
}

[data-theme="dark"] .z-section-title h2 .gradient-text {
    background: linear-gradient(135deg, #e0e7ff, #a5b4fc, #c084fc) !important;
    background-size: 200% 200% !important;
    animation: gradient-shift 6s ease infinite !important;
}

/* ═══ BASE RESET ═══ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: var(--z-font);
    background: var(--z-bg);
    color: var(--z-text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.4s var(--z-transition), color 0.4s var(--z-transition);
}

/* LTR body override */
body[dir="ltr"] {
    font-family: var(--z-font-en);
}

::selection {
    background: var(--z-indigo);
    color: #fff;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--z-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--z-indigo), var(--z-purple));
    border-radius: 10px;
}

/* ═══ PRELOADER ═══ */
.z-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--z-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.6s, visibility 0.6s;
}

.z-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.z-preloader-logo {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
}

.z-preloader-logo img {
    -webkit-text-fill-color: initial;
}

.z-preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--z-glass2);
    border-radius: 4px;
    overflow: hidden;
}

.z-preloader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple));
    border-radius: 4px;
    animation: preloader-slide 1.2s ease-in-out infinite;
}

@keyframes preloader-slide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(350%);
    }
}

/* ═══ KEYFRAME ANIMATIONS ═══ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-15px) rotate(5deg)
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0) rotate(0)
    }

    50% {
        transform: translateY(-10px) rotate(-3deg)
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--z-glow)
    }

    50% {
        box-shadow: 0 0 40px var(--z-glow), 0 0 80px rgba(99, 102, 241, .15)
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(99, 102, 241, .3)
    }

    50% {
        border-color: rgba(139, 92, 246, .6)
    }
}

@keyframes rotate-orbit {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes blob {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* ═══ REVEAL ON SCROLL (CSS fallback, enhanced by GSAP) ═══ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--z-transition);
}

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

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s var(--z-transition);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s var(--z-transition);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.7s var(--z-transition);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ═══ NAVBAR ═══ */
.z-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 0;
    transition: all 0.4s var(--z-transition);
}

.z-navbar.scrolled {
    background: var(--z-nav-bg);
    backdrop-filter: var(--z-nav-blur);
    -webkit-backdrop-filter: var(--z-nav-blur);
    border-bottom: 1px solid var(--z-border);
    padding: 10px 0;
    box-shadow: 0 4px 30px var(--z-shadow);
}

.z-navbar .navbar-brand {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.z-navbar .navbar-brand img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.z-navbar .nav-link {
    color: var(--z-text2) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.z-navbar .nav-link:hover,
.z-navbar .nav-link.active {
    color: var(--z-heading) !important;
    background: var(--z-glass2);
}

.z-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 16px;
    left: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s var(--z-transition);
}

.z-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

/* Nav Controls (Theme toggle + Lang switch) */
.z-nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.z-theme-toggle,
.z-lang-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--z-border);
    background: var(--z-glass);
    color: var(--z-text2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.z-theme-toggle:hover,
.z-lang-toggle:hover {
    background: var(--z-glass2);
    color: var(--z-indigo);
    border-color: var(--z-indigo);
    transform: translateY(-2px);
}

.z-lang-toggle {
    font-size: 12px;
    font-weight: 800;
    font-family: var(--z-font-en);
}

/* ═══ CTA BUTTON ═══ */
.z-cta-btn {
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    color: #fff !important;
    border: none;
    padding: 10px 24px;
    border-radius: var(--z-radius-sm);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s var(--z-transition);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.z-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--z-glow);
    color: #fff;
}

.z-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.z-cta-btn:hover::before {
    left: 100%;
}

.z-btn-outline {
    border: 2px solid rgba(0, 0, 0, 0.15);
    color: var(--z-heading);
    padding: 12px 28px;
    border-radius: var(--z-radius-sm);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
}

.z-btn-outline:hover {
    border-color: var(--z-indigo);
    background: var(--z-glass2);
    color: var(--z-heading);
    transform: translateY(-2px);
}

[data-theme="dark"] .z-btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
}

/* ═══ BIG CTA BUTTON ═══ */
.z-cta-big-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 44px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
}

.z-cta-big-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px var(--z-glow);
    color: #fff;
}

.z-cta-big-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s;
}

.z-cta-big-btn:hover::before {
    left: 100%;
}

/* ═══ HERO SECTION ═══ */
.z-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.z-hero .container {
    position: relative;
    z-index: 3;
}

.z-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--z-glass2);
    border: 1px solid var(--z-border);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--z-cyan);
    margin-bottom: 24px;
}

.z-hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--z-emerald);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

.z-hero h1 {
    font-size: clamp(32px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--z-heading);
}

.z-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--z-indigo) 0%, var(--z-purple) 50%, var(--z-cyan) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

.z-hero .hero-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    color: var(--z-text2);
    font-weight: 500;
    margin-bottom: 16px;
}

.z-hero .hero-desc {
    font-size: 16px;
    color: var(--z-text3);
    max-width: 600px;
    margin-bottom: 32px;
}

.z-hero .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.z-hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.z-hero-stat {
    text-align: center;
}

.z-hero-stat .stat-num {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.z-hero-stat .stat-label {
    font-size: 12px;
    color: var(--z-text3);
    font-weight: 600;
}

/* Floating Shapes */
.z-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
}

.z-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--z-indigo);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.z-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--z-purple);
    bottom: -50px;
    left: -80px;
    animation: float 10s ease-in-out infinite 2s;
}

.z-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--z-cyan);
    top: 50%;
    left: 50%;
    animation: float2 12s ease-in-out infinite 1s;
}

/* ═══ SECTION UTILITIES ═══ */
.z-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.z-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.z-section-title .z-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    color: var(--z-indigo);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.z-section-title h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--z-heading);
}

.z-section-title h2 .gradient-text {
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.z-section-title p {
    font-size: 17px;
    color: var(--z-text3);
    max-width: 650px;
    margin: 0 auto;
}

.z-section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple));
    border-radius: 4px;
    margin: 0 auto 20px;
}

/* Section alternate background */
.z-section-alt {
    background: linear-gradient(180deg, var(--z-bg), var(--z-bg2));
}

.z-section-alt2 {
    background: linear-gradient(180deg, var(--z-bg2), var(--z-bg));
}

/* ═══ ABOUT SECTION ═══ */
.z-about-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 40px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s var(--z-transition);
}

.z-about-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 60px var(--z-shadow);
}

.z-about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple), var(--z-cyan));
    background-size: 300% 100%;
    animation: gradient-shift 4s ease infinite;
}

.z-about-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px var(--z-glow);
    transition: transform 0.3s;
}

.z-about-card:hover .z-about-icon {
    transform: scale(1.1) rotate(-5deg);
}

.z-about-card h4 {
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--z-heading);
    font-size: 18px;
}

.z-about-card p {
    color: var(--z-text3);
    font-size: 14px;
    line-height: 1.8;
}

/* ═══ FEATURE CARDS ═══ */
.z-feature-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.4s var(--z-transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: default;
}

.z-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--z-radius);
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, var(--z-indigo) 50%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.z-feature-card:hover {
    transform: translateY(-8px);
    background: var(--z-glass2);
    box-shadow: 0 20px 60px var(--z-shadow2), 0 0 40px var(--z-glow);
}

.z-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: #fff;
    transition: transform 0.3s;
}

.z-feature-card:hover .z-feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

.z-feature-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--z-heading);
}

.z-feature-card p {
    font-size: 13px;
    color: var(--z-text3);
    line-height: 1.8;
    margin: 0;
}

/* ═══ MODULE CARDS (Detailed Sections) ═══ */
.z-module-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(12px);
    transition: all 0.4s;
    height: 100%;
}

.z-module-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.1);
}

.z-module-icon-lg {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 24px;
    position: relative;
}

.z-module-icon-lg::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: inherit;
    opacity: 0.2;
    filter: blur(12px);
}

.z-module-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--z-heading);
}

.z-module-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.z-module-card ul li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--z-text2);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid var(--z-border);
}

.z-module-card ul li:last-child {
    border: none;
}

.z-module-card ul li i {
    color: var(--z-emerald);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ═══ MOCK CARDS (Dashboard Previews) ═══ */
.z-mock-card {
    background: linear-gradient(145deg, var(--z-bg2), var(--z-bg3));
    border: 1px solid var(--z-border);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.z-mock-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple), var(--z-cyan));
}

.z-mock-bar {
    height: 10px;
    background: var(--z-glass2);
    border-radius: 5px;
    margin-bottom: 10px;
}

.z-mock-bar.w-70 {
    width: 70%;
}

.z-mock-bar.w-50 {
    width: 50%;
}

.z-mock-bar.w-85 {
    width: 85%;
}

.z-mock-bar.accent {
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple));
    opacity: 0.6;
}

.z-mock-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: var(--z-glass);
    border-radius: 10px;
    border: 1px solid var(--z-border);
    min-width: 70px;
}

.z-mock-stat .val {
    font-size: 18px;
    font-weight: 800;
    color: var(--z-indigo);
}

.z-mock-stat .lbl {
    font-size: 9px;
    color: var(--z-text3);
}

/* ═══════════════════════════════════════
   HERO DEVICE SHOWCASE (Simple & Reliable)
   ═══════════════════════════════════════ */

/* Feature highlights in hero */
.z-hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}

.z-hero-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--z-text2);
}

.z-hero-feat i {
    color: var(--z-indigo);
    font-size: 14px;
}

/* Devices Container */
.z-hero-devices {
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Desktop Browser Frame */
.z-hero-device-desktop {
    background: var(--z-card);
    border: 1px solid var(--z-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(99, 102, 241, 0.1), 0 6px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.z-device-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--z-glass2);
    border-bottom: 1px solid var(--z-border);
}

.z-device-bar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.z-device-bar .dot.red {
    background: #ef4444;
}

.z-device-bar .dot.yellow {
    background: #f59e0b;
}

.z-device-bar .dot.green {
    background: #22c55e;
}

.z-device-bar .url-text {
    margin: 0 auto;
    font-size: 10px;
    color: var(--z-text3);
    font-weight: 500;
    background: var(--z-glass);
    padding: 3px 14px;
    border-radius: 5px;
    border: 1px solid var(--z-border);
    font-family: 'Inter', monospace;
    direction: ltr;
}

.z-device-screen {
    line-height: 0;
    overflow: hidden;
}

.z-device-screen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* Mobile Phones Row */
.z-hero-phones-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.z-hero-phone {
    width: 120px;
    background: var(--z-card);
    border: 2px solid var(--z-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.z-hero-phone:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.2);
}

.z-hero-phone:nth-child(2) {
    transform: translateY(-10px);
}

.z-hero-phone:nth-child(2):hover {
    transform: translateY(-16px);
}

.z-phone-notch {
    width: 50px;
    height: 12px;
    background: var(--z-glass2);
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
    border: 1px solid var(--z-border);
    border-top: none;
}

.z-hero-phone img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 200px;
    object-fit: cover;
    object-position: top;
}

/* Responsive */
@media (max-width: 991px) {
    .z-hero-devices {
        max-width: 500px;
        margin: 40px auto 0;
    }

    .z-hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .z-hero-phone {
        width: 90px;
    }

    .z-hero-phones-row {
        gap: 10px;
    }
}

/* ═══ INDUSTRIES SECTION ═══ */
.z-industry-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s var(--z-transition);
    height: 100%;
    cursor: default;
}

.z-industry-card:hover {
    transform: translateY(-8px);
    background: var(--z-glass2);
    border-color: var(--z-indigo);
    box-shadow: 0 20px 50px var(--z-shadow);
}

.z-industry-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
    color: #fff;
    transition: transform 0.3s;
}

.z-industry-card:hover .z-industry-icon {
    transform: scale(1.15) rotate(-5deg);
}

.z-industry-card h5 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--z-heading);
}

.z-industry-card p {
    font-size: 12px;
    color: var(--z-text3);
    margin: 0;
}

/* ═══ PLATFORM COMPATIBILITY ═══ */
.z-platform-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s var(--z-transition);
}

.z-platform-card:hover {
    transform: translateY(-10px);
    background: var(--z-glass2);
    border-color: var(--z-indigo);
    box-shadow: 0 20px 50px var(--z-shadow);
}

.z-platform-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 16px;
    transition: transform 0.3s;
}

.z-platform-card:hover .z-platform-icon {
    transform: scale(1.15);
}

.z-platform-card h5 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--z-heading);
}

.z-platform-card p {
    font-size: 12px;
    color: var(--z-text3);
    margin: 0;
}

/* Platform tagline */
.z-platform-tagline {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-lg);
}

.z-platform-tagline h3 {
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 900;
    color: var(--z-heading);
}

/* Device Mockups */
.z-device-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.z-device {
    border-radius: 16px;
    background: var(--z-card);
    border: 2px solid var(--z-border2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(99, 102, 241, 0.08);
    transition: transform 0.5s var(--z-transition), box-shadow 0.4s ease;
}

.z-device:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.18), 0 12px 30px rgba(0, 0, 0, 0.1);
}

.z-device-phone {
    width: 140px;
    height: 260px;
    border-radius: 20px;
}

.z-device-tablet {
    width: 220px;
    height: 300px;
    border-radius: 16px;
}

.z-device-laptop {
    width: 380px;
    height: 240px;
    border-radius: 12px 12px 0 0;
}

.z-device-top {
    height: 20px;
    background: var(--z-glass2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-bottom: 1px solid var(--z-border);
}

.z-device-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--z-text3);
    opacity: 0.5;
}

.z-device-screen {
    overflow: hidden;
    line-height: 0;
    height: calc(100% - 20px);
}

.z-device-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ═══ CLOUD & SECURITY ═══ */
.z-security-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s;
    height: 100%;
}

.z-security-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 40px var(--z-shadow);
}

.z-security-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
    color: #fff;
    transition: transform 0.3s;
}

.z-security-card:hover .z-security-icon {
    transform: scale(1.15) rotate(-5deg);
}

.z-security-card h5 {
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--z-heading);
    font-size: 15px;
}

.z-security-card p {
    font-size: 13px;
    color: var(--z-text3);
    margin: 0;
    line-height: 1.7;
}

/* ═══ SMART TECHNOLOGY ═══ */
.z-tech-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 32px 24px;
    transition: all 0.4s var(--z-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.z-tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-cyan));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.z-tech-card:hover::after {
    transform: scaleX(1);
}

.z-tech-card:hover {
    transform: translateY(-6px);
    background: var(--z-glass2);
    box-shadow: 0 12px 40px var(--z-shadow);
}

.z-tech-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    color: #fff;
    transition: transform 0.3s;
}

.z-tech-card:hover .z-tech-icon {
    transform: scale(1.1) rotate(-5deg);
}

.z-tech-card h5 {
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--z-heading);
    font-size: 16px;
}

.z-tech-card p {
    font-size: 13px;
    color: var(--z-text3);
    margin: 0;
    line-height: 1.7;
}

/* ═══ DASHBOARD SHOWCASE ═══ */
.z-dashboard-preview {
    background: linear-gradient(145deg, var(--z-bg2), var(--z-bg3));
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px var(--z-shadow2);
}

.z-dashboard-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple), var(--z-cyan));
}

.z-dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--z-border);
}

.z-dashboard-dots {
    display: flex;
    gap: 6px;
}

.z-dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.z-dashboard-dots span:nth-child(1) {
    background: #ef4444;
}

.z-dashboard-dots span:nth-child(2) {
    background: #f59e0b;
}

.z-dashboard-dots span:nth-child(3) {
    background: #10b981;
}

.z-dash-stat-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.z-dash-stat-card:hover {
    border-color: var(--z-indigo);
    transform: translateY(-4px);
}

.z-dash-stat-card .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 10px;
    color: #fff;
}

.z-dash-stat-card .value {
    font-size: 22px;
    font-weight: 900;
    color: var(--z-heading);
}

.z-dash-stat-card .label {
    font-size: 11px;
    color: var(--z-text3);
    font-weight: 600;
}

/* Dashboard chart bars */
.z-dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
    padding: 16px;
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-sm);
}

.z-dash-chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transition: height 1s var(--z-transition);
    position: relative;
}

.z-dash-chart-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent);
}

/* ═══ TESTIMONIALS (Swiper) ═══ */
.z-testimonial-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 32px;
    position: relative;
    height: 100%;
}

.z-testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 60px;
    color: var(--z-indigo);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

body[dir="ltr"] .z-testimonial-card::before {
    right: auto;
    left: 24px;
}

.z-testimonial-card p {
    font-size: 15px;
    color: var(--z-text2);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.z-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.z-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.z-testimonial-name {
    font-weight: 800;
    font-size: 15px;
    color: var(--z-heading);
}

.z-testimonial-role {
    font-size: 12px;
    color: var(--z-text3);
}

.z-testimonial-stars {
    color: var(--z-gold);
    font-size: 13px;
    margin-bottom: 12px;
}

/* Swiper custom styles */
.swiper-pagination-bullet {
    background: var(--z-text3) !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    background: var(--z-indigo) !important;
    opacity: 1 !important;
}

/* ═══ STATISTICS COUNTER ═══ */
.z-stats-section {
    background: linear-gradient(135deg, var(--z-bg2), rgba(99, 102, 241, 0.08));
    border-top: 1px solid var(--z-border);
    border-bottom: 1px solid var(--z-border);
}

.z-stat-item {
    text-align: center;
    padding: 30px 10px;
}

.z-stat-num {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.z-stat-label {
    font-size: 14px;
    color: var(--z-text2);
    font-weight: 600;
}

/* ═══ WHY ZAFFER ═══ */
.z-why-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s;
    height: 100%;
}

.z-why-card:hover {
    transform: translateY(-6px);
    border-color: var(--z-indigo);
    box-shadow: 0 12px 40px var(--z-shadow);
}

.z-why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 18px;
    color: #fff;
    transition: transform 0.3s;
}

.z-why-card:hover .z-why-icon {
    transform: scale(1.15) rotate(-5deg);
}

.z-why-card h5 {
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--z-heading);
}

.z-why-card p {
    font-size: 13px;
    color: var(--z-text3);
    line-height: 1.7;
}

/* ═══ CONTACT FORM ═══ */
.z-contact-form {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius-lg);
    padding: 48px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.z-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple), var(--z-cyan));
    background-size: 300% 100%;
    animation: gradient-shift 4s ease infinite;
}

.z-form-group {
    margin-bottom: 20px;
}

.z-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--z-text2);
    margin-bottom: 8px;
}

.z-form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--z-input-bg);
    border: 1px solid var(--z-input-border);
    border-radius: var(--z-radius-sm);
    color: var(--z-text);
    font-family: var(--z-font);
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
}

.z-form-control:focus {
    border-color: var(--z-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.z-form-control::placeholder {
    color: var(--z-text3);
}

textarea.z-form-control {
    min-height: 120px;
    resize: vertical;
}

.z-contact-info-card {
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
    margin-bottom: 16px;
}

.z-contact-info-card:hover {
    border-color: var(--z-indigo);
    transform: translateY(-3px);
}

.z-contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.z-contact-info-card h6 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--z-heading);
}

.z-contact-info-card p {
    font-size: 13px;
    color: var(--z-text3);
    margin: 0;
}

.z-contact-info-card a {
    color: var(--z-text2);
    text-decoration: none;
    transition: color 0.3s;
}

.z-contact-info-card a:hover {
    color: var(--z-indigo);
}

/* ═══ CTA SECTION ═══ */
.z-cta-section {
    background: linear-gradient(135deg, var(--z-bg2), rgba(99, 102, 241, 0.1));
    position: relative;
    overflow: hidden;
}

.z-cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--z-indigo);
    filter: blur(120px);
    opacity: 0.1;
    top: -200px;
    left: -200px;
}

/* ═══ FOOTER ═══ */
.z-footer {
    background: var(--z-bg2);
    border-top: 1px solid var(--z-border);
    padding: 60px 0 30px;
}

.z-footer h5 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--z-heading);
}

.z-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.z-footer-links li {
    margin-bottom: 10px;
}

.z-footer-links a {
    color: var(--z-text3);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.z-footer-links a:hover {
    color: var(--z-indigo);
    transform: translateX(-4px);
}

body[dir="ltr"] .z-footer-links a:hover {
    transform: translateX(4px);
}

.z-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--z-glass);
    border: 1px solid var(--z-border);
    color: var(--z-text2);
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
}

.z-footer-social a:hover {
    background: var(--z-indigo);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--z-indigo);
}

.z-footer-bottom {
    border-top: 1px solid var(--z-border);
    padding-top: 24px;
    margin-top: 40px;
    text-align: center;
    color: var(--z-text3);
    font-size: 13px;
}

/* ═══ BACK TO TOP ═══ */
.z-back-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
    border: none;
    box-shadow: 0 4px 20px var(--z-glow);
}

body[dir="ltr"] .z-back-top {
    left: auto;
    right: 30px;
}

.z-back-top.show {
    opacity: 1;
    transform: translateY(0);
}

.z-back-top:hover {
    transform: translateY(-4px);
}

/* ═══ PARALLAX BACKGROUND SHAPES ═══ */
.z-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* ═══ NAVBAR TOGGLER ═══ */
.navbar-toggler {
    border: 1px solid var(--z-border);
    color: var(--z-text);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 992px) {
    .z-hero-stats {
        gap: 20px;
    }

    .z-hero h1 {
        font-size: 36px;
    }

    .z-contact-form {
        padding: 32px;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--z-nav-bg);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 16px;
        margin-top: 12px;
        border: 1px solid var(--z-border);
    }

    .z-nav-controls {
        margin-top: 12px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .z-section {
        padding: 60px 0;
    }

    .z-section-title {
        margin-bottom: 40px;
    }

    .z-hero {
        padding: 100px 0 60px;
    }

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

    .z-about-card {
        padding: 24px;
    }

    .z-module-card {
        padding: 24px;
    }

    .z-device-laptop {
        width: 260px;
        height: 170px;
    }

    .z-device-tablet {
        width: 160px;
        height: 220px;
    }

    .z-contact-form {
        padding: 24px;
    }

    .z-dashboard-preview {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .z-hero-stats {
        gap: 12px;
    }

    .z-hero-stat .stat-num {
        font-size: 22px;
    }

    .z-device-showcase {
        gap: 12px;
    }

    .z-device-laptop {
        display: none;
    }

    .z-cta-big-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* ═══ AOS Custom Overrides ═══ */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ═══ SWIPER CUSTOM ═══ */
.swiper {
    padding-bottom: 50px !important;
}

.swiper-slide {
    height: auto;
}

/* ═══ TILT EFFECT ═══ */
.z-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ═══ ANIMATED GRADIENT BORDER ═══ */
.z-gradient-border {
    position: relative;
}

.z-gradient-border::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple), var(--z-cyan), var(--z-indigo));
    background-size: 300% 300%;
    animation: gradient-shift 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.z-gradient-border:hover::after {
    opacity: 1;
}

/* ═══ GLOW TEXT ═══ */
.z-glow-text {
    text-shadow: 0 0 20px var(--z-glow), 0 0 40px rgba(99, 102, 241, 0.1);
}

/* ═══ GLASS PANEL ═══ */
.z-glass-panel {
    background: var(--z-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--z-border);
    border-radius: var(--z-radius);
}

/* ═══════════════════════════════════════
   SCREENSHOT SHOWCASE SECTION
   ═══════════════════════════════════════ */

/* Tab Switcher */
.z-screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.z-screenshot-tab {
    padding: 12px 32px;
    border: 2px solid var(--z-border);
    border-radius: 50px;
    background: var(--z-glass);
    color: var(--z-text2);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.z-screenshot-tab:hover {
    border-color: var(--z-indigo);
    color: var(--z-indigo);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.z-screenshot-tab.active {
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.z-screenshot-tab i {
    font-size: 16px;
}

/* Screenshot Panels */
.z-screenshot-panel {
    display: none;
    animation: fadeInPanel 0.5s ease;
}

.z-screenshot-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══ DESKTOP SCREENSHOT CARD ═══ */
.z-screenshot-card {
    border-radius: var(--z-radius);
    overflow: hidden;
    background: var(--z-card);
    border: 1px solid var(--z-border);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
}

.z-screenshot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Browser Bar (Desktop) */
.z-screenshot-browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--z-glass2);
    border-bottom: 1px solid var(--z-border);
}

.z-screenshot-browser-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.z-screenshot-browser-bar .dot.red {
    background: #ef4444;
}

.z-screenshot-browser-bar .dot.yellow {
    background: #f59e0b;
}

.z-screenshot-browser-bar .dot.green {
    background: #22c55e;
}

.z-screenshot-browser-bar .url {
    margin-right: auto;
    margin-left: auto;
    font-size: 11px;
    color: var(--z-text3);
    font-weight: 500;
    background: var(--z-glass);
    padding: 4px 16px;
    border-radius: 6px;
    border: 1px solid var(--z-border);
    letter-spacing: 0.3px;
    font-family: 'Inter', monospace;
    direction: ltr;
}

/* Phone Notch (Mobile) */
.z-screenshot-phone-notch {
    width: 120px;
    height: 28px;
    background: var(--z-glass2);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--z-border);
    border-top: none;
}

.z-screenshot-phone-notch::after {
    content: '';
    width: 50px;
    height: 4px;
    border-radius: 4px;
    background: var(--z-text3);
    opacity: 0.3;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

/* Image Wrapper */
.z-screenshot-img-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--z-bg2);
    line-height: 0;
}

.z-screenshot-desktop .z-screenshot-img-wrap {
    /* Let image dictate height - no cropping */
}

.z-screenshot-mobile .z-screenshot-img-wrap {
    max-height: 480px;
}

.z-screenshot-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top;
    display: block;
    transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

.z-screenshot-card:hover .z-screenshot-img-wrap img {
    transform: scale(1.03);
}

/* Caption */
.z-screenshot-caption {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: var(--z-glass);
    border-top: 1px solid var(--z-border);
}

.z-screenshot-caption-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.z-screenshot-caption h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--z-heading);
    margin: 0 0 4px;
}

.z-screenshot-caption p {
    font-size: 12.5px;
    color: var(--z-text3);
    margin: 0;
    line-height: 1.6;
}

/* ═══ MOBILE CARD SPECIAL ═══ */
.z-screenshot-mobile {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 28px;
    border: 3px solid var(--z-border);
    background: var(--z-card);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.1);
    padding-top: 0;
}

.z-screenshot-mobile .z-screenshot-img-wrap {
    border-radius: 0;
    max-height: 480px;
    overflow: hidden;
}

.z-screenshot-mobile .z-screenshot-caption {
    border-radius: 0 0 25px 25px;
    padding: 14px 16px;
}

.z-screenshot-mobile .z-screenshot-caption-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 14px;
    border-radius: 8px;
}

.z-screenshot-mobile .z-screenshot-caption h5 {
    font-size: 13.5px;
}

.z-screenshot-mobile .z-screenshot-caption p {
    font-size: 11.5px;
}

/* ═══ SWIPER OVERRIDES FOR SCREENSHOTS ═══ */
.screenshot-swiper-pc .swiper-button-next,
.screenshot-swiper-pc .swiper-button-prev,
.screenshot-swiper-mobile .swiper-button-next,
.screenshot-swiper-mobile .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--z-card);
    border: 1px solid var(--z-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: var(--z-indigo);
    transition: all 0.3s ease;
}

.screenshot-swiper-pc .swiper-button-next:hover,
.screenshot-swiper-pc .swiper-button-prev:hover,
.screenshot-swiper-mobile .swiper-button-next:hover,
.screenshot-swiper-mobile .swiper-button-prev:hover {
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    color: #fff;
    border-color: transparent;
    transform: scale(1.1);
}

.screenshot-swiper-pc .swiper-button-next::after,
.screenshot-swiper-pc .swiper-button-prev::after,
.screenshot-swiper-mobile .swiper-button-next::after,
.screenshot-swiper-mobile .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.screenshot-swiper-pc .swiper-pagination-bullet,
.screenshot-swiper-mobile .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--z-text3);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.screenshot-swiper-pc .swiper-pagination-bullet-active,
.screenshot-swiper-mobile .swiper-pagination-bullet-active {
    background: var(--z-indigo);
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}

.screenshot-swiper-pc,
.screenshot-swiper-mobile {
    padding-bottom: 50px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .z-screenshot-tabs {
        gap: 8px;
    }

    .z-screenshot-tab {
        padding: 10px 20px;
        font-size: 13px;
    }

    .z-screenshot-mobile {
        max-width: 240px;
    }

    .z-screenshot-mobile .z-screenshot-img-wrap {
        max-height: 380px;
    }

    .z-screenshot-caption {
        padding: 14px 16px;
        gap: 10px;
    }

    .z-screenshot-caption-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 14px;
    }

    .z-screenshot-caption h5 {
        font-size: 13px;
    }

    .z-screenshot-caption p {
        font-size: 11px;
    }

    .screenshot-swiper-pc .swiper-button-next,
    .screenshot-swiper-pc .swiper-button-prev,
    .screenshot-swiper-mobile .swiper-button-next,
    .screenshot-swiper-mobile .swiper-button-prev {
        display: none;
    }
}

/* ═══════════════════════════════════════
   PRICING SECTION
   ═══════════════════════════════════════ */
.z-pricing-card {
    background: var(--z-card);
    border: 1px solid var(--z-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.z-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--z-indigo), var(--z-purple), var(--z-cyan));
}

.z-pricing-card:hover {
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.14), 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.z-pricing-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.04), transparent);
}

.z-pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.z-pricing-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--z-heading);
    margin-bottom: 16px;
}

.z-pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.z-pricing-currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--z-indigo);
}

.z-pricing-number {
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.z-pricing-period {
    font-size: 16px;
    font-weight: 600;
    color: var(--z-text3);
}

.z-pricing-subtitle {
    font-size: 14px;
    color: var(--z-text3);
    margin: 0;
}

/* Platforms */
.z-pricing-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 20px 30px;
    border-top: 1px solid var(--z-border);
    border-bottom: 1px solid var(--z-border);
    background: var(--z-glass);
}

.z-platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--z-glass2);
    border: 1px solid var(--z-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--z-heading);
    transition: all 0.3s ease;
}

.z-platform-chip:hover {
    background: var(--z-indigo);
    color: #fff;
    border-color: var(--z-indigo);
    transform: translateY(-2px);
}

.z-platform-chip i {
    font-size: 14px;
    color: var(--z-indigo);
}

.z-platform-chip:hover i {
    color: #fff;
}

/* Features */
.z-pricing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 24px 30px;
}

.z-pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--z-text);
}

.z-pricing-feature i {
    color: #10b981;
    font-size: 16px;
    min-width: 16px;
}

/* Free Services */
.z-pricing-free-section {
    padding: 24px 30px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.04), transparent);
    border-top: 1px solid var(--z-border);
}

.z-pricing-free-section h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--z-heading);
    margin-bottom: 16px;
    text-align: center;
}

.z-pricing-free-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.z-free-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: var(--z-glass2);
    border: 1px solid var(--z-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.z-free-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.z-free-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.z-free-item span {
    font-size: 12px;
    font-weight: 600;
    color: var(--z-heading);
    text-align: center;
}

/* Support Hours */
.z-pricing-hours {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 30px;
    margin: 0 30px 24px;
    background: var(--z-glass2);
    border: 1px solid var(--z-border);
    border-radius: 12px;
}

/* CTA */
.z-pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 30px 30px;
    padding: 18px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.z-pricing-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
    color: #fff;
}

@media (max-width: 768px) {
    .z-pricing-features {
        grid-template-columns: 1fr;
    }

    .z-pricing-free-grid {
        grid-template-columns: 1fr 1fr;
    }

    .z-pricing-number {
        font-size: 56px;
    }

    .z-pricing-header {
        padding: 30px 20px 24px;
    }

    .z-pricing-platforms,
    .z-pricing-features,
    .z-pricing-free-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .z-pricing-hours,
    .z-pricing-cta {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* ═══ PLANS GRID (5 cards) ═══ */
.z-plans-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.z-plan-card {
    background: var(--z-card);
    border: 1.5px solid var(--z-border);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}

.z-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.12), 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Popular card */
.z-plan-card.z-plan-popular {
    border-color: var(--z-indigo);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
    transform: scale(1.04);
    z-index: 2;
}

.z-plan-card.z-plan-popular:hover {
    transform: scale(1.04) translateY(-6px);
}

/* Best value card */
.z-plan-card.z-plan-best {
    border-color: #10b981;
}

/* Popular ribbon */
.z-plan-popular-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    color: #fff;
    text-align: center;
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 10px;
    letter-spacing: 0.5px;
    z-index: 3;
}

/* Plan card header */
.z-plan-card-header {
    text-align: center;
    padding: 28px 16px 20px;
    border-bottom: 1px solid var(--z-border);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.03), transparent);
}

.z-plan-popular .z-plan-card-header {
    padding-top: 42px;
}

.z-plan-best .z-plan-card-header {
    padding-top: 42px;
}

.z-plan-card-header h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--z-heading);
    margin: 0 0 10px;
}

.z-plan-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 6px;
}

.z-plan-currency {
    font-size: 20px;
    font-weight: 700;
    color: var(--z-indigo);
}

.z-plan-amount {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.z-plan-period {
    font-size: 12.5px;
    color: var(--z-text3);
    margin: 0 0 8px;
}

.z-plan-save {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--z-indigo);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
}

/* Plan card body */
.z-plan-card-body {
    padding: 18px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.z-plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
}

.z-plan-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--z-text);
    padding: 6px 0;
    border-bottom: 1px solid var(--z-border);
}

.z-plan-features-list li:last-child {
    border-bottom: none;
}

.z-plan-features-list li i {
    color: #10b981;
    font-size: 12px;
    min-width: 14px;
}

/* Plan CTA button */
.z-plan-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    border: 2px solid var(--z-indigo);
    border-radius: 10px;
    background: transparent;
    color: var(--z-indigo);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.z-plan-card-btn:hover {
    background: var(--z-indigo);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.z-plan-card-btn.z-plan-btn-popular {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.z-plan-card-btn.z-plan-btn-popular:hover {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.z-plan-card-btn.z-plan-btn-best {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.z-plan-card-btn.z-plan-btn-best:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* Shared features section below plans */
.z-plans-shared {
    margin-top: 10px;
}

.z-plans-shared-inner {
    background: var(--z-card);
    border: 1px solid var(--z-border);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
}

.z-plans-platforms h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--z-heading);
    margin: 0 0 4px;
}

.z-plans-free-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

/* Responsive plans grid */
@media (max-width: 1200px) {
    .z-plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .z-plan-card.z-plan-popular {
        transform: scale(1);
    }

    .z-plan-card.z-plan-popular:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 768px) {
    .z-plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .z-plan-amount {
        font-size: 34px;
    }

    .z-plans-free-services {
        grid-template-columns: 1fr 1fr;
    }

    .z-plans-shared-inner {
        padding: 20px;
    }
}

@media (max-width: 500px) {
    .z-plans-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .z-plan-card.z-plan-popular {
        transform: none;
    }
}

/* ═══════════════════════════════════════
   SUBSCRIPTION MODAL
   ═══════════════════════════════════════ */
.z-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.z-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.z-modal {
    background: var(--z-card);
    border: 1px solid var(--z-border);
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
    transform: scale(0.92) translateY(30px);
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

.z-modal-overlay.active .z-modal {
    transform: scale(1) translateY(0);
}

/* Scrollbar */
.z-modal::-webkit-scrollbar {
    width: 6px;
}

.z-modal::-webkit-scrollbar-track {
    background: transparent;
}

.z-modal::-webkit-scrollbar-thumb {
    background: var(--z-border);
    border-radius: 3px;
}

.z-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--z-border);
    background: var(--z-glass);
    color: var(--z-text3);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.z-modal-close:hover {
    background: #ef4444;
    color: #fff;
    border-color: transparent;
    transform: rotate(90deg);
}

/* Modal Header */
.z-modal-header {
    text-align: center;
    padding: 32px 32px 20px;
    border-bottom: 1px solid var(--z-border);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05), transparent);
}

.z-modal-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.z-modal-header h3 {
    font-size: 22px;
    font-weight: 900;
    color: var(--z-heading);
    margin: 0 0 6px;
}

.z-modal-header p {
    font-size: 13.5px;
    color: var(--z-text3);
    margin: 0;
    line-height: 1.6;
}

/* Modal Form */
.z-modal-form {
    padding: 24px 32px 32px;
}

.z-form-group {
    margin-bottom: 18px;
}

.z-form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--z-heading);
    margin-bottom: 6px;
}

.z-form-group label i {
    color: var(--z-indigo);
    margin-left: 6px;
    font-size: 13px;
}

.z-form-group input,
.z-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--z-border);
    border-radius: 10px;
    background: var(--z-bg2);
    color: var(--z-heading);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.z-form-group input:focus,
.z-form-group textarea:focus {
    border-color: var(--z-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    background: var(--z-card);
}

.z-form-group input::placeholder,
.z-form-group textarea::placeholder {
    color: var(--z-text3);
    opacity: 0.6;
}

.z-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Two-column row */
.z-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Plan Options */
.z-plan-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.z-plan-option {
    cursor: pointer;
    flex: 1;
    min-width: 110px;
}

.z-plan-option input[type="radio"] {
    display: none;
}

.z-plan-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 10px;
    border: 2px solid var(--z-border);
    border-radius: 12px;
    background: var(--z-bg2);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.z-plan-badge i {
    font-size: 18px;
    color: var(--z-text3);
    transition: all 0.3s ease;
}

.z-plan-badge strong {
    font-size: 13px;
    color: var(--z-heading);
    font-weight: 700;
}

.z-plan-badge em {
    font-size: 15px;
    font-weight: 900;
    font-style: normal;
    color: var(--z-indigo);
}

.z-plan-option:hover .z-plan-badge {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.04);
}

.z-plan-option input[type="radio"]:checked+.z-plan-badge {
    border-color: var(--z-indigo);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.06));
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.z-plan-option input[type="radio"]:checked+.z-plan-badge i {
    color: var(--z-indigo);
}

.z-plan-popular-tag {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, var(--z-indigo), var(--z-purple));
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Submit Button */
.z-modal-submit {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.3);
}

.z-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4);
}

.z-modal-submit:active {
    transform: translateY(0);
}

.z-modal-submit i {
    font-size: 22px;
}

.z-modal-disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--z-text3);
    margin: 12px 0 0;
}

.z-modal-disclaimer i {
    color: #10b981;
    margin-left: 4px;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .z-modal {
        max-height: 95vh;
        border-radius: 16px;
    }

    .z-modal-form {
        padding: 20px;
    }

    .z-modal-header {
        padding: 24px 20px 16px;
    }

    .z-modal-header h3 {
        font-size: 18px;
    }

    .z-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .z-plan-options {
        gap: 8px;
    }

    .z-plan-option {
        min-width: 90px;
    }

    .z-plan-badge {
        padding: 10px 6px;
    }

    .z-plan-badge strong {
        font-size: 11.5px;
    }

    .z-plan-badge em {
        font-size: 13px;
    }

    .z-modal-submit {
        font-size: 15px;
        padding: 14px 20px;
    }
}

/* ═══════════════════════════════════════
   FLOATING SUBSCRIBE BUTTON
   ═══════════════════════════════════════ */
.z-floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    outline: none;
    opacity: 0;
    transform: translateY(80px) scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.34, 1.56, .64, 1);
    -webkit-tap-highlight-color: transparent;
}

.z-floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Pulsing glow ring */
.z-floating-cta-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    opacity: 0.4;
    animation: floatingPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes floatingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.15;
    }
}

/* Inner button */
.z-floating-cta-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    box-shadow:
        0 8px 32px rgba(37, 211, 102, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    animation: floatingBounce 3s ease-in-out infinite;
}

@keyframes floatingBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.z-floating-cta-inner i {
    font-size: 22px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Hover state */
.z-floating-cta:hover .z-floating-cta-inner {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 14px 44px rgba(37, 211, 102, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.z-floating-cta:hover .z-floating-cta-pulse {
    animation: none;
    opacity: 0.6;
    transform: scale(1.25);
}

/* Active / click state */
.z-floating-cta:active .z-floating-cta-inner {
    transform: translateY(0) scale(0.97);
    box-shadow:
        0 4px 16px rgba(37, 211, 102, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile: compact bottom bar */
@media (max-width: 768px) {
    .z-floating-cta {
        bottom: 16px;
        right: 16px;
    }

    .z-floating-cta-inner {
        padding: 12px 22px;
        font-size: 14px;
        gap: 8px;
    }

    .z-floating-cta-inner i {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .z-floating-cta {
        bottom: 12px;
        right: 12px;
    }

    .z-floating-cta-inner {
        padding: 11px 18px;
        font-size: 13px;
    }
}