/* ==========================================================================
   GEZ SOFTWARE STUDIO - LIGHT MODE DESIGN SYSTEM
   Theme: Clean, Modern Light Canvas with Turquoise Brand & Bold Red Accents
   ========================================================================== */

:root {
    /* Bold Red Accents (CTAs, Primary Buttons, Active States, Key Highlights) */
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-300: #fca5a5;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-primary: #e50914;      /* Pure High-Impact Red Accent */
    --red-hover: #c80812;
    --red-crimson: #c81e1e;
    --red-700: #b91c1c;
    --red-soft: #fef2f2;
    --red-border-subtle: #fecaca;

    /* Turquoise / Teal Brand Palette (Brand, Badges, Pills, Soft Surfaces) */
    --turq-50: #f0fdfa;
    --turq-100: #ccfbf1;
    --turq-200: #99f6e4;
    --turq-300: #5eead4;
    --turq-400: #2dd4bf;
    --turq-500: #14b8a6;
    --turq-primary: #0d9488;      /* Rich Teal for High-Contrast Text & Icons */
    --turq-dark: #0f766e;
    --turq-deep: #134e4a;
    --turq-soft-bg: #f0fdfa;
    --turq-border: #99f6e4;
    --turq-border-subtle: rgba(13, 148, 136, 0.25);

    /* Light Mode Backgrounds & Surfaces */
    --bg-main: #f8fafc;           /* Crisp, clean off-white canvas */
    --bg-surface: #ffffff;        /* Pure white cards and panels */
    --bg-surface-alt: #f1f5f9;    /* Subtle light contrast */
    --bg-card: #ffffff;
    --bg-input: #f8fafc;

    /* Borders */
    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-strong: #94a3b8;
    --border-red-subtle: rgba(229, 9, 20, 0.25);
    --border-red-strong: rgba(229, 9, 20, 0.85);

    /* Gradients */
    --grad-red-primary: linear-gradient(135deg, #e50914 0%, #dc2626 50%, #b91c1c 100%);
    --grad-red-fire: linear-gradient(135deg, #ff2a3a 0%, #e50914 50%, #991b1b 100%);
    --grad-turq-primary: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
    --grad-turq-badge: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    --grad-turq-soft: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);

    /* Typography Colors (High contrast, sharp readability) */
    --text-heading: #0f172a;      /* Deep Slate for Headings */
    --text-body: #334155;         /* Crisp readable body */
    --text-muted: #64748b;        /* Subtle descriptions */
    --text-dim: #94a3b8;
    --text-white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 20px 45px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(13, 148, 136, 0.08);
    --shadow-xl: 0 25px 60px rgba(15, 23, 42, 0.12);
    --glow-red-sm: 0 4px 15px rgba(229, 9, 20, 0.35);
    --glow-red-lg: 0 8px 25px rgba(229, 9, 20, 0.45);

    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout */
    --container-max: 1240px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
    max-width: 100%;
    scroll-padding-top: 90px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100%;
    position: relative;
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(20, 184, 166, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 35%, rgba(229, 9, 20, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 75%, rgba(20, 184, 166, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
}

img, picture, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

p, span, a, label, li {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.text-gradient {
    background: linear-gradient(135deg, #e50914 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-red {
    color: var(--red-primary) !important;
}

.text-turq {
    color: var(--turq-primary) !important;
}

.text-crimson {
    color: var(--red-600) !important;
}

.text-green {
    color: #059669 !important;
}

/* FIXED HEADER MASTER WRAPPER */
.header-master {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: transform var(--transition-fast);
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
    background: var(--turq-50);
    border-bottom: 1px solid var(--turq-border);
    font-size: 0.85rem;
    padding: 0.55rem 0;
    color: var(--turq-deep);
    position: relative;
    z-index: 100;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    overflow: hidden;
    max-height: 60px;
}

.header-master.scrolled .top-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-width: 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge-pulse {
    background: var(--turq-100);
    border: 1px solid var(--turq-border);
    color: var(--turq-dark);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-links a {
    color: var(--turq-dark);
    font-weight: 600;
}

.top-bar-links a:hover {
    color: var(--red-primary);
}

.top-cta {
    background: var(--red-primary);
    color: #fff !important;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    box-shadow: var(--glow-red-sm);
    font-weight: 700 !important;
    transition: var(--transition-fast);
}

.top-cta:hover {
    background: var(--red-hover);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--glow-red-lg);
}

/* MAIN HEADER & NAVIGATION */
.main-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}

.main-header.scrolled,
.header-master.scrolled .main-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border-bottom-color: var(--red-primary); /* Accent line on scroll */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-symbol {
    width: 44px;
    height: 44px;
    background: var(--grad-red-primary); /* Red Logo Accent */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-red-sm);
    position: relative;
}

.symbol-text {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #fff;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
}

.symbol-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--turq-300);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--turq-primary); /* Turquoise Brand Subtitle */
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-top: 2px;
}

/* Nav Menu */
.nav-menu .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-body);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--red-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--red-primary); /* Red underline indicator */
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(229, 9, 20, 0.4);
    transition: var(--transition-fast);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-cta-btn {
    white-space: nowrap;
}

.btn-text-desktop {
    display: inline;
}

.btn-text-mobile {
    display: none;
}

.mobile-nav-cta {
    display: none;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}

