@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,600;0,800;1,400&display=swap');

:root {
    /* Clinically Pure Medical Aesthetic */
    --p-white: #ffffff;
    --p-bg: #fbfbfd; /* Apple crisp background */
    --p-accent: #00e5ff; /* Hyper-clean Cyan */
    --p-accent-deep: #007bb5; /* Medical Trust Blue */
    --p-dark: #1d1d1f; /* SF Pro Primary */
    --p-text-muted: #86868b; /* SF Pro Secondary */
    --p-border: rgba(0, 0, 0, 0.08);

    /* Surfaces & Glass */
    --glass-nav: rgba(255, 255, 255, 0.82);
    --glass-card: rgba(255, 255, 255, 0.6);

    /* Motion */
    --ease-apple: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: 0.6s var(--ease-apple);
}

/* 🧬 Core Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none !important;
    transition: all 0.3s var(--ease-apple);
}

a:hover {
    text-decoration: none !important;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--p-bg);
    color: var(--p-text);
    line-height: 1.5;
    -webkit-overflow-scrolling: touch; /* Smooth scroll for iOS */
}

/* 🛡️ Global Overflow Protection */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
}

.container, .container-fluid {
    max-width: 100% !important;
}

/* Specific overflow protection for sections, but NOT for header/nav */
section .container, section .container-fluid {
    overflow: hidden !important;
}

/* 🍎 Universal Media Fix */
img, video {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--p-dark);
}

/* 🧼 Pure White Background Base */
.clean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--p-bg);
    z-index: -2;
}

/* 💎 Premium Surface */
.glass-surface {
    background: var(--glass-pure);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid var(--glass-border);
    position: relative;
}

.glass-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--glass-noise);
    opacity: 0.03;
    pointer-events: none;
}
/* ⚡ The "Laboratory Pure" Header */
#mainHeader {
    top: 0;
    width: 100%;
}

.navbar {
    padding: 10px 0;
    min-height: 52px; /* Apple Standard Height */
    background: var(--glass-nav);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-thin);
    transition: all 0.5s var(--ease-apple);
    overflow: visible !important;
}

#mainHeader, .navbar-collapse {
    overflow: visible !important;
}

.navbar .nav-link {
    font-size: 0.75rem; /* Ultra minimal */
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--p-dark) !important;
    opacity: 0.7;
    padding: 1.2rem 1rem !important;
    text-transform: uppercase; /* Professional medical look */
    transition: all 0.3s var(--ease-apple);
}

.navbar .nav-link:hover {
    opacity: 1;
    background: rgba(0, 229, 255, 0.03);
}

/* 🍏 Apple-Style Dropdown Refinement */
.cu-dropdown {
    position: relative;
}

.cu-dropdown:hover > .apple-dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.apple-dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12) !important;
    padding: 12px !important;
    min-width: 240px !important;
    transition: all 0.4s var(--ease-apple) !important;
    margin-top: 10px !important;
        z-index: 5000 !important;
}

.apple-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.apple-dropdown-menu .dropdown-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--p-dark);
    padding: 12px 20px !important;
    border-radius: 12px;
    transition: all 0.3s var(--ease-apple);
    border: 1px solid transparent;
}

.apple-dropdown-menu .dropdown-item:hover {
    background: rgba(0, 123, 181, 0.05) !important;
    color: var(--p-accent-deep) !important;
    border-color: rgba(0, 123, 181, 0.1);
    transform: translateX(5px);
}

.dropdown-toggle::after {
    display: none !important; /* Remove bulk caret */
}

/* Responsive Dropdown fix */
@media (max-width: 991px) {
    .apple-dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        display: none;
        background: rgba(0, 122, 255, 0.03) !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 10px 20px !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
        border-left: 2px solid var(--p-accent-deep) !important;
        border-radius: 0 !important;
    }
    
    .cu-dropdown.show .apple-dropdown-menu {
        display: block;
    }
    
    .apple-dropdown-menu .dropdown-item {
        padding: 12px 0 !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        background: transparent !important;
        color: var(--p-dark) !important;
        border: none !important;
    }
    
    .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 10px;
        vertical-align: middle;
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }

    .cu-dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Precision Logo */
