:root {
    --primary-color: #463066; /* Deep Purple */
    --primary-light: #5E407C;
    --primary-dark: #32214A;
    --secondary-color: #9975b9; /* Lilac */
    --accent-color: #d1c0e3;
    --background-color: #f7f5fa; /* Light Lilac Body BG */
    --surface-color: #ffffff; /* White Cards */
    --text-dark: #2C1E3D;
    --text-light: #6A5B7E;
    --border-radius-lg: 30px;
    --border-radius-md: 20px;
    --success-color: #65C996;
    --shadow-soft: 0 10px 30px rgba(74, 52, 101, 0.06);
    --shadow-hover: 0 15px 40px rgba(74, 52, 101, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(153, 117, 185, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary-color);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(70, 48, 102, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 48, 102, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background-color: rgba(70, 48, 102, 0.05);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #f6f3fc 0%, #ebe6f2 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

/* Mockup Card (Phone UI imitation) */
.mockup-card {
    background: var(--surface-color);
    width: 340px;
    border-radius: 45px;
    box-shadow: 0 25px 60px rgba(70, 48, 102, 0.15);
    overflow: hidden;
    border: 10px solid white;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s;
}

.mockup-card:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mockup-header {
    background: linear-gradient(145deg, #745899 0%, var(--primary-dark) 100%);
    padding: 50px 25px 30px;
    color: white;
    position: relative;
}

.mockup-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--surface-color);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.mockup-header p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.mockup-header h2 {
    font-size: 28px;
    font-weight: 600;
}

.mockup-body {
    padding: 10px 25px 30px;
    background: var(--surface-color);
}

.vital-card {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0,0,0,0.02);
    margin-bottom: 25px;
}

.vital-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    border-left-color: #eae5f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vital-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.vital-inner .number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.vital-inner .unit {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 600;
}

.vital-info h3 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.vital-info p {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.status.healthy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(101, 201, 150, 0.15);
    color: #2E8155;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.quick-header p {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quick-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.quick-card i {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.quick-card h4 {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.quick-card p {
    font-size: 11px;
    color: var(--text-light);
}


/* Sections */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--surface-color);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.5);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(153, 117, 185, 0.12);
    color: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-card ul {
    list-style: none;
}

.feature-card ul li {
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.feature-card ul li::before {
    content: "\f00c"; /* FontAwesome check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 14px;
    margin-top: 2px;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.split-card {
    padding: 45px;
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s;
}

.split-card:hover {
    transform: translateY(-5px);
}

.split-card.positive {
    background: rgba(101, 201, 150, 0.05);
    border: 1px solid rgba(101, 201, 150, 0.15);
}

.split-card.negative {
    background: rgba(220, 53, 69, 0.04);
    border: 1px solid rgba(220, 53, 69, 0.12);
}

.split-card h3 {
    font-size: 26px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.split-card.positive h3 { color: #2a734c; }
.split-card.negative h3 { color: #9a2330; }

.split-card ul {
    list-style: none;
}

.split-card ul li {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.split-card.positive ul li::before {
    content: "\f118";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    color: #2a734c;
}

.split-card.negative ul li::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #9a2330;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    background: var(--surface-color);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    border-radius: var(--border-radius-md);
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(70, 48, 102, 0);
    transition: background 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(70, 48, 102, 0.1);
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    box-shadow: 0 20px 40px rgba(70, 48, 102, 0.25);
}

.contact-text {
    max-width: 600px;
}

.contact-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
}

.contact-action .btn {
    background: white;
    color: var(--primary-color);
}

.contact-action .btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background: #1C1226; /* Very Dark Purple */
    color: white;
    padding: 80px 0 30px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h2 {
    font-size: 30px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand i {
    color: var(--secondary-color);
}

.footer-brand p {
    color: rgba(255,255,255,0.5);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .nav {
        display: none;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .footer-links {
        justify-content: center;
    }
}