.mobile-toggle span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: var(--text-heading);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* BUTTONS - RED ACCENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    line-height: 1.35;
    text-align: center;
    max-width: 100%;
    white-space: normal;
}

.btn i {
    font-size: 0.9em;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--grad-red-primary); /* Red CTA Button */
    color: #fff;
    box-shadow: var(--glow-red-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--grad-red-fire);
    transform: translateY(-2px);
    box-shadow: var(--glow-red-lg);
    color: #fff;
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-heading);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--turq-50);
    border-color: var(--turq-primary);
    color: var(--turq-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: #ffffff;
    color: var(--text-heading);
    border: 1px solid var(--border-medium);
}

.btn-outline-light:hover {
    background: var(--turq-50);
    border-color: var(--turq-primary);
    color: var(--turq-primary);
}

.btn-outline-red {
    background: #ffffff;
    color: var(--red-primary);
    border: 1.5px solid var(--red-primary); /* Red Line Border */
}

.btn-outline-red:hover {
    background: var(--red-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--glow-red-sm);
}

.btn-glow {
    box-shadow: var(--glow-red-sm);
}

.btn-glow:hover {
    box-shadow: var(--glow-red-lg);
}

.btn-lg {
    padding: 0.95rem 1.85rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* SECTION HEADINGS */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--turq-50);
    border: 1px solid var(--turq-border);
    color: var(--turq-dark);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 3rem;
}

.text-center-wrapper {
    text-align: center;
}

.text-center-wrapper .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================================
   TOP SYSTEMS PROMOTIONAL SLIDER / CAROUSEL
   ======================================================== */
.systems-slider-section {
    position: relative;
    padding-top: 104px;
    padding-bottom: 24px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #ffffff 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.systems-slider-section .slider-container {
    max-width: 1220px;
    margin: 0 auto;
    position: relative;
    padding: 0 1.25rem;
}

.slider-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 4px;
}

.slider-headline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--turq-dark);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.slider-headline-badge i {
    color: var(--red-primary);
    font-size: 0.95rem;
}

.slider-direct-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.slider-direct-cta .cta-sep {
    opacity: 0.45;
    font-weight: 400;
}

.slider-direct-cta a {
    color: var(--red-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.slider-direct-cta a:hover {
    color: var(--red-hover);
}

.slider-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.08);
    background: #0b1120;
    width: 100%;
}

.slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

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

.slide-banner-link {
    display: block;
    width: 100%;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    line-height: 0;
}

.slide-banner-img {
    width: 100%;
    height: auto;
    max-width: 1980px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.4s ease;
    margin: 0 auto;
}

.slide-banner-link:hover .slide-banner-img {
    transform: scale(1.015);
}

.slide-floating-tag {
    position: absolute;
    bottom: 18px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: all 0.25s ease;
    z-index: 5;
    pointer-events: none;
}

.slide-banner-link:hover .slide-floating-tag {
    background: var(--red-primary);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(229, 9, 20, 0.45);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--text-heading);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    transition: all 0.25s ease;
}

.slider-btn:hover {
    background: #ffffff;
    color: var(--red-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

.slider-btn:focus-visible {
    outline: 2px solid var(--red-primary);
}

.slider-prev {
    left: 16px;
}

.slider-next {
    right: 16px;
}

/* Dots / Indicators */
.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.slider-dot.active {
    background: var(--red-primary);
    width: 24px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.7);
}

/* HERO SECTION (Shifted downward below top slider) */
.hero-section {
    position: relative;
    padding: 3.25rem 0 5rem;
    overflow: hidden;
}

.hero-background-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape-glow {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
    filter: blur(60px);
}

.shape-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--turq-50);
    border: 1px solid var(--turq-border);
    color: var(--turq-dark);
    padding: 0.35rem 0.95rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 2.25rem;
}

.hero-description strong {
    color: var(--text-heading);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-subtle);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.metric-divider {
    width: 2px;
    height: 40px;
    background: var(--red-primary); /* Red Vertical Accent Bar */
    border-radius: 1px;
}

/* HERO VISUAL STACK */
.hero-visual {
    position: relative;
}

.card-glass-stack {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    position: relative;
}

.product-mini-preview {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 1.15rem;
    cursor: pointer;
}

.product-mini-preview:hover {
    transform: translateX(8px);
    border-color: var(--turq-primary);
    box-shadow: var(--shadow-card-hover);
}

.p-thumb {
    width: 74px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
    background: #f1f5f9;
}

.p-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: var(--transition-fast);
}

.product-mini-preview:hover .p-thumb img {
    transform: scale(1.12);
}

.p-details {
    flex: 1;
    min-width: 0;
}

.p-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.p-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.tag-red { background: var(--red-50); color: var(--red-600); border: 1px solid var(--red-200); }
.tag-crimson { background: var(--turq-50); color: var(--turq-dark); border: 1px solid var(--turq-border); }
.tag-darkred { background: var(--turq-50); color: var(--turq-primary); border: 1px solid var(--turq-100); }
.tag-ruby { background: var(--red-50); color: var(--red-700); border: 1px solid var(--red-200); }

.p-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red-primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.p-status.text-green {
    color: #059669;
}

.p-status i {
    font-size: 0.55rem;
}

.p-text {
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
    margin: 0;
}

