@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #2c7a7b; /* Teal */
    --secondary-color: #81e6d9; /* Lighter teal / accent */
    --background-gradient-start: #1a365d; /* Dark blue-ish */
    --background-gradient-end: #e6fffa; /* Very light teal/blue */
    --text-light: #f7fafc;
    --text-dark: #2d3748;
    --card-background: rgba(255, 255, 255, 0.1);
    --card-background-solid: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    background-color: var(--background-gradient-start); /* Fallback */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.top-bar, .bottom-bar {
    position: fixed;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    color: var(--text-light);
}

.top-bar {
    top: 0;
}

.bottom-bar {
    bottom: 0;
}

.logo-placeholder {
    font-weight: bold;
    font-size: 1.2em;
}

.top-bar nav span {
    cursor: pointer;
}

.share-prototype-btn, .book-demo-btn, .submit-btn, #restartBtn {
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.share-prototype-btn:hover, .book-demo-btn:hover, .submit-btn:hover, #restartBtn:hover {
    background-color: #4fd1c5; /* Slightly darker teal for hover */
}

#restartBtn {
    background-color: rgba(255,255,255,0.2);
    color: var(--text-light);
}
#restartBtn:hover {
    background-color: rgba(255,255,255,0.4);
}


.full-page-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px; /* Space for fixed bars and content */
    text-align: center;
    position: relative; /* For absolute positioning of overlays like ECG */
}

.content-container {
    max-width: 1100px;
    width: 90%;
    margin: auto;
}

/* 1. Hero Section */
.hero-section {
    background: linear-gradient(to bottom, var(--background-gradient-start) 30%, var(--background-gradient-end) 100%);
}

.hero-content h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.ecg-line-container {
    width: 100%;
    max-width: 600px; /* Control width of ECG line */
    height: 100px; /* Adjust height as needed */
    margin: 20px auto;
}

.ecg-line-container svg {
    width: 100%;
    height: 100%;
}


/* 2. Problem Statement Section */
.problem-section {
    background: var(--background-gradient-end);
    color: var(--text-dark);
}

.problem-section h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.animated-adjective {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animated-adjective.show {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Solution Section */
.solution-section {
    background: linear-gradient(to bottom, var(--background-gradient-end) 0%, var(--primary-color) 70%, var(--background-gradient-start) 100%);
}

.solution-section h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.solution-subtitle {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
}

.solution-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-card {
    background: var(--card-background);
    padding: 25px;
    border-radius: 10px;
    width: 280px; /* Fixed width for 5 items */
    min-width: 200px;
    flex-basis: calc(20% - 20px); /* 5 items per row, considering gap */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.feature-card .icon {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.feature-card p {
    font-size: 0.9em;
    color: rgba(255,255,255,0.85);
}

/* 4. Product Section */
.product-section {
    background: var(--background-gradient-end);
    color: var(--text-dark);
}

.product-section h2 {
    font-size: 2.5em;
    margin-bottom: 5px;
}
.product-section h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.product-section p {
    max-width: 700px;
    margin: 0 auto 30px auto;
}
.video-demo-placeholder {
    width: 80%;
    max-width: 700px;
    height: 400px;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #555;
    border-radius: 10px;
    margin: 20px auto;
}

/* 5. Features Detail Section */
.features-detail-section {
    background: linear-gradient(to bottom, var(--background-gradient-end) 0%, #d1e0e0 50%, var(--background-gradient-start) 100%);
    color: var(--text-dark);
}
.features-detail-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}
.features-detail-section ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}
.features-detail-section ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.features-detail-section ul li .fa-check-circle {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    align-items: start; /* Align items to the start of their grid cell */
}

.feature-image-area, .feature-list-area {
    background: var(--card-background-solid);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.feature-image-area img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}
.image-caption {
    font-style: italic;
    font-size: 0.9em;
    color: #555;
}

.bottom-features-showcase {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
    padding: 20px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
}
.feature-showcase-item {
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
}
.feature-showcase-item .fas {
    font-size: 1.5em;
}

.ar-ui-overview-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.features-detail-section h4 {
    font-size: 1.8em;
    margin-top: 30px;
    color: var(--text-light); /* Changed for better contrast on dark part of gradient */
}


/* 6. Contact Section */
.contact-section {
    background: var(--primary-color); /* Solid teal background */
    color: var(--text-light);
}
.book-demo-btn {
    margin-bottom: 40px;
    padding: 12px 25px;
    font-size: 1.1em;
    background-color: var(--text-light);
    color: var(--primary-color);
}
.book-demo-btn:hover {
    background-color: #e2e8f0; /* Lighter gray for hover */
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    width: 100%;
}
.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}
.contact-info h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}
.contact-info p {
    margin-bottom: 20px;
}
.contact-info h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: var(--secondary-color);
}
.contact-info a {
    color: var(--text-light);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    background-color: rgba(255,255,255,0.1);
    color: var(--text-light);
    font-size: 1em;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}
.form-group select option {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    background-color: var(--secondary-color);
}
.submit-btn:hover {
    background-color: #4fd1c5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .feature-card {
        flex-basis: calc(33.333% - 20px); /* 3 items per row */
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    .problem-section h2 {
        font-size: 1.8em;
    }
    .animated-adjective {
        font-size: 2.5em;
    }
    .solution-features {
        flex-direction: column;
        align-items: center;
    }
    .feature-card {
        width: 80%;
        max-width: 350px;
        flex-basis: auto;
    }
    .features-grid {
        grid-template-columns: 1fr; /* Stack on smaller screens */
    }
    .contact-layout {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8em;
    }
    .problem-section h2 {
        font-size: 1.5em;
    }
    .animated-adjective {
        font-size: 2em;
    }
    .top-bar, .bottom-bar {
        padding: 8px 10px;
        font-size: 0.9em;
    }
    .share-prototype-btn, #restartBtn {
        padding: 6px 10px;
        font-size: 0.9em;
    }
    .full-page-section {
        padding: 60px 15px;
    }
}
