/* -------------------------------------------------------------
   Unicity Feel Great System Philippines - Modern CSS Foundation
------------------------------------------------------------- */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for design system */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Curated Brand Colors */
    --color-primary: #0A1931;        /* Premium Navy Blue */
    --color-primary-light: #15305B;  /* Medium Navy */
    --color-accent: #0077B6;         /* Vibrant Ocean Blue */
    --color-accent-hover: #0096C7;
    --color-gold: #FAC515;           /* Schoolbus Yellow/Gold (CTA & High-contrast text) */
    --color-gold-hover: #EAB308;
    
    /* Backgrounds */
    --bg-base: #F8FAFC;              /* Clean Cool Slate-50 */
    --bg-surface: #FFFFFF;
    --bg-surface-alt: #F1F5F9;       /* Slate-100 */
    --bg-dark: #0B132B;              /* Navy Black */
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-dark: rgba(10, 25, 49, 0.85);

    /* Text Colors */
    --text-primary: #1F2937;         /* Charcoal Gray */
    --text-muted: #6B7280;           /* Muted Gray */
    --text-light: #F9FAFB;           /* Off-White */
    --text-light-muted: #D1D5DB;

    /* Border & Shadows */
    --border-color: #E5E7EB;
    --border-color-dark: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(10, 46, 28, 0.1), 0 10px 10px -5px rgba(10, 46, 28, 0.04);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1.25rem;
}

strong {
    color: var(--color-primary);
    font-weight: 600;
}

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

/* Helper Components & Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.35em 0.85em;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    background-color: rgba(0, 119, 182, 0.1);
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.badge-gold {
    background-color: rgba(250, 197, 21, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(250, 197, 21, 0.4);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(250, 197, 21, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 197, 21, 0.6);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(10, 46, 28, 0.2);
}

.btn-secondary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 46, 28, 0.35);
}

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

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.logo-dot {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-primary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8.5rem; /* Space for fixed header */
    padding-bottom: 6rem;
    background: radial-gradient(circle at 80% 20%, rgba(0, 119, 182, 0.1) 0%, rgba(248, 250, 252, 0) 60%),
                radial-gradient(circle at 10% 80%, rgba(250, 197, 21, 0.05) 0%, rgba(248, 250, 252, 0) 50%);
    overflow: hidden;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-primary);
}

.hero-feat-item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* CSS Vector Mockup for Products in Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 130%;
    max-width: 540px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transform: translateX(45px);
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(10, 25, 49, 0.14));
    transition: var(--transition-smooth);
    z-index: 2;
}

.hero-image:hover {
    transform: translateY(-6px) scale(1.01);
}

.visual-circle {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.22) 0%, rgba(10, 25, 49, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(15px);
}

/* Floating Badges */
.floating-tag {
    position: absolute;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--color-primary);
    z-index: 4;
    animation: floating 4s ease-in-out infinite alternate;
}

.tag-1 {
    top: 15%;
    right: 5%;
}

.tag-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

/* Problem Section */
.problem-section {
    background-color: var(--bg-surface-alt);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.branded-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.branded-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.branded-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.branded-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    background-color: rgba(0, 119, 182, 0.08);
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Daily Stepper Timeline (Pipeline List Framework) */
.timeline-section {
    background-color: var(--bg-surface);
}

.timeline-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.pipeline-list {
    position: relative;
    list-style: none;
    padding-left: 0;
}

.pipeline-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.75rem;
    width: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.pipeline-item {
    position: relative;
    padding-left: 4.5rem;
    margin-bottom: 2.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pipeline-item:last-child {
    margin-bottom: 0;
}

.pipeline-icon-node {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--text-muted);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.timeline-step-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(10, 25, 49, 0.01);
}

.pipeline-item:hover .timeline-step-card {
    border-color: rgba(0, 119, 182, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.pipeline-item.active .timeline-step-card {
    background-color: var(--bg-surface);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateX(12px);
}

.pipeline-item:hover .pipeline-icon-node {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pipeline-item.active .pipeline-icon-node {
    border-color: var(--color-accent);
    background-color: var(--color-primary);
    color: var(--text-light);
    box-shadow: 0 0 0 5px rgba(0, 119, 182, 0.15);
}

.step-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.step-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Timeline Interactive Details Drawer */
.timeline-details {
    position: sticky;
    top: 6.5rem;
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.timeline-detail-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
    display: none;
}

.timeline-detail-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.detail-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.detail-tag {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-accent);
}

.detail-title {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.detail-img-box {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05), var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Individual Step Gradient Themes */
#detail-step1 .detail-img-box {
    background: linear-gradient(135deg, #F59E0B 0%, #E11D48 100%);
}

#detail-step2 .detail-img-box {
    background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
}

#detail-step3 .detail-img-box {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

#detail-step4 .detail-img-box {
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
}

.detail-img-box svg {
    color: #FFFFFF !important;
    width: 3.5rem;
    height: 3.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.detail-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.detail-list li svg {
    color: var(--color-accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.detail-pro-tip {
    background-color: rgba(250, 197, 21, 0.08);
    border-left: 4px solid var(--color-gold);
    padding: 1.25rem;
    border-radius: 4px 12px 12px 4px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-primary);
}

/* The Daily Ritual Section */
.ritual-section {
    background-color: var(--bg-surface);
}

.ritual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.ritual-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 25, 49, 0.03);
    transition: var(--transition-smooth);
}

.ritual-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 119, 182, 0.3);
}

