/* ==========================================================================
   CarbonTrack Design System & Stylesheet
   ========================================================================== */

/* 1. Global Custom Variables */
:root {
    /* Color Palette */
    --primary: hsl(142, 70%, 45%);        /* Emerald Green */
    --primary-rgb: 46, 125, 50;
    --primary-light: hsl(142, 60%, 93%);
    --primary-hover: hsl(142, 72%, 38%);
    
    --secondary: hsl(200, 85%, 48%);      /* Deep Sky Blue */
    --secondary-hover: hsl(200, 85%, 40%);
    --secondary-light: hsl(200, 60%, 93%);
    
    --dark: #0f172a;                      /* Deep Forest Slate */
    --dark-green: #064e3b;                /* Dark Forest Green */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --light-bg: hsl(140, 40%, 97%);       /* Soft Mint */
    --white: #ffffff;
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    --card-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.04);
    --hover-shadow: 0 20px 40px 0 rgba(46, 125, 50, 0.12);
    
    /* Typography */
    --font-display: 'Sora', sans-serif;
    --font-sans: 'Outfit', sans-serif;
    
    /* Layout & Animation values */
    --max-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Document Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--light-bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* 3. Base Typography & Text Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-weight: 400;
    color: var(--text-secondary);
}

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

ul {
    list-style: none;
}

/* 4. Layout Elements & Grid Systems */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 30px;
}

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

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

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

/* 5. Section Headers */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.title-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* 6. Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #10B981);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-google {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid #e2e8f0;
    box-shadow: var(--card-shadow);
}

.btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.google-icon {
    margin-right: 8px;
}

/* 7. Card Styling (Glassmorphism) */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

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

/* 8. Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.logo span span {
    color: var(--secondary);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

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

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

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

.btn-login-nav {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary);
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(46, 125, 50, 0.15);
}

.btn-login-nav:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn-login-mobile {
    display: none;
}

/* Hamburger toggle menu */
.hamburger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
}

.hamburger-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* 9. Hero Section Styling */
.hero-section {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 252, 246, 0.85) 0%, rgba(235, 248, 250, 0.85) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--dark-green);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--dark);
}

.highlight-text {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #047857;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.04);
}

.hero-badge-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.badge-check-icon {
    width: 15px;
    height: 15px;
    color: #10B981;
}

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

/* Glass card scene animation on hero section */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-scene-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 10px;
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eco-illustration {
    width: 100%;
    height: auto;
}

/* SVGs Animations inside Hero */
.sun-orbit {
    transform-origin: 250px 250px;
    animation: rotate 60s linear infinite;
}

.earth-land {
    animation: earth-float 8s ease-in-out infinite alternate;
    transform-origin: 250px 250px;
}

.turbine .blades {
    transform-origin: 0px 0px;
    animation: rotate 6s linear infinite;
}

.turbine.fast .blades {
    transform-origin: 0px 0px;
    animation: rotate 3s linear infinite;
}

.tree-left {
    transform-origin: 180px 320px;
    animation: sway 6s ease-in-out infinite alternate;
}

.tree-right {
    transform-origin: 310px 325px;
    animation: sway 5s ease-in-out infinite alternate;
}

.leaf-particle {
    animation: float 4s ease-in-out infinite alternate;
}

.leaf-particle.l2 {
    animation-delay: 1.5s;
    animation-duration: 5s;
}

/* Standards Section Styling */
.standards-section {
    padding: 80px 0 60px;
    background-color: var(--white);
    position: relative;
}

.standards-header {
    margin-bottom: 50px;
}

.standards-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    display: inline-block;
}

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

.standard-card {
    background: #f4fbf7;
    border: 1.5px solid rgba(16, 185, 129, 0.12);
    border-radius: 20px;
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.standard-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.08);
}

.standard-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #047857;
    margin-bottom: 24px;
    transition: var(--transition);
}

.standard-card:hover .standard-icon-box {
    background: var(--primary);
    color: var(--white);
}

.standard-icon {
    width: 24px;
    height: 24px;
}

.standard-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.standard-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 10. About Section Styling */
.about-section {
    background: var(--white);
}

.card-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon-container:has(.green) {
    background: rgba(16, 185, 129, 0.1);
}

.card-icon-container:has(.blue) {
    background: rgba(59, 130, 246, 0.1);
}

.card-icon-container:has(.emerald) {
    background: rgba(4, 120, 87, 0.1);
}

.card-icon {
    width: 30px;
    height: 30px;
}

