/* =============================================
   zWall.io - Global Styles
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #8b5cf6;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Enhanced Design System Variables */
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-dark: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(99, 102, 241, 0.15);

    /* Mesh Gradient Backgrounds */
    --gradient-mesh:
        radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);

    /* Enhanced Shadows with Color Tint */
    --shadow-primary: 0 4px 14px 0 rgba(99, 102, 241, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --shadow-card-hover: 0 20px 40px -15px rgba(99, 102, 241, 0.2);

    /* Smooth Transition Curves */
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* =============================================
   Typography
   ============================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    color: var(--gray-600);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 25%, #ec4899 50%, var(--secondary) 75%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-gradient-flow 4s linear infinite;
}

@keyframes text-gradient-flow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* =============================================
   Layout
   ============================================= */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 5rem 0;
}

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

.section-header h2 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-header .badge {
    margin-bottom: 1rem;
}

/* Premium Section Backgrounds */
.section-decorated {
    position: relative;
    overflow: hidden;
}

.section-decorated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.section-alt {
    background: var(--gray-50);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 10% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* =============================================
   Announcement Banner
   ============================================= */

.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.announcement-banner span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    font-weight: 600;
}

.announcement-banner .countdown-timer {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Mobile styles for announcement banner */
@media (max-width: 768px) {
    .announcement-banner {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        line-height: 1.4;
    }

    .announcement-banner span {
        padding: 0.15rem 0.5rem;
        margin-left: 0.25rem;
        font-size: 0.7rem;
    }

    .announcement-banner .countdown-timer {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .announcement-banner {
        font-size: 0.65rem;
        padding: 0.4rem 0.5rem;
    }

    .announcement-banner span {
        display: inline-block;
        margin-top: 0.25rem;
        margin-left: 0;
    }

    .announcement-banner .countdown-days {
        margin-left: 0.25rem;
    }

    .announcement-banner .countdown-timer {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }
}

/* Body offset for fixed header with banner */
body.has-banner {
    padding-top: 104px; /* banner (40px) + navbar (64px) */
}

body:not(.has-banner) {
    padding-top: 64px; /* navbar only */
}

/* =============================================
   Navigation
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

body.has-banner .navbar {
    top: 40px;
}

@media (max-width: 768px) {
    body.has-banner {
        padding-top: 100px;
    }

    body.has-banner .navbar {
        top: 36px;
    }
}

@media (max-width: 480px) {
    body.has-banner {
        padding-top: 110px;
    }

    body.has-banner .navbar {
        top: 46px;
    }
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.logo svg {
    width: 36px;
    height: 36px;
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: var(--gray-700);
}

/* =============================================
   Buttons
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::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 ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(99, 102, 241, 0.5);
}

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

.btn-secondary {
    background: var(--gray-900);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.btn-white {
    background: var(--white);
    color: var(--gray-900);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

/* =============================================
   Badge
   ============================================= */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge svg {
    width: 16px;
    height: 16px;
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.2);
}

/* =============================================
   Cards
   ============================================= */

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(99, 102, 241, 0.1);
    transform: translateY(-6px);
}

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

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.card-icon.gradient {
    background: var(--gradient-primary);
}

.card-icon.gradient svg {
    color: var(--white);
}

.card h3 {
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.9375rem;
}

/* =============================================
   Hero Section & Page Headers - Premium Glass Theme
   ============================================= */

.hero,
.page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero {
    min-height: calc(100vh - 104px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

/* Premium gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-orb-drift 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-orb-drift 25s ease-in-out infinite reverse;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 40%;
    height: 100%;
    top: -20%;
    right: -5%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: hero-orb-drift 20s ease-in-out infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 80%;
    bottom: -30%;
    left: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes hero-orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.05); }
}

/* Glass panel overlay */
.hero-glass,
.page-header-glass {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

/* Subtle grid pattern */
.hero-grid-bg,
.page-header-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

/* Floating gradient shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 5%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: shape-morph 15s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    left: 8%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(99, 102, 241, 0.03) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: shape-morph 18s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    animation: shape-morph 12s ease-in-out infinite;
}

@keyframes shape-morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(5deg) scale(1.02);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* Accent line at bottom */
.hero-accent-line,
.page-header-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.2) 20%, rgba(139, 92, 246, 0.3) 50%, rgba(99, 102, 241, 0.2) 80%, transparent 100%);
    z-index: 2;
}

