/* --- VARIABLES & RESET --- */
:root {
    /* Palette - Deep Tech Blue & Vibrant Teal */
    --primary: #4fd1c5;
    --primary-dark: #38b2ac;
    --secondary: #0f172a; /* Dark Slate */
    --secondary-light: #1e293b;
    --accent: #818cf8; /* Indigo */
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(79, 209, 197, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--secondary);
    line-height: 1.2;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.text-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn-white {
    background: var(--white);
    color: var(--secondary);
}

.btn-white:hover {
    transform: scale(1.05);
}

/* --- NAVIGATION --- */
header {
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.95); /* Glass effect */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
}

.logo span { color: var(--primary); }

.nav-links a {
    color: #94a3b8;
    margin-left: 30px;
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links .btn {
    margin-left: 30px;
    color: var(--secondary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Subtle tech grid pattern */
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    background: rgba(79, 209, 197, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(79, 209, 197, 0.3);
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- MOOD DASHBOARD (New Section) --- */
.daily-dashboard {
    margin-top: -60px; /* Overlap hero */
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dash-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.dash-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.dash-icon { margin-right: 10px; font-size: 1.2rem; }

/* Progress Bar Style */
.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 10px 0;
    overflow: hidden;
}
.progress-bar .fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

/* Quote Style */
blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary);
    border-left: 3px solid var(--accent);
    padding-left: 15px;
}

blockquote footer {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: normal;
}

/* --- SERVICES & CARDS --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn-link {
    color: var(--primary-dark);
    font-weight: 600;
    display: block;
    margin-top: 40px;
    text-align: center;
}

/* --- JOURNAL --- */
.journal-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.journal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.card-image {
    height: 200px;
    background-color: #cbd5e1;
}
/* Placeholder colors for images */
.bg-tech-1 { background: linear-gradient(45deg, #0f172a, #334155); }
.bg-tech-2 { background: linear-gradient(45deg, #4fd1c5, #38b2ac); }
.bg-tech-3 { background: linear-gradient(45deg, #818cf8, #6366f1); }

.card-content { padding: 25px; }

.tag {
    background: var(--bg-light);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.journal-card h4 {
    margin: 15px 0 10px;
    font-size: 1.25rem;
}

.journal-card a {
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
}

/* --- CTA BANNER --- */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
}

.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { margin-bottom: 30px; opacity: 0.9; }

/* --- FOOTER --- */
footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 { color: var(--white); margin-bottom: 15px; }
.footer-links h4 { color: var(--white); margin-bottom: 20px; }

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: inherit;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- ANIMATION CLASSES --- */
.fade-in { animation: fadeIn 1s ease forwards; opacity: 0; transform: translateY(20px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal (Handled by JS to add 'active' class) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .mobile-toggle { display: block; z-index: 1001; }
    
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }
    
    .nav-links.active { right: 0; }
    .nav-links a { margin: 20px 0; font-size: 1.2rem; }

    
}