.card-icon.green { color: var(--primary); }
.card-icon.blue { color: var(--secondary); }
.card-icon.emerald { color: #047857; }

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats Section Styling */
.stats-section {
    padding: 100px 0;
    background-color: var(--dark-green);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.stats-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #6ee7b7;
    display: inline-block;
    margin-bottom: 16px;
}

.stats-title {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 20px;
}

.stats-desc {
    font-size: 1.1rem;
    color: #a7f3d0;
    line-height: 1.6;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(110, 231, 183, 0.15);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(110, 231, 183, 0.35);
    box-shadow: 0 10px 25px rgba(6, 78, 59, 0.3);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: #6ee7b7;
    line-height: 1.1;
    margin-bottom: 12px;
}

.stat-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

/* 11. Carbon Calculator Widget */
.calculator-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 40px;
    border-radius: 24px;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group-wrapper {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 24px;
}

.form-group-wrapper:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.15rem;
    color: var(--dark-green);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.title-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.scope-badge {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 8px;
}

.scope-badge.scope1 {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.scope-badge.scope2 {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.scope-badge.scope3 {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-control label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control input[type="number"],
.form-control select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--white);
}

.form-control input:focus,
.form-control select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Slider Custom design */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #cbd5e1;
    outline: none;
    margin: 12px 0 6px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* Calculator outputs panel */
.calculator-results {
    background: var(--dark-green);
    border-radius: 20px;
    padding: 30px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(6, 78, 59, 0.25);
    min-height: 480px;
}

.results-header h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.results-header p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.emissions-score-box {
    text-align: center;
    padding: 24px 0;
}

.score-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: #6EE7B7;
    margin-bottom: 5px;
    transition: var(--transition);
}

.score-unit {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
}

/* Scope Breakdown Styling */
.scopes-breakdown {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.scope-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.scope-bar-track {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.scope-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scope1-fill {
    background: #ef4444;
}

.scope2-fill {
    background: #3b82f6;
}

.scope3-fill {
    background: #10b981;
}

/* Target & Insight boxes */
.target-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(110, 231, 183, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.target-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #6ee7b7;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.target-icon {
    width: 16px;
    height: 16px;
    color: #6ee7b7;
}

.target-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.insight-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1.5px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: left;
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #93c5fd;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.insight-icon {
    width: 16px;
    height: 16px;
    color: #93c5fd;
    fill: rgba(147, 197, 253, 0.1);
}

.insight-text {
    font-size: 0.85rem;
    color: #e0f2fe;
    line-height: 1.4;
}

/* Dashboard Section Styling */
.dashboard-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    position: relative;
}

.dashboard-frame {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 45px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 24px;
}

.dashboard-title-box h3 {
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.dashboard-title-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    border-color: rgba(16, 185, 129, 0.15);
}

.kpi-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.color-indicator {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    display: inline-block;
}

.color-indicator.scope1 {
    background: #ef4444;
}

.color-indicator.scope2 {
    background: #3b82f6;
}

.color-indicator.scope3 {
    background: #10b981;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.kpi-change {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kpi-change.decrease {
    color: #10b981;
}

.kpi-change.increase {
    color: #ef4444;
}

.charts-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 24px;
}

.chart-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 30px;
}

.chart-header {
    margin-bottom: 24px;
}

.chart-header h5 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.chart-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.donut-chart-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    padding: 10px 0;
}

.donut-chart {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(#ef4444 0% 28%, #3b82f6 28% 75%, #10b981 75% 100%);
    position: relative;
}

.donut-center {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 90px;
    height: 90px;
    background: var(--white);
    border-radius: 50%;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.scope1 {
    background-color: #ef4444;
}

.legend-dot.scope2 {
    background-color: #3b82f6;
}

.legend-dot.scope3 {
    background-color: #10b981;
}

.legend-name {
    color: var(--text-secondary);
    font-weight: 550;
    min-width: 60px;
}

.legend-pct {
    font-weight: 700;
    color: var(--dark);
}

.trend-chart-container {
    display: flex;
    gap: 16px;
}

.y-axis-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    height: 180px;
    padding-bottom: 4px;
    text-align: right;
    min-width: 32px;
}

.trend-chart-wrapper {
    flex-grow: 1;
    height: 180px;
    position: relative;
}

.trend-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.x-axis-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
    margin-left: 48px;
}

/* 12. Methodology Timeline Styling */
.methodology-section {
    background: var(--white);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 80px auto 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 45px;
    width: 4px;
    height: 100%;
    background: var(--primary-light);
    z-index: 1;
}

.timeline-step {
    position: relative;
    display: flex;
    gap: 40px;
    z-index: 2;
    cursor: pointer;
}

.timeline-marker {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    flex-shrink: 0;
}