.ritual-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: var(--bg-surface-alt);
}

.ritual-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.ritual-card:hover .ritual-img-wrapper img {
    transform: scale(1.05);
}

.ritual-step-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.ritual-content {
    padding: 2rem;
}

.ritual-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.ritual-content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Product Tabs Section */
.products-section {
    background-color: var(--bg-surface-alt);
}

.tabs-container {
    max-width: 850px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.tab-panel {
    display: none;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.prod-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.prod-visual {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.05) 0%, rgba(10, 25, 49, 0.05) 100%);
    border-radius: 12px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.prod-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.prod-visual:hover .prod-img {
    transform: scale(1.04);
}

.prod-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.prod-tag {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.prod-bullet-list {
    list-style: none;
    margin: 1.5rem 0;
}

.prod-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.prod-bullet-list li svg {
    color: var(--color-accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.ingredients-box {
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.ingredients-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.ingredients-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ing-tag {
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Science & PDR Section */
.science-section {
    background-color: var(--bg-surface);
}

.science-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

.pdr-seal-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdr-badge {
    background-color: var(--bg-surface-alt);
    border: 3px double var(--color-primary);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 380px;
    width: 100%;
}

.pdr-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.pdr-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1.5px solid var(--color-primary);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.pdr-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.pdr-listing {
    font-family: monospace;
    background-color: var(--bg-surface);
    border: 1px dashed var(--border-color);
    padding: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 4px;
}

.science-copy h3 {
    font-size: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Fasting & Savings Calculator */
.calculator-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.calculator-section h2, 
.calculator-section h3 {
    color: var(--text-light);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calc-inputs-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color-dark);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.calc-intro {
    font-size: 0.9375rem;
    color: var(--text-light-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light-muted);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 1.25rem;
    font-weight: 600;
    color: var(--text-light-muted);
}

.form-control {
    width: 100%;
    height: 3.25rem;
    padding: 0.5rem 1.25rem 0.5rem 2.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color-dark);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Calculated Results Drawer Styles */
.calculated-results-box {
    display: none;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color-dark);
    padding-top: 2rem;
    animation: slideDown 0.4s ease-out forwards;
}

.calculated-results-box.show {
    display: block;
}

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

.result-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color-dark);
    border-radius: 10px;
    padding: 1.25rem;
}

.res-lbl {
    font-size: 0.75rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.res-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.net-impact-box {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.1) 0%, rgba(250, 197, 21, 0.05) 100%);
    border: 1px solid var(--color-accent);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.impact-positive {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gold);
}

.impact-negative {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
}

.impact-desc {
    font-size: 0.8125rem;
    color: var(--text-light-muted);
}

/* Pricing Grid */
.pricing-section {
    background-color: var(--bg-surface-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.25rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.price-card.featured {
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-xl);
}

.featured-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-accent);
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.price-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.price-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.price-value-box {
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-amt {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.price-retail {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.price-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.price-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.price-list li svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* FAQs Section */
.faq-section {
    background-color: var(--bg-surface);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-surface);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-chevron {
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth) ease-out;
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem 2rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-inner {
    border-color: var(--bg-surface-alt);
}

/* Footer Section */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light-muted);
    border-top: 1px solid var(--border-color-dark);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h4 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo-dot {
    color: var(--color-accent);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-col h5 {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

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

.disclaimer-box {
    border-top: 1px solid var(--border-color-dark);
    padding-top: 2rem;
    margin-bottom: 2rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-light-muted);
}

.disclaimer-box strong {
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color-dark);
    padding-top: 2rem;
    font-size: 0.8125rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 500px; }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid,
    .timeline-layout,
    .science-grid,
    .calc-grid,
    .ritual-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        order: -1; /* Display graphic on top in tablet/mobile */
    }

    .hero-image-wrapper {
        transform: translateX(0); /* Reset shift on tablet and mobile */
        width: 100%;
        max-width: 360px;
    }

    .timeline-details {
        position: static;
        margin-top: 1.5rem;
    }

    .ritual-img-wrapper {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 4.5rem;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        color: var(--text-light);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s ease, opacity 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        color: var(--text-light);
        font-size: 1.125rem;
        width: 100%;
        text-align: center;
        display: block;
    }

    .nav-links a::after {
        display: none;
    }

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

    .prod-visual {
        height: 240px;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}

/* Accessibility overrides for dark backgrounds */
.calculator-section strong {
    color: var(--color-gold);
    font-weight: 600;
}

.calculator-section .badge-gold {
    color: var(--color-gold);
    background-color: rgba(250, 197, 21, 0.15);
    border-color: rgba(250, 197, 21, 0.4);
}

/* Extra Mobile Viewport Tweaks (max-width: 560px) */
@media (max-width: 560px) {
    .hero {
        padding-top: 6.5rem;
        padding-bottom: 3.5rem;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .pipeline-item {
        padding-left: 3rem;
        margin-bottom: 1.5rem;
    }

    .pipeline-icon-node {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
        left: 0.25rem;
    }

    .pipeline-list::before {
        left: 1.25rem;
    }

    .timeline-step-card {
        padding: 1.25rem 1rem;
    }

    .timeline-details {
        padding: 1.5rem 1.25rem;
    }

    .tab-nav {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: none;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
        border: 1px solid var(--border-color);
        padding: 0.65rem 1rem;
    }

    .calc-inputs-card {
        padding: 1.5rem 1.25rem;
    }

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

    .price-card {
        padding: 2rem 1.5rem;
    }
}

/* -------------------------------------------------------------
   Feel Great System Unicity Knowledge Hub & Directory Styles
------------------------------------------------------------- */
.directory-section {
    background-color: var(--bg-surface-alt);
    border-top: 1px solid var(--border-color);
}

.directory-controls {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-box-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

#directory-search {
    width: 100%;
    padding: 1rem 1rem 1rem 3.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

#directory-search:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.15);
}

.directory-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.dir-tab-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dir-tab-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.dir-tab-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.2);
}

.directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.directory-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.directory-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 119, 182, 0.3);
}

.directory-card.active {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.directory-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.directory-question:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}

.directory-chevron {
    color: var(--text-muted);
    transition: transform var(--transition-smooth);
    flex-shrink: 0;
}

.directory-card.active .directory-chevron {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.directory-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth) ease-out;
}

