/* 
=====================================================
 Safiris Wearable Device Landing Page Stylesheet
=====================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-darker: #060913;
    --bg-dark: #0a0e1c;
    --bg-card: rgba(16, 24, 48, 0.6);
    --bg-card-hover: rgba(22, 33, 67, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-glow: rgba(0, 242, 254, 0.3);
    
    --primary: #00f2fe;
    --primary-rgb: 0, 242, 254;
    --secondary: #4facfe;
    --secondary-rgb: 79, 172, 254;
    --accent: #00ff87;
    --danger: #ff3b30;
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-glow: rgba(255, 255, 255, 0.9);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.safiris-body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
body.safiris-body::-webkit-scrollbar {
    width: 10px;
}
body.safiris-body::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
body.safiris-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}
body.safiris-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Base Layout Utility classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-padding {
    padding: 100px 0;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-color-glow);
    box-shadow: 0 10px 30px -10px rgba(0, 242, 254, 0.15);
    transform: translateY(-4px);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Animated Glow Background Nodes */
.bg-glow-1, .bg-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.bg-glow-1 {
    top: 10%;
    left: -100px;
    background: var(--primary);
}
.bg-glow-2 {
    top: 50%;
    right: -100px;
    background: var(--secondary);
}

/* Header Section */
header.safiris-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(6, 9, 19, 0.7);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

header.safiris-header.scrolled {
    padding: 8px 0;
    background: rgba(6, 9, 19, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height var(--transition-fast);
    gap: 20px;
}

header.safiris-header.scrolled .nav-wrapper {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: 40px;
    flex-shrink: 0;
}

.logo svg, .logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
}

.nav-menu {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-darker);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-darker);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
    transition: all var(--transition-fast);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 150px 0 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(6, 9, 19, 0.85) 0%, rgba(6, 9, 19, 0.6) 50%, rgba(6, 9, 19, 0.9) 100%);
    z-index: 1;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 40px;
    position: relative;
    z-index: 3;
    max-width: 650px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge span.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 0 40px 0;
    max-width: 580px;
}

.hero-quote {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    margin: 0 0 40px 0;
    font-style: italic;
    color: var(--text-muted);
    text-align: left;
    max-width: 580px;
}

.hero-quote p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-quote cite {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    margin-top: 6px;
    font-style: normal;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

/* Device Showcase Render */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.device-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
}

.device-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(0,242,254,0.12) 0%, rgba(79,172,254,0.03) 60%, transparent 100%);
    z-index: -1;
}

.device-interactive-img {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #222c4e, #0e1225 60%, #03040a);
    box-shadow: 
        inset 0 10px 20px rgba(255,255,255,0.15),
        inset 0 -10px 20px rgba(0,0,0,0.8),
        0 15px 35px rgba(0,0,0,0.6),
        0 0 40px rgba(0, 242, 254, 0.15);
    border: 4px solid #1c2544;
    top: 10px;
    left: 10px;
    transition: transform var(--transition-slow);
}

.device-interactive-img:hover {
    transform: scale(1.03) rotate(3deg);
}

.device-inner-rim {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
    pointer-events: none;
}

.device-branding {
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.device-branding span {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.device-optical-sensor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #090d19;
    border: 3px solid #222d4a;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sensor-lens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.lens-node {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.lens-node.led-green::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #00ff87;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    box-shadow: 0 0 8px #00ff87;
    animation: pulse-rapid 1.2s infinite;
}

.lens-node.led-red::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ff3b30;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    box-shadow: 0 0 8px #ff3b30;
    animation: pulse-rapid 1.5s infinite alternate;
}