.timeline-icon {
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.timeline-content {
    flex-grow: 1;
    border: 2px solid transparent;
}

.step-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: var(--transition);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.timeline-step:hover .timeline-marker {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Active timeline styles */
.timeline-step.active .timeline-marker {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 8px var(--primary-light);
}

.timeline-step.active .timeline-content {
    border-color: var(--primary-light);
    box-shadow: var(--hover-shadow);
}

.timeline-step.active .step-badge {
    background: var(--primary-light);
    color: var(--dark-green);
}

.methodology-details-panel {
    max-width: 900px;
    margin: 110px auto 0;
    padding: 30px;
}

.methodology-details-panel h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.methodology-details-panel p {
    font-size: 1rem;
    max-width: 750px;
    margin: 0 auto;
}

/* 13. Features Section Styling */
.features-section {
    background-color: var(--light-bg);
    padding-top: 140px; /* Increased top padding to separate it from the methodology details panel */
}

.feature-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

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

.feature-icon .icon {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.bg-green { background: linear-gradient(135deg, var(--primary), #10b981); }
.bg-blue { background: linear-gradient(135deg, var(--secondary), #3b82f6); }
.bg-emerald { background: linear-gradient(135deg, #059669, #047857); }
.bg-teal { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.feature-card h3 {
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Card hover glow accent */
.hover-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover .hover-decoration {
    transform: scaleX(1);
}

/* 14. Privacy Section Styling */
.privacy-section {
    background-color: var(--white);
}

.privacy-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.privacy-graphic {
    display: flex;
    justify-content: center;
}

.shield-illustration {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.privacy-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.privacy-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.privacy-icon-box {
    width: 44px;
    height: 44px;
    background: #f0fdf4;
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}

.privacy-item-icon {
    width: 20px;
    height: 20px;
}

.privacy-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.privacy-item h4 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0;
    font-weight: 700;
}

.privacy-item p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Sparkles animation for privacy shield */
.sparkle {
    transform-origin: center;
    animation: rotate 8s linear infinite;
}

.sparkle.fast {
    animation-duration: 4s;
}

/* 15. Login Section Styling */
.login-section {
    background-image: url('assets/hero_background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.login-section::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(244, 252, 246, 0.9) 100%);
}

.login-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 480px;
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo {
    justify-content: center;
    margin-bottom: 16px;
}

.login-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
}

.forgot-pass {
    color: var(--primary);
    font-weight: 600;
}

.forgot-pass:hover {
    color: var(--primary-hover);
}

.divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.divider span {
    background: var(--white);
    padding: 0 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.login-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.login-footer-text a {
    color: var(--primary);
    font-weight: 600;
}

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

/* 16. Toast alert system */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--dark);
    color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid var(--primary);
}

/* 17. Modal popup overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    max-width: 400px;
    width: 90%;
    text-align: center;
    padding: 40px 30px;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 24px;
}

.modal-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.modal-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* 18. Footer Styling */
.footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.brand-col .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.brand-col .logo span span {
    color: #6ee7b7;
}

.quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    color: #6ee7b7;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.92rem;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: #6ee7b7;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

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

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 1px solid rgba(255,255,255,0.05);
}

.footer-socials a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* 19. Intersection Scroll-reveal animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 20. Keyframe Animations definition */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sway {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

@keyframes earth-float {
    0% { transform: translateY(-4px) rotate(0deg); }
    100% { transform: translateY(4px) rotate(2deg); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(15deg); }
}

/* ==========================================================================
   21. Responsive Media Queries
   ========================================================================== */

/* Tablet Layout (under 1024px) */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .grid-3, .standards-grid, .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calculator-results {
        min-height: auto;
    }
    
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .privacy-graphic {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .brand-col {
        grid-column: span 2;
    }
}

/* Phone Layout (under 768px) */
@media (max-width: 768px) {
    .hamburger-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 24px;
        right: 24px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        box-shadow: var(--glass-shadow);
        border-radius: 20px;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(10px);
        opacity: 1;
        pointer-events: auto;
    }
    
    .btn-login-nav {
        display: none;
    }
    
    .nav-btn-login-mobile {
        display: inline-block;
        width: 100%;
        text-align: center;
        background: var(--primary);
        color: var(--white);
        padding: 10px;
        border-radius: 12px;
        font-weight: 600;
    }
    
    /* Hamburger Active states */
    .hamburger-toggle.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .hamburger-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-toggle.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .grid-3, .grid-2, .standards-grid, .stats-grid, .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-step {
        gap: 20px;
    }
    
    .timeline-marker {
        width: 44px;
        height: 44px;
        border-width: 2.5px;
    }
    
    .timeline-icon {
        width: 20px;
        height: 20px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-step.active .timeline-marker {
        box-shadow: 0 0 0 4px var(--primary-light);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-wrapper {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-col {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ==========================================================================
   22. Extended Premium Functional Styling
   ========================================================================== */

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.theme-toggle-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

/* Dark Theme Variables Overrides */
html.dark-theme, body.dark-theme {
    --light-bg: #0b0f19;
    --white: #131926;
    --dark: #f8fafc;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    background-color: #0b0f19;
    color: #f1f5f9;
}

body.dark-theme header {
    background: rgba(11, 15, 25, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .glass-card, 
body.dark-theme .feature-card, 
body.dark-theme .standards-card, 
body.dark-theme .stats-card,
body.dark-theme .kpi-card,
body.dark-theme .chart-card,
body.dark-theme .timeline-content,
body.dark-theme .standard-card {
    background: rgba(19, 25, 38, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .standard-icon-box {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

body.dark-theme .step-badge {
    background: #0f131c;
    color: var(--text-secondary);
}

body.dark-theme .privacy-icon-box {
    background: rgba(16, 185, 129, 0.15);
}

body.dark-theme .hero-bg-overlay {
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.92) 0%, rgba(19, 25, 38, 0.92) 100%) !important;
}

body.dark-theme .login-section::before {
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.8) 0%, rgba(19, 25, 38, 0.92) 100%) !important;
}

body.dark-theme .calculator-results,
body.dark-theme .target-box,
body.dark-theme .insight-box,
body.dark-theme .mitigation-simulator-box {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme input, 
body.dark-theme select {
    background: #0f131c !important;
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme .donut-center {
    background: #131926;
}

body.dark-theme .y-axis-labels span,
body.dark-theme .x-axis-labels span {
    color: #64748b;
}

body.dark-theme .logo span span,
body.dark-theme .footer-logo span span {
    color: #3b82f6;
}

body.dark-theme .btn-secondary {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}
body.dark-theme .btn-secondary:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* Spinner Loader Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Interactive SVG Trend Chart Tooltip */
.chart-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -100%);
    margin-top: -12px;
    white-space: nowrap;
    display: none;
}

.chart-guide-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    border-left: 1.5px dashed var(--primary);
    pointer-events: none;
    display: none;
    z-index: 5;
}

.chart-data-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border: 2px solid var(--white);
    border-radius: 50%;
    pointer-events: none;
    display: none;
    z-index: 10;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* ==========================================
   10. Net-Zero Transition Planner Styles
   ========================================== */
.planner-section {
    background-color: var(--light-bg);
}

.planner-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 1.35fr;
    gap: 40px;
    align-items: start;
}

.planner-subtitle {
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 24px;
    font-family: var(--font-display);
    font-weight: 700;
}

.initiatives-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.initiative-card {
    display: block;
    padding: 24px;
    border-radius: 16px;
    cursor: pointer;
    background: var(--white);
    border: 1.5px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    user-select: none;
}

.initiative-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: rgba(0, 0, 0, 0.08);
}

.initiative-card.active {
    background: rgba(16, 185, 129, 0.03);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.initiative-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.initiative-header input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    background-color: var(--white);
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
    margin-top: 2px;
}

.initiative-card:hover .custom-checkbox {
    border-color: var(--primary);
}

.initiative-card.active .custom-checkbox {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.initiative-card.active .custom-checkbox::after {
    display: block;
}

.initiative-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.initiative-title-box h4 {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.init-scope-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.init-scope-badge.scope1 {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.init-scope-badge.scope2 {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.init-scope-badge.scope3 {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.initiative-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.45;
}

.initiative-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 12px;
}

.initiative-card.active .initiative-meta {
    border-top-color: rgba(16, 185, 129, 0.1);
}

.initiative-meta span strong {
    color: var(--text-primary);
}

.initiative-meta .savings-text {
    margin-left: auto;
    color: #10b981;
    font-weight: 600;
}

/* Forecasting Chart Card & Graph */
.planner-chart-card {
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.planner-chart-header {
    margin-bottom: 30px;
}

.planner-chart-header h3 {
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.planner-chart-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.planner-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.planner-kpi {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    transition: var(--transition);
}

.planner-kpi .kpi-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.planner-kpi .kpi-value-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-family: var(--font-display);
}

.planner-kpi .kpi-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
}

.planner-kpi .kpi-unit {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 2px;
}

.planner-kpi .kpi-value-wrapper.text-emerald .kpi-num,
.planner-kpi .kpi-value-wrapper.text-emerald .kpi-unit {
    color: #10b981;
}

/* SVG Chart styles */
.forecast-chart-container {
    position: relative;
    height: 270px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
}

.y-axis-labels-forecast {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    width: 40px;
    text-align: right;
    padding-bottom: 10px;
}

.forecast-chart-wrapper {
    position: relative;
    flex-grow: 1;
    height: 250px;
    background: transparent;
    border-bottom: 1.5px solid rgba(0,0,0,0.1);
    border-left: 1.5px solid rgba(0,0,0,0.1);
}

.forecast-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-grid-line-svg {
    stroke: rgba(0, 0, 0, 0.05);
    stroke-width: 1;
}

.chart-net-zero-line {
    stroke: var(--text-muted);
    stroke-opacity: 0.35;
    stroke-width: 1.5;
}

#chart-path-bau {
    stroke-dasharray: 6 4;
}

.chart-spline {
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: d 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

path[id$="-area"] {
    transition: d 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.forecast-x-axis {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-left: 56px;
    margin-bottom: 24px;
}

.forecast-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1.5px solid rgba(0,0,0,0.06);
    padding-top: 20px;
}

.forecast-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 550;
}

.legend-line {
    width: 32px;
    height: 3px;
    display: inline-block;
    border-radius: 2px;
}

.line-bau {
    background: #ef4444;
    height: 2px;
    border-top: 2px dashed #ef4444;
}

.line-decarb {
    background: #10b981;
    height: 3.5px;
}

.line-target {
    background: transparent;
    border-top: 2.5px dashed var(--text-muted);
    opacity: 0.5;
}

/* Tooltip and Guideline for Forecast Chart */
.forecast-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    pointer-events: none;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -100%);
    margin-top: -15px;
    display: none;
    line-height: 1.5;
    text-align: left;
    min-width: 140px;
}

.forecast-tooltip strong {
    font-weight: 700;
}

.forecast-tooltip .tooltip-year {
    font-weight: 800;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 4px;
    margin-bottom: 6px;
    color: #3b82f6;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.forecast-tooltip .tooltip-val {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 2px;
}

.forecast-tooltip .tooltip-val-bau {
    color: #fca5a5;
}

.forecast-tooltip .tooltip-val-decarb {
    color: #6ee7b7;
}

.forecast-guide-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    border-left: 1.5px dashed rgba(16, 185, 129, 0.35);
    pointer-events: none;
    display: none;
    z-index: 5;
}

.forecast-data-dot-bau {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border: 2px solid var(--white);
    border-radius: 50%;
    pointer-events: none;
    display: none;
    z-index: 10;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.forecast-data-dot-decarb {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid var(--white);
    border-radius: 50%;
    pointer-events: none;
    display: none;
    z-index: 10;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

/* Dark Theme Overrides for Planner Section */
body.dark-theme .planner-section {
    background-color: #0f131c;
}

body.dark-theme .initiative-card {
    background: rgba(30, 41, 59, 0.4);
    border-color: rgba(255, 255, 255, 0.04);
}

body.dark-theme .initiative-card:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .initiative-card.active {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--primary);
}

body.dark-theme .custom-checkbox {
    background-color: rgba(15, 19, 28, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-theme .initiative-title-box h4 {
    color: #f8fafc;
}

body.dark-theme .initiative-meta {
    border-top-color: rgba(255, 255, 255, 0.04);
}

body.dark-theme .initiative-meta span strong {
    color: #e2e8f0;
}

body.dark-theme .planner-chart-card {
    background: rgba(19, 25, 38, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .planner-chart-header h3 {
    color: #f8fafc;
}

body.dark-theme .planner-kpi {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.03);
}

body.dark-theme .planner-kpi .kpi-num {
    color: #f8fafc;
}

body.dark-theme .forecast-chart-wrapper {
    border-bottom-color: rgba(255,255,255,0.15);
    border-left-color: rgba(255,255,255,0.15);
}

body.dark-theme .chart-grid-line-svg {
    stroke: rgba(255, 255, 255, 0.03);
}

body.dark-theme .forecast-legend {
    border-top-color: rgba(255,255,255,0.05);
}

body.dark-theme .forecast-legend .legend-item {
    color: #e2e8f0;
}

body.dark-theme .forecast-data-dot-bau,
body.dark-theme .forecast-data-dot-decarb {
    border-color: #131926;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .planner-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .planner-kpis {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .planner-chart-card {
        padding: 20px;
    }
    
    .forecast-legend {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   11. Carbon Calculator Page Styles
   ========================================================================== */
.calculator-hero-section {
    padding-top: 150px;
    padding-bottom: 70px;
    background: linear-gradient(135deg, rgba(235, 248, 240, 0.95) 0%, rgba(220, 240, 245, 0.95) 100%);
    position: relative;
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}
body.dark-theme .calculator-hero-section {
    background: linear-gradient(135deg, rgba(11, 19, 36, 0.95) 0%, rgba(16, 22, 38, 0.95) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.calculator-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin-bottom: 180px;
}

.calc-card {
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.08);
    transition: var(--transition);
}

.calc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.18);
}

body.dark-theme .calc-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.08);
}

.calc-card-header {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.calc-card-header .header-titles {
    flex: 1;
    min-width: 250px;
}

.calc-card-header .header-titles h3 {
    font-size: 1.45rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 700;
}
body.dark-theme .calc-card-header .header-titles h3 {
    color: #f8fafc;
}

.calc-card-header .header-titles p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
body.dark-theme .calc-card-header .header-titles p {
    color: #94a3b8;
}

.calc-card-header .header-actions {
    display: flex;
    gap: 12px;
}

.header-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.calc-card:hover .header-icon-box {
    transform: scale(1.08) rotate(3deg);
}

.header-icon-box.bg-green {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}
.header-icon-box.bg-yellow {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
}
.header-icon-box.bg-red {
    background: rgba(239, 68, 68, 0.12);
    color: #EF4444;
}
.header-icon-box.bg-purple {
    background: rgba(139, 92, 246, 0.12);
    color: #8B5CF6;
}
.header-icon-box.bg-orange {
    background: rgba(249, 115, 22, 0.12);
    color: #F97316;
}
.header-icon-box.bg-teal {
    background: rgba(20, 184, 166, 0.12);
    color: #14B8A6;
}
.header-icon-box.bg-dark {
    background: rgba(15, 23, 42, 0.12);
    color: #475569;
}
body.dark-theme .header-icon-box.bg-dark {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.header-icon-box svg {
    width: 26px;
    height: 26px;
}

.calculator-form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .calculator-form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .calculator-form-grid {
        grid-template-columns: 1fr;
    }
}

.nested-form-section {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(16, 185, 129, 0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
    transition: var(--transition);
}
body.dark-theme .nested-form-section {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(255, 255, 255, 0.04);
}

.nested-form-section:hover {
    border-color: rgba(16, 185, 129, 0.16);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.02);
}

.nested-form-section .nested-title {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 600;
}
body.dark-theme .nested-form-section .nested-title {
    color: #f8fafc;
}

.nested-form-section .nested-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.table-container {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}
body.dark-theme .table-container {
    border-color: rgba(255, 255, 255, 0.06);
}

.calc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
    text-align: left;
}

.calc-table th {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.06), rgba(59, 130, 246, 0.02));
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 14px;
    border-bottom: 2px solid rgba(16, 185, 129, 0.1);
}
body.dark-theme .calc-table th {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    color: #cbd5e1;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.calc-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    vertical-align: middle;
    font-size: 0.92rem;
}
body.dark-theme .calc-table td {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.calc-table tr {
    transition: var(--transition);
}
.calc-table tbody tr:hover {
    background-color: rgba(16, 185, 129, 0.02);
}
body.dark-theme .calc-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.01);
}

.calc-table select,
.calc-table input[type="number"],
.calc-table input[type="text"] {
    width: 100%;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    border: 1.5px solid rgba(0,0,0,0.06) !important;
    outline: none !important;
    font-family: var(--font-sans) !important;
    font-size: 0.88rem !important;
    background: rgba(255, 255, 255, 0.6) !important;
    color: var(--dark) !important;
    transition: var(--transition) !important;
}
body.dark-theme .calc-table select,
body.dark-theme .calc-table input[type="number"],
body.dark-theme .calc-table input[type="text"] {
    background: rgba(15, 23, 42, 0.3) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #f8fafc !important;
}

.calc-table select:focus,
.calc-table input:focus {
    border-color: var(--primary) !important;
    background: var(--white) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}
body.dark-theme .calc-table select:focus,
body.dark-theme .calc-table input:focus {
    background: rgba(15, 23, 42, 0.7) !important;
}

.readonly-input {
    background-color: rgba(0, 0, 0, 0.03) !important;
    color: var(--text-muted) !important;
    border-color: rgba(0, 0, 0, 0.03) !important;
    cursor: not-allowed;
}
body.dark-theme .readonly-input {
    background-color: rgba(15, 23, 42, 0.7) !important;
    color: #64748b !important;
}

.text-em-day {
    color: #10B981;
    font-weight: 700;
}
.text-em-month {
    color: #3B82F6;
    font-weight: 700;
}
.text-em-year {
    color: #84CC16;
    font-weight: 700;
}
.text-em-year-tons {
    color: #0D9488;
    font-weight: 700;
}

.btn-delete-row {
    background: transparent;
    border: none;
    color: #EF4444;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-delete-row:hover {
    background: rgba(239, 68, 68, 0.08);
    transform: scale(1.15);
}

.btn-add {
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    padding: 11px 22px;
    font-size: 0.88rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}
.btn-add:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-hover);
    transform: translateY(-2px);
}
body.dark-theme .btn-add {
    background: rgba(30, 41, 59, 0.3);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}
body.dark-theme .btn-add:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
}

.btn-export {
    background: var(--white);
    color: var(--text-primary);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    padding: 10px 18px;
    font-size: 0.88rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-export:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
body.dark-theme .btn-export {
    background: rgba(30, 41, 59, 0.3);
    border-color: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.result-display-box {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(16, 185, 129, 0.02));
    border: 1.5px solid rgba(13, 148, 136, 0.18);
    color: #0D9488;
    font-weight: 800;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 1.15rem;
    height: 52px;
    display: flex;
    align-items: center;
    font-family: var(--font-sans);
    box-shadow: inset 0 2px 4px rgba(13, 148, 136, 0.02);
}
body.dark-theme .result-display-box {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(16, 185, 129, 0.05));
    border-color: rgba(13, 148, 136, 0.28);
    color: #2dd4bf;
}

.formulas-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .formulas-container {
        grid-template-columns: 1fr;
    }
}

.formula-box {
    background: rgba(15, 23, 42, 0.01);
    border: 1px dashed rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    padding: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.formula-box:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.01);
}
body.dark-theme .formula-box {
    background: rgba(255, 255, 255, 0.005);
    border-color: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}
.formula-box strong {
    color: var(--primary);
}

/* Premium Floating Summary Dashboard widget */
.sticky-summary-widget {
    position: relative;
    width: 100%;
    background: var(--white);
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: var(--card-shadow);
    border-radius: 24px;
    padding: 24px 30px;
    transition: var(--transition);
}

body.dark-theme .sticky-summary-widget {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.summary-widget-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.summary-stat-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-stat-box .stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}
body.dark-theme .summary-stat-box .stat-label {
    color: #64748b;
}

.summary-stat-box .stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--dark);
    display: flex;
    align-items: baseline;
    gap: 4px;
}
body.dark-theme .summary-stat-box .stat-value {
    color: #f8fafc;
}

.summary-stat-box .stat-unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.summary-stat-box .stat-value.text-red {
    color: #EF4444;
}
.summary-stat-box .stat-value.text-green {
    color: #10B981;
}

.summary-stat-box.highlight {
    background: rgba(16, 185, 129, 0.06);
    padding: 10px 20px;
    border-radius: 14px;
    border: 1.5px solid rgba(16, 185, 129, 0.16);
}
body.dark-theme .summary-stat-box.highlight {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.24);
}
.summary-stat-box.highlight .stat-value {
    color: #059669;
}
body.dark-theme .summary-stat-box.highlight .stat-value {
    color: #34D399;
}

.summary-actions {
    display: flex;
    gap: 16px;
}

.summary-actions .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .sticky-summary-widget {
        bottom: 12px;
        left: 12px;
        transform: none;
        width: calc(100% - 24px);
        border-radius: 20px;
        padding: 16px;
    }
    .summary-widget-container {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .summary-actions {
        justify-content: stretch;
    }
    .summary-actions .btn {
        flex: 1;
    }
    .calculator-layout-wrapper {
        margin-bottom: 280px;
    }
}

/* Specific Section Customization - Organization Details */
.org-details-card {
    background: linear-gradient(135deg, #f3faf6 0%, #e8f5f8 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.12) !important;
    border-radius: 20px !important;
    padding: 36px 40px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01) !important;
    transition: var(--transition) !important;
}

body.dark-theme .org-details-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(13, 148, 136, 0.05) 100%) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.org-details-header {
    margin-bottom: 24px;
}