/* Decorative dots */
.hero-dots {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(rgba(99, 102, 241, 0.15) 2px, transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.hero-dots-2 {
    top: auto;
    left: auto;
    bottom: 15%;
    right: 8%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

/* Staggered entrance animations */
.hero-content .badge {
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-content > p:first-of-type {
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-content > div:first-of-type {
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-content .hero-stats {
    animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

@keyframes hero-fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.hero-visual {
    position: relative;
    z-index: 1;
    animation: hero-visual-entrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

@keyframes hero-visual-entrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #ec4899 100%);
    background-size: 200% 200%;
    animation: hero-image-gradient 8s ease-in-out infinite;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow:
        0 25px 50px -12px rgba(99, 102, 241, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

@keyframes hero-image-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating animation for hero visual */
.hero-image::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, rgba(255,255,255,0.1));
    border-radius: inherit;
    z-index: -1;
    animation: hero-image-glow 4s ease-in-out infinite alternate;
}

@keyframes hero-image-glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.hero-image-inner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.dashboard-preview {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1rem;
    min-height: 300px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

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

.dashboard-content {
    display: grid;
    gap: 1rem;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.dashboard-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dashboard-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.dashboard-card-change {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
}

/* =============================================
   Features Grid
   ============================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

/* =============================================
   Architecture Diagram
   ============================================= */

.architecture-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.architecture-diagram::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.arch-column {
    position: relative;
    z-index: 1;
}

.arch-column-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 1rem;
}

.arch-nodes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.arch-node {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    min-width: 140px;
}

.arch-node:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
    transform: translateX(4px);
}

.arch-users .arch-node:hover {
    transform: translateX(4px);
}

.arch-resources .arch-node:hover {
    transform: translateX(-4px);
}

.arch-node-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arch-node-icon svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

.arch-node span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* Connector Lines */
.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
}

.arch-connector-line {
    width: 60px;
    height: 3px;
    background: var(--gray-200);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.arch-connector-dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: connector-flow 2s ease-in-out infinite;
}

.arch-connector-flow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: connector-pulse 2s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes connector-flow {
    0%, 100% { left: 0; }
    50% { left: calc(100% - 8px); }
}

@keyframes connector-pulse {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.arch-connector-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Center Cloud */
.arch-center {
    flex-shrink: 0;
}

.arch-cloud {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arch-cloud-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: cloud-glow 3s ease-in-out infinite;
}

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

.arch-cloud-inner {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 180px;
    background: var(--white);
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.arch-cloud-logo svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.arch-cloud-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 0.375rem;
    white-space: nowrap;
}

.arch-cloud-subtitle {
    font-size: 0.625rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.arch-cloud-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1875rem;
    margin-top: 0.375rem;
    max-width: 140px;
}

.arch-cloud-features span {
    font-size: 0.5rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.125rem 0.3125rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.arch-cloud-ring {
    position: absolute;
    inset: -10px;
    border: 1px dashed var(--gray-300);
    border-radius: 50%;
    animation: ring-rotate 20s linear infinite;
}

.arch-cloud-ring-2 {
    inset: -25px;
    animation-direction: reverse;
    animation-duration: 30s;
    border-color: var(--gray-200);
}

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

/* Security Layers */
.arch-security-layers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.arch-layer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.arch-layer:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.arch-layer svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.arch-layer span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* Architecture Responsive */
@media (max-width: 992px) {
    .architecture-diagram {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .arch-connector {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .arch-nodes {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .arch-node {
        min-width: auto;
    }

    .arch-node:hover {
        transform: translateY(-4px) !important;
    }

    .arch-cloud {
        width: 200px;
        height: 200px;
    }

    .arch-cloud-inner {
        width: 160px;
        height: 160px;
        padding: 0.75rem;
    }

    .arch-cloud-logo svg {
        width: 28px;
        height: 28px;
    }

    .arch-cloud-title {
        font-size: 0.8125rem;
    }

    .arch-cloud-subtitle {
        font-size: 0.5625rem;
    }

    .arch-cloud-features span {
        font-size: 0.4375rem;
    }

    .arch-security-layers {
        gap: 1rem;
    }

    .arch-layer {
        padding: 0.375rem 0.75rem;
    }
}

@media (max-width: 640px) {
    .architecture-diagram {
        padding: 1.5rem 1rem;
    }

    .arch-cloud {
        width: 160px;
        height: 160px;
    }

    .arch-cloud-inner {
        width: 130px;
        height: 130px;
        padding: 0.5rem;
    }

    .arch-cloud-logo svg {
        width: 24px;
        height: 24px;
    }

    .arch-cloud-title {
        font-size: 0.75rem;
    }

    .arch-cloud-subtitle {
        font-size: 0.5rem;
    }

    .arch-cloud-features {
        display: none;
    }

    .arch-node {
        padding: 0.5rem 0.75rem;
    }

    .arch-node-icon {
        width: 28px;
        height: 28px;
    }

    .arch-node-icon svg {
        width: 14px;
        height: 14px;
    }

    .arch-node span {
        font-size: 0.75rem;
    }

    .arch-security-layers {
        gap: 0.5rem;
    }

    .arch-layer {
        padding: 0.25rem 0.5rem;
    }

    .arch-layer span {
        font-size: 0.6875rem;
    }
}

/* =============================================
   Platform Features Grid (Architecture Section)
   ============================================= */

.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.platform-feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gray-200);
    transition: background 0.4s ease;
}

.platform-feature-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}

.platform-feature-card:hover::before {
    background: var(--gradient-primary);
}

.platform-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

.platform-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.platform-feature-card:hover .platform-feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.platform-feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.platform-feature-card > p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.platform-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.platform-feature-list li {
    font-size: 0.8125rem;
    color: var(--gray-600);
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.platform-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .platform-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .platform-features-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Feature Showcase (Product Preview)
   ============================================= */

.feature-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-tab svg {
    width: 18px;
    height: 18px;
}

.feature-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.feature-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.feature-content {
    position: relative;
}

.feature-panel {
    display: none;
    gap: 3rem;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

.feature-panel.active {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

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

.panel-mockup {
    position: relative;
}

.mockup-window {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.mockup-titlebar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.mockup-titlebar .dot:first-child { background: #ff5f57; }
.mockup-titlebar .dot:nth-child(2) { background: #ffbd2e; }
.mockup-titlebar .dot:nth-child(3) { background: #28ca42; }

.mockup-titlebar .title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.mockup-content {
    padding: 1.5rem;
    min-height: 280px;
}

/* Dashboard Mockup */
.dashboard-mockup .mock-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mock-stat {
    flex: 1;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    text-align: center;
}

.mock-stat.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.mock-stat .stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.mock-stat .stat-label {
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-transform: uppercase;
}

.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 80px;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.chart-bar.active, .chart-bar:hover {
    opacity: 1;
}

.mock-activity {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--gray-600);
}

.activity-item .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.activity-item.success .dot { background: #10b981; }
.activity-item.warning .dot { background: #f59e0b; }

/* Identity Mockup */
.identity-mockup .mock-user-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mock-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.mock-user .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.mock-user .user-info {
    flex: 1;
}

.mock-user .name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.mock-user .role {
    font-size: 0.6875rem;
    color: var(--gray-500);
}

.mock-user .status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-user .status.online { background: #10b981; }
.mock-user .status.offline { background: var(--gray-300); }

.mock-badges {
    display: flex;
    gap: 0.5rem;
}

.mock-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--primary);
}

.mock-badge svg {
    width: 12px;
    height: 12px;
}

/* Policies Mockup */
.policies-mockup .mock-policy {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    border-left: 3px solid;
}

.mock-policy.allow { border-color: #10b981; }
.mock-policy.deny { border-color: #ef4444; }

.policy-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.policy-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-policy.allow .policy-icon { background: #10b981; }
.mock-policy.deny .policy-icon { background: #ef4444; }

.policy-name {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.policy-toggle {
    display: inline-block;
    width: 36px;
    height: 20px;
    background: var(--gray-300);
    border-radius: 10px;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.policy-toggle.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.policy-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.policy-toggle.active::after {
    transform: translateX(16px);
}

.policy-rule {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.6875rem;
}

.rule-from, .rule-to {
    padding: 0.25rem 0.5rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
}

.rule-arrow {
    color: var(--gray-400);
}

/* Gateway Mockup */
.gateway-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mock-protection {
    text-align: center;
}

.protection-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 0.5rem;
}

.protection-ring svg {
    width: 100%;
    height: 100%;
}

.protection-score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.protection-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    text-transform: uppercase;
}

.mock-threats {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.threat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
}

.threat-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.threat-item.blocked .threat-icon { background: #ef4444; }
.threat-item.safe .threat-icon { background: #10b981; }

.threat-item.blocked { color: #991b1b; }
.threat-item.safe { color: #065f46; }

/* Clients Mockup */
.clients-window {
    background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.client-devices {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    padding: 2rem 1.5rem;
    min-height: 280px;
}

.client-device {
    text-align: center;
}

.client-device.desktop .device-screen {
    width: 180px;
    height: 120px;
    background: var(--gray-900);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.client-device.mobile .device-screen {
    width: 70px;
    height: 140px;
    background: var(--gray-900);
    border-radius: 16px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.client-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.625rem;
    color: #10b981;
}

.client-status .status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.client-resources {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.client-resources span {
    font-size: 0.5rem;
    color: var(--gray-400);
    padding: 0.125rem 0.375rem;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.client-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #10b981;
}

.device-label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    color: var(--gray-500);
}

/* Panel Info */
.panel-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.panel-info > p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.panel-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.panel-features li svg {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
}

/* =============================================
   Clients Showcase - Premium Design
   ============================================= */

.clients-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    padding: 2rem;
}

.client-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.desktop-app .app-frame {
    width: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    background: white;
}

.app-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f4 100%);
    border-bottom: 1px solid #e5e7eb;
}

.app-titlebar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.app-titlebar .dot.red { background: #ff5f57; }
.app-titlebar .dot.yellow { background: #ffbd2e; }
.app-titlebar .dot.green { background: #28c840; }

.app-titlebar .app-name {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    letter-spacing: 0.02em;
}

.app-frame .app-content {
    padding: 1.25rem;
    background: white;
}

.app-header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.status-ring {
    position: relative;
    width: 44px;
    height: 44px;
}

.status-ring svg {
    width: 44px;
    height: 44px;
    transform: rotate(-90deg);
}

.status-ring .status-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.status-ring .status-icon svg {
    width: 20px;
    height: 20px;
    transform: rotate(90deg);
}

.status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #10b981;
}

.status-detail {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.trust-score-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.trust-score-badge .score {
    font-size: 1.375rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.trust-score-badge .label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-resources {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
}

.resource-count {
    color: #10b981;
    font-weight: 500;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.resource-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.resource-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-icon svg {
    width: 16px;
    height: 16px;
}

.resource-icon.db {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.resource-icon.k8s {
    background: linear-gradient(135deg, #326ce5 0%, #1e40af 100%);
    color: white;
}

.resource-icon.git {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.resource-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.resource-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resource-type {
    font-size: 0.6875rem;
    color: var(--gray-500);
}

.resource-latency {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #10b981;
    padding: 0.25rem 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 4px;
}

.app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

.bandwidth-indicator {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.bandwidth-indicator svg {
    width: 14px;
    height: 14px;
    color: #10b981;
}

.session-time {
    font-size: 0.6875rem;
    color: var(--gray-500);
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.platform-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gray-700);
}

.platform-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* Mobile Client App */
.mobile-app .app-frame {
    width: 180px;
    height: 360px;
    border-radius: 28px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.mobile-app .app-content {
    padding: 2.5rem 1rem 0.75rem;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.25rem;
    margin-bottom: 1.5rem;
}

.mobile-status-bar .time {
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
}

.mobile-status-bar .status-icons {
    display: flex;
    gap: 0.375rem;
}

.mobile-status-bar .status-icons svg {
    width: 14px;
    height: 14px;
    color: white;
}

.mobile-connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    justify-content: center;
    padding-bottom: 1rem;
}

.shield-container {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
}

.shield-glow {
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.shield-icon {
    position: relative;
    width: 72px;
    height: 72px;
    z-index: 1;
}

.mobile-status-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.mobile-network {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
}

.mobile-quick-access {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.quick-item span {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.6);
}

.mobile-footer-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.mobile-footer-bar .tab {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-footer-bar .tab svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.4);
}

.mobile-footer-bar .tab.active svg {
    color: var(--primary);
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.connection-lines svg {
    width: 100%;
    height: 100%;
}

.conn-line {
    stroke-dasharray: 8 4;
    animation: dash-flow 1.5s linear infinite;
}

@keyframes dash-flow {
    to { stroke-dashoffset: -24; }
}

/* Feature Showcase Responsive */
@media (max-width: 768px) {
    .feature-tabs {
        gap: 0.375rem;
    }

    .feature-tab {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }

    .feature-tab span {
        display: none;
    }

    .feature-tab svg {
        width: 20px;
        height: 20px;
    }

    .feature-panel.active {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .panel-mockup {
        order: 1;
    }

    .panel-info {
        order: 2;
        text-align: center;
    }

    .panel-features li {
        justify-content: center;
    }

    .mockup-content {
        min-height: 240px;
    }

    /* Clients Showcase Mobile */
    .clients-showcase {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }

    .desktop-app .app-frame {
        width: 280px;
    }

    .mobile-app .app-frame {
        width: 160px;
        height: 320px;
    }

    .resource-item {
        padding: 0.5rem;
    }

    .resource-icon {
        width: 28px;
        height: 28px;
    }

    .trust-score-badge {
        padding: 0.5rem 0.75rem;
    }

    .trust-score-badge .score {
        font-size: 1.125rem;
    }

    .shield-container {
        width: 60px;
        height: 60px;
    }

    .shield-icon {
        width: 60px;
        height: 60px;
    }

    .connection-lines {
        display: none;
    }
}

/* =============================================
   Pricing Section
   ============================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-200);
    transition: background 0.4s ease;
}

.pricing-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
    transform: translateY(-8px);
}

.pricing-card:hover::before {
    background: var(--gradient-primary);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.2);
    transform: scale(1.02);
}

.pricing-card.featured::before {
    background: var(--gradient-primary);
    height: 5px;
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.25);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-tier {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-features li.disabled svg {
    color: var(--gray-300);
}

.pricing-card .btn {
    width: 100%;
}

/* =============================================
   Testimonials
   ============================================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial-content {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* =============================================
   Logos Section
   ============================================= */

.logos-section {
    padding: 4rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.logos-section p {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-400);
    transition: color 0.3s;
}

.logo-item:hover {
    color: var(--gray-600);
}

/* =============================================
   CTA Section
   ============================================= */

.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =============================================
   Footer
   ============================================= */

.footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, #0c1222 100%);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 40% at 10% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 1rem;
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--gray-800);
    color: var(--gray-400);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

/* =============================================
   Forms
   ============================================= */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--gray-50);
    color: var(--gray-900);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* =============================================
   Page Headers
   ============================================= */

.page-header {
    padding: 9rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.12), transparent),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(139, 92, 246, 0.08), transparent),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(14, 165, 233, 0.06), transparent);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.page-header .container {
    position: relative;
}

.page-header h1 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--gray-500);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   Auth Pages
   ============================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    max-width: 560px;
}

.auth-right {
    flex: 1;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-visual {
    position: relative;
    color: var(--white);
    text-align: center;
    max-width: 400px;
}

.auth-visual h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.auth-visual p {
    color: rgba(255, 255, 255, 0.9);
}

.auth-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.auth-form h1 {
    margin-bottom: 0.5rem;
}

.auth-form > p {
    margin-bottom: 2rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.social-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.social-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* =============================================
   Responsive Styles
   ============================================= */

@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 992px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        display: none;
    }

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

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

    .auth-right {
        display: none;
    }

    .auth-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-md);
    }

    .nav-menu a:hover {
        background: var(--gray-50);
    }

    .nav-actions {
        display: none;
    }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        margin-top: -1px;
        box-shadow: var(--shadow-lg);
    }

    .mobile-menu-btn {
        display: block;
    }

    .navbar .container {
        position: relative;
    }

    .section {
        padding: 3rem 0;
    }

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

    .features-grid,
    .features-grid-2,
    .features-grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

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

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

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

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

/* =============================================
   Animations
   ============================================= */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Animation delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* =============================================
   Enhanced Animations
   ============================================= */

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

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.1); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.25); }
}

@keyframes slide-up-bounce {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        transform: translateY(-5px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes border-glow {
    0%, 100% { border-color: rgba(99, 102, 241, 0.3); }
    50% { border-color: rgba(99, 102, 241, 0.6); }
}

.animate-slide-up-bounce {
    animation: slide-up-bounce 0.6s var(--transition-spring) forwards;
}

.animate-glow {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* =============================================
   Glassmorphism Cards
   ============================================= */

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s var(--transition-smooth);
}

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

/* Enhanced Card Hover with Gradient Border */
.card-enhanced {
    position: relative;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.4s var(--transition-smooth);
    overflow: hidden;
}

.card-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.4s var(--transition-smooth);
}

.card-enhanced:hover::before {
    background: var(--gradient-primary);
}

.card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

/* =============================================
   Premium Button with Shimmer
   ============================================= */

.btn-shimmer {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    transition: all 0.3s var(--transition-smooth);
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 2.5s ease-in-out infinite;
}

.btn-shimmer:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* =============================================
   Section Backgrounds
   ============================================= */

.section-mesh {
    position: relative;
    background: var(--white);
}

.section-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
}

.section-decorated {
    position: relative;
    overflow: hidden;
}

.section-decorated::before,
.section-decorated::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

.section-decorated::before {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.15);
    top: -100px;
    right: -100px;
}

.section-decorated::after {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.12);
    bottom: -50px;
    left: -50px;
}

/* =============================================
   Product Preview Slider
   ============================================= */

.preview-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.preview-window {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(99, 102, 241, 0.1);
}

.preview-titlebar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--gray-800);
    border-bottom: 1px solid var(--gray-700);
}

.preview-titlebar-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.preview-titlebar-dot.red { background: #ff5f57; }
.preview-titlebar-dot.yellow { background: #ffbd2e; }
.preview-titlebar-dot.green { background: #28ca42; }

.preview-titlebar-title {
    flex: 1;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-400);
    font-weight: 500;
}

.preview-slides {
    display: flex;
    transition: transform 0.5s var(--transition-smooth);
}

.preview-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
}

/* Preview UI Mockups - Glassmorphism Design */
.preview-ui {
    aspect-ratio: 16 / 10;
    display: flex;
    font-size: 0.65rem;
    overflow: hidden;
    position: relative;
}

.preview-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, var(--white) 0%, var(--white) 70%, transparent 100%);
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    z-index: 10;
}

.preview-slide-caption h3 {
    color: var(--gray-800);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.preview-slide-caption p {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Dashboard UI - Light Theme */
.dashboard-ui {
    background: var(--gray-50);
    position: relative;
}

.dashboard-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

/* Light Sidebar */
.ui-sidebar {
    width: 56px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 5;
}

.ui-sidebar-logo {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.ui-sidebar-item {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
    position: relative;
}

.ui-sidebar-item svg {
    width: 18px;
    height: 18px;
}

.ui-sidebar-item:hover {
    color: var(--gray-600);
    background: var(--gray-100);
}

.ui-sidebar-item.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.ui-sidebar-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 0 3px 3px 0;
}

/* Glass Main Area */
.ui-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.ui-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.ui-header-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
}

.ui-header-search {
    flex: 1;
    max-width: 180px;
    padding: 0.5rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-400);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ui-header-search::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    flex-shrink: 0;
}

.ui-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    margin-left: auto;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.ui-btn-primary {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

/* Light Stats Cards */
.ui-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.ui-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.875rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.ui-stat-card::before {
    display: none;
}

.ui-stat-label {
    font-size: 0.55rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ui-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.ui-stat-change {
    font-size: 0.5rem;
    font-weight: 600;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.ui-stat-change.positive {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
}

.ui-stat-change.negative {
    color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

/* Light Chart */
.ui-chart {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.ui-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ui-chart-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-800);
}

.ui-chart-legend {
    display: flex;
    gap: 0.75rem;
}

.ui-chart-legend span {
    font-size: 0.5rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ui-chart-legend span::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.ui-chart-legend span:first-child::before {
    background: var(--primary);
}

.ui-chart-legend span:last-child::before {
    background: #4ade80;
}

.ui-chart-area {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ui-chart-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ui-chart-grid-line {
    height: 1px;
    background: var(--gray-100);
}

.ui-chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1;
}

.ui-bar-group {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 100%;
}

.ui-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.ui-bar.primary {
    background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.ui-bar.secondary {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.ui-chart-labels {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.ui-chart-labels span {
    font-size: 0.45rem;
    color: var(--gray-400);
}

/* User Management UI - Light Theme */
.users-ui {
    background: var(--gray-50);
    position: relative;
}

.users-ui::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.ui-user-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.ui-user-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ui-user-row:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.ui-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.ui-user-info {
    flex: 1;
    min-width: 0;
}

.ui-user-name {
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--gray-800);
}

.ui-user-email {
    font-size: 0.55rem;
    color: var(--gray-500);
}

.ui-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ui-badge.admin {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.ui-badge.member {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ui-badge.viewer {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.ui-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ui-status.online {
    background: var(--success);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.ui-status.offline {
    background: var(--gray-300);
}

.ui-user-actions {
    display: flex;
    gap: 0.25rem;
}

.ui-user-action {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.6rem;
}

/* macOS Client UI - Light Theme */
.macos-ui {
    flex-direction: column;
    background: var(--gray-100);
    position: relative;
}

.macos-ui::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.macos-menubar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-size: 0.65rem;
    position: relative;
    z-index: 5;
}

.macos-menubar-icon {
    width: 18px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.macos-client {
    flex: 1;
    margin: 1rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow-lg);
}

.macos-client-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.macos-client-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
}

.macos-client-status.connected {
    color: var(--success);
}

.macos-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
    animation: pulse 2s infinite;
}

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

.macos-client-network {
    font-size: 0.6rem;
    color: var(--gray-500);
    margin-top: 0.35rem;
}

.macos-resources {
    flex: 1;
}

.macos-resource-title {
    font-size: 0.55rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.macos-resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.macos-resource-item:hover {
    background: var(--white);
    border-color: var(--primary-light);
}

.macos-resource-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.macos-resource-icon.db {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.macos-resource-icon.app {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.macos-resource-icon.git {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.macos-resource-info {
    flex: 1;
}

.macos-resource-name {
    color: var(--gray-800);
    font-size: 0.7rem;
    font-weight: 600;
}

.macos-resource-url {
    color: var(--gray-500);
    font-size: 0.55rem;
    font-family: 'SF Mono', Monaco, monospace;
}

.macos-resource-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.macos-resource-status.active {
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.macos-disconnect-btn {
    margin-top: auto;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    color: #f87171;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.macos-disconnect-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

/* iOS App UI - Light Theme */
.ios-ui {
    justify-content: center;
    align-items: center;
    background: var(--gray-100);
    position: relative;
}

.ios-ui::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.ios-phone {
    width: 260px;
    height: 520px;
    background: linear-gradient(145deg, #1f2937, #111827);
    border-radius: 44px;
    padding: 8px;
    box-shadow:
        var(--shadow-2xl),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 5;
}

.ios-notch {
    width: 90px;
    height: 24px;
    background: #000;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.ios-screen {
    height: 100%;
    background: var(--white);
    border-radius: 36px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    margin-top: -14px;
    overflow: hidden;
}

.ios-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 0.7rem;
    color: var(--gray-800);
    margin-top: 16px;
    font-weight: 600;
}

.ios-status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.ios-signal {
    display: flex;
    gap: 1px;
    align-items: flex-end;
}

.ios-signal::before,
.ios-signal::after {
    content: '';
    width: 3px;
    background: var(--gray-800);
    border-radius: 1px;
}

.ios-signal::before { height: 4px; }
.ios-signal::after { height: 6px; }

.ios-wifi, .ios-battery {
    width: 14px;
    height: 7px;
    background: var(--gray-800);
    border-radius: 2px;
}

.ios-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem 0.5rem;
    color: var(--gray-800);
}

.ios-logo {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.4);
}

.ios-header span {
    font-weight: 700;
    font-size: 1rem;
}

.ios-connection-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1rem;
    margin: 0.5rem;
    text-align: center;
}

.ios-connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--success);
    font-weight: 700;
    font-size: 0.8rem;
}

.ios-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

.ios-connection-location {
    color: var(--gray-500);
    font-size: 0.55rem;
    margin-top: 0.35rem;
}

.ios-apps {
    flex: 1;
    padding: 0.5rem 0.25rem;
}

.ios-app-title {
    color: var(--gray-500);
    font-size: 0.6rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.ios-app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.ios-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.ios-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-app-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.ios-app-item span {
    color: var(--gray-600);
    font-size: 0.55rem;
    font-weight: 500;
    text-align: center;
}

.ios-home-indicator {
    width: 100px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
    margin: auto auto 0.35rem;
}

/* Policy Editor UI - Light Theme */
.policy-ui {
    background: var(--gray-50);
    position: relative;
}

.policy-ui::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.policy-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.policy-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.policy-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.policy-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.policy-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-icon.allow {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.policy-icon.allow::after {
    content: '✓';
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 700;
}

.policy-icon.deny {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.policy-icon.deny::after {
    content: '×';
    color: #f87171;
    font-size: 0.9rem;
    font-weight: 700;
}

.policy-info {
    flex: 1;
    min-width: 0;
}

.policy-name {
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--gray-800);
}

.policy-desc {
    font-size: 0.5rem;
    color: var(--gray-500);
}

.policy-status {
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.5rem;
    font-weight: 600;
}

.policy-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.policy-rules {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--gray-200);
}

.policy-rule {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.55rem;
}

.rule-who {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    font-weight: 500;
}

.rule-arrow {
    color: var(--gray-400);
    font-size: 0.7rem;
}

.rule-what {
    background: var(--gray-50);
    color: var(--gray-700);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    border: 1px solid var(--gray-200);
    font-weight: 500;
}

/* Architecture Section - Premium Design */
.architecture-section {
    position: relative;
    padding: 4rem 0;
}

/* Architecture Section - Light Theme Branding */
.architecture-visual-new {
    position: relative;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.architecture-visual-new::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    pointer-events: none;
    opacity: 0.7;
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 5;
}

.arch-node-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 160px;
}

.arch-node-group h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.arch-node {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.arch-node:hover {
    background: var(--gray-50);
    border-color: var(--primary-light);
    transform: translateX(4px);
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.arch-node-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.arch-node-icon svg {
    width: 20px;
    height: 20px;
    color: white;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arch-node-icon.device { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.arch-node-icon.cloud { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.arch-node-icon.db { background: linear-gradient(135deg, #f59e0b, #d97706); }
.arch-node-icon.api { background: linear-gradient(135deg, #10b981, #059669); }

.arch-node span {
    color: var(--gray-800);
    font-size: 0.875rem;
    font-weight: 500;
}

.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
}

.arch-connector-line {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

.arch-connector-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: flow 1.5s infinite;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.arch-connector-dot:nth-child(2) { animation-delay: 0.2s; }
.arch-connector-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes flow {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.arch-center-node {
    background: var(--gradient-primary);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    box-shadow:
        var(--shadow-primary),
        0 20px 40px rgba(99, 102, 241, 0.25);
    min-width: 200px;
}

.arch-center-node::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 50%, rgba(255,255,255,0.2));
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
}

.arch-center-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.arch-center-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.arch-center-node h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.arch-center-node p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
}

.arch-features {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.arch-feature {
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    color: white;
    font-weight: 500;
}

.arch-description {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    position: relative;
    z-index: 5;
}

.arch-description p {
    color: var(--gray-600);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Responsive Architecture */
@media (max-width: 992px) {
    .arch-flow {
        flex-direction: column;
        gap: 1.5rem;
    }

    .arch-connector {
        transform: rotate(90deg);
        padding: 0.75rem 0;
    }

    .arch-node:hover {
        transform: translateY(-4px);
    }

    .arch-node-group {
        min-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .arch-node-group h4 {
        width: 100%;
    }

    .arch-node {
        flex: 1;
        min-width: 140px;
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .architecture-visual-new {
        padding: 2rem 1rem;
    }

    .arch-center-node {
        padding: 1.5rem;
        min-width: 160px;
    }

    .arch-center-node h3 {
        font-size: 1.1rem;
    }

    .arch-feature {
        font-size: 0.55rem;
        padding: 0.3rem 0.5rem;
    }
}

/* ===== ENHANCED SLIDER UI COMPONENTS ===== */

/* Dashboard Enhancements */
.ui-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6rem;
    color: var(--gray-400);
}

.ui-breadcrumb span.active {
    color: var(--gray-800);
    font-weight: 500;
}

.ui-breadcrumb-sep {
    opacity: 0.3;
}

.ui-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.ui-header-search {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.55rem;
    color: var(--gray-400);
}

.ui-header-search svg {
    width: 12px;
    height: 12px;
    color: var(--gray-400);
}

.ui-notification {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
}

.ui-notification svg {
    width: 14px;
    height: 14px;
    color: var(--gray-500);
}

.ui-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #ef4444;
    border-radius: 50%;
    font-size: 0.5rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 600;
    color: white;
}

.ui-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.ui-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ui-stat-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.ui-stat-icon.users { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.ui-stat-icon.threats { background: linear-gradient(135deg, #10b981, #059669); }
.ui-stat-icon.sessions { background: linear-gradient(135deg, #f59e0b, #d97706); }

.ui-stat-content {
    flex: 1;
    min-width: 0;
}

.ui-stat-change {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.5rem;
    margin-top: 0.25rem;
}

.ui-stat-change svg {
    width: 10px;
    height: 10px;
}

.ui-stat-change.positive { color: #4ade80; }
.ui-stat-change.negative { color: #f87171; }

.ui-dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0.75rem;
    flex: 1;
    min-height: 0;
}

.ui-chart-tabs {
    display: flex;
    gap: 0.5rem;
}

.ui-chart-tabs span {
    padding: 0.25rem 0.5rem;
    font-size: 0.5rem;
    color: var(--gray-500);
    border-radius: 4px;
    cursor: pointer;
}

.ui-chart-tabs span.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.ui-chart-legend {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
}

.ui-chart-legend span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.5rem;
    color: var(--gray-500);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.legend-dot.blocked { background: var(--primary); }
.legend-dot.allowed { background: #4ade80; }

.ui-activity {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.ui-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ui-activity-header > span:first-child {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-800);
}

.ui-activity-live {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.5rem;
    color: #4ade80;
}

.ui-activity-live i {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.ui-activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    overflow: hidden;
}

.ui-activity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--gray-50);
    border-radius: 8px;
    border-left: 2px solid;
}

.ui-activity-item.success { border-color: #4ade80; }
.ui-activity-item.warning { border-color: #f59e0b; }
.ui-activity-item.info { border-color: #6366f1; }

.ui-activity-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ui-activity-item.success .ui-activity-icon { background: #4ade80; }
.ui-activity-item.warning .ui-activity-icon { background: #f59e0b; }
.ui-activity-item.info .ui-activity-icon { background: #6366f1; }

.ui-activity-content {
    flex: 1;
    min-width: 0;
}

.ui-activity-text {
    font-size: 0.55rem;
    color: var(--gray-700);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-activity-time {
    font-size: 0.45rem;
    color: var(--gray-400);
}

/* User Management Enhancements */
.ui-count {
    font-size: 0.55rem;
    font-weight: 400;
    color: var(--gray-400);
    margin-left: 0.5rem;
}

.ui-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.ui-filter-tabs {
    display: flex;
    gap: 0.25rem;
}

.ui-filter-tabs span {
    padding: 0.3rem 0.6rem;
    font-size: 0.5rem;
    color: var(--gray-500);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.ui-filter-tabs span.active {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.ui-search-small {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 0.5rem;
    color: var(--gray-400);
}

.ui-search-small svg {
    width: 10px;
    height: 10px;
}

.ui-user-table {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    overflow: hidden;
}

.ui-user-table-header {
    display: grid;
    grid-template-columns: 2fr 0.8fr 0.5fr 0.8fr 0.8fr;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    font-size: 0.45rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--gray-200);
}

.ui-user-row {
    display: grid;
    grid-template-columns: 2fr 0.8fr 0.5fr 0.8fr 0.8fr;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
}

.ui-user-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ui-2fa {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-2fa svg {
    width: 14px;
    height: 14px;
}

.ui-2fa.enabled svg { color: #4ade80; }
.ui-2fa.disabled svg { color: #f87171; }

.ui-devices {
    display: flex;
    gap: 0.25rem;
}

.ui-device {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--gray-100);
}

.ui-device.mac { background: linear-gradient(135deg, #374151, #1f2937); }
.ui-device.windows { background: linear-gradient(135deg, #0078d4, #005a9e); }
.ui-device.phone { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.ui-device.linux { background: linear-gradient(135deg, #f59e0b, #d97706); }

.ui-status-pill {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.45rem;
}

.ui-status-pill i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.ui-status-pill.online {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.ui-status-pill.online i { background: #4ade80; }

.ui-status-pill.offline {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
}

.ui-status-pill.offline i { background: #f87171; }

/* macOS Client Enhancements */
.macos-menubar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.macos-menubar-item {
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.macos-menubar-item svg {
    width: 12px;
    height: 12px;
}

.macos-time {
    font-size: 0.6rem;
    opacity: 0.7;
}

.macos-connection-visual {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.macos-shield-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(99, 102, 241, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.macos-shield-icon svg {
    width: 24px;
    height: 24px;
    color: #4ade80;
}

.macos-connection-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.macos-client-network {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6rem;
    color: var(--gray-500);
}

.macos-client-network svg {
    width: 12px;
    height: 12px;
}

.macos-session-info {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.macos-session-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.macos-session-label {
    font-size: 0.45rem;
    color: var(--gray-400);
    text-transform: uppercase;
}

.macos-session-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-800);
}

.macos-session-value.good { color: #4ade80; }

.macos-bandwidth {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.macos-bandwidth-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.macos-bandwidth-item svg {
    width: 14px;
    height: 14px;
    color: var(--gray-500);
}

.macos-bandwidth-info {
    flex: 1;
}

.macos-bandwidth-label {
    display: block;
    font-size: 0.45rem;
    color: var(--gray-400);
}

.macos-bandwidth-value {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gray-800);
}

.macos-bandwidth-bar {
    width: 40px;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.macos-bandwidth-fill {
    height: 100%;
    border-radius: 2px;
}

.macos-bandwidth-fill.upload { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.macos-bandwidth-fill.download { background: linear-gradient(90deg, #10b981, #4ade80); }

.macos-resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.macos-resource-count {
    font-size: 0.5rem;
    color: #4ade80;
}

.macos-resource-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.macos-resource-latency {
    font-size: 0.5rem;
    color: #4ade80;
}

.macos-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.macos-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.macos-btn svg {
    width: 12px;
    height: 12px;
}

.macos-btn.secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.macos-btn.disconnect {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* iOS App Enhancements */
.ios-settings-btn {
    margin-left: auto;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 6px;
}

.ios-settings-btn svg {
    width: 14px;
    height: 14px;
    color: var(--gray-500);
}

.ios-security-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    margin-bottom: 0.75rem;
}

.ios-score-ring {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.ios-score-ring svg {
    width: 100%;
    height: 100%;
}

.ios-score-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ios-score-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1;
}

.ios-score-label {
    font-size: 0.45rem;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-top: 2px;
}

.ios-score-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ios-score-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
}

.ios-score-item svg {
    width: 14px;
    height: 14px;
}

.ios-score-item.good {
    color: var(--success);
}

.ios-score-item.warning {
    color: var(--warning);
}

.ios-vpn-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.ios-vpn-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ios-vpn-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
}

.ios-vpn-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    color: var(--gray-500);
}

.ios-vpn-location svg {
    width: 12px;
    height: 12px;
}

.ios-toggle {
    width: 44px;
    height: 26px;
    background: var(--gray-300);
    border-radius: 13px;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
}

.ios-toggle.active {
    background: linear-gradient(135deg, #10b981, #059669);
}

.ios-toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ios-toggle.active .ios-toggle-knob {
    left: 20px;
}

.ios-app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-app-icon svg {
    width: 16px;
    height: 16px;
    color: white;
}

/* Policy Editor Enhancements */
.policy-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.policy-created,
.policy-hits {
    font-size: 0.45rem;
    color: var(--gray-400);
}

.policy-hits.blocked {
    color: #f87171;
}

.policy-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.policy-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.policy-menu svg {
    width: 14px;
    height: 14px;
    color: var(--gray-400);
}

.policy-card.expanded {
    background: var(--gray-50);
}

.policy-rules-detail {
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
}

.policy-rule-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rule-section {
    flex: 1;
}

.rule-label {
    display: block;
    font-size: 0.4rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.rule-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.rule-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.5rem;
}

.rule-tag svg {
    width: 10px;
    height: 10px;
}

.rule-tag.group {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}

.rule-tag.resource {
    background: rgba(16, 185, 129, 0.15);
    color: #4ade80;
}

.rule-tag.more {
    background: var(--gray-100);
    color: var(--gray-500);
}

.rule-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
}

.rule-connector svg {
    width: 12px;
    height: 12px;
    color: #818cf8;
}

.policy-conditions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--gray-200);
}

.condition {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 4px;
    font-size: 0.45rem;
    color: #fbbf24;
}

.condition svg {
    width: 10px;
    height: 10px;
}

/* Responsive UI Mockups - Unified Desktop & Mobile */
.preview-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.preview-window {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(99, 102, 241, 0.1);
}

.preview-slide {
    min-height: 420px;
}

.preview-ui {
    min-height: 380px;
}

@media (max-width: 992px) {
    .preview-slide {
        min-height: 380px;
    }

    .preview-ui {
        min-height: 340px;
    }

    .ui-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .ui-activity {
        display: none;
    }
}

@media (max-width: 768px) {
    .preview-slider {
        max-width: 100%;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .preview-window {
        border-radius: var(--radius-lg);
    }

    .preview-slide {
        min-height: 360px;
    }

    .preview-ui {
        min-height: 320px;
        font-size: 0.6rem;
    }

    .ui-sidebar {
        width: 48px;
    }

    .ui-sidebar-item svg {
        width: 18px;
        height: 18px;
    }

    .ui-stat-card {
        padding: 0.6rem;
    }

    .ui-stat-icon {
        width: 32px;
        height: 32px;
    }

    .ui-stat-icon svg {
        width: 16px;
        height: 16px;
    }

    .ui-stat-value {
        font-size: 1rem;
    }

    .ui-stat-label {
        font-size: 0.5rem;
    }

    .ui-stats {
        gap: 0.5rem;
    }

    .ui-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .ui-header-actions {
        order: -1;
        width: 100%;
        justify-content: flex-end;
    }

    .ui-breadcrumb {
        width: 100%;
    }

    .ui-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .ui-filter-tabs {
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .ui-user-table-header {
        display: none;
    }

    .ui-user-row {
        grid-template-columns: 1fr auto;
    }

    .col-2fa, .col-devices {
        display: none;
    }

    .ios-phone {
        width: 240px;
        height: 480px;
    }

    .ios-screen {
        padding: 0.65rem;
    }

    .ios-security-score {
        gap: 0.75rem;
        padding: 0.65rem;
    }

    .ios-score-ring {
        width: 64px;
        height: 64px;
    }

    .ios-score-number {
        font-size: 1.1rem;
    }

    .ios-score-item {
        font-size: 0.6rem;
    }

    .ios-app-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }

    .ios-app-icon {
        width: 40px;
        height: 40px;
    }

    .ios-app-icon svg {
        width: 20px;
        height: 20px;
    }

    .macos-bandwidth {
        flex-direction: column;
        gap: 0.5rem;
    }

    .macos-session-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .policy-rules-detail {
        display: none;
    }

    .preview-slide-caption h3 {
        font-size: 1rem;
    }

    .preview-slide-caption p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .preview-slide {
        min-height: 340px;
    }

    .preview-ui {
        min-height: 300px;
        font-size: 0.55rem;
    }

    .ui-sidebar {
        width: 40px;
    }

    .ui-stats {
        flex-direction: column;
    }

    .ios-phone {
        width: 220px;
        height: 440px;
    }

    .ios-security-score {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .ios-score-ring {
        width: 56px;
        height: 56px;
    }

    .ios-vpn-toggle {
        padding: 0.5rem;
    }

    .ios-app-icon {
        width: 36px;
        height: 36px;
    }

    .ios-app-item span {
        font-size: 0.5rem;
    }

    .macos-resources {
        max-height: 120px;
        overflow: hidden;
    }
}

/* Slider Navigation */
.preview-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    padding: 0;
}

.preview-dot:hover {
    background: var(--gray-400);
}

.preview-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.preview-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.preview-arrow:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary);
}

.preview-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--gray-600);
    transition: color 0.3s;
}

.preview-arrow:hover svg {
    color: var(--primary);
}

/* =============================================
   Platform Icons (Enhanced)
   ============================================= */

.platform-icon-enhanced {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin: 0 auto 1rem;
    transition: all 0.3s var(--transition-smooth);
}

.platform-icon-enhanced svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.platform-card:hover .platform-icon-enhanced {
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
}

/* =============================================
   Utilities
   ============================================= */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.bg-gray-50 { background: var(--gray-50); }
.bg-gray-100 { background: var(--gray-100); }
.bg-white { background: var(--white); }

.hidden { display: none; }
.visible { display: block; }
