/* ============================================
   bitMedico Landing Page - Complete Styles
   ============================================ */

/* ============================================
   NAVBAR
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 2rem;
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    transition: color 0.3s ease;
}

.navbar.scrolled .logo-text {
    color: var(--dark);
}

.logo-text span {
    color: var(--primary-light);
}

.navbar.scrolled .logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.nav-link:hover {
    color: var(--primary-light);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-ghost-nav {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.navbar.scrolled .btn-ghost-nav {
    color: var(--gray-600);
    border-color: var(--gray-200);
}

.btn-ghost-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .btn-ghost-nav:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled .btn-white {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
    color: var(--dark);
}

/* ============================================
   HERO SECTION - SLIDER
============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.92) 0%, rgba(37, 99, 235, 0.88) 50%, rgba(30, 64, 175, 0.9) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
}

.hero-slide-content {
    display: none;
}

.hero-slide-content.active {
    display: block;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--accent-light);
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent);
    opacity: 0.4;
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.75rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-dots {
    display: flex;
    gap: 0.75rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hero-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--white);
}

.hero-dot.active::before {
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    width: 0%;
    z-index: 10;
    transition: width 0.1s linear;
}

/* Hero Visual - Right Side */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 60px rgba(0, 0, 0, 0.3);
    max-width: 380px;
}

.hero-image-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.hero-image-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-image-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.hero-image-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.125rem;
}

.hero-image-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.floating-element {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 0.875rem 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-element.top-right {
    top: 10px;
    right: -10px;
    animation-delay: 0.5s;
}

.floating-element.bottom-left {
    bottom: 80px;
    left: -20px;
    animation-delay: 1s;
}

.floating-element.top-left {
    top: 60px;
    left: -30px;
    animation-delay: 1.5s;
}

.floating-element i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.floating-element.top-right i {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
}

.floating-element.bottom-left i {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

.floating-element.top-left i {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.floating-element span {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark);
}

.floating-element .float-number {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.25rem 2.5rem;
    display: flex;
    gap: 3rem;
    z-index: 10;
}

.hero-stat {
    text-align: center;
    color: var(--white);
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.125rem;
}

.hero-stat-value span {
    font-size: 1rem;
    opacity: 0.7;
}

.hero-stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.125rem;
}

/* ============================================
   SECTION COMMON STYLES
============================================ */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   DOCTORS SECTION
============================================ */
.doctors-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem;
}

.doctors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.doctors-section::after {
    content: '';
    position: absolute;
    top: 100px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.doctor-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 10;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.doctor-card:hover::before {
    transform: scaleX(1);
}

.doctor-card-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.doctor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-card-image img {
    transform: scale(1.08);
}

.doctor-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.doctor-card-icon {
    position: absolute;
    bottom: -28px;
    left: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
    transition: all 0.3s ease;
}

.doctor-card:hover .doctor-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.doctor-card-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.doctor-card-body {
    padding: 2.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.doctor-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    flex: 1;
}

.doctor-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--accent-bg);
    color: var(--accent-dark);
    padding: 0.5rem 0.875rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 1rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.doctor-card:hover .doctor-card-tag {
    background: var(--accent);
    color: var(--white);
}

/* Featured card (larger) */
.doctor-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.doctor-card.featured .doctor-card-image {
    height: 200px;
}

.doctor-card.featured .doctor-card-icon {
    width: 72px;
    height: 72px;
    bottom: -36px;
}

.doctor-card.featured .doctor-card-icon i {
    font-size: 1.75rem;
}

.doctor-card.featured .doctor-card-body {
    padding: 3rem 2rem 2rem;
}

.doctor-card.featured h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.doctor-card.featured p {
    font-size: 1rem;
}

.doctor-card-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
}

.doctor-card-stat {
    text-align: center;
}

.doctor-card-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.doctor-card-stat-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-content-wrapper {
    display: flex;
    gap: 2rem;
    height: 100%;
}

.featured-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-text h3 {
    margin-bottom: 0.75rem;
}

.featured-text p {
    flex: 0;
    margin-bottom: 0;
}

.featured-text .doctor-card-stats {
    margin-top: auto;
    padding-top: 1rem;
}

.featured-text .doctor-card-tag {
    margin-top: 1rem;
}