.org-details-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.org-details-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #047857;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
body.dark-theme .org-details-icon {
    color: #34d399;
}

.org-details-icon svg {
    width: 24px;
    height: 24px;
}

.org-details-title-row h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
body.dark-theme .org-details-title-row h3 {
    color: #f8fafc;
}

.org-details-subtitle {
    font-size: 0.88rem;
    color: #6b7280;
    margin: 0;
}
body.dark-theme .org-details-subtitle {
    color: #94a3b8;
}

.org-details-card .form-control label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}
body.dark-theme .org-details-card .form-control label {
    color: #cbd5e1;
}

.org-details-card .form-control input {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 0.92rem !important;
    color: #1f2937 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
    transition: var(--transition) !important;
}
body.dark-theme .org-details-card .form-control input {
    background-color: rgba(15, 23, 42, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #f8fafc !important;
    box-shadow: none !important;
}

.org-details-card .form-control input::placeholder {
    color: #9ca3af !important;
}
body.dark-theme .org-details-card .form-control input::placeholder {
    color: #64748b !important;
}

.org-details-card .form-control input:focus {
    border-color: #047857 !important;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15) !important;
    background-color: #ffffff !important;
}
body.dark-theme .org-details-card .form-control input:focus {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border-color: #34d399 !important;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15) !important;
}

/* Explicit widths for Table Form Elements to prevent column squishing */
.vehicle-type {
    min-width: 140px;
}
.fuel-type {
    min-width: 120px;
}
.energy-type {
    min-width: 220px;
}
.energy-unit {
    min-width: 100px;
}
.lpg-type {
    min-width: 180px;
}
.paper-type {
    min-width: 210px;
}
.tree-species {
    min-width: 150px;
}

.calc-table input[type="number"] {
    min-width: 90px;
}
.calc-table input.readonly-input {
    min-width: 90px;
}
/* ==========================================
   12. Calculator File Upload & Previews Styling
   ========================================== */
.custom-file-upload {
    position: relative;
    border: 2px dashed rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    background: rgba(16, 185, 129, 0.02);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    height: 100px;
}

body.dark-theme .custom-file-upload {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.custom-file-upload:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

body.dark-theme .custom-file-upload:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
}

.custom-file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.upload-placeholder .upload-icon {
    font-size: 1.8rem;
}

.upload-placeholder .upload-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

body.dark-theme .upload-placeholder .upload-text {
    color: #94a3b8;
}

.logo-preview-container,
.photo-preview-container,
.layout-preview-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 5;
    padding: 4px;
    pointer-events: none; /* Make clicks fall through to parent or delete button */
}