.p-count {
    font-size: 0.8rem;
    color: var(--red-primary);
    font-weight: 700;
}

.p-progress {
    font-size: 0.8rem;
    color: var(--turq-primary);
    font-weight: 700;
}

.p-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.4rem;
}

.p-fill {
    height: 100%;
    background: var(--grad-red-primary); /* Red Bar Fill Accent */
    border-radius: 3px;
}

/* BANNER STRIP */
.banner-strip {
    background: var(--turq-50);
    border-top: 1px solid var(--turq-border);
    border-bottom: 1px solid var(--turq-border);
    padding: 2.25rem 0;
    position: relative;
}

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

.strip-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.strip-item i {
    font-size: 1.85rem;
    color: var(--turq-primary);
    background: #ffffff;
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--turq-border);
    box-shadow: var(--shadow-sm);
}

.strip-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-heading);
}

.strip-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* SYSTEMS SHOWCASE SECTION */
.systems-section {
    padding: 6.5rem 0;
}

.system-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    margin-bottom: 4.5rem;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
}

.system-showcase-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-card-hover);
}

.system-showcase-card.showcase-reverse {
    grid-template-columns: 1fr 1fr;
}

.system-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 100%;
}

.system-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--turq-50);
    border: 1px solid var(--turq-border);
    color: var(--turq-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.1);
    max-width: 100%;
    white-space: normal;
}

.system-version, .version-tag {
    display: inline-block;
    font-size: 0.75rem;
    background: var(--red-50);
    color: var(--red-700);
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid var(--red-200);
    white-space: nowrap;
}

.system-name {
    font-size: 2.75rem;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    color: var(--text-heading);
}

.system-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 2rem;
}

.system-lead strong {
    color: var(--text-heading);
    font-weight: 700;
}

.system-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-box {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.feature-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--turq-50);
    border: 1px solid var(--turq-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--turq-primary);
    font-size: 1rem;
}

.feature-box h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-heading);
}

.feature-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.system-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* DEVICE MOCKUPS FOR INTERACTIVE VISUALS */
.system-interactive-visual {
    position: relative;
    width: 100%;
}

.device-mockup {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
    max-width: 100%;
    min-width: 0;
}

.mockup-header {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.mockup-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.mockup-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--turq-50);
    border: 1px solid var(--turq-border);
    color: var(--turq-dark);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.mockup-body {
    position: relative;
    background: #ffffff;
}

.mockup-img-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #f8fafc;
    line-height: 0;
    font-size: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.system-real-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.mockup-img-wrapper:hover .system-real-img {
    transform: scale(1.02);
}

.img-overlay-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--red-primary); /* Red Line Accent */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: var(--transition-fast);
    z-index: 5;
    line-height: normal;
}

.mockup-img-wrapper:hover .img-overlay-hint {
    background: var(--red-primary);
    border-color: #fff;
    box-shadow: var(--glow-red-sm);
}

/* Floating Embed Badge on GezTicket */
.floating-embed-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff;
    border: 1.5px solid var(--border-medium);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    z-index: 8;
    line-height: normal;
    max-width: calc(100% - 30px);
}

.floating-embed-badge .badge-icon {
    width: 28px;
    height: 28px;
    background: var(--red-primary); /* Red Accent Icon Box */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
}

.floating-embed-badge strong {
    display: block;
    font-size: 0.78rem;
    color: var(--text-heading);
    line-height: 1.1;
}

.floating-embed-badge span {
    font-size: 0.68rem;
    color: var(--turq-primary);
    font-weight: 600;
}

/* GEZDENT PORTAL & CLINIC PREVIEW */
.p-3 { padding: 1.25rem; }

.portal-tabs-mockup {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
}

.portal-tab {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.portal-tab.active {
    background: var(--red-primary); /* Red Active Tab */
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.35);
}

.patient-portal-simulation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portal-welcome {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.avatar-patient {
    width: 36px;
    height: 36px;
    background: var(--red-primary); /* Red Icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
}

.portal-welcome h6 {
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
    color: var(--text-heading);
}

.subtext-p {
    font-size: 0.72rem;
    color: var(--turq-primary);
    font-weight: 600;
}

.treatment-progress-card {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.tp-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.tp-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    position: relative;
}

.step small {
    font-size: 0.65rem;
}

.step-done i {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.step-current i {
    width: 28px;
    height: 28px;
    background: var(--red-primary); /* Red Active Step Accent */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.5);
    animation: pulse 2s infinite;
}

.step-future {
    opacity: 0.45;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 0.4rem;
    margin-bottom: 1rem;
}