.device-size-indicator {
    position: absolute;
    bottom: -35px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.device-size-indicator::before, .device-size-indicator::after {
    content: '';
    height: 1px;
    background: var(--border-color);
    flex-grow: 1;
}

.device-size-indicator::before { margin-right: 12px; }
.device-size-indicator::after { margin-left: 12px; }

/* Features Grid Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--primary);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(0,242,254,0.15), rgba(79,172,254,0.15));
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0,242,254,0.25);
    transform: scale(1.05);
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

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

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

/* Interactive Device Details Hotspots */
.device-hotspots-section {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hotspots-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.hotspots-text-left, .hotspots-text-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hotspot-info-node {
    cursor: pointer;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.hotspot-info-node:hover, .hotspot-info-node.active {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color-glow);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hotspot-info-node h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color var(--transition-fast);
}

.hotspot-info-node:hover h4, .hotspot-info-node.active h4 {
    color: var(--primary);
}

.hotspot-info-node h4 span.node-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.hotspot-info-node:hover h4 span.node-bullet, .hotspot-info-node.active h4 span.node-bullet {
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

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

.hotspots-visual-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hotspot-anchor-img {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, #202b48 10%, #060913 70%);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* Hotspot Dots on the Image */
.hotspot-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.3);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.hotspot-dot::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    transition: all var(--transition-fast);
}

.hotspot-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse 2s infinite;
    pointer-events: none;
}

.hotspot-dot:hover, .hotspot-dot.active {
    background: rgba(0, 242, 254, 0.5);
    transform: scale(1.2);
}

.hotspot-dot:hover::before, .hotspot-dot.active::before {
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff;
}

/* Positions of hot spots (relative coordinates on the circle) */
.dot-temp {
    top: 25%;
    left: 20%;
}
.dot-ppg {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.dot-imu {
    top: 75%;
    right: 25%;
}
.dot-esp {
    top: 15%;
    right: 20%;
}

/* Specs & Platform Section */
.specs-section {
    position: relative;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.tech-spec-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
}

.spec-row .spec-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.spec-row .spec-label svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.spec-row .spec-val {
    font-weight: 700;
    color: var(--text-main);
}

.hardware-blueprint-card {
    position: relative;
    padding: 24px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    min-height: 380px;
}

.hardware-blueprint-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 242, 254, 0.08),
        inset 0 0 20px rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.3);
}

.blueprint-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.blueprint-img {
    max-width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    border-radius: 12px;
    z-index: 2;
    transition: transform 0.4s ease, filter 0.3s ease;
    /* In dark mode, invert the image to look like a high-tech cyan/white blueprint and blend the background */
    filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(1.1);
    mix-blend-mode: screen;
}

.hardware-blueprint-card:hover .blueprint-img {
    transform: scale(1.02);
}

/* Light Theme overrides for the blueprint image */
body.light-theme .hardware-blueprint-card,
.light-theme .hardware-blueprint-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-theme .hardware-blueprint-card:hover,
.light-theme .hardware-blueprint-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
}

body.light-theme .blueprint-img,
.light-theme .blueprint-img {
    filter: none;
    mix-blend-mode: normal;
}

/* Placement and Mounting Section */
.placement-section {
    background-color: var(--bg-dark);
}

.placement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.placement-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.wear-video-container {
    position: relative;
    width: 320px;
    height: 380px;
    border-radius: 24px;
    background: linear-gradient(180deg, #11172f 0%, #060912 100%);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.wear-video-container:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 242, 254, 0.08),
        inset 0 0 20px rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.3);
}

.wear-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.placement-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Elegant CSS Spine/Back Diagram Placeholder */
.back-diagram {
    position: relative;
    width: 320px;
    height: 380px;
    border-radius: 24px;
    background: linear-gradient(180deg, #11172f 0%, #060912 100%);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.back-diagram:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 242, 254, 0.08),
        inset 0 0 20px rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.3);
}

.back-spine {
    position: absolute;
    width: 12px;
    height: 280px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.spine-node {
    width: 20px;
    height: 14px;
    background: #1f2a4a;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 8px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine-node.active-placement {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    color: var(--bg-darker);
}

.spine-radar-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    top: 20%;
    animation: radar-pulse 2.5s infinite;
}

.mounting-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.flow-step {
    display: flex;
    gap: 20px;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.step-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

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

/* App Showcase Section */
.app-section {
    position: relative;
}

.app-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-feature-item {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.app-feature-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border-color);
}

.app-feat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(79, 172, 254, 0.08);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-feat-icon svg {
    width: 20px;
    height: 20px;
}

.app-feat-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