.directory-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.directory-answer-inner strong {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .directory-controls {
        gap: 1rem;
    }
    
    .dir-tab-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .directory-question {
        font-size: 1.05rem;
        padding: 1.25rem;
    }
}

/* -------------------------------------------------------------
   Documentation Page Layout & Styles (read-here.html)
------------------------------------------------------------- */
.docs-main-container {
    padding-top: 7rem; /* Clearance for fixed header */
    padding-bottom: 6rem;
    background-color: var(--bg-base);
}

.docs-grid-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: 6.5rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    max-height: calc(100vh - 9rem);
    overflow-y: auto;
    box-shadow: var(--shadow-sm);
}

.docs-sidebar-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.docs-sidebar-header h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.docs-sidebar-header p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.docs-sidebar-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.docs-sidebar-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: var(--transition-fast);
}

.docs-sidebar-nav a:hover {
    color: var(--color-accent);
    background-color: rgba(0, 119, 182, 0.04);
}

.docs-sidebar-nav a.active {
    color: var(--color-accent);
    background-color: rgba(0, 119, 182, 0.08);
    border-left-color: var(--color-accent);
    font-weight: 600;
}

.docs-content-area {
    background-color: transparent;
}

.docs-content-header {
    margin-bottom: 3rem;
}

.docs-main-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.docs-main-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
}

.docs-articles-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.docs-article {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 6.5rem; /* Ensures scrolling to anchors accounts for sticky header */
    transition: var(--transition-smooth);
}

.docs-article:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 119, 182, 0.2);
}

.docs-article h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    border-bottom: 2px solid rgba(0, 119, 182, 0.1);
    padding-bottom: 0.5rem;
}

.docs-article p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.docs-article p strong {
    color: var(--color-primary);
}

/* Responsive Overrides for Docs Layout */
@media (max-width: 992px) {
    .docs-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .docs-sidebar {
        position: static;
        max-height: 250px;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .docs-main-container {
        padding-top: 5.5rem;
        padding-bottom: 3.5rem;
    }
    
    .docs-article {
        padding: 1.5rem;
    }
}

/* -------------------------------------------------------------
   Header Dropdown Menu Navigation (index, docs, product pages)
------------------------------------------------------------- */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.dropdown-trigger svg {
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-trigger svg,
.nav-dropdown.open .dropdown-trigger svg {
    transform: rotate(180deg);
}

/* Dropdown Menu Panel */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 0;
    min-width: 210px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    list-style: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    z-index: 1000;
}

/* Show Dropdown on Hover (Desktop) */
@media (min-width: 769px) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.25rem !important;
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
    font-weight: 500 !important;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.dropdown-menu li a::after {
    display: none !important; /* Disable hover underline effect for items inside dropdown */
}

.dropdown-menu li a:hover {
    color: var(--color-accent) !important;
    background-color: rgba(0, 119, 182, 0.04);
}

.dropdown-menu li a.active {
    color: var(--color-accent) !important;
    background-color: rgba(0, 119, 182, 0.08);
    font-weight: 600 !important;
}

/* Mobile Dropdown Styling */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .dropdown-trigger {
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: rgba(255, 255, 255, 0.04);
        opacity: 1;
        visibility: visible;
        display: none; /* Controlled by JS toggle */
        width: 100%;
        margin-top: 0.5rem;
        border-radius: 8px;
        padding: 0.5rem 0;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        color: rgba(255, 255, 255, 0.7) !important;
        text-align: center;
        padding: 0.5rem 0 !important;
    }

    .dropdown-menu li a:hover,
    .dropdown-menu li a.active {
        color: var(--color-accent) !important;
        background: none;
    }
}

