/* CompassCare APP Website Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background: #FFFFFF;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #DDD6FE 0%, #E9D5FF 100%);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(49, 46, 129, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.2);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #312E81;
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 0.75rem;
    color: #6B21A8;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #DDD6FE 0%, #E9D5FF 50%, #C4B5FD 100%);
    padding: 6rem 2rem 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(221, 214, 254, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 2.5rem;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(49, 46, 129, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.hero h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #312E81;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.35rem;
    color: #6B21A8;
    margin-bottom: 3rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #312E81;
    color: white;
    padding: 1rem 2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(49, 46, 129, 0.3);
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(49, 46, 129, 0.4);
    background: #3730A3;
}

.app-store-btn.white {
    background: white;
    color: #312E81;
}

.app-store-btn.white:hover {
    background: #F9FAFB;
}

.store-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.btn-text {
    text-align: left;
}

.btn-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-text span {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: #FFFFFF;
}

.features-content {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-size: 2.75rem;
    font-weight: 900;
    color: #312E81;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.2rem;
    color: #6B7280;
    max-width: 650px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #C4B5FD;
    box-shadow: 0 12px 30px rgba(196, 181, 253, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #DDD6FE 0%, #C4B5FD 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 12px rgba(196, 181, 253, 0.3);
}

.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #312E81;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #312E81 0%, #6B21A8 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Footer */
footer {
    background: #F9FAFB;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(49, 46, 129, 0.15);
}

footer p {
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #6B21A8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #312E81;
}

.copyright {
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h3 {
        font-size: 2rem;
    }

    .cta-section h3 {
        font-size: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .app-store-btn {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}