/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
   :root {
    /* Colors */
    --primary: #0ea5e9;        /* Vibrant blue */
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    
    --success: #10b981;        /* Health Green */
    --success-dark: #059669;
    --success-light: #d1fae5;
    
    --text-main: #0f172a;      /* Slate 900 */
    --text-muted: #475569;     /* Slate 600 */
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;       /* Slate 50 */
    --bg-subtle: #f1f5f9;      /* Slate 100 */
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-blue: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
    
    /* Border Radius */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease-out;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.highlight { color: var(--success); }
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bg-light { background-color: var(--bg-light); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-success-light { background-color: var(--success-light); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-center { text-align: center; }
.relative { position: relative; }

.section-padding { padding: 6rem 0; }

.mb-3 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--success));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-blue);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-main);
    border-color: #e2e8f0;
}

.btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* =========================================
   NAVIGATION (Glassmorphism)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo-icon-wrapper {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: var(--shadow-md);
}

.logo-icon {
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

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

/* Link hover underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-normal);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 200px 0 120px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    overflow: hidden;
    text-align: center;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.hero-shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
}

.hero-shape-2 {
    bottom: 0%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--success-light);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   PRESENTATION SECTION
   ========================================= */
.presentation-section {
    background-color: var(--bg-white);
}

.presentation-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 500;
}

.features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.feature-content p {
    margin-bottom: 0;
    font-size: 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.resource-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.resource-link:hover {
    color: var(--primary-dark);
}

.resource-link:hover::after {
    transform: translateX(4px);
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.image-backdrop {
    position: absolute;
    top: 5vmin;
    right: -5vmin;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--success) 0%, var(--primary) 100%);
    border-radius: var(--radius-xl);
    z-index: 1;
    opacity: 0.15;
    transform: rotate(3deg);
}

/* =========================================
   VIDEO SECTION
   ========================================= */
.video-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #000;
    position: relative;
}

/* Ensure the video is properly contained within the 16:9 box */
.custom-video {
    width: 100%;
    max-height: 600px;
    display: block;
    aspect-ratio: 16/9;
    object-fit: contain; /* the video plays nicely here */
}

/* =========================================
   PAGE 2 (ARTICLE/CONTENT)
   ========================================= */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.page-header-desc {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.content-container {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    margin-bottom: 5rem;
}

.content-card {
    background-color: var(--bg-white);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-subtle);
}

.article-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.dot-separator {
    color: #cbd5e1;
}

.intro-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.8;
}

.article-body h3 {
    margin-top: 2.5rem;
    color: var(--primary-dark);
}

.highlight-box {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    display: flex;
    gap: 1rem;
}

.highlight-icon {
    font-size: 1.5rem;
}

.highlight-box strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.highlight-box p {
    margin: 0;
    font-size: 1rem;
}

.custom-list {
    margin: 1.5rem 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.custom-list li strong {
    color: var(--text-main);
}

.custom-quote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    color: var(--success-dark);
    text-align: center;
    margin: 3rem 0;
    padding: 0 2rem;
    position: relative;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--text-main);
    color: #e2e8f0;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
}

.footer h3 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS UTILITIES
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================= */
@media screen and (max-width: 992px) {
    .presentation-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .presentation-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-main);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 160px 0 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