/* Recreating the Interactive Phone Screens mockups in CSS */
.phone-mockup-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.phone-mockup-container {
    width: 280px;
    height: 560px;
    border-radius: 40px;
    background: #000000;
    border: 8px solid #1e2439;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), 0 0 30px rgba(79,172,254,0.15);
    overflow: hidden;
    position: relative;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform var(--transition-normal);
}

.phone-mockup-container:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-speaker-camera {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 24px;
    background: #1e2439;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 100;
}

.phone-screen-content {
    width: 100%;
    height: 100%;
    padding: 36px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #080b16;
    overflow-y: auto;
}

/* Custom Scrollbar for App Simulator */
.phone-screen-content::-webkit-scrollbar {
    display: none;
}

/* Real App Layout Simulation */
.app-real-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.app-real-header h5 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main, #ffffff);
    margin: 0;
}

.header-right-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-right-icons svg {
    width: 18px;
    height: 18px;
    color: var(--text-main, #ffffff);
    cursor: pointer;
}

/* User Profile Avatar Block */
.app-user-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px 0 14px 0;
    gap: 4px;
}

.user-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

.app-user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #0f73ee;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffffff;
}

.avatar-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #00ff87;
    border: 2px solid #080b16;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff87;
}

.user-avatar-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3b82f6;
}

/* Real App Status Banner */
.app-status-banner-real {
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.15);
    border-radius: 16px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 14px;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shield-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff87;
    width: 32px;
    height: 32px;
    background: rgba(0, 255, 135, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.shield-icon-wrapper svg {
    width: 18px;
    height: 18px;
}

.status-text-block {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-align: left;
}

.status-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #00ff87;
    line-height: 1.2;
}

.status-subtitle {
    font-size: 0.7rem;
    color: #94a3b8;
    line-height: 1.2;
}

.status-brand {
    font-size: 0.65rem;
    font-weight: 700;
    color: #00ff87;
    line-height: 1.2;
}

.status-right-power {
    color: #ff3b30;
    cursor: pointer;
    flex-shrink: 0;
}

.status-right-power svg {
    width: 18px;
    height: 18px;
}

/* Title Rows */
.app-section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.section-title-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main, #ffffff);
}