.navbar-brand {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    color: var(--p-dark) !important;
}

.brand-disk {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--p-accent-deep);
    border-radius: 4px; /* Square/Lab style */
    position: relative;
    margin-right: 12px;
    background: linear-gradient(135deg, #fff, var(--p-bg));
}

.brand-disk::after {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--p-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 1px;
}

/* Luxury Action Button */
.btn-magnet {
    background: var(--p-accent-deep);
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-apple);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 123, 181, 0.15);
}

.btn-magnet:hover {
    background: var(--p-dark);
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(0, 123, 181, 0.25);
}

/* ─── Animated Hamburger ─────────────────────────────────────────────────── */
.hamburger-btn {
    width: 32px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    cursor: pointer;
    background: none !important;
    border: none !important;
}

.ham-line {
    display: block;
    height: 2px;
    border-radius: 4px;
    background: var(--p-dark);
    transition: all 0.3s var(--ease-apple);
}

.ham-line-1 { width: 100%; }
.ham-line-2 { width: 100%; }
.ham-line-3 { width: 100%; }

.hamburger-btn[aria-expanded="true"] .ham-line-1 {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .ham-line-2 {
    opacity: 0;
}
.hamburger-btn[aria-expanded="true"] .ham-line-3 {
    transform: translateY(-9px) rotate(-45deg);
}

/* 🚀 Immersive Floating Slider Stage */
.hero-wrapper {
    width: 100%;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    background: var(--p-white);
    aspect-ratio: 21 / 8; /* Panoramic cinematic ratio matching reference */
}

main {
    padding-top: 72px;
}

.home-page main {
    padding-top: 0;
}

@media (max-width: 991px) {
    main {
        padding-top: 70px;
    }
    .home-page main {
        padding-top: 0;
    }
}

@media (max-width: 991px) {
    .hero-wrapper {
        aspect-ratio: 4 / 5; /* Better mobile proportion */
        margin-top: 0;
    }
}

.slide {
    transition: opacity var(--transition-slow);
}

.slide-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 12s linear;
    transform: scale(1.1); /* Start slightly zoomed for the drone effect */
}

.slide.active .slide-bg-media img {
    transform: scale(1);
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.4) 0%, transparent 70%);
    z-index: 5;
    pointer-events: none;
}

.slide:nth-child(even)::after {
    background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.4) 0%, transparent 70%);
}

/* 🏷️ Apple Style Trust Indicators */
.slider-trust-badges {
    position: absolute;
    bottom: 30px;
    left: 40px;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 25px;
    background: rgba(245, 246, 250, 0.7); /* Lighter gray/white pill from image */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2b3a67;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-item i {
    font-size: 0.9rem;
    color: var(--p-accent-deep);
}

.badge-text {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.badge-divider {
    width: 1px;
    height: 14px;
    background: rgba(0, 0, 0, 0.1);
    align-self: center;
}

@media (max-width: 768px) {
    .slider-trust-badges {
        left: 20px;
        bottom: 80px; /* Above mobile controls */
        padding: 8px 16px;
        gap: 12px;
    }
    .badge-text { font-size: 0.55rem; }
}

/* 🎛️ Apple Premium Slider Control Unit - UX Optimized */
/* 🎛️ Reference Based Control Unit */
.slider-control-unit {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s var(--ease-apple);
}

.slider-control-unit:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.slider-arrow i, .slider-dot {
    pointer-events: none;
}

/* Dots inside unit */
.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2b3a67;
    opacity: 0.2;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-apple);
}

.slider-dot.active {
    opacity: 1;
    width: 12px;
    border-radius: 10px;
}

/* Arrows inside unit */
.slider-arrows {
    display: flex;
    gap: 16px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    padding-left: 16px;
}

