/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --radius: 1.5rem;
    --background: #ffffff;
    --foreground: #1c1c1c;
    --card: #ffffff;
    --card-foreground: #1c1c1c;
    --popover: #ffffff;
    --popover-foreground: #1c1c1c;
    --primary: #1c1c1c;
    --primary-foreground: #fafafa;
    --secondary: #f4f4f5;
    --secondary-foreground: #1c1c1c;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --accent: #f4f4f5;
    --accent-foreground: #1c1c1c;
    --destructive: #ef4444;
    --border: #e4e4e7;
    --input: #e4e4e7;
    --ring: #1c1c1c;
}

* {
    border-color: var(--border);
}

/* ============================================
   BASE STYLES & TYPOGRAPHY
   ============================================ */
body {
    background-color: #ffffff !important;
    color: var(--foreground);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    animation: fadeInPage 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    background-color: #ffffff !important;
}

/* ============================================
   LAYOUT & STRUCTURE
   ============================================ */
section {
    position: relative;
    border-radius: 2.5rem;
    margin: 1rem 0.5rem;
    overflow: hidden;
}

section.bg-white.border-y:has(#device-showcase-container) {
    overflow: visible;
}

#device-showcase-container {
    background-color: #000000 !important;
    border-radius: 2.5rem;
}

/* ============================================
   COMPONENTS - BUTTONS
   ============================================ */
button,
a[class*="bg-primary"],
a[class*="border-primary"] {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-square {
    border-radius: 1rem !important;
}

button:hover,
a[class*="hover:shadow"]:hover {
    transform: translateY(-1px);
}

button:active,
a[class*="bg-primary"]:active {
    transform: translateY(0);
}

/* Call Now Button */
.btn-call-now {
    background-color: #007aff !important;
    color: white !important;
    border: none !important;
}

.btn-call-now:hover {
    background-color: #0063cc !important;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3) !important;
}

.btn-call-now:active {
    background-color: white !important;
    color: #007aff !important;
    transform: scale(0.98);
}

/* Frosted Green Button */
.btn-frosted-green {
    background-color: rgba(37, 211, 102, 0.1) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    color: #16a34a !important;
}

.btn-frosted-green:hover {
    background-color: rgba(37, 211, 102, 0.2) !important;
    border-color: rgba(37, 211, 102, 0.5) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2) !important;
}

/* Get Estimate Button */
.btn-get-estimate {
    background-color: #001f3f !important;
    color: white !important;
    border: 2px solid #001f3f !important;
    animation: shake-with-pause 10s ease-in-out infinite;
}

.btn-get-estimate:hover {
    background-color: #003366 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.4) !important;
}

/* Back button override */
.no-hover-animation:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Dynamic Warranty Button */
.btn-dynamic-warranty {
    font-size: clamp(0.7rem, 2.5vw, 1rem) !important;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.5rem) !important;
    gap: clamp(0.25rem, 1.5vw, 0.75rem) !important;
    width: min(100%, fit-content);
    max-width: 100%;
    white-space: nowrap;
}

.btn-dynamic-warranty svg {
    width: clamp(1rem, 3vw, 1.25rem) !important;
    height: clamp(1rem, 3vw, 1.25rem) !important;
    flex-shrink: 0;
}

/* ============================================
   COMPONENTS - CARDS
   ============================================ */
.service-card,
.bg-white.border {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.bg-white.border:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    z-index: 100;
}

.card-frosted-green {
    background-color: rgba(37, 211, 102, 0.05) !important;
    border-color: rgba(37, 211, 102, 0.4) !important;
}

.card-frosted-green:hover {
    background-color: rgba(37, 211, 102, 0.1) !important;
    border-color: rgba(37, 211, 102, 0.6) !important;
}

.gradient-overlay {
    position: relative;
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(28, 28, 28, 0.05) 0%,
            transparent 50%,
            rgba(28, 28, 28, 0.05) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gradient-overlay:hover::before {
    opacity: 1;
}

/* ============================================
   COMPONENTS - FORMS
   ============================================ */
input,
textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus,
textarea:focus {
    transform: translateY(-1px);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.1),
        0 0 20px rgba(28, 28, 28, 0.05);
}

