/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #265fd9;
    --primary-blue-dark: #1a4ab0;
    --text-dark: #0a0a0a;
    --text-secondary: #48494a;
    --text-subdued: #7c7d7f;
    --text-disabled: #b1b1b2;
    --bg-light: #f7f8fa;
    --bg-white: #ffffff;
    --bg-gray: #eef0f1;
    --bg-pressed: #d8d9da;
    --border-default: #eef0f1;
    --border-subdued: #f7f8fa;
    --border-disabled: #d8d9da;
    --purple-dark: #841dbe;
    --purple-light: #f9f2fd;
    --purple-border: #ead4f6;
    --blue-light-bg: #f0f4fc;
    --blue-light-border: #dce4f4;
    --black: #1a1a1a;
    
    /* Spacing */
    --spacing-4: 4px;
    --spacing-8: 8px;
    --spacing-12: 12px;
    --spacing-16: 16px;
    --spacing-24: 24px;
    --spacing-32: 32px;
    --spacing-40: 40px;
    --spacing-48: 48px;
    --spacing-64: 64px;
    --spacing-80: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 64px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bricolage Grotesque', sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 16px;
    left: 64px;
    right: 64px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 12px 24px;
}

.nav-glass-bg {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 24px 2px rgba(0,0,0,0.08);
    z-index: -1;
}

.nav-glass-bg-dark {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    border-radius: 12px;
    box-shadow: 0px 4px 24px 2px rgba(0,0,0,0.08);
    z-index: -1;
}

.nav-logo {
    width: 160px;
    height: 40px;
    object-fit: contain;
}

.nav-language {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-gray);
    border: 1px solid var(--border-default);
    padding: 4px 8px;
    border-radius: 8px;
    height: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-subdued);
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-language:hover {
    background: var(--bg-pressed);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-dark);
}

.nav-links a.active {
    color: var(--primary-blue);
    font-weight: 500;
}

.nav-right {
    gap: 10px;
}

/* Buttons */
.btn-primary-nav, .btn-primary {
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    border: 1px solid var(--primary-blue-dark);
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 104px;
    height: 40px;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.btn-primary-nav:hover, .btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary-nav, .btn-secondary {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    min-width: 104px;
    height: 40px;
    transition: background 0.3s ease;
}

.btn-secondary-nav:hover, .btn-secondary:hover {
    background-color: var(--bg-pressed);
}

.btn-link {
    background-color: var(--bg-gray);
    border: 1px solid var(--black);
    color: var(--text-dark);
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    min-width: 104px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background-color: var(--bg-pressed);
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #8ad1fa 0%, #ffffff 47.5%, #ffffff 100%);
    padding: 160px 64px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 100vh;
}

.hero-content {
    max-width: 1312px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.new-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 4px solid var(--border-default);
    padding: 4px 12px;
    border-radius: 160px;
    font-size: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.new-badge:hover {
    transform: scale(1.02);
}

.badge-text {
    background: var(--bg-gray);
    padding: 2px 4px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    color: var(--text-dark);
}

.badge-message {
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 80px;
    max-width: 792px;
    margin: 12px 0;
    text-align: center;
    color: var(--text-dark);
    font-variation-settings: 'opsz' 14, 'wdth' 100;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 32px;
    max-width: 792px;
    margin: 0 auto 48px;
    text-align: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 550px;
    margin: 48px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-mockup {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: auto;
    transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
    z-index: 1;
}

.dashboard-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 8px 40px rgba(0,0,0,0.15));
    border-radius: 12px;
}

/* Floating Medical Icons */
.float-icon {
    position: absolute;
    z-index: 2;
}

.icon-1 {
    top: 10%;
    right: 30%;
    width: 40px;
    animation: float 4s ease-in-out infinite;
}

.icon-2 {
    top: 40%;
    left: 5%;
    width: 55px;
    animation: float 5s ease-in-out infinite 0.5s;
}

.icon-3 {
    bottom: 15%;
    left: 15%;
    width: 45px;
    animation: float 4.5s ease-in-out infinite 1s;
}

.icon-4 {
    bottom: 10%;
    right: 10%;
    width: 35px;
    animation: float 5.5s ease-in-out infinite 1.5s;
}

.icon-5 {
    top: 15%;
    right: 15%;
    width: 32px;
    animation: float 4.2s ease-in-out infinite 2s;
}

.icon-6 {
    top: 12%;
    left: 25%;
    width: 28px;
    animation: float 4.8s ease-in-out infinite 2.5s;
}

.icon-7 {
    top: 45%;
    right: 8%;
    width: 36px;
    animation: float 5.2s ease-in-out infinite 3s;
}

.icon-8 {
    bottom: 18%;
    left: 18%;
    width: 40px;
    animation: float 4.6s ease-in-out infinite 3.5s;
}

.icon-9 {
    bottom: 12%;
    right: 35%;
    width: 18px;
    animation: float 5.8s ease-in-out infinite 4s;
}

.icon-10 {
    bottom: 15%;
    left: 42%;
    width: 38px;
    animation: float 4.4s ease-in-out infinite 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(8deg);
    }
}