.slider-arrow {
    background: none;
    border: none;
    color: #2b3a67;
    font-size: 0.75rem;
    opacity: 0.5;
    padding: 0 4px;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
}

.slider-arrow:hover {
    opacity: 1;
    color: var(--p-accent-deep);
}

@media (max-width: 768px) {
    .slider-control-unit {
        right: 20px;
        bottom: 30px; /* Positioned at the bottom-right corner on mobile */
        left: auto;
        transform: none;
        padding: 8px 18px;
        gap: 12px;
    }
}

.slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--p-accent);
    z-index: 1050;
}

.slide-content-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 8%;
    z-index: 100;
}

.slide:nth-child(even) .slide-content-overlay {
    justify-content: flex-end;
}

.slide:nth-child(even) .content-box {
    text-align: right;
}

.slide-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease-in-out, visibility 0.9s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg-media {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-bg-media picture {
    width: 100%;
    height: 100%;
}

.slide-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Consistently styled overlay */
.slide-content-overlay {
    color: var(--p-white);
    transition: all 0.5s ease;
}

/* 📝 Reference Based Typography */
.title-main-box {
    display: inline-block;
    background: #2b3a67; /* The iconic dark blue box */
    color: #fff;
    padding: 10px 35px;
    border-radius: 10px;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 5px;
    box-shadow: 0 10px 30px rgba(43, 58, 103, 0.15);
}

.title-sub {
    font-size: 4.5rem;
    font-weight: 900;
    color: #2b3a67;
    line-height: 0.9;
    letter-spacing: -2px;
}

.slide-desc {
    max-width: 550px;
    font-size: 1.1rem;
    color: #555c70;
    line-height: 1.6;
    margin-top: 25px;
}

@media (max-width: 991px) {
    .title-main-box { font-size: 2.2rem; padding: 8px 20px; }
    .title-sub { font-size: 2.5rem; }
    .slide-desc { font-size: 0.9rem; max-width: 90%; }
}

.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    transform: translateY(50px);
    opacity: 0;
    transition: 1.2s 0.7s var(--ease-out-expo);
}

.slide-desc {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 500px;
    margin-bottom: 3rem;
    transform: translateY(30px);
    opacity: 0;
    transition: 1s 0.9s var(--ease-out-expo);
}

.slide.active .slide-tag,
.slide.active .slide-title,
.slide.active .slide-desc {
    transform: translateY(0);
    opacity: 1;
}

/* 🧭 Contained Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    right: 50px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.slider-nav button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--p-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.slider-nav button:hover {
    background: var(--p-gold);
    color: var(--p-white);
    transform: scale(1.1) rotate(5deg);
}

.slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--p-accent);
    z-index: 1001;
    box-shadow: 0 0 15px var(--p-accent-glow);
}

/* 🔘 Apple Style Button */
.btn-magnet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--p-dark);
    color: var(--p-white) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.8rem 2rem;
    border-radius: 980px;
    transition: all 0.3s var(--ease-apple);
    box-shadow: none;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
}

.btn-magnet:hover {
    background: #333;
    transform: scale(1.02);
}

/* 📦 Clean Story Sections */
.story-section {
    padding: 120px 0 100px 0;
    position: relative;
    background: var(--p-white);
}

/* Force spacing for internal pages where the first section might hit the fixed header */
main > section.story-section:first-child,
main > section.story-section:first-of-type {
    padding-top: 80px !important;
}

@media (max-width: 991px) {
    .story-section {
        padding: 60px 0 60px 0;
    }
    main > section.story-section:first-child,
    main > section.story-section:first-of-type {
        padding-top: 60px !important;
    }
}

.story-section h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--p-dark);
}

/* 🧊 Product spotlight - Medical Precision */
.product-spotlight {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    align-items: center;
    background: var(--p-bg);
    padding: 60px;
    border-radius: 40px;
}

.spotlight-media {
    grid-column: 1 / 7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.spotlight-info {
    grid-column: 7 / 13;
}

/* 🔲 Bento Luxe - Precise Grid Management */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 24px;
}

