/* ============================================
   Evergreen Consulting - styles.css
   Forest Green + Warm Gold Theme
   ============================================ */

/* CSS Variables */
:root {
    --primary: #2D6A4F;
    --primary-dark: #1B4332;
    --primary-light: #52B788;
    --primary-lighter: #95D5B2;
    --primary-bg: #D8F3DC;
    --accent: #D4A843;
    --accent-light: #F0D78C;
    --accent-bg: #FDF8E8;
    --bg-warm: #FDFAF5;
    --bg-light: #F8F9F7;
    --bg-white: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --text-light: #A0AEC0;
    --border: #E2E8F0;
    --border-light: #EDF2F7;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.05);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-warm);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Cookie Banner
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-link {
    font-size: 14px;
    color: var(--primary);
    white-space: nowrap;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: var(--font-sans);
}

.cookie-btn-settings {
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.cookie-btn-settings:hover {
    background: var(--border-light);
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(253, 250, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--primary-dark);
}

.logo-icon {
    color: var(--accent);
    font-size: 20px;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.logo-bold {
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

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

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

.nav-cta-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: white !important;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}

.nav-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--primary-bg), var(--accent-bg));
    border: 1px solid var(--primary-lighter);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Chat Preview */
.chat-preview {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.chat-header-mock {
    padding: 16px 20px;
    background: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chat-dot.green {
    background: var(--primary-lighter);
    box-shadow: 0 0 6px var(--primary-lighter);
}

.chat-title-mock {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.chat-body-mock {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-light);
}

.chat-msg {
    display: flex;
    gap: 10px;
}

.user-msg {
    justify-content: flex-end;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.6;
    max-width: 85%;
}

.user-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-avatar-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.ai-bubble {
    background: var(--bg-white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.ai-bubble p {
    margin-bottom: 10px;
    font-size: 13px;
}

.mini-report {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 8px;
}

.mini-report-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.mini-bar-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.mini-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-bar-label {
    font-size: 11px;
    color: var(--text-secondary);
    width: 80px;
    flex-shrink: 0;
}

.mini-bar-track {
    flex: 1;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
    transition: width 1.5s ease;
}

.mini-bar-val {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    width: 32px;
    text-align: right;
}

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.match-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.match-tag.high {
    background: var(--primary-bg);
    color: var(--primary);
}

.match-tag.mid {
    background: #FEF3C7;
    color: #92400E;
}

.match-tag.low {
    background: #FEE2E2;
    color: #991B1B;
}

/* ============================================
   AI Capability
   ============================================ */
.ai-capability {
    padding: 100px 0;
    background: var(--bg-white);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.capability-card {
    background: var(--bg-warm);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    text-align: center;
}

.capability-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-lighter);
}

.capability-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.capability-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.capability-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.capability-time {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-lighter);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.service-rating {
    color: var(--accent);
}

.service-ai-btn {
    width: 100%;
    padding: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
}

.service-ai-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ============================================
   Diagnosis Center
   ============================================ */
.diagnosis {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.feature-icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Report Card */
.report-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.report-badge {
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.report-date {
    font-size: 13px;
    color: var(--text-muted);
}

.report-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.report-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.report-bar-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.report-bar-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.report-bar-info span:first-child {
    color: var(--text-secondary);
}

.report-bar-info span:last-child {
    font-weight: 600;
    color: var(--primary);
}

.report-bar-track {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.report-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 1.5s ease;
}

.report-bar-fill.warning {
    background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

.report-bar-fill.danger {
    background: linear-gradient(90deg, #EF4444, #F87171);
}

.report-bar-fill.good {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.report-pain-points {
    margin-bottom: 24px;
}

.report-pain-points h5,
.report-plans h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pain-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pain-tag {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
}

.pain-tag.urgent {
    background: #FEE2E2;
    color: #991B1B;
    border-left: 3px solid #EF4444;
}

.pain-tag.high {
    background: #FEF3C7;
    color: #92400E;
    border-left: 3px solid #F59E0B;
}

.pain-tag.medium {
    background: #DBEAFE;
    color: #1E40AF;
    border-left: 3px solid #3B82F6;
}

.plan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.plan-name {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.plan-score {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-bg);
    padding: 4px 10px;
    border-radius: 12px;
}

/* ============================================
   Methodology
   ============================================ */
.methodology {
    padding: 100px 0;
    background: var(--bg-light);
}

.methodology-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.methodology-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--primary-lighter);
}

.method-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--font-display);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
}

.step-content {
    background: var(--bg-white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.step-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lighter);
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-duration {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

.step-list {
    text-align: left;
}

.step-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.step-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--primary-lighter);
    border-radius: 50%;
}

/* ============================================
   Cases
   ============================================ */
.cases {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.case-header {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.case-type {
    padding: 4px 12px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.case-industry {
    padding: 4px 12px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.case-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.case-section {
    margin-bottom: 16px;
}

.case-label {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.case-label.challenge {
    background: #FEE2E2;
    color: #991B1B;
}

.case-label.solution {
    background: #DBEAFE;
    color: #1E40AF;
}

.case-label.result {
    background: var(--primary-bg);
    color: var(--primary);
}

.case-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.metric {
    text-align: center;
    padding: 12px 8px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
}

.metric-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================
   Team
   ============================================ */
.team {
    padding: 100px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
    position: relative;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-ai-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--primary-dark);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.25);
}

.team-avatar span {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.team-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 500;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
}

.team-tag {
    padding: 4px 10px;
    background: var(--bg-light);
    color: var(--text-secondary);
    border-radius: 12px;
    font-size: 11px;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.team-stats span:first-child {
    color: var(--accent);
}

.team-bio {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Trust Section
   ============================================ */
.trust {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

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

.trust-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 4px;
    background: linear-gradient(135deg, white 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    font-size: 14px;
    opacity: 0.8;
}

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

.trust-logos-title {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 32px;
}

.logo-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 120px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Insights
   ============================================ */
.insights {
    padding: 100px 0;
    background: var(--bg-white);
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.insight-featured {
    grid-row: span 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    transition: all var(--transition);
}

.insight-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.insight-featured-inner {
    padding: 36px;
    color: white;
}

.insight-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.insight-type.whitepaper {
    background: rgba(255,255,255,0.2);
    color: white;
}

.insight-type.article {
    background: var(--primary-bg);
    color: var(--primary);
}

.insight-type.report {
    background: var(--accent-bg);
    color: var(--accent);
}

.insight-type.podcast {
    background: #EDE9FE;
    color: #6D28D9;
}

.insight-featured h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.insight-featured p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: 20px;
}

.insight-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-light);
}

.insight-link:hover {
    text-decoration: underline;
}

.insight-card {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.insight-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.insight-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.insight-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.about-intro {
    font-size: 17px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    color: var(--accent);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.value-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.value-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Timeline */
.about-timeline h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--text-primary);
}

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--primary-lighter);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--primary-bg);
}

.timeline-year {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
    margin-bottom: 6px;
}

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

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.85;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--primary-dark);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.footer-social a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color var(--transition);
}

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

.footer-contact {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ============================================
   Floating AI Button
   ============================================ */
.floating-ai-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    cursor: pointer;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.4);
    transition: all var(--transition);
}

.floating-ai-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(45, 106, 79, 0.5);
}

.ai-btn-icon {
    font-size: 16px;
    font-weight: 700;
    color: white;
    z-index: 1;
}

.ai-btn-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ============================================
   AI Side Panel
   ============================================ */
.ai-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.ai-panel-overlay.open {
    opacity: 1;
    visibility: visible;
}

.ai-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0,0,0,0.1);
}