/* Partners Section */
.partners-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.partners-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-subdued);
    text-align: center;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.partner-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

/* We Innovate Section */
.we-innovate {
    background: white;
    padding: 40px 0 32px;
}

.section-title {
    font-size: 56px;
    font-weight: 500;
    line-height: 64px;
    max-width: 811px;
    margin-bottom: 32px;
    font-variation-settings: 'opsz' 14, 'wdth' 100;
}

.tab-selector {
    background: white;
    border: 1px solid var(--border-subdued);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    height: 56px;
}

.tab-btn {
    background: var(--bg-gray);
    border: 1px solid var(--border-default);
    color: var(--text-subdued);
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    height: 32px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--bg-pressed);
}

.tab-btn.active {
    background: white;
    border: none;
    color: var(--primary-blue);
}

.tab-content {
    background: var(--blue-light-bg);
    border: 1px solid var(--blue-light-border);
    border-radius: 12px;
    padding: 40px;
    display: none;
    gap: 24px;
}

.tab-content.active {
    display: flex;
}

.tab-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-text h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    font-variation-settings: 'opsz' 14, 'wdth' 100;
}

.tab-text .text-muted {
    color: var(--text-subdued);
}

.tab-text p {
    font-size: 16px;
    color: var(--text-subdued);
    line-height: 24px;
    margin-bottom: 12px;
}

.tab-actions {
    display: flex;
    gap: 16px;
    margin-top: 28px;
}

.tab-image {
    position: relative;
    width: 532px;
    flex-shrink: 0;
}

.image-gradient {
    background: linear-gradient(180deg, #83bcdb 0%, #91c2ca 50%, #86bdd7 100%);
    border-radius: 8px;
    height: 464px;
}

.tab-visual {
    position: absolute;
    bottom: 84px;
    left: 0;
    width: 100%;
    height: 380px;
    object-fit: contain;
}

/* Comparison Section */
.comparison-section {
    background: linear-gradient(180deg, #ffffff 0%, #ead4f6 100%);
    padding: 40px 64px;
    position: relative;
    overflow: hidden;
}

.comparison-section .container {
    display: flex;
    gap: 120px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.comparison-point {
    background: var(--purple-light);
    border: 1px solid var(--purple-border);
    border-radius: 12px;
    padding: 24px;
    max-width: 435px;
    width: 100%;
}

.comparison-point h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    color: var(--purple-dark);
    margin-bottom: 24px;
    font-variation-settings: 'opsz' 14, 'wdth' 100;
}

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

.point-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 4px;
}

.point-item p {
    font-size: 16px;
    color: var(--text-subdued);
    line-height: 24px;
}

.vs-badge {
    background: var(--purple-light);
    border: 1px solid var(--purple-border);
    border-radius: 72px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 500;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Journey Section */
.journey-section {
    background: var(--bg-light);
    padding: 88px 64px;
}

.journey-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 72px;
}

.journey-header h2 {
    font-size: 80px;
    font-weight: 500;
    line-height: 80px;
    max-width: 908px;
    font-variation-settings: 'opsz' 14, 'wdth' 100;
}

.journey-content {
    display: flex;
    gap: 56px;
}

.journey-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-gray);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-card.active {
    background: var(--blue-light-bg);
    border-color: var(--blue-light-border);
}

.info-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 32px;
}

.info-card.active h4 {
    color: var(--primary-blue);
}

