:root {
    /* Color Palette - Nature Inspired */
    --v-teal: #4FB3A5;
    --v-teal-light: #E0F2F1;
    --v-blue: #4A90E2;
    --v-blue-soft: #F0F7FF;
    --v-green: #7ED321;
    --v-white: #FFFFFF;
    --v-bg: #F8FBFA;
    --v-text: #2D3436;
    --v-text-muted: #636E72;
    --v-accent: #FF7675;
    --v-border: rgba(79, 179, 165, 0.1);
    --v-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --f-display: 'Outfit', sans-serif;
    --f-body: 'Plus Jakarta Sans', sans-serif;
}

[data-theme="dark"] {
    --v-bg: #12181B;
    --v-white: #1E272E;
    --v-text: #F5F6FA;
    --v-text-muted: #A4B0BE;
    --v-border: rgba(255, 255, 255, 0.1);
    --v-blue-soft: #1E272E;
    --v-teal-light: #232D2F;
}

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

body {
    font-family: var(--f-body);
    background-color: var(--v-bg);
    color: var(--v-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

h1, h2, h3, h4 {
    font-family: var(--f-display);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 100px 0;
}

/* Navbar */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--v-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--v-teal);
    letter-spacing: -0.5px;
}

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

.nav-link {
    font-weight: 500;
    color: var(--v-text-muted);
}

.nav-link:hover {
    color: var(--v-teal);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--v-teal);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 179, 165, 0.3);
}

.btn-secondary {
    background: var(--v-teal-light);
    color: var(--v-teal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--v-teal-light) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--v-text) 0%, var(--v-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--v-text-muted);
    max-width: 90%;
}

.pulse-heart {
    display: inline-block;
    color: var(--v-accent);
    animation: pulse 2s infinite;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-bar {
    background: var(--v-white);
    padding: 8px;
    border-radius: 100px;
    display: flex;
    box-shadow: var(--v-shadow);
    margin: 40px 0;
    max-width: 500px;
    border: 1px solid var(--v-border);
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 0 20px;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: var(--v-text);
}

/* Cards & Sections */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--v-white);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid var(--v-border);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--v-blue-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--v-blue);
}

/* Dashboard Preview */
.dash-preview {
    background: var(--v-white);
    border-radius: 40px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: float 6s ease-in-out infinite;
}

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

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

.stat-card {
    background: var(--v-bg);
    padding: 20px;
    border-radius: 20px;
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--v-teal);
}

/* Features Specific Styles */
.feature-badge {
    padding: 6px 12px;
    background: var(--v-teal-light);
    color: var(--v-teal);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

/* Avatar Customization */
.avatar-group {
    display: flex;
    gap: -10px;
}

.placeholder-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E0E0E0;
    border: 3px solid var(--v-white);
    margin-left: -15px;
}

.placeholder-avatar:first-child { margin-left: 0; }

/* 3D Body Scanner Effect */
.scanner-viz {
    height: 300px;
    background: linear-gradient(180deg, var(--v-blue-soft), var(--v-teal-light));
    border-radius: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--v-teal);
    box-shadow: 0 0 15px var(--v-teal);
    animation: scan 4s infinite ease-in-out;
}

@keyframes scan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

/* Dark Mode Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--v-teal-light);
    color: var(--v-teal);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero-content h1 { font-size: 3rem; }
    .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* Ripples */
.ripple-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.ripple {
    position: absolute;
    border: 2px solid var(--v-teal);
    border-radius: 50%;
    animation: ripple-animation 10s infinite;
}

@keyframes ripple-animation {
    0% { width: 0; height: 0; opacity: 1; transform: translate(-50%, -50%); }
    100% { width: 1000px; height: 1000px; opacity: 0; transform: translate(-50%, -50%); }
}

.placeholder-image {
    background: #f0f0f0;
    border-radius: 12px;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dashboard Classes */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-title {
    font-size: 1.2rem;
}

.date-tag {
    font-size: 0.8rem;
}

.stat-label {
    font-size: 0.8rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--v-teal);
    border-radius: 2px;
}

.val-blue {
    color: var(--v-blue);
}

.fill-blue {
    background: var(--v-blue);
}

.viz-placeholder {
    height: 120px;
    background: linear-gradient(90deg, #F0F7FF, #E0F2F1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.viz-text {
    color: var(--v-teal);
    font-weight: 600;
}