.bento-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: var(--p-white);
    border: 1px solid var(--p-border);
    transition: all 0.7s var(--ease-apple);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.bento-card-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card-md {
    grid-column: span 2;
}

/* 🖼️ Bento Background & Layers */
.bento-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bento-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-apple);
}

.bento-card:hover .bento-bg img {
    transform: scale(1.08);
}

.bento-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 2;
}

.bento-content {
    position: relative;
    z-index: 5;
    pointer-events: none;
}

.badge-white {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
}

/* 🌑 Theme Standardization */
.bg-clean-medical {
    background: var(--p-bg);
}

.text-gradient-trust {
    background: linear-gradient(135deg, var(--p-dark), var(--p-accent-deep));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 🍎 Refined Apple-Style Vision Styling */
.vision-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--p-accent);
    box-shadow: 0 0 12px var(--p-accent);
    flex-shrink: 0;
}

.vision-dot.dot-deep {
    background: var(--p-accent-deep);
    box-shadow: 0 0 12px var(--p-accent-deep);
}

.vision-dashboard {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.08); /* Apple deep shadow */
}

.dashboard-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.dashboard-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
}

.dashboard-stats {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-pill {
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    border-radius: 20px;
    min-width: 160px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white; /* Make text white */
}

.stat-pill.stat-accent {
    background: var(--p-accent-deep);
    color: white;
    border: none;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.8; /* Increased opacity for white text */
    margin-top: 5px;
}

.dashboard-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    padding: 15px 30px;
    border-radius: 100px;
    z-index: 5;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    position: relative;
}

.pulse-indicator::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 2px solid #00ff88;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

@media (max-width: 991px) {
    .vision-dashboard { height: 400px; margin-top: 40px; }
    .stat-pill { padding: 15px 20px; min-width: 120px; }
    .stat-number { font-size: 1.4rem; }
}

.spotlight-media {
    grid-column: 1 / 8;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.spotlight-mask {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), transparent 0%, rgba(10, 31, 28, 0.6) 100%);
    pointer-events: none;
    z-index: 2;
}

.spotlight-info {
    grid-column: 8 / 13;
    padding-left: 40px;
}

/* [REMOVED REDUNDANT BENTO v2] */

/* 🌑 Light Mode Elements (Replaced Dark Mode) */
.bg-dark-premium {
    background-color: var(--p-white);
    color: var(--p-text) !important;
}

.bg-dark-premium .slide-title,
.bg-dark-premium h2,
.bg-dark-premium h3,
.bg-dark-premium h5,
.bg-dark-premium .text-white {
    color: var(--p-dark) !important;
}

.bg-dark-premium .slide-desc,
.bg-dark-premium p,
.bg-dark-premium .opacity-70,
.bg-dark-premium .opacity-50 {
    color: var(--p-text-muted) !important;
}

/* 🎬 Custom Animations */
.reveal-text {
    overflow: hidden;
    position: relative;
}

.reveal-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    background: var(--p-gold);
    transition: width 0.8s var(--ease-in-out-expo);
}

.reveal-text.active::after {
    width: 100%;
    right: auto;
    left: 0;
    animation: revealAnim 1.2s var(--ease-in-out-expo) forwards;
}

@keyframes revealAnim {
    0% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0;
        left: 100%;
    }
}

/* 🛠️ Utility Classes (Missing Fix) */
.text-accent {
    color: var(--p-accent) !important;
}

.text-gold {
    color: var(--p-gold) !important;
}

.text-white {
    color: var(--p-white) !important;
}

.text-dark {
    color: var(--p-dark) !important;
}

