/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #4A1C40;
    background-color: #FFF5F7;
}

/* Header and Navigation */
header {
    background-color: #4A1C40;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #FF6B8B, #8B1C3D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 139, 0.3);
    transition: all 0.3s;
}

.logo:hover .logo-icon {
    transform: rotate(15deg);
    box-shadow: 0 6px 20px rgba(255, 107, 139, 0.4);
}

.logo-icon i {
    font-size: 1.5rem;
    color: #FFF5F7;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF6B8B;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: #FFF5F7;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* Responsive Design for Logo */
@media (max-width: 768px) {
    .logo {
        gap: 0.8rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo-main {
        font-size: 1.3rem;
    }

    .logo-tagline {
        display: none;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #FF6B8B;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FF6B8B;
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4A1C40, #8B1C3D);
    color: #FFF5F7;
    padding: 10rem 5% 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pattern.png') repeat;
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.brain-illustration {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    animation: pulse 2s infinite;
}

.brain-illustration:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,139,0.4) 0%, rgba(255,107,139,0) 70%);
    animation: glow 2s infinite;
}

.brain-illustration i {
    font-size: 4rem;
    color: #FF6B8B;
    filter: drop-shadow(0 0 10px rgba(255,107,139,0.5));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-family: 'Montserrat', sans-serif;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: #FF6B8B;
    color: #4A1C40;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #FF6B8B;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: transparent;
    color: #FF6B8B;
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background-color: #FFF5F7;
    position: relative;
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #4A1C40;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.features h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #FF6B8B;
    bottom: -10px;
    left: 25%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid rgba(255, 107, 139, 0.2);
}

.feature-card h3 {
    color: #4A1C40;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #4A1C40;
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-card i {
    font-size: 3rem;
    color: #FF6B8B;
    margin-bottom: 1.5rem;
}

/* Caretaker and Patient Sections */
.caretaker-section, .patient-section {
    padding: 6rem 5%;
}

.caretaker-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #4A1C40, #8B1C3D);
    color: #FFF5F7;
    position: relative;
}

.caretaker-section h2 {
    color: #FFF5F7;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.caretaker-section h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #FF6B8B;
    bottom: -10px;
    left: 25%;
}

.caretaker-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.caretaker-section .feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    border: 1px solid rgba(255, 107, 139, 0.3);
    backdrop-filter: blur(5px);
}

.caretaker-section .feature h3 {
    color: #FF6B8B;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.caretaker-section .feature p {
    color: #FFF5F7;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.caretaker-section .feature i {
    font-size: 2.8rem;
    color: #FF6B8B;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.caretaker-section .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.15);
}

/* Patient Section */
.patient-section {
    padding: 6rem 5%;
    background-color: #FFF5F7;
}

.patient-section h2 {
    color: #4A1C40;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.patient-section h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #FF6B8B;
    bottom: -10px;
    left: 25%;
}

.patient-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.patient-section .feature {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid rgba(255, 107, 139, 0.2);
}

.patient-section .feature h3 {
    color: #4A1C40;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.patient-section .feature p {
    color: #4A1C40;
    font-size: 1.2rem;
    line-height: 1.6;
}

.patient-section .feature i {
    font-size: 2.8rem;
    color: #FF6B8B;
    margin-bottom: 1.5rem;
}

.patient-section .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 6rem 5%;
    background: linear-gradient(135deg, #4A1C40, #8B1C3D);
    color: #FFF5F7;
    position: relative;
}

.download-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pattern.png') repeat;
    opacity: 0.1;
}

.app-store-button {
    display: inline-block;
    margin-top: 2.5rem;
    transition: transform 0.3s;
}

.app-store-button:hover {
    transform: scale(1.05);
}

.app-store-button img {
    height: 60px;
}

/* Footer */
footer {
    background-color: #4A1C40;
    color: #FFF5F7;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #FF6B8B;
    font-size: 1.8rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #FFF5F7;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 107, 139, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid, .caretaker-features, .patient-features {
        grid-template-columns: 1fr;
    }
    
    .logo {
        gap: 0.8rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .brain-illustration {
        width: 100px;
        height: 100px;
    }

    .brain-illustration i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .developers-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .developer-photo {
        width: 180px;
        height: 180px;
    }

    .brain-illustration {
        width: 80px;
        height: 80px;
    }

    .brain-illustration i {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Developers Section */
.developers-section {
    padding: 6rem 5%;
    background-color: #FFF5F7;
    text-align: center;
}

.developers-section h2 {
    color: #4A1C40;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
}

.developers-section h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #FF6B8B;
    bottom: -10px;
    left: 25%;
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.developer-card {
    text-align: center;
    transition: transform 0.3s;
}

.developer-card:hover {
    transform: translateY(-10px);
}

.developer-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FF6B8B;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.developer-photo:hover {
    border-color: #4A1C40;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.developer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.developer-photo:hover img {
    transform: scale(1.1);
}

.developer-card h3 {
    color: #4A1C40;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.developer-card p {
    color: #8B1C3D;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Responsive Design for Developers Section */
@media (max-width: 768px) {
    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .developer-photo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .developers-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .developer-photo {
        width: 180px;
        height: 180px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
} 