/* landing_style.css */
:root {
    /* Color System */
    --clr-rose: #ff8fa3;
    --clr-rose-light: #ffb3c1;
    --clr-lavender: #9381ff;
    --clr-lavender-light: #b8b8ff;
    --clr-teal: #2a9d8f;
    --clr-cream: #fff0f3;
    --clr-white: #ffffff;
    --clr-text-main: #2b2d42;
    --clr-text-muted: #8d99ae;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--clr-text-main);
    background-color: var(--clr-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Animations */
@keyframes floatUp {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
@keyframes floatCircle {
    0% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.7; }
    100% { transform: translateY(0) scale(1); opacity: 0.5; }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Decorative Background Elements */
.bg-blob-1, .bg-blob-2 {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}
.bg-blob-1 {
    width: 300px; height: 300px;
    background-color: var(--clr-rose-light);
    top: -50px; left: -50px;
    animation: floatCircle 8s infinite ease-in-out;
}
.bg-blob-2 {
    width: 400px; height: 400px;
    background-color: var(--clr-lavender-light);
    bottom: -100px; right: -100px;
    animation: floatCircle 10s infinite reverse ease-in-out;
}

/* Navbar */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 15px 0;
    transition: 0.3s;
}
.navbar-brand {
    font-weight: 800;
    color: var(--clr-lavender) !important;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-link {
    font-weight: 600;
    color: var(--clr-text-main) !important;
    margin: 0 10px;
    transition: 0.2s;
}
.nav-link:hover {
    color: var(--clr-rose) !important;
}

/* Buttons */
.btn-login-outline {
    border: 2px solid var(--clr-lavender);
    color: var(--clr-lavender);
    border-radius: 25px;
    padding: 8px 25px;
    font-weight: 600;
    transition: 0.3s;
    background: transparent;
}
.btn-login-outline:hover {
    background-color: var(--clr-lavender);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(147, 129, 255, 0.3);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--clr-rose), var(--clr-rose-light));
    border: none;
    color: var(--clr-white);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 6px 15px rgba(255, 143, 163, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 143, 163, 0.6);
    color: var(--clr-white);
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--clr-cream) 0%, var(--clr-white) 100%);
    padding: 120px 0 80px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--clr-text-main);
    line-height: 1.2;
    margin-bottom: 25px;
}
.hero-title span {
    color: var(--clr-rose);
    position: relative;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}
.hero-img-wrapper {
    position: relative;
    z-index: 1;
}
.hero-img {
    font-size: 14rem;
    background: -webkit-linear-gradient(45deg, var(--clr-rose), var(--clr-lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: floatUp 6s ease-in-out infinite;
}

/* Sections */
.section-padding {
    padding: 100px 0;
    position: relative;
}
.section-title {
    text-align: center;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--clr-text-main);
}
.section-title span {
    color: var(--clr-teal);
}

/* Feature Cards */
.feature-card {
    background: var(--clr-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    border-bottom: 4px solid transparent;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.feature-card.rose:hover { border-color: var(--clr-rose); }
.feature-card.teal:hover { border-color: var(--clr-teal); }
.feature-card.lavender:hover { border-color: var(--clr-lavender); }

.feature-icon-wrapper {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
}
.feature-card.rose .feature-icon-wrapper { background: var(--clr-cream); color: var(--clr-rose); }
.feature-card.teal .feature-icon-wrapper { background: #e6f7f5; color: var(--clr-teal); }
.feature-card.lavender .feature-icon-wrapper { background: #f0edff; color: var(--clr-lavender); }

.feature-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Workflow */
.workflow-box {
    text-align: center;
    position: relative;
    padding: 20px;
}
.step-icon {
    width: 90px; height: 90px;
    background: var(--clr-white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--clr-lavender);
    margin-bottom: 25px;
    transition: 0.3s;
}
.workflow-box:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--clr-rose);
}
.workflow-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--clr-text-main);
    color: var(--clr-white);
    padding: 60px 0 30px;
}
.footer-title {
    font-weight: 800;
    color: var(--clr-white);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-title i { color: var(--clr-rose); }
.footer-text {
    color: #a0aabf;
    line-height: 1.6;
}
.footer-link {
    color: #a0aabf;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.footer-link:hover {
    color: var(--clr-rose-light);
    text-decoration: none;
}
.admin-link {
    font-size: 0.85rem;
    color: #6c7a9c;
    transition: 0.3s;
}
.admin-link:hover {
    color: var(--clr-teal);
    text-decoration: none;
}

/* Split Login Pages CSS */
.login-split-container {
    min-height: 100vh;
    display: flex;
}
.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}
.login-left.patient-theme {
    background: linear-gradient(135deg, var(--clr-cream), var(--clr-rose-light));
    color: var(--clr-text-main);
}
.login-left.admin-theme {
    background: linear-gradient(135deg, #eef2ff, #c7d2fe);
    color: #1e1b4b;
}
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-white);
    padding: 40px;
}
.login-card {
    width: 100%;
    max-width: 420px;
}
.login-title {
    font-weight: 800;
    margin-bottom: 5px;
}
.login-subtitle {
    color: var(--clr-text-muted);
    margin-bottom: 30px;
}
.form-control-custom {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}
.form-control-custom:focus {
    box-shadow: 0 0 0 3px rgba(147, 129, 255, 0.2);
    border-color: var(--clr-lavender);
}
.btn-login-submit {
    padding: 12px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    border: none;
}
.btn-patient-submit {
    background: var(--clr-lavender);
    color: white;
    box-shadow: 0 4px 15px rgba(147, 129, 255, 0.3);
}
.btn-patient-submit:hover {
    background: #826aed;
    transform: translateY(-2px);
    color: white;
}
.btn-admin-submit {
    background: #4f46e5;
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}
.btn-admin-submit:hover {
    background: #4338ca;
    transform: translateY(-2px);
    color: white;
}

/* Media Queries */
@media (max-width: 991px) {
    .login-split-container { flex-direction: column; }
    .login-left { padding: 40px 20px; text-align: center; min-height: 30vh; }
    .hero-title { font-size: 2.5rem; }
    .hero-section { text-align: center; padding: 100px 0 50px; }
    .hero-img { font-size: 8rem; margin-top: 30px; }
}

@keyframes gentleBreathing {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.02); filter: brightness(1.05); }
    100% { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
