/* Font Import */
@font-face {
    font-family: 'Figtree-Regular';
    src: url('fonts/Figtree-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Figtree-Bold';
    src: url('fonts/Figtree-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

::selection {
  background: #c0c0c0;
  color: #000000;
}

/* For Firefox compatibility */
::-moz-selection {
  background: #c0c0c0;
  color: #000000;
}

/* Official Banner Styles */
.official-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #181818;
    z-index: 9999;
    font-family: Figtree-Regular;
    ::-moz-selection {
    color: #000000;
    background: #c0c0c0;
    }

    ::selection {
    color: #000000;
    background: #c0c0c0;
}
}

.official-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.official-globe-icon {
    width: 20px;
    height: 20px;
    color: #f1f1f1;
    flex-shrink: 0;
}

.official-banner-text {
    font-size: 13px;
    color: #f1f1f1;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.banner-toggle {
    background: none;
    border: none;
    color: #fff1f1;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    padding-left: 5px;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.banner-toggle:hover {
    color: #f1f1f1;
}

.banner-toggle:focus {
    background-color: #ffffff;
    color: #000000;
    outline: none;
}

.banner-arrow {
    width: 16px;
    height: 16px;
    color: #f1f1f1;
    margin-left: 2px;
    mix-blend-mode: difference;
}

.banner-toggle.expanded .banner-arrow {
    transform: rotate(180deg);
}

.banner-expanded-content {
    display: none;
    background-color: #f1f1f1;
    animation: ease-in;
}

.banner-expanded-content.expanded {
    display: block;
}

.banner-info-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.banner-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    color: #000000;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-text strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Add padding to body to account for fixed banner */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

body {
    padding-top: 0;
}

/* Powered By Branding */
.powered-by {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 12px 16px 16px;
    opacity: 0.6;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.powered-by-text {
    font-size: 9px;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.powered-by-logo {
    height: 12px;
    width: auto;
}

/* Main Header Styles */
.main-header {
    position: sticky;
    top: 40px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    font-family: Figtree-Regular;
    margin-top: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    align-self: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-link:focus {
    outline: 5px solid #000000;
    outline-offset: 2px;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.logo-text {
    font-family: Figtree-Bold;
    font-size: 18px;
    color: #1a1a1a;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.logo-text-bold {
    font-family: Figtree-Bold;
    font-size: 18px;
    color: #1a1a1a;
    line-height: 1.2;
}

.logo-text-regular {
    font-family: 'Times New Roman';
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.2;
}

.logo-text-regular i {
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 8px;
}

.nav-links a:focus,
.nav-links a:active {
    outline: 5px solid #000000;
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
    }
    
    .logo img {
        height: 48px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-links a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 12px;
    }
    
    .nav-links a {
        font-size: 12px;
    }
}

/* Hero Section Styles */
.hero-section {
    background-color: #000000;
    font-family: Figtree-Regular;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    padding: 0 24px;
    box-sizing: border-box;
    min-height: 600px;
}

.hero-content {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.hero-heading {
    font-family: Figtree-Bold;
    font-size: 48px;
    color: #ffffff;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.hero-paragraph {
    font-family: Figtree-Regular;
    font-size: 18px;
    color: #e0e0e0;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.hero-button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 20px;
    font-family: Figtree-Bold;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.hero-button:hover {
    background-color: #f0f0f0;
}

.hero-button:active {
    background-color: #ffffff;
}

.hero-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

.hero-button i {
    font-size: 24px;
}
/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90);
    cursor: default;
}

.video-modal-content {
    position: relative;
    z-index: 10001;
    width: 90vw;
    max-width: 1000px;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: -50px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 24px;
    cursor: default;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    border-radius: 4px;
}

.video-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.video-modal-close:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}


.yt-wrapper {
    overflow: hidden;
    max-width: 100%;
    background-color: #000000;
}

@media screen and (min-width: 768px) {
    .yt-frame-container {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 25px;
        width: 300%;
        left: -100%;
    }

    .yt-frame-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }
}

@media screen and (max-width: 767px) {
    .yt-frame-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
    }
    
    .yt-frame-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: 16/9;
        pointer-events: none;
    }
}

/* Prevent scrolling when modal is open */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .video-modal-content {
        max-width: 95%;
    }
    
    .video-modal-close {
        top: -35px;
        font-size: 28px;
    }
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
    position: relative;
    margin-left: -80px;
}

.hero-image::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 150px;
    background: linear-gradient(to right, #000000 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Image Hotspot Styles */
.image-hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 3;
    transform: translate(-50%, -50%);
}

.hotspot-marker {
    width: 24px;
    height: 24px;
    background-color: #000000;
    border: 3px solid #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotspot-icon {
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.image-hotspot.active .hotspot-icon {
    transform: rotate(90deg);
}

.image-hotspot:hover .hotspot-marker {
    transform: scale(1.2);
    transition: none;
}

.hotspot-tooltip {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000;
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 8px;
    min-width: 250px;
    max-width: 350px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 2px solid #ffffff;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
    transition: none;
}

.hotspot-tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #000000;
    z-index: 1;
}