/* Prescription mockup */
.featured-mockup {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prescription-preview {
    width: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
    position: relative;
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.doctor-card:hover .prescription-preview {
    transform: rotate(0deg) scale(1.02);
}

.prescription-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.prescription-logo {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.prescription-doctor-info {
    display: flex;
    flex-direction: column;
}

.prescription-name {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.prescription-specialty {
    font-size: 0.55rem;
    color: var(--gray-400);
}

.prescription-title {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.prescription-patient {
    background: var(--gray-100);
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.prescription-label {
    font-size: 0.5rem;
    color: var(--gray-400);
    display: block;
}

.prescription-value {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--dark);
}

.prescription-body {
    margin-bottom: 0.5rem;
}

.prescription-med {
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--gray-200);
}

.prescription-med:last-child {
    border-bottom: none;
}

.med-name {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--dark);
}

.med-dose {
    font-size: 0.5rem;
    color: var(--gray-600);
}

.prescription-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
}

.prescription-signature {
    text-align: center;
}

.signature-line {
    width: 60px;
    height: 1px;
    background: var(--dark);
    margin-bottom: 0.15rem;
}

.prescription-signature span {
    font-size: 0.45rem;
    color: var(--gray-400);
}

.prescription-qr {
    width: 32px;
    height: 32px;
    background: var(--dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.prescription-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.25;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    pointer-events: none;
}

.prescription-watermark i {
    font-size: 0.75rem;
}

/* ============================================
   FEATURES SECTION
============================================ */
.features-section {
    background: var(--white);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-row:nth-child(even) {
    direction: rtl;
}

.feature-row:nth-child(even) > * {
    direction: ltr;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-content p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--dark-soft);
}

.feature-list li i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-visual {
    position: relative;
}

.feature-mockup {
    background: var(--gray-100);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-400);
}

.mockup-dot:first-child { background: #EF4444; }
.mockup-dot:nth-child(2) { background: #F59E0B; }
.mockup-dot:nth-child(3) { background: #10B981; }

.mockup-content {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
}

.mockup-prescription {
    border: 2px dashed var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
}

.mockup-prescription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.mockup-prescription-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.mockup-prescription-header span {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.mockup-prescription-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mockup-line {
    height: 12px;
    background: var(--gray-100);
    border-radius: 4px;
}

.mockup-line.short { width: 60%; }
.mockup-line.medium { width: 80%; }
.mockup-line.full { width: 100%; }

.mockup-signature {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.mockup-stamp {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.mockup-stamp i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* ============================================
   EQUIPMENT SECTION
============================================ */
.equipment-section {
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem;
}

.equipment-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.equipment-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(37, 99, 235, 0.9) 50%, rgba(59, 130, 246, 0.88) 100%);
}

.equipment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.equipment-section .section-container {
    position: relative;
    z-index: 2;
}

.equipment-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.equipment-section .section-title {
    color: var(--white);
}

.equipment-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.equipment-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.equipment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.equipment-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.equipment-card:hover::before {
    transform: scaleX(1);
}

.equipment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.4s ease;
}

.equipment-card:hover .equipment-icon {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1) rotate(-5deg);
}

.equipment-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.equipment-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.equipment-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.equipment-card:hover .equipment-tag {
    background: var(--accent);
    border-color: var(--accent);
}

/* ============================================
   PATIENTS SECTION
============================================ */
.patients-section {
    background: var(--white);
    padding: 7rem 2rem;
}

.patients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.patient-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.patient-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.patient-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.patient-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.patient-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ============================================
   MEGACITY ID SECTION
============================================ */
.megacity-section {
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem;
}

.megacity-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.megacity-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--dark) 0%, var(--gray-600) 100%);
}

.megacity-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.megacity-content {
    padding-right: 2rem;
}

.megacity-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.megacity-logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.megacity-logo-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.megacity-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.megacity-logo-text span {
    color: var(--primary);
}

.megacity-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.megacity-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.megacity-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.megacity-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.megacity-link i {
    transition: transform 0.3s ease;
}

.megacity-link:hover i {
    transform: translateX(4px);
}

.megacity-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.megacity-feature {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.megacity-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.megacity-feature:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.megacity-feature:hover::before {
    transform: scaleY(1);
}

.megacity-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.megacity-feature:hover .megacity-feature-icon {
    transform: scale(1.1);
}

.megacity-feature-icon.security { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.megacity-feature-icon.encryption { background: rgba(16, 185, 129, 0.1); color: var(--accent); }
.megacity-feature-icon.ecosystem { background: rgba(59, 130, 246, 0.1); color: var(--primary); }
.megacity-feature-icon.search { background: rgba(245, 158, 11, 0.1); color: #F59E0B; }
.megacity-feature-icon.time { background: rgba(139, 92, 246, 0.1); color: #8B5CF6; }
.megacity-feature-icon.sync { background: rgba(6, 182, 212, 0.1); color: #06B6D4; }
.megacity-feature-icon.identity { background: rgba(236, 72, 153, 0.1); color: #EC4899; }
.megacity-feature-icon.universal { background: rgba(34, 197, 94, 0.1); color: #22C55E; }

.megacity-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.375rem;
}

.megacity-feature p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

.megacity-feature .at-tag {
    display: inline-flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Monaco', 'Consolas', monospace;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 0% 100%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-buttons .btn-ghost {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-400);
}

.footer-bottom a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1200px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doctor-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .doctor-card.featured .doctor-card-image {
        height: 160px;
    }

    .featured-mockup {
        flex: 0 0 180px;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 7rem 2rem 9rem;
    }

    .hero-subtitle {
        margin: 0 auto 1.75rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-dots {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats-bar {
        width: 90%;
        max-width: 600px;
        gap: 2rem;
        padding: 1rem 1.5rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .feature-row:nth-child(even) {
        direction: ltr;
    }

    .equipment-grid {
        grid-template-columns: 1fr 1fr;
    }

    .patients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .megacity-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .megacity-content {
        padding-right: 0;
        text-align: center;
    }

    .megacity-logo {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .featured-content-wrapper {
        flex-direction: column;
    }
    
    .featured-mockup {
        flex: 0 0 auto;
        max-width: 220px;
        margin: 0 auto;
    }
    
    .prescription-preview {
        transform: rotate(0deg);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-container {
        padding: 6rem 1.5rem 10rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats-bar {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;
        bottom: 20px;
    }

    .hero-stat {
        flex: 1 1 45%;
    }

    .hero-stat-value {
        font-size: 1.25rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctor-card.featured {
        grid-column: span 1;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .patients-grid {
        grid-template-columns: 1fr;
    }

    .megacity-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}