:root {
    /* Colors extracted/inspired by logo */
    --primary-blue: #2563eb;
    --primary-green: #22c55e;
    --primary-red: #ef4444;
    --primary-yellow: #eab308;

    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --light-text: #f8fafc;
    --gray-text: #94a3b8;

    --font-main: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--gray-text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--light-text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.btn-outline:hover {
    border-color: var(--light-text);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-light {
    background-color: white;
    color: var(--dark-bg);
}

.btn-light:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Navbar space */
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 4rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Visual - Abstract Calendar */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Hero Visual - App Screenshot */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.app-preview-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    z-index: 10;
}

.app-preview-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.app-preview-card img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.card-technician {
    top: -20px;
    right: -40px;
    animation: float 6s ease-in-out infinite;
}

.card-technician i {
    color: var(--primary-yellow);
}

.card-material {
    bottom: -20px;
    left: -40px;
    animation: float 6s ease-in-out infinite 2s;
}

.card-material i {
    color: var(--primary-green);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 8rem 0;
    background-color: #0f172a;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-text);
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box.blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}

.icon-box.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
}

.icon-box.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-red);
}

.icon-box.yellow {
    background: rgba(234, 179, 8, 0.1);
    color: var(--primary-yellow);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* Hospital Section */
.hospital-section {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--dark-bg), #162032);
}

.hospital-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--primary-green);
}

.status-card {
    background: var(--dark-card);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.status-header {
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary-red);
    padding: 1rem 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-body {
    padding: 1.5rem;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-red);
    border-radius: 3px;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 30px;
}

.footer-links p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hospital-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Simple hide for mobile MVP */
    }
}

/* Eventos Section */
.eventos-section {
    padding: 8rem 0;
    background-color: var(--dark-bg);
}

.eventos-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-item.reverse {
    direction: ltr;
}

.showcase-item.reverse .showcase-text {
    order: 2;
}

.showcase-item.reverse .showcase-image {
    order: 1;
}

.showcase-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--light-text);
}

.showcase-text h3 i {
    color: var(--primary-blue);
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.showcase-text strong {
    color: var(--primary-green);
}

.showcase-image {
    position: relative;
}

.showcase-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.showcase-image img:hover {
    transform: scale(1.02);
}

.report-placeholder {
    aspect-ratio: 16/9;
    background: var(--dark-card);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
    font-size: 1.2rem;
}

.report-placeholder i {
    ```css background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-red);
    border-radius: 3px;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.footer-logo img {
    height: 30px;
}

.footer-links p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hospital-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Simple hide for mobile MVP */
    }
}

/* Eventos Section */
.eventos-section {
    padding: 8rem 0;
    background-color: var(--dark-bg);
}

.eventos-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-item.reverse {
    direction: ltr;
}

.showcase-item.reverse .showcase-text {
    order: 2;
}

.showcase-item.reverse .showcase-image {
    order: 1;
}

.showcase-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--light-text);
}

.showcase-text h3 i {
    color: var(--primary-blue);
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.8;
}

.showcase-text strong {
    color: var(--primary-green);
}

.showcase-image {
    position: relative;
}

.showcase-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.showcase-image img:hover {
    transform: scale(1.02);
}

.report-placeholder {
    aspect-ratio: 16/9;
    background: var(--dark-card);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
    font-size: 1.2rem;
}

.report-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

@media (max-width: 768px) {

    .showcase-item,
    .showcase-item.reverse {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-item.reverse .showcase-text {
        order: 0;
    }

    .showcase-text h3 {
        justify-content: center;
    }
}

/* Demo Page Styles */
.demo-hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 4rem;
    align-items: flex-start;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    z-index: 10;
    position: relative;
}

.info-box {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary-blue);
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.demo-form-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--light-text);
    font-size: 1.1rem;
    /* Increased size */
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    /* Increased padding */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: white;
    font-family: var(--font-main);
    font-size: 1.1rem;
    /* Increased size */
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

.file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload input[type=file] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--gray-text);
    transition: var(--transition);
    font-size: 1.1rem;
    /* Increased size */
}

.file-upload:hover .file-label {
    border-color: var(--primary-blue);
    color: var(--light-text);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
    }
}


/* Demo Visual Arrow */
.demo-visual-arrow {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}

.arrow-logo {
    height: 300px;
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.3));
}

.arrow-container {
    font-size: 3rem;
    color: var(--primary-green);
    /* Using green from logo */
    display: flex;
    justify-content: center;
}

/* Arrow Animation */
.bounce-right {
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(10px);
    }

    60% {
        transform: translateX(5px);
    }
}

/* Mobile adjustments for arrow */
@media (max-width: 768px) {
    .demo-visual-arrow {
        margin-bottom: 2rem;
    }

    .arrow-container i {
        transform: rotate(90deg);
        /* Point down on mobile */
    }

    .bounce-right {
        animation: bounceDown 2s infinite;
    }

    @keyframes bounceDown {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0) rotate(90deg);
        }

        40% {
            transform: translateY(10px) rotate(90deg);
        }

        60% {
            transform: translateY(5px) rotate(90deg);
        }
    }
}