button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 28, 28, 0.1),
        0 0 20px rgba(28, 28, 28, 0.05);
}

/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite;
}

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

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

.text-fade-in {
    animation: textFadeIn 0.5s ease-in-out forwards;
}

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

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

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

@keyframes shake-with-pause {
    0% {
        transform: translateX(0);
    }
    2%, 6%, 10%, 14%, 18% {
        transform: translateX(-5px);
    }
    4%, 8%, 12%, 16% {
        transform: translateX(5px);
    }
    20%, 100% {
        transform: translateX(0);
    }
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

/* Scroll-triggered animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   SECTION-SPECIFIC STYLES
   ============================================ */

/* Step Content */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Success Overlay */
.success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.success-overlay.active {
    display: flex;
}

/* Service Card Slider */
.service-card-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-image.active {
    z-index: 1;
}

.service-card-image.slide-in {
    animation: slideIn 0.5s ease-in-out forwards;
    z-index: 2;
}

.service-card-image.slide-out {
    animation: slideOut 0.5s ease-in-out forwards;
    z-index: 1;
}

/* Navbar */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Brand Name */
.brand-name {
    font-size: clamp(0.85rem, 4vw, 1.125rem);
    white-space: nowrap;
    transition: font-size 0.3s ease;
}

/* Logo */
.logo-main {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-main:hover,
button:hover i[data-lucide],
a:hover i[data-lucide] {
    transform: scale(1.1);
}

/* Icons */
i[data-lucide] {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   LIQUID GLASS EFFECT
   ============================================ */
.liquid-glass-effect {
    position: relative;
    isolation: isolate;
    background-color: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: none !important;
    border: none !important;
}

.liquid-glass-effect::before,
.liquid-glass-effect::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.liquid-glass-effect::before {
    backdrop-filter: blur(3px) !important;
    filter: url(#glass-distortion) !important;
    z-index: -1;
    transform: translateZ(0);
}

.liquid-glass-effect::after {
    box-shadow: inset 2px 2px 1px 0 rgb(255 255 255 / 50%), inset -1px -1px 1px 1px rgb(255 255 255 / 50%);
    z-index: 1;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: white !important;
    color: #25D366 !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float.liquid-glass-effect {
    background-color: rgba(255, 255, 255, 0.4) !important;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5), 0 4px 8px rgba(0, 0, 0, 0.16);
}

.whatsapp-float:active {
    transform: translateY(-2px) scale(1.05);
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #333;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease 0.5s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transition-delay: 0.5s;
}

/* ============================================
   MATERIAL UI ELEVATION
   ============================================ */
.shadow-md {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.shadow-lg {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16), 0 2px 4px rgba(0, 0, 0, 0.12);
}

.shadow-xl {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.16);
}

.shadow-lg,
.shadow-md,
.shadow-xl {
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   CAROUSEL NAVIGATION
   ============================================ */
.carousel-nav-btn {
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white !important;
    border: 1px solid var(--border) !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.carousel-nav-btn:hover {
    opacity: 1;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

/* ============================================
   DARK MODE SECTIONS
   ============================================ */

/* Device Showcase Dark Mode */
section.bg-white.border-y:has(#device-showcase-container) {
    background-color: #000000 !important;
    border-color: #000000 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

section.bg-white.border-y:has(#device-showcase-container) h2,
section.bg-white.border-y:has(#device-showcase-container) p {
    color: #ffffff !important;
}

section.bg-white.border-y:has(#device-showcase-container) span.inline-block {
    color: #4facfe !important;
    background-color: rgba(79, 172, 254, 0.1) !important;
    border-color: rgba(79, 172, 254, 0.3) !important;
}

section.bg-white.border-y:has(#device-showcase-container) .bg-white {
    background-color: #ffffff !important;
}

section.bg-white.border-y:has(#device-showcase-container) .border-border {
    border-color: #e4e4e7 !important;
}

section.bg-white.border-y:has(#device-showcase-container) .bg-white h3,
section.bg-white.border-y:has(#device-showcase-container) .bg-white p {
    color: #000000 !important;
}

section.bg-white.border-y:has(#device-showcase-container) #desktop-carousel-dots>div {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

section.bg-white.border-y:has(#device-showcase-container) #desktop-carousel-dots>div.bg-primary {
    background-color: #ffffff !important;
}

section.bg-white.border-y:has(#device-showcase-container) #mobile-showcase-dots>span {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

section.bg-white.border-y:has(#device-showcase-container) #mobile-showcase-dots>span.bg-white {
    background-color: #ffffff !important;
}

/* Services Section Dark Mode */
section.bg-white.border-y:has(#service-cards) {
    background-color: #000000 !important;
    border-color: #000000 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

section.bg-white.border-y:has(#service-cards) h2,
section.bg-white.border-y:has(#service-cards) p {
    color: #ffffff !important;
}

section.bg-white.border-y:has(#service-cards) span.inline-block {
    color: #4facfe !important;
    background-color: rgba(79, 172, 254, 0.1) !important;
    border-color: rgba(79, 172, 254, 0.3) !important;
}

section.bg-white.border-y:has(#service-cards) .bg-white {
    background-color: #ffffff !important;
}

section.bg-white.border-y:has(#service-cards) .border-border {
    border-color: #e4e4e7 !important;
}

section.bg-white.border-y:has(#service-cards) .bg-white h3,
section.bg-white.border-y:has(#service-cards) .bg-white p {
    color: #000000 !important;
}

section.bg-white.border-y:has(#service-cards) #service-carousel-dots>div {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

section.bg-white.border-y:has(#service-cards) #service-carousel-dots>div.bg-primary {
    background-color: #ffffff !important;
}

section.bg-white.border-y:has(#service-cards) #service-dots>span {
    background-color: rgba(255, 255, 255, 0.3) !important;
}

section.bg-white.border-y:has(#service-cards) #service-dots>span.bg-white {
    background-color: #ffffff !important;
}

/* ============================================
   IMAGE EFFECTS
   ============================================ */

/* Service card image blend effect */
#service-cards img,
#service-image-track img,
#service-carousel-track img {
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 70%, 
        rgba(0,0,0,0.8) 85%, 
        rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 70%, 
        rgba(0,0,0,0.8) 85%, 
        rgba(0,0,0,0) 100%);
}

/* Showcase images blend mode */
#device-showcase-container img {
    mix-blend-mode: multiply;
    filter: contrast(1.1) brightness(1.05);
}

#desktop-showcase-track img,
#mobile-showcase-track img {
    mix-blend-mode: darken;
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 400px) {
    nav .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .btn-get-estimate {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        font-size: 0.75rem !important;
    }
    
    .flex.items-center.gap-4 {
        gap: 0.5rem !important;
    }
}



/* ============================================
   UTILITY CLASSES
   ============================================ */
#device-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

#device-list .device-card {
    width: calc(50% - 0.5rem);
    max-width: 200px;
    aspect-ratio: 1;
}

@media (min-width: 768px) {
    #device-list .device-card {
        width: calc(33.333% - 0.67rem);
    }
}

/* FAQ Section - Remove hover effects */
#faq .border:hover {
    transform: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

#faq .border button:hover {
    background-color: transparent !important;
    box-shadow: none !important;
}

#faq .border .px-6 {
    box-shadow: none !important;
}

/* Review Cards - Static with clean borders */
.review-card {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}

.review-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.review-card::before,
.review-card::after {
    display: none !important;
}

#reviews-list .review-card {
    border: 1px solid #e5e7eb !important;
    border-radius: 1rem !important;
    background-color: #ffffff !important;
}

/* Blog Cards - Remove hover effects */
#blog-posts article {
    transform: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: none !important;
}

#blog-posts article:hover {
    transform: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

#blog-posts article::before,
#blog-posts article::after {
    display: none !important;
}

html::before, html::after,
body::before, body::after {
    display: none !important;
}

/* Hamburger Icon Animation */
.hamburger-icon {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #1c1c1c;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* When menu is open (active state) */
.hamburger-icon.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-icon.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-icon.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Accessibility - Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Override to remove any blue glow effects */
html, body, main {
    box-shadow: none !important;
}

main::before, main::after {
    display: none !important;
}

/* Blog Cards - Remove hover effects */
#blog-posts article {
    transform: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: none !important;
}

#blog-posts article:hover {
    transform: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

#blog-posts article::before,
#blog-posts article::after {
    display: none !important;
}

html::before, html::after,
body::before, body::after {
    display: none !important;
}

/* Service Tabs Styling - Simplified */
.service-tab {
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    background-color: #f4f4f5;
    color: #71717a;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex: 1;
    text-align: center;
    line-height: 1.3;
}

.service-tab.active {
    background-color: #3b82f6;
    color: white;
}

/* Service Content */
.service-content {
    display: none;
    opacity: 0;
}

.service-content.active {
    display: block;
    animation: slideIn 0.4s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Step Number Boxes - Blue Theme */
.step-number-box {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #3b82f6;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

/* Step Content Styling */
.service-step h4 {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.4;
    color: #1c1c1c;
    margin-bottom: 0.5rem;
}

.service-step p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #71717a;
}

/* Sequential animation for steps */
.service-step {
    opacity: 0;
    animation: stepFadeIn 0.5s ease-out forwards;
}

.service-step[data-step="1"] {
    animation-delay: 0.1s;
}

.service-step[data-step="2"] {
    animation-delay: 0.2s;
}

.service-step[data-step="3"] {
    animation-delay: 0.3s;
}

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

/* Responsive step icons */
@media (max-width: 768px) {
    .step-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .step-icon i {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .service-step h4 {
        font-size: 1rem;
    }
    
    .service-step p {
        font-size: 0.875rem;
    }
}

/* How It Works Card Styling */
.how-it-works-card {
    animation: cardFadeIn 0.6s ease-out;
}

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

/* Blue Connecting Lines Between Steps - Center to Center */
.service-step {
    position: relative;
}

.service-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    width: 2.5px;
    height: calc(100% - 2.5rem + 2rem);
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    z-index: 0;
}

/* Ensure number box is above the line */
.step-number-box {
    position: relative;
    z-index: 1;
}

/* Responsive connecting lines */
@media (max-width: 768px) {
    .service-step:not(:last-child)::after {
        left: 1rem;
        top: 2rem;
        height: calc(100% - 2rem + 2rem);
    }
}

/* Vertical Divider Between How It Works and Device Selection */
.lg\:w-2\/5::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #e4e4e7;
    display: none;
}

@media (min-width: 1024px) {
    .lg\:w-2\/5 {
        position: relative;
    }
    
    .lg\:w-2\/5::after {
        display: block;
    }
}

/* ============================================
   PREMIUM BLOG ARTICLE STYLES
   ============================================ */

/* Article Typography */
#article-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1c1c1c;
    max-width: 800px;
    margin: 0 auto;
}

#article-content .lead-text {
    font-size: 1.375rem;
    line-height: 1.6;
    color: #374151;
    font-weight: 400;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #1c1c1c;
    border-radius: 0.5rem;
}

#article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1c1c;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

#article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}

#article-content p {
    margin-bottom: 1.5rem;
    color: #4b5563;
    font-weight: 400;
}

#article-content .info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    padding: 1.75rem;
    margin: 2rem 0;
    border-radius: 0.75rem;
}

#article-content .expert-tip {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 1.75rem;
    margin: 2.5rem 0;
    border-radius: 0.75rem;
}

#article-content .conclusion {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #1c1c1c;
    font-weight: 500;
    margin-top: 3rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 0.75rem;
    border-left: 4px solid #1c1c1c;
}
