:root {
    --primary: #0277BD;
    /* Deep Blue (was Deep Green) */
    --accent: #00E5FF;
    /* Cyan (was Marula Gold) */
    --bg-light: #F5F9FC;
    /* Light Blue-Grey (was Cream) */
    --surface: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --border: rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    /* Kept same font */
    background-color: #e0e5ec;
    /* Slightly darker outer bg for contrast */
    color: var(--text-main);
    height: 100vh;
    display: flex;
    justify-content: center;
    font-size: 16px;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background: var(--bg-light);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

/* Header */
.app-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--primary);
}

.highlight {
    color: var(--accent);
}

/* Content Area */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 80px;
    -webkit-overflow-scrolling: touch;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Section */
.hero-product {
    background: linear-gradient(135deg, var(--primary) 0%, #004c8c 100%);
    padding: 24px 20px;
    color: white;
    text-align: center;
}

.product-image-container {
    margin-bottom: 16px;
}

.product-img {
    width: 140px;
    height: 200px;
    /* Adjusted for bottle height */
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    max-width: 100%;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.section-block {
    padding: 20px;
    background: white;
    margin: 12px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.section-block h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    font-size: 20px;
}

/* Data Grid */
.data-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.data-row:last-child {
    border-bottom: none;
}

.label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    text-align: right;
}

.monospace {
    font-family: monospace;
}

/* Product Description */
.product-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 16px;
}

/* Uses Tags */
.uses-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.use-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: white;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Timeline (Journey) */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-location {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.timeline-description {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-main);
}

/* Map */
.map-container {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

/* Circular Diagram (Impact) */
.circular-diagram {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(2, 119, 189, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
    border-radius: 16px;
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 90px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary);
}

.circle-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
}

/* Brand/Social */
.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: all 0.2s;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: white;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.tab-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    width: 25%;
    min-height: 48px;
    padding: 8px;
}

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

.tab-btn svg {
    stroke-width: 2;
}

.tab-btn span {
    font-size: 11px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .app-container {
        max-width: 100%;
        box-shadow: none;
    }
}