.step-line.active { background: #10b981; }
.step-line.current { background: var(--red-primary); }

.patient-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.p-sub-box {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.box-icon {
    width: 32px;
    height: 32px;
    background: var(--red-50);
    color: var(--red-600);
    border: 1px solid var(--red-200);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.p-sub-box strong {
    display: block;
    font-size: 0.78rem;
    color: var(--text-heading);
}

.p-sub-box p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0;
}

/* ADVANTAGES SECTION */
.advantages-section {
    padding: 6rem 0;
    background: var(--turq-50);
    border-top: 1px solid var(--turq-border);
    border-bottom: 1px solid var(--turq-border);
}

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

.adv-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.adv-card:hover {
    transform: translateY(-5px);
    border-color: var(--turq-primary);
    box-shadow: var(--shadow-card-hover);
}

.adv-icon {
    width: 52px;
    height: 52px;
    background: var(--grad-turq-primary); /* Turquoise Icon Box */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.adv-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

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

/* CUSTOM SOFTWARE SERVICES SECTION */
.services-section {
    padding: 6.5rem 0;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.service-pill-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.service-pill-card:hover {
    border-color: var(--red-primary); /* Red accent on card hover */
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(229, 9, 20, 0.12);
}

.s-icon {
    width: 56px;
    height: 56px;
    background: var(--red-50);
    border: 1px solid var(--red-200);
    color: var(--red-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-pill-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.service-pill-card p {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li i {
    color: var(--turq-primary); /* Turquoise checkmarks */
    font-size: 0.8rem;
}

/* CONTACT SECTION */
.contact-section {
    padding: 6.5rem 0 7rem;
    background: var(--turq-50);
    border-top: 1px solid var(--turq-border);
}

.contact-box {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    box-shadow: var(--shadow-xl);
}

.contact-info-panel {
    padding: 3.5rem;
    background: #f8fafc;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.c-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cp-icon {
    width: 44px;
    height: 44px;
    background: var(--turq-50);
    border: 1px solid var(--turq-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--turq-primary);
    font-size: 1.15rem;
}

.c-point span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.c-point strong {
    font-size: 1rem;
    color: var(--text-heading);
}

.trusted-tags {
    margin-top: auto;
    display: flex;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trusted-tags span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trusted-tags i { color: var(--red-primary); }

/* Contact Form */
.contact-form-panel {
    padding: 3.5rem;
    background: #ffffff;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.45rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-heading);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--red-primary); /* Red focus accent */
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
    background: #ffffff;
}

.form-input option {
    background: #ffffff;
    color: var(--text-heading);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-success-box {
    margin-top: 1.5rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.form-success-box i {
    font-size: 1.8rem;
    color: #22c55e;
}

/* FOOTER */
.main-footer {
    background: #ffffff;
    border-top: 2px solid var(--red-primary); /* Bold Red Separator Line */
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 1.25rem 0 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-body);
}

.social-links a:hover {
    background: var(--red-primary); /* Red Button Accent */
    border-color: var(--red-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--glow-red-sm);
}

.footer-col h5 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--text-heading);
    letter-spacing: -0.3px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li a i {
    font-size: 0.65rem;
    color: var(--red-primary);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--red-primary);
    transform: translateX(4px);
}

.footer-contact-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.footer-contact-list li i {
    color: var(--red-primary);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a:hover {
    color: var(--red-primary);
}

/* MODAL SYSTEM SIMULATOR */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

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

.modal-container {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: var(--transition-fast);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--red-50);
    border: 1px solid var(--red-200);
    color: var(--red-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    z-index: 20;
}

.modal-close-btn:hover {
    background: var(--red-primary);
    color: #fff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
}

/* Modal Content Styles */
.modal-hero-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
}

.modal-system-title {
    font-size: 2rem;
    color: var(--text-heading);
    margin: 0.3rem 0;
    line-height: 1.2;
}

.modal-system-subtitle {
    color: var(--turq-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* Modal Multi-Capture Selector */
.modal-capture-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.btn-capture-tab {
    background: #f1f5f9;
    border: 1px solid var(--border-medium);
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.btn-capture-tab:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

.btn-capture-tab.active {
    background: var(--red-primary);
    border-color: var(--red-primary);
    color: #ffffff;
    box-shadow: var(--glow-red-sm);
}

.modal-img-banner {
    margin: 1.25rem 0;
    border: 1px solid var(--border-medium);
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    position: relative;
}

.modal-banner-img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: top;
    display: block;
    cursor: pointer;
}

.modal-img-banner-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid var(--red-primary);
    cursor: pointer;
    line-height: normal;
}

.modal-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-body);
}

.modal-section-title {
    margin-top: 1.75rem;
    color: var(--red-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.modal-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.5rem;
}

.m-logo-icon {
    width: 60px;
    height: 60px;
    background: var(--grad-red-primary); /* Red Icon Accent */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    box-shadow: var(--glow-red-sm);
    flex-shrink: 0;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.75rem 0;
}

.spec-card {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1.25rem;
}

.spec-card h6 {
    font-size: 0.95rem;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-card h6 i { color: var(--turq-primary); }

.spec-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.code-snippet-box {
    background: #0f172a; /* High-contrast terminal look for code */
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    font-family: monospace;
    font-size: 0.85rem;
    color: #5eead4;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 100%;
}

/* LIGHTBOX MODAL FOR FULL REAL SCREENSHOT VIEW */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

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

.lightbox-container {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 1180px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    transform: scale(0.96);
    transition: var(--transition-fast);
}

.lightbox-overlay.active .lightbox-container {
    transform: scale(1);
}

.lightbox-top-bar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightbox-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.badge-red {
    font-size: 0.72rem;
    background: var(--turq-50);
    border: 1px solid var(--turq-border);
    color: var(--turq-dark);
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.lightbox-info strong {
    font-size: 1.05rem;
    color: var(--text-heading);
    font-family: var(--font-heading);
}

.lightbox-close-btn {
    background: var(--red-50);
    border: 1px solid var(--red-200);
    color: var(--red-primary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.lightbox-close-btn:hover {
    background: var(--red-primary);
    color: #fff;
    transform: rotate(90deg);
}

.lightbox-img-area {
    padding: 1.25rem;
    background: #0f172a; /* Deep theater background so both light & dark screenshots stand out brilliantly */
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-area img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1080px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .system-showcase-card,
    .system-showcase-card.showcase-reverse {
        grid-template-columns: 1fr;
        padding: 2.25rem;
    }

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

    .services-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

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

@media (max-width: 768px) {
    /* Container & Base Sizing - Zero Overflow */
    .container {
        padding: 0 0.85rem;
        max-width: 100%;
        overflow: hidden;
    }

    .top-bar {
        display: none;
    }

    /* Main Navigation & Header */
    .main-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-container {
        height: 66px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 2px solid var(--red-primary);
        padding: 1.35rem 1rem 1.75rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-fast);
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
        max-height: calc(100dvh - 66px);
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-nav-cta {
        display: block;
    }

    /* ALL BUTTONS ON MOBILE - SIGNIFICANTLY MORE COMPACT */
    .btn {
        padding: 0.42rem 0.82rem;
        font-size: 0.78rem;
        gap: 0.35rem;
        border-radius: 6px;
        font-weight: 600;
        min-height: 34px;
    }

    .btn-lg {
        padding: 0.48rem 0.95rem;
        font-size: 0.82rem;
        border-radius: 7px;
        font-weight: 700;
        min-height: 38px;
    }

    .btn i {
        font-size: 0.82em;
    }

    .header-actions .btn {
        padding: 0.32rem 0.62rem;
        font-size: 0.72rem;
        border-radius: 5px;
        min-height: 30px;
    }

    .system-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.45rem;
    }

    .system-actions .btn {
        width: 100%;
        padding: 0.44rem 0.85rem;
        font-size: 0.78rem;
        text-align: center;
        justify-content: center;
        min-height: 36px;
        border-radius: 6px;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.55rem;
        margin-bottom: 2rem;
    }

    .hero-cta-group .btn {
        width: 100%;
        padding: 0.5rem 0.95rem;
        font-size: 0.82rem;
        text-align: center;
        justify-content: center;
        min-height: 38px;
    }

    .portal-tab {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.7rem;
        padding: 0.3rem 0.55rem;
        border-radius: 5px;
    }

    .img-overlay-hint {
        bottom: 8px;
        left: 8px;
        font-size: 0.62rem;
        padding: 0.22rem 0.5rem;
        border-radius: 12px;
    }

    .modal-close-btn {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    .lightbox-close-btn {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    /* Typography & Section Headings */
    .section-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
        margin-bottom: 0.65rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .section-badge {
        font-size: 0.74rem;
        padding: 0.25rem 0.7rem;
        margin-bottom: 0.65rem;
    }

    html {
        scroll-padding-top: 74px;
    }

    /* Slider Top Section - Mobile / Tablet */
    .systems-slider-section {
        padding-top: 76px;
        padding-bottom: 16px;
    }

    .slider-header-bar {
        margin-bottom: 8px;
    }

    .slider-headline-badge {
        font-size: 0.74rem;
    }

    .slider-direct-cta {
        font-size: 0.74rem;
    }

    .slider-wrapper {
        border-radius: 12px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .slider-prev {
        left: 8px;
    }

    .slider-next {
        right: 8px;
    }

    .slide-floating-tag {
        bottom: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 0.68rem;
    }

    .slider-dots {
        bottom: 8px;
        padding: 4px 8px;
        gap: 6px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

    .slider-dot.active {
        width: 18px;
    }

    /* Hero Section */
    .hero-section {
        padding: 2.25rem 0 2rem;
    }

    .hero-title {
        font-size: 2.1rem;
        letter-spacing: -0.6px;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.98rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }

    .hero-pill {
        font-size: 0.75rem;
        padding: 0.25rem 0.7rem;
        margin-bottom: 1rem;
        max-width: 100%;
        white-space: normal;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.65rem;
        padding-top: 1.15rem;
        border-top: 1px solid var(--border-subtle);
    }

    .metric-divider {
        display: none;
    }

    .metric-number {
        font-size: 1.35rem;
    }

    .metric-label {
        font-size: 0.68rem;
        line-height: 1.25;
    }

    /* Banner Strip */
    .banner-strip {
        padding: 1.5rem 0;
    }

    .banner-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .strip-item {
        gap: 0.85rem;
    }

    .strip-item i {
        padding: 0.55rem;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .strip-item h4 {
        font-size: 0.95rem;
    }

    .strip-item p {
        font-size: 0.82rem;
    }

    /* Systems Showcase Section - Zero Overflow Guarantee */
    .systems-section {
        padding: 3.5rem 0;
    }

    .system-showcase-card,
    .system-showcase-card.showcase-reverse {
        grid-template-columns: 1fr !important;
        padding: 1.25rem 0.95rem;
        margin-bottom: 2rem;
        border-radius: var(--radius-md);
        gap: 1.35rem;
        overflow: hidden;
        max-width: 100%;
    }

    .system-content,
    .system-interactive-visual,
    .device-mockup,
    .mockup-body,
    .mockup-img-wrapper {
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    .system-header-meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-bottom: 0.65rem;
        max-width: 100%;
    }

    .system-badge {
        font-size: 0.68rem;
        padding: 0.2rem 0.55rem;
        letter-spacing: 0.3px;
        border-radius: 12px;
    }

    .system-version, .version-tag {
        font-size: 0.65rem;
        padding: 0.18rem 0.45rem;
        border-radius: 4px;
    }

    .system-name {
        font-size: 1.65rem;
        letter-spacing: -0.4px;
        margin-bottom: 0.65rem;
    }

    .system-lead {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 1.25rem;
    }

    .system-features-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .feature-box {
        gap: 0.65rem;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .feature-box h5 {
        font-size: 0.85rem;
        margin-bottom: 0.15rem;
    }

    .feature-box p {
        font-size: 0.76rem;
        line-height: 1.45;
    }

    /* Device Mockups & Headers */
    .mockup-header {
        padding: 0.5rem 0.7rem;
        gap: 0.45rem;
        max-width: 100%;
        overflow: hidden;
    }

    .mockup-dots {
        gap: 4px;
        flex-shrink: 0;
    }

    .mockup-dots span {
        width: 7px;
        height: 7px;
    }

    .mockup-title {
        font-size: 0.66rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        min-width: 0;
    }

    .mockup-tag {
        font-size: 0.56rem;
        padding: 0.12rem 0.38rem;
        flex-shrink: 0;
        white-space: nowrap;
        margin-left: auto;
    }

    .floating-embed-badge {
        top: 8px;
        right: 8px;
        max-width: 70%;
        padding: 0.25rem 0.5rem;
        gap: 0.35rem;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    }

    .floating-embed-badge .badge-icon {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
        border-radius: 4px;
        flex-shrink: 0;
    }

    .floating-embed-badge strong {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.1;
    }

    .floating-embed-badge span {
        font-size: 0.56rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        line-height: 1.1;
    }

    /* GezDent Responsive Styles */
    .portal-tabs-mockup {
        flex-direction: column;
        gap: 0.35rem;
    }

    .tp-header {
        flex-wrap: wrap;
        gap: 0.35rem;
        font-size: 0.74rem;
    }

    .tp-stepper {
        overflow-x: auto;
        padding: 0.45rem 0.2rem 0.65rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .tp-stepper .step {
        min-width: 48px;
        font-size: 0.62rem;
    }

    .tp-stepper .step-line {
        min-width: 14px;
        margin: 0 0.15rem;
        margin-bottom: 0.75rem;
    }

    .patient-sub-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* Advantages & Services Sections */
    .advantages-section {
        padding: 3.5rem 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .adv-card {
        padding: 1.25rem 1rem;
        overflow: hidden;
    }

    .services-section {
        padding: 3.5rem 0;
    }

    .service-pill-card {
        padding: 1.5rem 1.15rem;
        overflow: hidden;
    }

    /* Contact Section */
    .contact-section {
        padding: 3.5rem 0;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 1.5rem 1rem;
        overflow: hidden;
    }

    .contact-title {
        font-size: 1.5rem;
        margin-bottom: 0.65rem;
    }

    .contact-desc {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }

    .contact-points {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .cp-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

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

    .form-title {
        font-size: 1.25rem;
    }

    .form-input {
        padding: 0.68rem 0.8rem;
        font-size: 0.88rem;
    }

    .trusted-tags {
        flex-wrap: wrap;
        gap: 0.65rem;
        font-size: 0.78rem;
    }

    /* Footer */
    .main-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        margin-bottom: 2rem;
    }

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

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
    }

    /* Modals & Lightbox */
    .modal-overlay {
        padding: 0.5rem;
    }

    .modal-container {
        width: 100%;
        max-height: 94vh;
        border-radius: var(--radius-md);
    }

    .modal-body {
        padding: 1.25rem 0.95rem;
    }

    .modal-hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        padding-bottom: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .m-logo-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        border-radius: 10px;
    }

    .modal-system-title {
        font-size: 1.45rem;
    }

    .modal-system-subtitle {
        font-size: 0.82rem;
    }

    .modal-specs-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin: 1rem 0;
    }

    .spec-card {
        padding: 0.85rem;
    }

    .modal-footer-actions {
        flex-direction: column-reverse;
        gap: 0.55rem;
        margin-top: 1.25rem;
        padding-top: 1rem;
    }

    .modal-footer-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .lightbox-overlay {
        padding: 0.4rem;
    }

    .lightbox-top-bar {
        padding: 0.55rem 0.75rem;
    }

    .lightbox-info strong {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 170px;
    }

    .lightbox-img-area {
        padding: 0.65rem;
    }
}

@media (max-width: 480px) {
    /* Extra Compact for Standard Mobile Phones */
    .container {
        padding: 0 0.65rem;
    }

    /* Header & Brand */
    .header-container {
        height: 60px;
    }

    .nav-menu {
        top: 60px;
        max-height: calc(100dvh - 60px);
    }

    .brand-logo {
        gap: 0.5rem;
    }

    .logo-symbol {
        width: 34px;
        height: 34px;
        border-radius: 7px;
    }

    .symbol-text {
        font-size: 0.9rem;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        display: none;
    }

    .btn-text-desktop {
        display: none;
    }

    .btn-text-mobile {
        display: inline;
    }

    /* BUTTONS - SLEEK AND COMPACT */
    .btn {
        padding: 0.36rem 0.75rem;
        font-size: 0.74rem;
        gap: 0.3rem;
        min-height: 32px;
    }

    .btn-lg {
        padding: 0.44rem 0.88rem;
        font-size: 0.78rem;
        min-height: 36px;
    }

    .header-actions .btn {
        padding: 0.28rem 0.55rem;
        font-size: 0.68rem;
        min-height: 28px;
    }

    .system-actions .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.74rem;
        min-height: 34px;
    }

    html {
        scroll-padding-top: 68px;
    }

    /* Slider Top Section - Small Mobile */
    .systems-slider-section {
        padding-top: 68px;
        padding-bottom: 12px;
    }

    .slider-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        margin-bottom: 6px;
    }

    .slider-headline-badge {
        font-size: 0.68rem;
    }

    .slider-direct-cta {
        font-size: 0.68rem;
    }

    .slider-wrapper {
        border-radius: 10px;
    }

    .slide-floating-tag {
        display: none;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .slider-prev {
        left: 6px;
    }

    .slider-next {
        right: 6px;
    }

    /* Hero Section */
    .hero-section {
        padding: 1.75rem 0 1.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
        letter-spacing: -0.4px;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .metric-item {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.65rem;
        background: #ffffff;
        border: 1px solid var(--border-subtle);
        border-radius: 7px;
        padding: 0.55rem 0.75rem;
    }

    .metric-number {
        font-size: 1.25rem;
        min-width: 60px;
        margin-bottom: 0;
        color: var(--red-primary);
    }

    .metric-label {
        font-size: 0.72rem;
    }

    .product-mini-preview {
        padding: 0.65rem 0.75rem;
        gap: 0.65rem;
    }

    .p-thumb {
        width: 52px;
        height: 40px;
    }

    .p-header {
        flex-wrap: wrap;
        gap: 0.25rem;
        margin-bottom: 0.25rem;
    }

    .p-tag {
        font-size: 0.66rem;
        padding: 0.15rem 0.4rem;
    }

    .p-status, .p-count, .p-progress {
        font-size: 0.68rem;
    }

    .p-text {
        font-size: 0.76rem;
        line-height: 1.3;
    }

    /* System Cards */
    .system-showcase-card,
    .system-showcase-card.showcase-reverse {
        padding: 1.15rem 0.75rem;
        margin-bottom: 1.75rem;
        border-radius: 12px;
    }

    .system-name {
        font-size: 1.45rem;
    }

    .system-lead {
        font-size: 0.84rem;
    }

    .floating-embed-badge {
        top: 6px;
        right: 6px;
        max-width: 65%;
        padding: 0.22rem 0.45rem;
        gap: 0.3rem;
    }

    .floating-embed-badge .badge-icon {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }

    .floating-embed-badge strong {
        font-size: 0.62rem;
    }

    .floating-embed-badge span {
        font-size: 0.54rem;
    }

    /* Headings & Sections */
    .section-title {
        font-size: 1.45rem;
        letter-spacing: -0.3px;
    }

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

    .p-3 {
        padding: 0.75rem;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 1.15rem 0.75rem;
    }

    .contact-title {
        font-size: 1.35rem;
    }

    .form-title {
        font-size: 1.15rem;
    }

    .form-input {
        padding: 0.62rem 0.75rem;
        font-size: 0.84rem;
    }

    /* Modal & Lightbox */
    .modal-body {
        padding: 1.15rem 0.75rem;
    }

    .modal-system-title {
        font-size: 1.35rem;
    }

    .lightbox-info strong {
        max-width: 130px;
        font-size: 0.74rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }

    .header-actions {
        gap: 0.4rem;
    }

    .header-actions .btn {
        padding: 0.25rem 0.48rem;
        font-size: 0.65rem;
    }

    .hero-title {
        font-size: 1.55rem;
    }

    .system-name {
        font-size: 1.35rem;
    }

    .system-badge {
        font-size: 0.62rem;
        padding: 0.18rem 0.45rem;
    }

    .system-version {
        font-size: 0.6rem;
    }
}

/* ==========================================================================
   LEGAL & CONTENT PAGES STYLING (Privacidad, Términos, Seguridad)
   ========================================================================== */

.legal-hero-section {
    padding: 210px 0 85px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 40%, #f1f5f9 85%, #fef2f2 100%);
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Franja decorativa inferior rojo/oscuro inspirada en el banner */
.legal-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b91c1c 0%, #e50914 35%, #991b1b 70%, #0f172a 100%);
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    font-weight: 500;
}

.legal-breadcrumb a {
    color: var(--red-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.legal-breadcrumb a:hover {
    color: #991b1b;
    text-decoration: underline;
}

.legal-breadcrumb .sep {
    color: #94a3b8;
    font-size: 0.75rem;
}

.legal-breadcrumb .text-white,
.legal-breadcrumb .breadcrumb-current {
    color: #0f172a !important;
    font-weight: 700;
}

.legal-hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: #b91c1c; /* Rojo carmesí del titular del banner */
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.legal-hero-subtitle {
    font-size: 1.18rem;
    color: #1e293b; /* Pizarra oscuro del subtítulo del banner */
    max-width: 840px;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

.legal-hero-subtitle strong {
    color: #0f172a;
    font-weight: 700;
}

.legal-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.05rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    transition: all 0.25s ease;
}

.legal-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.legal-badge i {
    color: var(--red-primary);
    font-size: 0.95rem;
}

.legal-badge.badge-green {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.legal-badge.badge-green i {
    color: #15803d;
}

.legal-badge.badge-red {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.legal-badge.badge-red i {
    color: #b91c1c;
}

.legal-badge.badge-turq {
    background: #f0fdfa;
    color: #115e59;
    border-color: #99f6e4;
}

.legal-badge.badge-turq i {
    color: #0d9488;
}

/* Layout */
.legal-main-section {
    padding: 90px 0 180px;
    background: #f8fafc;
}

.legal-grid-container {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar TOC (Fixed / Sticky Column) */
.legal-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
    z-index: 50;
    transition: top 0.25s ease;
}

.legal-sidebar::-webkit-scrollbar {
    width: 5px;
}

.legal-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.legal-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.legal-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.legal-sidebar-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.legal-toc-link {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    display: block;
    line-height: 1.45;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-toc-link:hover,
.legal-toc-link.active {
    background: #f1f5f9;
    color: var(--red-primary);
    font-weight: 700;
    transform: translateX(4px);
    box-shadow: inset 3px 0 0 var(--red-primary);
}

.legal-sidebar-cta {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* Content Area */
.legal-content-card {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: 18px;
    padding: 4rem 3.5rem 5rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.legal-article-header {
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.legal-article-lead {
    font-size: 1.2rem;
    line-height: 1.85;
    color: #1e293b;
    font-weight: 500;
}

/* Puntos / Bloques Numerados con Separación Elegante */
.legal-block {
    margin-bottom: 4.5rem;
    padding-bottom: 3.75rem;
    border-bottom: 1px solid #e8ecf2;
    scroll-margin-top: 175px;
}

.legal-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-block-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.legal-block-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(229, 9, 20, 0.08);
    border: 1px solid rgba(229, 9, 20, 0.22);
    color: var(--red-primary);
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(229, 9, 20, 0.08);
}

.legal-block-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.legal-block p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #334155;
    margin-bottom: 1.5rem;
}

/* Listas con viñetas estilizadas y espaciado generoso */
.legal-block ul {
    margin: 1.75rem 0 2.25rem 0;
    padding: 0;
    list-style: none;
}

.legal-block li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.35rem;
    line-height: 1.85;
    font-size: 1.02rem;
    color: #334155;
}

.legal-block li:last-child {
    margin-bottom: 0;
}

.legal-block li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.18);
}

.legal-block li ul {
    margin: 0.85rem 0 0.85rem 0;
    padding: 0;
}

.legal-block li ul li {
    padding-left: 1.6rem;
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
    color: #475569;
}

.legal-block li ul li::before {
    background: var(--turq-primary);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
    width: 6px;
    height: 6px;
    top: 0.68rem;
}

.legal-block strong {
    color: #0f172a;
    font-weight: 700;
}

/* Callouts / Cuadros Destacados */
.legal-callout {
    background: #f8fafc;
    border-left: 5px solid var(--red-primary);
    padding: 1.75rem 2rem;
    border-radius: 0 14px 14px 0;
    margin: 2.25rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.legal-callout.callout-turq {
    border-left-color: var(--turq-primary);
    background: rgba(45, 212, 191, 0.05);
}

.legal-callout.callout-blue {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.legal-callout h5 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.legal-callout p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #334155;
}

/* Tarjetas de Grilla Destacada */
.legal-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.25rem 0;
}

.legal-h-card {
    background: #f8fafc;
    border: 1px solid var(--border-medium);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-h-card:hover {
    border-color: var(--border-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.legal-h-card .h-icon {
    font-size: 1.75rem;
    color: var(--red-primary);
    margin-bottom: 1rem;
}

.legal-h-card h6 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.legal-h-card p {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .legal-hero-section {
        padding: 180px 0 55px;
    }

    .legal-main-section {
        padding: 60px 0 120px;
    }

    .legal-grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-sidebar {
        position: static;
        top: auto;
    }

    .legal-content-card {
        padding: 2.5rem 2rem 3rem;
    }

    .legal-block {
        margin-bottom: 3.5rem;
        padding-bottom: 2.75rem;
        scroll-margin-top: 145px;
    }
}

@media (max-width: 576px) {
    .legal-hero-section {
        padding: 160px 0 45px;
    }

    .legal-hero-title {
        font-size: 1.85rem;
    }

    .legal-hero-subtitle {
        font-size: 1rem;
    }

    .legal-main-section {
        padding: 40px 0 100px;
    }

    .legal-content-card {
        padding: 1.75rem 1.25rem 2.25rem;
        border-radius: 14px;
    }

    .legal-block {
        margin-bottom: 3rem;
        padding-bottom: 2.25rem;
        scroll-margin-top: 135px;
    }

    .legal-block-header {
        gap: 0.85rem;
    }

    .legal-block-num {
        width: 36px;
        height: 36px;
        font-size: 0.92rem;
    }

    .legal-block-title {
        font-size: 1.22rem;
    }

    .legal-block p,
    .legal-block li {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .legal-callout {
        padding: 1.25rem 1.25rem;
    }
}