.logo-preview-container img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.photo-preview-container img {
    width: auto;
    max-width: 100%;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 1.5px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.layout-preview-container {
    flex-direction: column;
    gap: 6px;
    color: var(--primary);
}

.layout-preview-container .file-icon {
    font-size: 1.5rem;
}

.layout-preview-container .file-name-label {
    font-size: 0.75rem;
    font-weight: 700;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-primary);
}

body.dark-theme .layout-preview-container .file-name-label {
    color: #e2e8f0;
}

.remove-preview-btn {
    position: absolute;
    top: -8px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    transition: var(--transition);
    pointer-events: auto; /* Enable clicks specifically on remove button */
}

.remove-preview-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .form-control.file-upload-control {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .form-control.file-upload-control {
        grid-column: span 1;
    }
}
/* ==========================================
   13. Calculator Sub-Navigation Strip Styles
   ========================================== */
.calculator-subnav-wrapper {
    position: sticky;
    top: 72px;
    z-index: 990;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 24px;
    padding: 6px 0;
    transition: var(--transition);
}

.calculator-subnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    padding: 8px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbars for cleaner view */
}

.calculator-subnav::-webkit-scrollbar {
    display: none;
}

body.dark-theme .calculator-subnav {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.subnav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

body.dark-theme .subnav-link {
    color: #94a3b8;
}

.subnav-link:hover {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.04);
}