.border-accent {
    border-color: var(--p-gold) !important;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.letter-spacing-2 {
    letter-spacing: 2px !important;
}

.letter-spacing-5 {
    letter-spacing: 5px !important;
}

.border-4 {
    border-width: 4px !important;
}

.opacity-10 {
    opacity: 0.1 !important;
}

.opacity-40 {
    opacity: 0.4 !important;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.opacity-60 {
    opacity: 0.6 !important;
}

.opacity-70 {
    opacity: 0.7 !important;
}

.opacity-80 {
    opacity: 0.8 !important;
}

.opacity-100 {
    opacity: 1 !important;
}

/* Interactive Utilities */
.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition-all {
    transition: all 0.3s ease !important;
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease !important;
}

/* Structural Utilities */
.max-w-lg {
    max-width: 700px;
}

/* 💎 Premium Dark Surface for Images */
.glass-surface-dark {
    background: rgba(0, 119, 182, 0.85); /* Translucent trust blue */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1;
        padding: 100px 30px 40px 30px !important;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        border: none;
        margin: 0;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-20px);
    }

    .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-collapse .nav-link {
        font-size: 1.8rem !important;
        font-weight: 800 !important;
        color: var(--p-dark) !important;
        letter-spacing: -0.02em !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        text-transform: none !important;
        opacity: 1 !important;
    }

    .navbar-collapse .ms-auto {
        width: 100%;
        margin-top: 20px;
    }

    .navbar-collapse .d-flex {
        width: 100%;
    }

    .hero-wrapper {
        aspect-ratio: 1 / 1.2; /* Better mobile proportion */
        margin-top: 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .bento-card-lg, .bento-card-md, .bento-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 400px;
    }
}

@media (max-width: 576px) {
    .hero-wrapper {
        height: 60vh;
        border-radius: 20px;
    }

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-tag {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .slide-desc {
        font-size: 0.9rem;
    }

    .btn-magnet {
        width: 100%;
        padding: 1rem;
    }

    .technical-hud {
        display: none;
    }

    .story-section {
        padding: 80px 0;
    }

    .slider-nav {
        right: 20px;
        bottom: 20px;
    }

    .slider-nav button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* 📰 Blog Cards - Editorial Style */
.blog-card img {
    transform: scale(1);
    transition: transform 0.7s ease;
}

.blog-card:hover img {
    transform: scale(1.06);
}

/* ======================================================
   📞 FLOATING CONTACT WIDGET
   ====================================================== */
.floating-contact {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

/* Main Toggle Button */
.floating-main-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: none;
    background: var(--p-accent);
    color: var(--p-white);
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35), 0 2px 8px rgba(0, 180, 216, 0.2);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 180, 216, 0.55);
}

/* Icon toggle */
.floating-main-icon {
    position: absolute;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.close-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}
.floating-contact.is-open .open-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}
.floating-contact.is-open .close-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Pulse animation ring */
.floating-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--p-accent);
    opacity: 0;
    animation: floatPulse 2.5s ease-out infinite;
}
@keyframes floatPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Action Buttons Container */
.floating-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.floating-contact.is-open .floating-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Individual Action Button */
.floating-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.fab-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.floating-action-btn:hover .fab-icon {
    transform: scale(1.12);
}

.whatsapp-btn .fab-icon {
    background: #25D366;
    color: #fff;
}

.phone-btn .fab-icon {
    background: var(--p-accent);
    color: #fff;
    border: 1px solid rgba(0, 142, 180, 0.3);
}