.info-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 24px;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(2, 337px);
    gap: 16px;
    flex-shrink: 0;
}

.step-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step-image {
    width: 100%;
    height: 157px;
    object-fit: cover;
    background: var(--bg-pressed);
}

.step-info {
    background: var(--bg-gray);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 104px;
}

.step-info h5 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.step-info p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 24px;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--black);
    padding: 88px 64px;
}

.testimonial-card {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.testimonial-video {
    position: relative;
    width: 372px;
    height: 479px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.testimonial-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-content {
    background: var(--bg-gray);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-subdued);
    line-height: 24px;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    gap: 10px;
    align-items: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--text-dark);
}

.author-title {
    font-size: 12px;
    line-height: 16px;
    color: var(--text-subdued);
}

.testimonial-nav {
    display: flex;
    gap: 4px;
}

.nav-arrow {
    background: var(--bg-gray);
    border: none;
    border-radius: 120px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-arrow:hover {
    background: var(--bg-pressed);
}

/* FAQs Section */
.faqs-section {
    background: var(--black);
    padding: 88px 64px;
}

.faqs-section .container {
    display: flex;
    gap: 24px;
}

.faq-header {
    flex: 1;
    max-width: 485px;
}

.faq-header h2 {
    font-size: 96px;
    font-weight: 700;
    line-height: 96px;
    color: white;
    margin-bottom: 24px;
    font-variation-settings: 'opsz' 14, 'wdth' 100;
}

.faq-header p {
    font-size: 20px;
    line-height: 32px;
    color: var(--text-subdued);
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: var(--bg-gray);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: white;
}

.faq-item h4 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: white;
    padding: 80px 64px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 64px;
    gap: 10px;
}

.footer-logo {
    width: 160px;
    height: 40px;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    gap: 8px;
}

.footer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 173px;
}

.footer-nav-group h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 0;
}

.footer-nav-group a, .footer-address {
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-group a:hover {
    color: var(--text-dark);
}

.footer-address {
    color: var(--text-subdued);
    font-weight: 500;
}

.footer-contact {
    width: 233px;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.social-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.7;
}

.footer-badges {
    display: flex;
    gap: 24px;
    align-items: center;
}

.compliance-badge {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-middle {
    margin-bottom: 32px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.app-store-buttons {
    display: flex;
    gap: 12px;
}

.store-button {
    background: var(--black);
    border-radius: 8px;
    padding: 12px 20px 12px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.store-button:hover {
    opacity: 0.9;
}

.store-label {
    font-size: 12px;
    line-height: 16px;
    color: var(--text-disabled);
}

.store-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: white;
}

.footer-divider {
    height: 1px;
    background: var(--border-subdued);
    margin-bottom: 64px;
}

.footer-bottom {
    display: flex;
    gap: 48px;
    align-items: center;
}

.footer-copyright {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-disabled);
}

.footer-legal-links {
    display: flex;
    gap: 48px;
}

.footer-legal-links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .navbar {
        left: 40px;
        right: 40px;
    }

    .hero-title {
        font-size: 64px;
        line-height: 68px;
    }

    .section-title {
        font-size: 48px;
        line-height: 56px;
    }

    .tab-content {
        flex-direction: column;
    }

    .tab-image {
        width: 100%;
    }

    .comparison-section .container {
        flex-direction: column;
        gap: 40px;
    }

    .journey-content {
        flex-direction: column;
    }

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

    .testimonial-card {
        flex-direction: column;
    }

    .testimonial-video {
        width: 100%;
    }

    .faqs-section .container {
        flex-direction: column;
    }

    .faq-header {
        max-width: 100%;
    }
}

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

    .navbar {
        flex-direction: column;
        gap: 12px;
        left: 20px;
        right: 20px;
    }

    .nav-left, .nav-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 140px 20px 40px;
    }

    .hero-title {
        font-size: 40px;
        line-height: 44px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .hero-visual {
        height: 400px;
    }

    .journey-header {
        flex-direction: column;
        gap: 24px;
    }

    .journey-header h2 {
        font-size: 48px;
        line-height: 56px;
    }

    .journey-steps {
        grid-template-columns: 1fr;
    }

    .faq-header h2 {
        font-size: 56px;
        line-height: 64px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 16px;
    }
}