.hotspot-tooltip.active {
    opacity: 1;
    visibility: visible;
}

.hotspot-tooltip p {
    margin: 0;
    font-family: Figtree-Regular;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
}

/* Hero Section Responsive */
@media (max-width: 1220px) and (max-height: 850px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-content {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 60px 0;
    }
    
    .hero-image {
        display: none;
        min-height: 400px;
        margin-left: 0;
    }
    
    .hero-image::before {
        width: 100px;
    }
    
    .hero-heading {
        font-size: 36px;
    }
    
    .hero-paragraph {
        font-size: 16px;
    }
}

/* Separator Bar */
.separator-bar {
    width: 100%;
    height: 8px;
    background-color: #313131;
}

/* Content Section */
.content-section {
    background-color: #000000;
    font-family: Figtree-Regular;
    padding: 80px 24px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-family: Figtree-Bold;
    font-size: 42px;
    color: #ffffff;
    text-align: center;
    margin: 0 0 48px 0;
    line-height: 1.2;
}

/* Tile Cards */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.tile-card {
    background-color: #000000;
    border: 2px solid #666666;
    border-radius: 12px;
    padding: 32px 24px;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.tile-card:hover {
    border-color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.tile-card:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.tile-icon {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 16px;
}

.tile-title {
    font-family: Figtree-Bold;
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.tile-description {
    font-family: Figtree-Regular;
    font-size: 14px;
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
}

/* Content Viewer */
.content-viewer {
    margin-top: 32px;
    background-color: #000000;
    border: 2px solid #666666;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.viewer-header {
    background-color: #1a1a1a;
    padding: 16px 24px;
    border-bottom: 1px solid #666666;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.viewer-title {
    font-family: Figtree-Bold;
    font-size: 18px;
    color: #ffffff;
}

.viewer-content {
    padding: 32px 24px;
    color: #ffffff;
    font-family: Figtree-Regular;
    min-height: 350px;
}

.viewer-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 350px;
    color: #888888;
    text-align: center;
}

.viewer-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
}

.viewer-placeholder p {
    font-size: 16px;
    margin: 0;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.content-loaded h3 {
    font-family: Figtree-Bold;
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.content-loaded p {
    font-family: Figtree-Regular;
    font-size: 16px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.content-loaded ul {
    color: #cccccc;
    line-height: 1.8;
    margin: 16px 0;
}

.content-loaded a {
    color: #ffffff;
    text-decoration: underline;
}

.content-loaded a:hover {
    color: #e0e0e0;
}

/* Chart Container */
.chart-container {
    margin: 24px 0;
    padding: 24px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333333;
}

.chart-container canvas {
    max-height: 400px;
}

/* Calculator Styles */
.calculator-dropdown {
    width: 100%;
    padding: 12px 16px;
    font-family: Figtree-Regular, Arial, sans-serif;
    font-size: 16px;
    color: #ffffff;
    background-color: #1a1a1a;
    border: 2px solid #666666;
    border-radius: 8px;
    margin: 16px 0;
    cursor: pointer;
}

.calculator-dropdown:focus {
    outline: 2px solid #ffffff;
    border-color: #ffffff;
}

.calculator-content {
    margin-top: 24px;
}

.calculator-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #888888;
    text-align: center;
}

.calculator-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.calculator-placeholder p {
    font-size: 14px;
    margin: 0;
}

.calculator-interface h4 {
    font-family: Figtree-Bold;
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.calculator-interface > p {
    color: #cccccc;
    margin: 0 0 24px 0;
    font-size: 14px;
}

.calculator-form {
    background-color: #1a1a1a;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #333333;
}

.converter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.kelvin-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: Figtree-Bold;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
}

.calc-input,
.calc-select {
    width: 100%;
    padding: 10px 12px;
    font-family: Figtree-Regular, Arial, sans-serif;
    font-size: 15px;
    color: #ffffff;
    background-color: #000000;
    border: 1px solid #666666;
    border-radius: 6px;
    box-sizing: border-box;
}

.calc-input[type="number"]:focus {
    outline: 2px solid #ffffff;
    border-color: #ffffff;
    font-size: 24px;
    transition: none;
}

.calc-input:focus,
.calc-select:focus {
    outline: 2px solid #ffffff;
    border-color: #ffffff;
}

.calc-slider {
    width: 100%;
    height: 8px;
    background: #333333;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

.calc-button {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    font-family: Figtree-Bold;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
}

.calc-button:hover {
    background-color: #f0f0f0;
}

.calc-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.calc-result {
    margin-top: 20px;
    padding: 16px;
    background-color: #000000;
    border-radius: 6px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

.calc-result #resultText {
    flex: 1;
}

.copy-button {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #666666;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background-color: #444444;
    border-color: #888888;
}

.copy-button:active {
    background-color: #222222;
}

.copy-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.copy-button i {
    font-size: 16px;
}

.lamp-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.lamp-tile {
    position: relative;
    height: 120px;
    border: 3px solid #666666;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.lamp-tile:hover {
    border-color: #999999;
}

.lamp-tile.active {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px #ffffff;
}

.lamp-tile:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.lamp-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.lamp-tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    z-index: 1;
}

.lamp-tile-name {
    font-family: Figtree-Bold;
    font-size: 16px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
    user-select: none;
}

.compare-checkbox-wrapper {
    margin: 20px 0;
    padding: 16px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333333;
}

.compare-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.compare-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ffffff;
}

.compare-checkbox:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.compare-checkbox-text {
    font-family: Figtree-Regular, Arial, sans-serif;
    font-size: 15px;
    color: #ffffff;
}

.comparison-better {
    color: #4ade80;
    margin-right: 8px;
}

.comparison-worse {
    color: #f87171;
    margin-right: 8px;
}

.comparison-neutral {
    color: #888888;
    margin-right: 8px;
}

.efficiency-value {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Figtree-Bold;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.4;
}

.comparison-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 100%;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-table-header {
    font-family: Figtree-Bold;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    background-color: #1a1a1a;
    border: 2px solid #666666;
    border-radius: 8px;
}

.radio-group {
}

.comparison-better {
    color: #4ade80;
    margin-right: 8px;
}

.comparison-worse {
    color: #f87171;
    margin-right: 8px;
}

.comparison-neutral {
    color: #888888;
    margin-right: 8px;
}

.efficiency-value {
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #000000;
    border: 2px solid #666666;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-label:hover {
    border-color: #888888;
    background-color: #1a1a1a;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ffffff;
}

.radio-label input[type="radio"]:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.radio-text {
    font-family: Figtree-Regular, Arial, sans-serif;
    font-size: 15px;
    color: #ffffff;
    user-select: none;
}

.efficiency-result {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
    max-width: 100%;
}

.efficiency-card {
    background-color: #000000;
    border: 2px solid #666666;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
}

.efficiency-label {
    font-family: Figtree-Regular, Arial, sans-serif;
    font-size: 13px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.efficiency-value {
    font-family: Figtree-Bold;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.4;
}

.kelvin-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.kelvin-number-input {
    flex: 1;
}

.kelvin-unit {
    font-family: Figtree-Bold;
    font-size: 16px;
    color: #ffffff;
    min-width: 20px;
}

.calc-result .success {
    color: #4ade80;
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-check {
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
}

.calc-result .error {
    color: #f87171;
    font-size: 16px;
    margin: 0;
}

.kelvin-visual {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    margin: 20px 0;
    border: 2px solid #666666;
    transition: background-color 0.3s ease;
}

.kelvin-info {
    background-color: #000000;
    padding: 16px;
    border-radius: 6px;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kelvin-info .result-check {
    flex-shrink: 0;
}

.kelvin-info-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.kelvin-info strong {
    display: block;
    font-family: Figtree-Bold;
    font-size: 16px;
    color: #ffffff;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.kelvin-info p {
    color: #cccccc;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .converter-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .kelvin-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .efficiency-result {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .lamp-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .comparison-tables {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 60px 16px;
    }
    
    .section-heading {
        font-size: 32px;
        margin-bottom: 32px;
    }
    
    .tile-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tile-card {
        padding: 24px 20px;
    }
    
    .tile-icon {
        font-size: 40px;
    }
    
    .tile-title {
        font-size: 18px;
    }
    
    .content-viewer {
        min-height: 300px;
    }
    
    .viewer-content {
        padding: 24px 16px;
        min-height: 250px;
    }
    
    .viewer-placeholder {
        height: 250px;
    }
    
    .viewer-placeholder i {
        font-size: 36px;
    }
    
    .viewer-placeholder p {
        font-size: 14px;
    }
}

/* Footer Styles */
.main-footer {
    background-color: #313131;
    font-family: Figtree-Regular;
    padding: 40px 0 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid #555555;
}

.footer-logo img {
    height: 100px;
    width: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.footer-logo-link:focus {
    outline: 5px solid #ffffff;
    outline-offset: 2px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo-bold {
    font-family: Figtree-Bold;
    font-size: 50px;
    color: #ffffff;
    line-height: 1.2;
}

.footer-logo-regular {
    font-family: 'Times New Roman';
    font-size: 24px;
    color: #cccccc;
    line-height: 1.2;
}

.footer-logo-regular i {
    font-style: italic;
}

.footer-images {
    display: flex;
    gap: 32px;
    align-items: center;
}

.footer-image-spot {
    width: 80px;
    height: 80px;
    background-color: #1a1a1a;
    border: 1px solid #555555;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-image-spot i {
    font-size: 32px;
    color: #ffffff;
    opacity: 0.7;
}

.footer-image-spot img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    font-size: 12px;
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.footer-tor-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.footer-tor-logo img {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(1);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.footer-tor-logo:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.footer-bottom a {
    color: #cccccc;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom a:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-images {
        gap: 16px;
    }
    
    .footer-image-spot {
        width: 60px;
        height: 60px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
    
    .footer-tor-logo img {
        height: 16px;
    }
}