body.dark-theme .subnav-link:hover {
    background: rgba(255, 255, 255, 0.02);
}

.subnav-link.active {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

body.dark-theme .subnav-link.active {
    color: #0f172a;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.subnav-icon {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .calculator-subnav {
        justify-content: flex-start;
        gap: 8px;
    }
    
    .subnav-link {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* ==========================================
   14. Scope Badge Enhancements
   ========================================== */
.init-scope-badge.offset {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.calc-table td .init-scope-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.68rem;
    font-weight: 700;
}

.row-scope-col {
    width: 90px;
    min-width: 90px;
    text-align: center;
}

/* ==========================================
   15. EcoBot AI Chatbot Widget Styles
   ========================================== */
.ecobot-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.ecobot-fab:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 14px 35px rgba(16, 185, 129, 0.5), 0 6px 16px rgba(0, 0, 0, 0.2);
}

.ecobot-fab:active {
    transform: scale(0.95);
}

.ecobot-fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.6);
    animation: botPulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes botPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.ecobot-fab-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #3b82f6;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
}

.ecobot-fab-icon,
.ecobot-close-icon {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.ecobot-fab.active .ecobot-fab-icon {
    display: none;
}

.ecobot-fab:not(.active) .ecobot-close-icon {
    display: none;
}

/* Chatbot Drawer Window */
.ecobot-drawer {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 410px;
    max-width: calc(100vw - 32px);
    height: 600px;
    max-height: calc(100vh - 120px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecobot-drawer.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

/* Header */
.ecobot-header {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #065f46 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ecobot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ecobot-avatar-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecobot-avatar-wrap svg {
    width: 24px;
    height: 24px;
    color: #6ee7b7;
}

.ecobot-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #34d399;
    border: 2px solid #064e3b;
    border-radius: 50%;
}

.ecobot-header-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.ecobot-header-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.ecobot-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ecobot-icon-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.ecobot-icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.ecobot-icon-btn svg {
    width: 16px;
    height: 16px;
}

/* Chat Body */
.ecobot-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.5) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.ecobot-body::-webkit-scrollbar {
    width: 5px;
}

.ecobot-body::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 4px;
}