.ai-panel.open {
    transform: translateX(0);
}

.ai-panel-header {
    padding: 20px 24px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.ai-panel-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-lighter);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary-lighter);
}

.ai-panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.ai-panel-close:hover {
    opacity: 1;
}

.ai-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-panel-msg {
    display: flex;
    gap: 10px;
}

.ai-msg-bot {
    align-items: flex-start;
}

.ai-msg-user {
    justify-content: flex-end;
}

.ai-msg-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.ai-msg-content {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.7;
}

.ai-msg-bot .ai-msg-content {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 4px;
}

.ai-msg-user .ai-msg-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-msg-content ul {
    padding-left: 18px;
    margin: 8px 0;
}

.ai-msg-content li {
    list-style: disc;
    font-size: 13px;
    padding: 2px 0;
    color: var(--text-secondary);
}

.ai-panel-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
}

.quick-action-btn {
    padding: 8px 16px;
    background: var(--bg-white);
    border: 1px solid var(--primary-lighter);
    border-radius: 20px;
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
}

.quick-action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.ai-panel-input {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    background: var(--bg-white);
}

.ai-input-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color var(--transition);
}

.ai-input-field:focus {
    border-color: var(--primary);
}

.ai-send-btn {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
}

.ai-send-btn:hover {
    background: var(--primary-dark);
}

/* ============================================
   Responsive Design
   ============================================ */

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

    .hero-title {
        font-size: 42px;
    }

    .hero-visual {
        max-width: 500px;
    }

    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .diagnosis-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .methodology-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .methodology-timeline::before {
        display: none;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .insight-featured {
        grid-row: span 1;
        min-height: 280px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
    }
}

/* Mobile: 768px */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 999;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 18px;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 22px;
    }

    .section-title {
        font-size: 28px;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .methodology-timeline {
        grid-template-columns: 1fr;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .case-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .metric-value {
        font-size: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-number {
        font-size: 32px;
    }

    .logo-row {
        gap: 16px;
    }

    .logo-placeholder {
        width: 100px;
        height: 40px;
        font-size: 11px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ai-panel {
        width: 100%;
    }

    .floating-ai-btn {
        bottom: 24px;
        right: 24px;
        width: 52px;
        height: 52px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats .stat-item {
        flex-direction: row;
        gap: 8px;
        align-items: baseline;
    }

    .case-metrics {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: span 1;
    }
}

/* ============================================
   Cookie Policy Page Specific
   ============================================ */
.policy-page {
    padding-top: 100px;
}

.policy-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 32px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.policy-back:hover {
    background: var(--primary-bg);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.policy-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.policy-update {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-bg);
}

.policy-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.policy-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.policy-content li {
    list-style: disc;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 4px 0;
}

/* Cookie Table */
.cookie-table-wrap {
    overflow-x: auto;
    margin: 20px 0 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cookie-table thead {
    background: var(--bg-light);
}

.cookie-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.cookie-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    vertical-align: top;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.type-badge.necessary {
    background: var(--primary-bg);
    color: var(--primary);
}

.type-badge.analytics {
    background: #DBEAFE;
    color: #1E40AF;
}

.type-badge.functional {
    background: var(--accent-bg);
    color: #92400E;
}

.type-badge.marketing {
    background: #EDE9FE;
    color: #6D28D9;
}

/* Simple footer for policy page */
.footer-simple {
    background: var(--bg-warm);
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
}

.footer-simple p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-simple a {
    color: var(--primary);
}

.footer-simple a:hover {
    text-decoration: underline;
}