/* Label pill that appears on the left */
.fab-label {
    background: rgba(10, 31, 28, 0.92);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 14px;
    border-radius: 30px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    border: 1px solid rgba(197,163,104,0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.floating-action-btn:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

/* ─── on-dark: Widget üzerinde koyu arkaplan varsa ─────────────────────── */
.floating-contact,
.floating-main-btn,
.floating-pulse,
.phone-btn .fab-icon,
.fab-label {
    transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease,
                border-color 0.4s ease, opacity 0.25s ease, transform 0.25s ease;
}

/* Koyu bölgede: ana buton → beyaz cam görünümü */
.floating-contact.on-dark .floating-main-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.floating-contact.on-dark .floating-main-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

/* Koyu bölgede: pulse ring → beyaz */
.floating-contact.on-dark .floating-pulse {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Koyu bölgede: telefon butonu → beyaz cam */
.floating-contact.on-dark .phone-btn .fab-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Koyu bölgede: etiket pill → açık renkli */
.floating-contact.on-dark .fab-label {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

/* 🍏 Apple-Style Footer Refinement */
.footer-apple {
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-brand h2 {
    letter-spacing: -1px;
}

.social-pill {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-dark);
    text-decoration: none !important;
    transition: all 0.4s var(--ease-apple);
}

.social-pill:hover {
    background: var(--p-accent-deep);
    color: white;
    transform: translateY(-3px);
}

.category-pill {
    padding: 10px 24px;
    border-radius: 100px;
    background: rgba(0,0,0,0.03);
    color: var(--p-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.4s var(--ease-apple);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.category-pill:hover {
    background: rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.category-pill.active {
    background: var(--p-dark) !important;
    color: var(--p-white) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.footer-link {
    color: var(--p-dark);
    opacity: 0.6;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    color: var(--p-accent-deep);
    padding-left: 5px;
}

.xx-small {
    font-size: 0.7rem !important;
}

@media (max-width: 768px) {
    .footer-apple {
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-link:hover {
        padding-left: 0;
    }
}

/* 🍏 Alternating Apple-Style Feature Sections */
.image-zoom-hover {
    transition: transform 1.2s var(--ease-apple);
    cursor: pointer;
}

.image-zoom-hover:hover {
    transform: scale(1.04);
}

.mb-100 {
    margin-bottom: 150px;
}

.shadow-2xl {
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
}

.apple-link.justify-content-lg-end:hover {
    padding-right: 5px;
    padding-left: 0;
}

@media (max-width: 991px) {
    .mb-100 { margin-bottom: 80px; }
    .text-lg-end { text-align: left !important; }
    .justify-content-lg-end { justify-content: flex-start !important; }
}

.bento-huge-title {
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -6px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .bento-huge-title { font-size: 5rem; letter-spacing: -3px; }
}

/* 🍏 Apple-Style Quality Statement */
.quality-statement {
    padding: 120px 0;
    text-align: center;
    background: #fbfbfd;
}

.statement-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.standard-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    background: white;
    border-radius: 100px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: var(--p-accent);
    border-radius: 50%;
    position: relative;
}

.badge-pulse::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 1px solid var(--p-accent);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.statement-main {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--p-dark);
    margin-bottom: 30px;
}

.statement-sub {
    font-size: 1.25rem;
    color: #86868b; /* Apple standard gray */
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .quality-statement { padding: 80px 0; }
    .statement-main { font-size: 1.8rem; letter-spacing: -1px; }
    .statement-sub { font-size: 1.1rem; }
}

/* 🍏 Apple-Style Video Showcase */
.video-showcase {
    padding: 100px 0;
    background: #fff;
}

.video-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 450px;
    background: #000;
    transition: all 0.6s var(--ease-apple);
    cursor: pointer;
}

.video-card:hover {
    transform: scale(0.985);
}

.video-card video, .video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 1.2s var(--ease-apple);
}

.video-card:hover video, .video-card:hover img {
    transform: scale(1.08);
}

.video-overlay {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center horizontally/vertically */
    align-items: center;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
    z-index: 5;
}

.play-button-glass {
    width: 80px;
    height: 80px;
    background: #FF0000; /* YouTube Red by default */
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    border: 1px solid #FF0000;
    transition: all 0.4s var(--ease-apple);
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.video-card:hover .play-button-glass {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.95); /* White on hover */
    border-color: white;
    color: #FF0000; /* Red icon on white background */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-info {
    text-align: center;
}

.video-info h5 {
    color: white;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
}

.video-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

/* Video Modal */
.modal-content.video-modal-content {
    background: transparent;
    border: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-close-btn {
    position: absolute;
    right: -40px;
    top: -40px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close-btn:hover {
    transform: rotate(90deg);
}

@media (max-width: 991px) {
    .modal-close-btn {
        right: 0;
        top: -50px;
    }
}

@media (max-width: 991px) {
    .video-card { height: 350px; }
}