.section-link-all {
    font-size: 0.75rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

/* 2x2 Grid widgets */
.app-real-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.app-real-widget {
    background: #101730;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.widget-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.icon-feeling { background: rgba(0, 255, 135, 0.1); color: #00ff87; }
.icon-anxiety { background: rgba(0, 242, 254, 0.1); color: #00f2fe; }
.icon-energy { background: rgba(255, 165, 0, 0.1); color: #ffa500; }
.icon-stress { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

.widget-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.widget-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main, #ffffff);
    margin: 0;
}

.widget-label {
    font-size: 0.7rem;
    color: #94a3b8;
}

.widget-sub {
    font-size: 0.65rem;
    color: #64748b;
}

.app-screen-home {
    display: flex;
    flex-direction: column;
}

/* SOS Screen simulation inside phone mockup */
.app-screen-sos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 24px;
    text-align: center;
}

.app-sos-btn {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff3b30, #b31006);
    border: 6px solid rgba(255, 59, 48, 0.2);
    box-shadow: 0 0 25px rgba(255,59,48,0.5);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    animation: pulse-danger 2s infinite;
}

.app-sos-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(255,59,48,0.8);
}

.app-screen-select-tab {
    display: flex;
    justify-content: space-around;
    background: #080c1e;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    margin-top: auto;
}

.app-tab-btn {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.app-tab-btn.active {
    color: #3b82f6;
}

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

.app-coming-soon-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-badge-downloads {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    align-items: center;
}

.app-badge-downloads a {
    display: flex;
    align-items: center;
}

.app-badge-downloads img.badge-appstore {
    height: 40px;
    width: auto;
}

.app-badge-downloads img.badge-googleplay {
    height: 58px;
    width: auto;
}

/* Pricing and Subscriptions Section */
.pricing-section {
    background-color: var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.pricing-card.premium-tier {
    border-color: var(--primary);
    box-shadow: 0 15px 40px -10px rgba(0, 242, 254, 0.15);
}

.badge-popular {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-darker);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-card-header .price-display {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 20px 0 10px 0;
    display: flex;
    align-items: baseline;
}

.pricing-card-header .price-display span.currency {
    font-size: 1.8rem;
}

.pricing-card-header .price-display span.period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.pricing-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.pricing-features-list li svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.btn-price {
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pricing-card.premium-tier .btn-price {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

.pricing-card.premium-tier .btn-price:hover {
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.pricing-card:not(.premium-tier) .btn-price {
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.pricing-card:not(.premium-tier) .btn-price:hover {
    background: rgba(255,255,255,0.10);
    border-color: var(--text-muted);
}

.pricing-guarantees {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

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

/* Contact / Pre-order Form Section */
.contact-section {
    position: relative;
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-info-row svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

/* Footer Section */
footer.safiris-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

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

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

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

/* KEYFRAME ANIMATIONS */
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.4); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
    100% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

@keyframes pulse-danger {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

@keyframes pulse-rapid {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

@keyframes radar-pulse {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.mobile-only-cabinet {
    display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid, .features-grid, .hotspots-layout, .specs-grid, .placement-grid, .app-grid, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-grid {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hotspots-text-left, .hotspots-text-right {
        gap: 20px;
    }
    
    .hotspots-layout {
        display: flex;
        flex-direction: column;
    }
    
    .hotspots-visual-center {
        order: -1;
        margin-bottom: 20px;
    }
    
    .specs-grid, .placement-grid, .app-grid {
        display: flex;
        flex-direction: column;
    }
    
    .app-grid {
        flex-direction: column-reverse;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(6, 9, 19, 0.98);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        gap: 18px;
        z-index: 999;
    }

    body.safiris-body.light-theme .nav-menu {
        background: rgba(243, 246, 250, 0.98);
    }
    
    header.safiris-header.scrolled .nav-menu {
        top: 60px;
    }

    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-only-cabinet {
        display: block;
    }

    .btn-cabinet {
        display: none !important;
    }
    
    .logo {
        margin-right: 0;
        gap: 8px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .nav-actions {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .btn-cta {
        display: none; /* Hide on small headers, show inside mobile nav */
    }


    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-card {
        padding: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top, .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Theme Toggle Button Styles */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

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

/* Light Theme Variables & Overrides */
body.safiris-body.light-theme {
    --bg-darker: #f3f6fa;
    --bg-dark: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.07);
    --border-color-glow: rgba(0, 242, 254, 0.4);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-glow: rgba(15, 23, 42, 0.85);
}

body.safiris-body.light-theme header.safiris-header {
    background: rgba(243, 246, 250, 0.75);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.safiris-body.light-theme header.safiris-header.scrolled {
    background: rgba(243, 246, 250, 0.95);
}

body.safiris-body.light-theme .theme-btn {
    background: rgba(0, 0, 0, 0.03);
}

body.safiris-body.light-theme .theme-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

body.safiris-body.light-theme .lang-switch {
    background: rgba(0, 0, 0, 0.03);
}

body.safiris-body.light-theme .lang-btn {
    color: #475569;
}

body.safiris-body.light-theme .lang-btn.active {
    color: #0f172a;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

body.safiris-body.light-theme .bg-glow-1, 
body.safiris-body.light-theme .bg-glow-2 {
    opacity: 0.06;
}

body.safiris-body.light-theme .hero-desc,
body.safiris-body.light-theme .hero-quote p {
    color: #334155;
}

body.safiris-body.light-theme .hotspot-info-node {
    background: rgba(0, 0, 0, 0.015);
}

body.safiris-body.light-theme .hotspot-info-node:hover, 
body.safiris-body.light-theme .hotspot-info-node.active {
    background: rgba(0, 0, 0, 0.03);
}

body.safiris-body.light-theme .hotspot-info-node h4 {
    color: #0f172a;
}

body.safiris-body.light-theme .hotspot-info-node p {
    color: #475569;
}

body.safiris-body.light-theme .spec-row {
    background: rgba(0, 0, 0, 0.015);
}

body.safiris-body.light-theme .hw-card {
    background: rgba(255, 255, 255, 0.8);
}

body.safiris-body.light-theme .back-diagram {
    background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
    border-color: rgba(0, 0, 0, 0.08);
}

body.safiris-body.light-theme .back-spine {
    background: rgba(0, 0, 0, 0.03);
}

body.safiris-body.light-theme .spine-node {
    background: #cbd5e1;
    border-color: rgba(0, 0, 0, 0.05);
    color: #475569;
}

body.safiris-body.light-theme .spine-node.active-placement {
    background: var(--primary);
    border-color: var(--primary);
    color: #0f172a;
}

body.safiris-body.light-theme .phone-screen-content {
    background: #f1f3f9;
}

body.safiris-body.light-theme .avatar-status-dot {
    border-color: #f1f3f9;
}

body.safiris-body.light-theme .app-status-banner-real {
    background: #e6f7f0;
    border-color: rgba(0, 255, 135, 0.15);
}

body.safiris-body.light-theme .status-subtitle {
    color: #64748b;
}

body.safiris-body.light-theme .app-real-widget {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

body.safiris-body.light-theme .widget-val {
    color: #0f172a;
}

body.safiris-body.light-theme .app-screen-select-tab {
    background: #ffffff;
    border-top-color: rgba(0, 0, 0, 0.05);
}

body.safiris-body.light-theme .pricing-card:not(.premium-tier) .btn-price {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
    color: #0f172a;
}

body.safiris-body.light-theme .pricing-card:not(.premium-tier) .btn-price:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.12);
}

body.safiris-body.light-theme .form-group input, 
body.safiris-body.light-theme .form-group textarea {
    background: rgba(0, 0, 0, 0.015);
    color: #0f172a;
}

body.safiris-body.light-theme footer.safiris-footer {
    background: #e2e8f0;
    border-top-color: rgba(0, 0, 0, 0.05);
}

body.safiris-body.light-theme footer.safiris-footer .logo-text, 
body.safiris-body.light-theme footer.safiris-footer .footer-bottom span,
body.safiris-body.light-theme footer.safiris-footer .footer-links a,
body.safiris-body.light-theme footer.safiris-footer .footer-socials a {
    color: #475569;
}

/*
=====================================================
 Live App Device Connection & Dashboard Styles
=====================================================
*/

/* Pulsing Dots */
.pulse-dot-live {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 255, 135, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 135, 0);
    }
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 59, 48, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
    }
}

/* Connection Widget */
.web-connect-card {
    padding: 24px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 242, 254, 0.15);
    background: rgba(16, 24, 48, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.connect-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.connect-card-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.connect-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 18px;
}

.connect-form-row {
    display: flex;
    gap: 12px;
}

.connect-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.connect-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

#web-connect-phone {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 44px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

#web-connect-phone:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

#web-connect-btn.btn-cta {
    padding: 0 24px;
    height: 46px;
    font-size: 0.85rem;
    border-radius: 23px;
    flex-shrink: 0;
}

.connect-status-message {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--primary);
}

.connect-status-message.success {
    background: rgba(0, 255, 135, 0.06);
    border-color: rgba(0, 255, 135, 0.2);
    color: var(--accent);
}

.connect-status-message.error {
    background: rgba(255, 59, 48, 0.06);
    border-color: rgba(255, 59, 48, 0.2);
    color: var(--danger);
}

/* User avatar in simulator header */
.app-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-darker);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

/* Dashboard Section & Grid */
.live-dashboard-section {
    background-color: var(--bg-dark);
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.live-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* Glass User Cards */
.live-user-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    border: 1px solid var(--border-color);
    position: relative;
    background: rgba(16, 24, 48, 0.45);
}

.live-user-card.alert-active {
    border-color: rgba(255, 59, 48, 0.4);
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.15);
    animation: card-alert-glow 2s infinite alternate;
}

@keyframes card-alert-glow {
    from {
        box-shadow: 0 0 15px rgba(255, 59, 48, 0.1);
        border-color: rgba(255, 59, 48, 0.3);
    }
    to {
        box-shadow: 0 0 25px rgba(255, 59, 48, 0.25);
        border-color: rgba(255, 59, 48, 0.6);
    }
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.user-card-avatar-wrapper {
    position: relative;
}

.user-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-darker);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 242, 254, 0.2);
}

.user-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
}

.user-status-dot.safe {
    background-color: var(--accent);
    animation: pulse 1.8s infinite;
}

.user-status-dot.alert {
    background-color: var(--danger);
    animation: pulse-red 1.5s infinite;
}

.user-status-dot.offline {
    background-color: #64748b;
}

.user-card-title-block h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.user-card-phone {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* User Card Metrics */
.user-card-metrics {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 20px;
    gap: 8px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.metric-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.metric-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.metric-value.status-safe {
    color: var(--accent);
}

.metric-value.status-alert {
    color: var(--danger);
}

.metric-value.status-offline {
    color: #64748b;
}

/* Card Footer */
.user-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

.last-sync-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-sync-user {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-sync-user:hover {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* Spinner and Messages */
.loading-users, .no-users-message {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    gap: 16px;
}

.no-users-message.error {
    color: var(--danger);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 242, 254, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Light Theme Styling Overrides */
body.safiris-body.light-theme .live-dashboard-section {
    background-color: #f8fafc;
    border-top-color: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

body.safiris-body.light-theme .web-connect-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

body.safiris-body.light-theme .connect-card-header h4,
body.safiris-body.light-theme .user-card-title-block h5,
body.safiris-body.light-theme .metric-value {
    color: #0f172a;
}

body.safiris-body.light-theme #web-connect-phone {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
}

body.safiris-body.light-theme #web-connect-phone:focus {
    background: #ffffff;
}

body.safiris-body.light-theme .live-user-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

body.safiris-body.light-theme .live-user-card.alert-active {
    background: rgba(255, 59, 48, 0.03);
    border-color: rgba(255, 59, 48, 0.3);
}

body.safiris-body.light-theme .user-card-metrics {
    background: rgba(0,0,0,0.015);
    border-color: rgba(0,0,0,0.03);
}

body.safiris-body.light-theme .user-status-dot {
    border-color: #ffffff;
}

body.safiris-body.light-theme .btn-sync-user {
    background: rgba(0, 242, 254, 0.05);
    border-color: rgba(0, 242, 254, 0.15);
}

/* Custom Header Cabinet button */
.btn-cabinet {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cabinet:hover {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
    transform: translateY(-1px);
}

/* Light Theme Overrides */
body.safiris-body.light-theme .btn-cabinet {
    background: rgba(0, 242, 254, 0.04);
    border-color: rgba(0, 242, 254, 0.15);
    color: #0284c7;
}

body.safiris-body.light-theme .btn-cabinet:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* =====================================================
   Reliability & Durability Section Styles
   ===================================================== */
.reliability-section {
    position: relative;
    background: radial-gradient(circle at 50% 10%, rgba(16, 24, 48, 0.3) 0%, transparent 70%);
}

.reliability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.reliability-card {
    display: flex;
    overflow: hidden;
    min-height: 280px;
    transition: all var(--transition-normal);
}

.reliability-card:hover {
    border-color: var(--border-color-glow);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.12);
    transform: translateY(-4px);
}

.reliability-card .card-content {
    flex: 1.2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reliability-card .card-icon-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reliability-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.reliability-card .card-icon svg {
    width: 22px;
    height: 22px;
}

.reliability-card .card-icon-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.reliability-card .card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.reliability-card .card-note-blue {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.reliability-card .card-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.reliability-card .badge-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Visual Panel Styling */
.reliability-card .card-visual {
    flex: 1;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-left: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

/* Pure CSS Device Mockup */
.safiris-device-mock {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2d3142 0%, #0c0f1a 100%);
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: transform var(--transition-normal);
}

.safiris-device-mock.sm {
    width: 100px;
    height: 100px;
}

.safiris-device-mock .device-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.safiris-device-mock .device-led {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
    margin-bottom: 12px;
}

.safiris-device-mock.sm .device-led {
    margin-bottom: 8px;
}

.safiris-device-mock .device-brand {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: sans-serif;
    user-select: none;
}

.safiris-device-mock.sm .device-brand {
    font-size: 9px;
    margin-bottom: 6px;
    letter-spacing: 1.5px;
}

.safiris-device-mock .device-dots {
    display: flex;
    gap: 5px;
}

.safiris-device-mock .device-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.safiris-device-mock.sm .device-dots span {
    width: 4.5px;
    height: 4.5px;
}

.safiris-device-mock .dot-g { background: #00ff87; box-shadow: 0 0 4px #00ff87; }
.safiris-device-mock .dot-r { background: #ff3b30; box-shadow: 0 0 4px #ff3b30; }
.safiris-device-mock .dot-b { background: #4facfe; box-shadow: 0 0 4px #4facfe; }

/* Waterproof Visual Effects */
.visual-waterproof {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05), rgba(79, 172, 254, 0.08)) !important;
}

.water-ripples {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-ripples span {
    position: absolute;
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 50%;
    animation: ripple 4s infinite linear;
}

.water-ripples .ripple-1 { width: 140px; height: 140px; animation-delay: 0s; }
.water-ripples .ripple-2 { width: 180px; height: 180px; animation-delay: 2s; }

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { opacity: 0.3; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Battery Visual Effects */
.visual-battery {
    background: linear-gradient(135deg, rgba(0, 255, 135, 0.05), rgba(0, 242, 254, 0.05)) !important;
}

.battery-gauge-wrapper {
    position: absolute;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 4;
}

.gauge-fill {
    fill: none;
    stroke: #00ff87;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 263.89;
    stroke-dashoffset: 65.97; /* 75% filled representing battery indicator */
    filter: drop-shadow(0 0 5px rgba(0, 255, 135, 0.5));
}

.gauge-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.gauge-unit {
    font-size: 0.65rem;
    font-weight: 700;
    color: #00ff87;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

.visual-battery .safiris-device-mock {
    position: absolute;
    z-index: 10;
}

/* Connectivity Visual Effects */
.visual-connectivity {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05), rgba(0, 242, 254, 0.05)) !important;
}

.wifi-pulses {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wifi-pulses span {
    position: absolute;
    border: 2px solid rgba(79, 172, 254, 0.15);
    border-radius: 50%;
    animation: radar 3s infinite ease-out;
}

.wifi-pulses .pulse-1 { width: 140px; height: 140px; animation-delay: 0s; }
.wifi-pulses .pulse-2 { width: 190px; height: 190px; animation-delay: 1s; }
.wifi-pulses .pulse-3 { width: 240px; height: 240px; animation-delay: 2s; }

@keyframes radar {
    0% { transform: scale(0.6); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Climate Visual Effects */
.visual-climate {
    background: #0f1322 !important;
}

.climate-split-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
}

.bg-cold {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, transparent 100%);
}

.bg-hot {
    flex: 1;
    background: linear-gradient(315deg, rgba(255, 59, 48, 0.15) 0%, transparent 100%);
}

.climate-slider-bar {
    position: absolute;
    bottom: 20px;
    width: 85%;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.temp-label {
    font-size: 0.7rem;
    font-weight: 700;
}

.label-cold {
    color: #00f2fe;
}

.label-hot {
    color: #ff3b30;
}

.slider-gradient {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, #00f2fe, #00ff87, #ff9f0a, #ff3b30);
    border-radius: 2px;
    position: relative;
}

.slider-thumb {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(255,255,255,0.8);
}

/* Bottom Inline Badges Styles */
.reliability-bottom-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.badge-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.badge-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.badge-icon svg {
    width: 18px;
    height: 18px;
}

.badge-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.badge-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Responsive Overrides */
@media (max-width: 980px) {
    .reliability-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reliability-bottom-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .reliability-card {
        flex-direction: column;
    }
    
    .reliability-card .card-visual {
        border-left: none;
        border-top: 1px solid var(--border-color);
        min-height: 200px;
    }
    
    .reliability-bottom-badges {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Light Theme Overrides */
body.safiris-body.light-theme .reliability-card .card-icon {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.safiris-body.light-theme .reliability-card .card-visual {
    background: rgba(0, 0, 0, 0.02);
}

body.safiris-body.light-theme .reliability-card .badge-pill {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
    color: #475569;
}

body.safiris-body.light-theme .badge-icon {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
    .hero-grid {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    .hero-desc, .hero-quote {
        margin: 0 auto 30px auto;
    }
    .hero-ctas {
        justify-content: center;
    }
}