/* Welcome Card */
.ecobot-welcome-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.ecobot-welcome-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #064e3b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ecobot-welcome-card p {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 12px;
}

.ecobot-chips-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #059669;
    margin-bottom: 8px;
}

.ecobot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ecobot-chip {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #047857;
    font-size: 0.76rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.ecobot-chip:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

/* Messages */
.ecobot-msg {
    display: flex;
    flex-direction: column;
    max-width: 86%;
    animation: msgFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes msgFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ecobot-msg.user {
    align-self: flex-end;
}

.ecobot-msg.bot {
    align-self: flex-start;
}

.ecobot-msg-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.5;
    word-break: break-word;
}

.ecobot-msg.user .ecobot-msg-bubble {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.ecobot-msg.bot .ecobot-msg-bubble {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ecobot-msg.bot .ecobot-msg-bubble p {
    color: #1e293b;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.ecobot-msg.bot .ecobot-msg-bubble p:last-child {
    margin-bottom: 0;
}

.ecobot-msg.bot .ecobot-msg-bubble ul, 
.ecobot-msg.bot .ecobot-msg-bubble ol {
    margin-left: 18px;
    margin-top: 6px;
    margin-bottom: 8px;
    list-style-type: disc;
}

.ecobot-msg.bot .ecobot-msg-bubble li {
    margin-bottom: 4px;
    font-size: 0.83rem;
    color: #334155;
}

.ecobot-msg.bot .ecobot-msg-bubble strong {
    color: #064e3b;
    font-weight: 700;
}

.ecobot-msg-time {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-top: 4px;
    padding: 0 4px;
}

.ecobot-msg.user .ecobot-msg-time {
    align-self: flex-end;
}

.ecobot-msg.bot .ecobot-msg-time {
    align-self: flex-start;
}

/* Typing Indicator */
.ecobot-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.ecobot-typing-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.ecobot-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ecobot-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Footer / Input Bar */
.ecobot-footer {
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ecobot-input-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    padding: 6px 6px 6px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ecobot-input-form:focus-within {
    border-color: #10b981;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.ecobot-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: 0.85rem;
    color: #1e293b;
    resize: none;
    max-height: 80px;
    line-height: 1.4;
}

.ecobot-input::placeholder {
    color: #94a3b8;
}

.ecobot-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ecobot-send-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.ecobot-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ecobot-send-btn svg {
    width: 17px;
    height: 17px;
}

.ecobot-footer-note {
    font-size: 0.68rem;
    color: #94a3b8;
    text-align: center;
}

.ecobot-footer-note a {
    color: #059669;
    text-decoration: underline;
}

/* Settings Modal */
.ecobot-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.ecobot-settings-modal.active {
    opacity: 1;
    pointer-events: all;
}

.ecobot-settings-card {
    background: #ffffff;
    border-radius: 20px;
    width: 440px;
    max-width: 100%;
    padding: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecobot-settings-modal.active .ecobot-settings-card {
    transform: scale(1);
}

.ecobot-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.ecobot-settings-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #064e3b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ecobot-settings-body label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 6px;
}

.ecobot-settings-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.85rem;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s ease;
}

.ecobot-settings-input:focus {
    border-color: #10b981;
}

.ecobot-settings-help {
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 20px;
}

.ecobot-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ecobot-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.ecobot-btn-save {
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

/* Mobile Responsive adjustment */
@media (max-width: 480px) {
    .ecobot-fab {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    
    .ecobot-drawer {
        bottom: 84px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
        height: calc(100vh - 110px);
        border-radius: 20px;
    }
}

/* ==========================================
   16. AI Carbon Footprint Report Generator CSS
   ========================================== */
.report-metric-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.mitigation-card {
    transition: all 0.25s ease;
}

.mitigation-card:hover {
    border-color: #10b981 !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}

.sim-slider-group input[type=range] {
    cursor: pointer;
}

@media print {
    body * {
        visibility: hidden !important;
    }
    .report-modal-overlay,
    .report-modal-window,
    .report-modal-body,
    #report-rendered-content,
    #report-rendered-content * {
        visibility: visible !important;
    }
    .report-modal-overlay {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        background: #ffffff !important;
        padding: 0 !important;
    }
    .report-modal-window {
        width: 100% !important;
        height: auto !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
    }
    .report-modal-header,
    .ecobot-fab,
    .ecobot-drawer,
    .toast-container,
    .navbar,
    .footer {
        display: none !important;
    }
    .report-modal-body {
        padding: 0 !important;
        background: #ffffff !important;
    }
}



