* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-base: #0b0f14;
    --bg-panel: #10151d;
    --bg-panel-alt: #0f141b;
    --text-primary: #e5e7eb;
    --text-secondary: #9aa4b2;
    --accent: #8b5cf6;
    --accent-hover: #a78bfa;
    --border: rgba(139, 92, 246, 0.2);
    --border-hover: rgba(139, 92, 246, 0.4);
}

/* Custom scrollbar for main page */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    border: 2px solid var(--bg-base);
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.3) var(--bg-base);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Link styles */
a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

a:visited {
    color: var(--accent);
}

a:visited:hover {
    color: var(--accent-hover);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    overflow-x: hidden;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, 
        #8b5cf6 0%, 
        #a78bfa 25%, 
        #06b6d4 50%, 
        #a78bfa 75%, 
        #8b5cf6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 300;
}

/* Header Navigation */
.header-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.nav-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, 
        #8b5cf6 0%, 
        #06b6d4 50%, 
        #8b5cf6 100%);
    background-size: 200% auto;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: gradient-shift 3s ease infinite;
    transition: all 0.3s ease;
    
    /* Gradient text effect */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    z-index: -1;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: linear-gradient(135deg, 
        #a78bfa 0%, 
        #22d3ee 50%, 
        #a78bfa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-color: var(--accent);
    transform: translateY(-2px);
    animation: gradient-shift 2s ease infinite;
}

.nav-button:hover::before {
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.nav-button:active {
    transform: translateY(0);
}

h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

h2::before {
    content: '';
    width: 4px;
    height: 1.4rem;
    background: var(--accent);
    border-radius: 2px;
}

/* Section Header */
.section-header {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1.5rem 0;
    letter-spacing: 0.5px;
}

/* Information Section */
.information-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.information-section h2 {
    margin-bottom: 2rem;
}

.information-section h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.information-section h3::before {
    content: '';
    width: 4px;
    height: 1.3rem;
    background: linear-gradient(180deg, var(--accent), rgba(139, 92, 246, 0.5));
    border-radius: 2px;
}

.information-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.information-section .intro-text {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.9;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.08);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.information-section .highlight-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.information-section .tier-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.information-section .tier-card {
    background: rgba(16, 21, 29, 0.6);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.information-section .tier-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.information-section .tier-card h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.information-section .tier-card.tier-analytics {
    border-color: rgba(139, 92, 246, 0.3);
}

.information-section .tier-card.tier-analytics:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.information-section .tier-card.tier-analytics h4 {
    color: var(--accent);
}

.information-section .tier-card.tier-datalake {
    border-color: rgba(6, 182, 212, 0.3);
}

.information-section .tier-card.tier-datalake:hover {
    border-color: #06b6d4;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2);
}

.information-section .tier-card.tier-datalake h4 {
    color: #06b6d4;
}

.information-section .tier-card p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.information-section .diagram-container {
    margin: 2rem 0;
    text-align: center;
    padding: 1.5rem;
    background: rgba(16, 21, 29, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
}

.information-section .info-diagram {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.information-section .info-diagram:hover {
    transform: scale(1.02);
}

.information-section .retention-example {
    background: rgba(16, 21, 29, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.information-section .retention-example h4 {
    color: #10b981;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.information-section .retention-example ol {
    margin-left: 1.5rem;
    color: var(--text-secondary);
}

.information-section .retention-example li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

.information-section .retention-example li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.information-section .note-box {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.information-section .note-box p {
    color: var(--text-primary);
    margin-bottom: 0;
    font-size: 0.93rem;
}

.information-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.information-section em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}

/* Info Section */
.info-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.info-section h2 {
    margin-bottom: 2rem;
}

.info-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: rgba(16, 21, 29, 0.7);
    border: 2px solid rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 0 0 calc(33.333% - 0.7rem);
    min-width: 240px;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color, var(--accent));
    opacity: 0.8;
}

.info-card:hover {
    border-color: var(--card-color, var(--accent));
    box-shadow: 0 6px 20px var(--card-shadow, rgba(139, 92, 246, 0.2));
    transform: translateY(-4px);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--card-color, var(--accent));
    margin-bottom: 0.75rem;
}

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

.info-card-link {
    color: var(--card-color, var(--accent));
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
    color: var(--accent);
}

.modal-header h2::before {
    display: none;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
}

.modal-body {
    padding: 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-body-simple {
    padding: 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-body-simple h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-body-simple h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-body-simple h3:first-child {
    margin-top: 0;
}

.modal-body-simple p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.modal-body-simple ul {
    margin: 0.5rem 0 1rem 1.5rem;
    list-style: none;
    padding: 0;
}

.modal-body-simple ol {
    margin: 0.5rem 0 1rem 1.5rem;
    padding: 0;
    list-style: none;
    counter-reset: item;
}

.modal-body-simple ol li {
    counter-increment: item;
    padding-left: 2rem;
}

.modal-body-simple ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.modal-body-simple li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
}

.modal-body-simple ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.modal-body-simple em {
    color: var(--text-primary);
    font-style: italic;
}

.modal-body strong {
    color: var(--text-primary);
}

.modal-body em {
    color: var(--accent);
    font-style: italic;
}

/* Calculator Section */
.calculator-section {
    margin-bottom: 2rem;
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.calculator-header h2 {
    margin-bottom: 0;
}

/* Accumulating Mode Toggle */
.accumulating-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    z-index: 100;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #6b7280;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.toggle-checkbox:checked + .toggle-label .toggle-switch {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
}

/* Guide Button */
.guide-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(109, 40, 217, 0.15) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 10px;
    color: #8b5cf6;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.guide-button:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(109, 40, 217, 0.25) 100%);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Calculator Header */
.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.advanced-calc-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    margin: 0;
}

.back-button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    margin: 0;
}

/* Advanced Calculator Styles */
.advanced-info-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.advanced-info-box h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.advanced-info-box ul {
    list-style: none;
    padding: 0;
}

.advanced-info-box li {
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.advanced-info-box li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0;
}

/* Category Buttons */
.category-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.analytics-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.analytics-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.3) 100%);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.datalake-btn {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: rgba(6, 182, 212, 0.3);
    color: #06b6d4;
}

.datalake-btn:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.3) 100%);
    border-color: #06b6d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* Cost Elements Container */
.cost-elements-container {
    margin-bottom: 2rem;
}

.cost-element-section {
    background: var(--bg-panel-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cost-element-header {
    padding: 1rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cost-element-header.datalake {
    background: rgba(6, 182, 212, 0.1);
}

.cost-element-name {
    font-weight: 600;
    color: var(--text-primary);
}

.cost-element-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
}

.checkbox-control input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background: var(--bg-base);
    transition: all 0.2s ease;
}

.checkbox-control input[type="checkbox"]:hover {
    border-color: var(--accent);
}

.checkbox-control input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-control input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Free ingestion checkbox styles */
.free-ingestion-container {
    /*margin: 0 0 1.5rem 0;*/
    margin: 0 0 0 0;
    padding: 0.75rem;
}

.free-ingestion-container .checkbox-control {
    margin-bottom: 0.5rem;
}

.free-ingestion-container .checkbox-control span {
    font-weight: 500;
    color: #22c55e;
}

.free-ingestion-info {
    padding-left: 1.5rem;
}

.info-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

.cost-element-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cost-element-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
}

.cost-element-btn.save-btn {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 500;
}

.cost-element-btn.save-btn:hover {
    background: var(--accent);
    color: white;
}

.cost-element-btn.delete-btn {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.cost-element-btn.delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.cost-element-btn.hide-btn {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.cost-element-btn.hide-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

.cost-element-content {
    padding: 1.5rem;
}

.cost-element-content.collapsed {
    display: none;
}

.cost-element-name-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    /*margin-bottom: 1.5rem;*/
}

.cost-element-name-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.cost-element-options {
    display: grid;
    gap: 0.75rem;
}

.cost-element-option {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
}

.cost-element-option.datalake {
    background: rgba(6, 182, 212, 0.05);
    border-color: rgba(6, 182, 212, 0.2);
}

.cost-element-option h4 {
    color: var(--accent);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.cost-element-option.datalake h4 {
    color: #06b6d4;
}

/* Chart Mode Selector */
.chart-mode-selector {
    margin: 1rem 0;
}

.mode-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mode-btn {
    flex: 1;
    min-width: 110px;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mode-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.mode-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Hidden Elements */
.cost-element-section.hidden {
    opacity: 0.5;
    transform: scale(0.98);
}

.cost-element-section.hidden .cost-element-header {
    background: rgba(107, 114, 128, 0.1);
}

/* Chart Controls */
.chart-controls {
    margin-top: 1rem;
    text-align: center;
}

.chart-popup-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-popup-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.chart-popup-btn:active {
    transform: translateY(0);
}

.chart-popup-btn span {
    font-size: 1rem;
}

/* Cost Breakdown Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-panel-alt);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(80vh - 100px);
}

.breakdown-summary {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-base);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.breakdown-total {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.breakdown-mode {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-base);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.breakdown-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-panel-alt);
}

.breakdown-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.breakdown-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breakdown-name {
    font-weight: 500;
    color: var(--text-primary);
}

.breakdown-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.breakdown-cost {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.breakdown-percentage {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.no-costs {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Save Button */
.save-element-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
}

.save-element-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Responsive Design for Advanced Calculator */
@media (max-width: 768px) {
    .category-buttons {
        flex-direction: column;
    }
    
    .category-btn {
        min-width: unset;
    }
    
    .mode-buttons {
        flex-direction: column;
    }
    
    .mode-btn {
        min-width: unset;
    }
    
    .cost-element-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Advanced Configuration */
.advanced-config {
    position: relative;
}

.scenario-selector {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.scenario-selector label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.add-scenario-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

.add-scenario-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.advanced-options {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.advanced-options h4 {
    color: #06b6d4;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.basic-config h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Advanced Results */
.advanced-results {
    position: relative;
}

.advanced-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.optimization-recommendations {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.optimization-recommendations h4 {
    color: #10b981;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.recommendation-item:last-child {
    border-bottom: none;
}

.recommendation-icon {
    font-size: 1.2rem;
    min-width: 24px;
}

.recommendation-text {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Scenarios Section */
.scenarios-section {
    padding: 2rem;
    background: var(--bg-panel);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.scenarios-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.scenario-comparison-chart {
    background: var(--bg-panel-alt);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.scenarios-table {
    background: var(--bg-panel-alt);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.scenarios-table table {
    width: 100%;
    border-collapse: collapse;
}

.scenarios-table th,
.scenarios-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
}

.scenarios-table th {
    background: rgba(139, 92, 246, 0.1);
    font-weight: 600;
    color: var(--accent);
}

.scenarios-table td:not(:first-child) {
    text-align: right;
    font-weight: 500;
}

/* Responsive Design for Advanced Calculator */
@media (max-width: 1200px) {
    .scenarios-container {
        grid-template-columns: 1fr;
    }
    
    .advanced-summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .advanced-info-box {
        padding: 1.5rem;
    }
    
    .scenario-selector,
    .advanced-options {
        padding: 1rem;
    }
    
    .scenarios-table {
        overflow-x: auto;
    }
    
    .scenarios-table table {
        min-width: 500px;
    }
}

.toggle-checkbox:checked + .toggle-label .toggle-switch::before {
    left: 26px;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.5);
}

.toggle-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toggle-checkbox:checked + .toggle-label .toggle-text {
    color: var(--accent);
}

.toggle-label:hover .toggle-switch {
    border-color: var(--accent);
}

.toggle-label:hover .toggle-text {
    color: var(--text-primary);
}

/* Section Separator */
.section-separator {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.3) 20%, 
        rgba(139, 92, 246, 0.6) 50%, 
        rgba(139, 92, 246, 0.3) 80%, 
        transparent 100%);
    margin: 3rem 0;
    position: relative;
}

.section-separator::before {
    content: '◆';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-panel);
    color: var(--accent);
    padding: 0 1rem;
    font-size: 0.8rem;
}

/* Data Lake Disabled State */
.datalake-section.disabled {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.datalake-section.disabled::after {
    content: '🚫 Data Lake Not Available in This Region';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    z-index: 10;
    pointer-events: none;
}

.datalake-section.disabled h2,
.datalake-section.disabled h3 {
    color: #ef4444 !important;
}

.not-available-text {
    color: #ef4444 !important;
    font-weight: bold !important;
}

.not-available-label {
    color: #ef4444 !important;
    font-weight: bold !important;
}

.controls-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.calculator-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.results-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
    z-index: 1;
}

.results-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin: 2rem 0;
}

.config-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin: 1.5rem 0;
}

.datalake-config-section {
    transition: opacity 0.3s ease;
}

.datalake-config-section.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.config-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.config-header h2 {
    margin: 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pricing-editor {
    margin-bottom: 2rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.pricing-editor h2 {
    margin-bottom: 0;
}

.toggle-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    width: auto;
}

.toggle-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
    transform: scale(1.02);
}

.toggle-icon {
    transition: transform 0.3s ease;
    display: inline-block;
    font-size: 0.85rem;
}

.toggle-text {
    font-weight: 500;
}

.toggle-btn.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.pricing-details {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 1;
}

.pricing-details.collapsed {
    max-height: 0;
    opacity: 0;
}

.pricing-editor .control-group {
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.pricing-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-input-group {
    margin-bottom: 1.25rem;
}

.pricing-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.price-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 0.75rem;
    transition: border-color 0.2s ease;
}

.price-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.price-currency {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    margin-right: 0.5rem;
}

.price-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    text-align: right;
}

/* Remove spinner buttons from price inputs */
.price-input::-webkit-inner-spin-button,
.price-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.price-input:focus {
    outline: none;
}

.price-input[readonly] {
    opacity: 0.6;
    cursor: not-allowed;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-input:hover {
    border-color: var(--border-hover);
}

.select-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.control-group label:has(.checkbox-input) {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-transform: none;
    font-size: 1rem;
    cursor: pointer;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-card {
    background: rgba(16, 21, 29, 0.7);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.section-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.15);
}

.section-card h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.combined-config h2:not(:first-child) {
    margin-top: 0.5rem;
}

.section-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.label-text {
    color: var(--text-primary);
}

.label-unit {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

.slider-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--slider-progress, 0%), var(--bg-base) var(--slider-progress, 0%), var(--bg-base) 100%);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.slider::-webkit-slider-thumb:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.15), 0 2px 12px rgba(139, 92, 246, 0.6);
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.slider::-moz-range-thumb:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.15), 0 2px 12px rgba(139, 92, 246, 0.6);
    transform: scale(1.1);
}

.number-input {
    width: 120px;
    padding: 0.5rem 0.75rem;
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    text-align: right;
}

/* Remove spinner buttons from number inputs */
.number-input::-webkit-inner-spin-button,
.number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.number-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.cost-table {
    font-family: 'JetBrains Mono', monospace;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* Cost Summary Redesign */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.summary-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.02) 100%);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #a78bfa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.summary-card.clickable {
    cursor: pointer;
}

.summary-card.clickable:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.2);
}

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

.summary-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.summary-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

/* SCU disabled state for summary cards - red and greyed out */
.summary-card.scu-disabled {
    opacity: 0.5;
    pointer-events: none;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.summary-card.scu-disabled .summary-value {
    color: #ef4444;
}

/* SCU active state styling */
.summary-card.scu-active {
    background: rgba(212, 180, 41, 0.1);
    border-color: rgba(212, 180, 41, 0.4);
}

.summary-card.scu-active .summary-value {
    color: #D4B429;
}

/* SCU section styling - removed background overlay */

/* Download Section */
.download-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.download-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    padding: 1rem 2rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.download-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(16, 185, 129, 0.25));
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.btn-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.btn-text {
    font-weight: 500;
}

.download-help {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    max-width: 500px;
}

/* Info Button & Tooltip */
.info-button {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    position: relative;
    color: var(--accent);
}

.info-button:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
    transform: scale(1.1);
}

.info-button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 21, 29, 0.98);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: normal;
    width: 300px;
    max-width: calc(100vw - 2rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
}

/* Laptop and tablet landscape screens */
@media (min-width: 769px) {
    .container {
        max-width: 85%;
        padding: 2rem 3%;
    }
}

/* Large desktop screens - cap at reasonable width */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
        padding: 2rem 5%;
    }
}

/* Mobile-friendly tooltip positioning */
@media (max-width: 768px) {
    .info-button::after {
        bottom: auto;
        top: calc(100% + 10px);
        left: auto;
        right: 0;
        transform: none;
        width: min(280px, calc(100vw - 2rem));
    }
    
    .info-button::before {
        bottom: auto;
        top: calc(100% + 2px);
        left: auto;
        right: 8px;
        transform: none;
        border-top-color: transparent;
        border-bottom-color: var(--accent);
    }
    
    /* Header navigation buttons responsive */
    .header-nav {
        gap: 0.75rem;
    }
    
    .nav-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

.info-button::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--accent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10001;
}

.info-button:hover::after,
.info-button:hover::before {
    opacity: 1;
}

.cost-header,
.cost-item,
.cost-total {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.cost-header {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    background: transparent;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

.cost-item {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0.25rem 0;
    border: 1px solid transparent;
}

.cost-item:hover {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(2px);
}

.cost-item div:nth-child(1) {
    color: var(--text-primary);
    font-weight: 500;
}

.cost-item div:nth-child(2),
.cost-item div:nth-child(3) {
    text-align: right;
    color: var(--text-secondary);
}

.cost-item div:nth-child(3) {
    color: var(--accent);
    font-weight: 600;
}

.cost-total {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    margin-top: 1rem;
    border-radius: 12px;
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
}

.cost-total div:nth-child(1) {
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cost-total div:nth-child(3) {
    text-align: right;
    color: var(--accent);
    font-size: 1.3rem;
}

.cost-item-highlight {
    background: rgba(139, 92, 246, 0.1);
    font-weight: 600;
    border-left: 3px solid var(--accent);
    border-color: rgba(139, 92, 246, 0.4);
}

.cost-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin: 1rem 0;
}

.chart-container {
    min-height: 500px;
}

.chart-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-base);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.legend-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.legend-item.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

canvas {
    max-height: 500px !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}


/* Cost Breakdown Modal */
.cost-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cost-modal.show {
    opacity: 1;
}

.modal-content {
    background: var(--bg-panel);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    animation: modalSlideIn 0.3s ease;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Firefox scrollbar */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.3) rgba(139, 92, 246, 0.05);
}

/* Adaptive sizing for larger screens */
@media (min-width: 769px) {
    .modal-content {
        max-width: 600px;
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .modal-content {
        max-width: 700px;
        padding: 3rem;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
    }
    
    .modal-cost-item {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .cost-item-name {
        font-size: 1.05rem;
    }
    
    .cost-item-value {
        font-size: 1.2rem;
    }
    
    .modal-total {
        font-size: 1.5rem;
        padding: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .modal-content {
        max-width: 800px;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.modal-content h2 {
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-cost-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.modal-cost-item {
    display: grid;
    grid-template-columns: 4px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-cost-item:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(4px);
}

.cost-color-bar {
    width: 4px;
    height: 100%;
    border-radius: 2px;
    min-height: 48px;
}

.cost-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.cost-item-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.cost-item-data {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cost-item-value {
    color: var(--accent);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    white-space: nowrap;
}

.modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-total div:first-child {
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-total div:last-child {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive Design */
@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .results-column {
        position: static;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-grid {
        gap: 1rem;
    }
    
    /* Hide sliders on small screens, keep only number inputs */
    .slider {
        display: none !important;
    }
    
    .slider-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .number-input {
        width: 100%;
    }
    
    .input-group {
        margin-bottom: 0.75rem;
    }
    
    .config-divider {
        margin: 1rem 0;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .summary-value {
        font-size: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .modal-total {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .section-card {
        padding: 1rem;
    }
    
    .section-card h2 {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .input-group {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 1000px) {
    .container {
        padding: 1.5rem 3%;
        max-width: 100%;
    }
    
    .controls-panel {
        grid-template-columns: 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        gap: 0.75rem;
        max-width: 100%;
    }
    
    .info-card {
        flex: 0 0 calc(50% - 0.4rem);
        min-width: 220px;
        padding: 0.85rem;
    }
    
    .section-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }
    
    .container {
        padding: 1rem 2%;
        max-width: 90%;
    }
    
    .info-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .information-section {
        padding: 1rem;
    }
    
    .information-section h3 {
        font-size: 1.1rem;
    }
    
    .information-section .intro-text {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .information-section .tier-comparison {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .information-section .tier-card {
        padding: 1rem;
    }
    
    .information-section .retention-example {
        padding: 1rem;
    }
    
    .information-section .note-box {
        padding: 1rem;
    }
    
    .information-section p {
        font-size: 0.9rem;
    }
    
    .info-cards {
        gap: 0.5rem;
        padding: 0;
    }
    
    .info-card {
        padding: 0.75rem;
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .section-card {
        padding: 1rem;
    }
    
    .results-divider {
        margin: 1.5rem 0;
    }
    
    .results-column {
        gap: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .calculator-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-card {
        padding: 1.5rem;
    }
    
    .slider-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .number-input {
        width: 100%;
    }
    
    .cost-header,
    .cost-item,
    .cost-total {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .cost-total {
        font-size: 1rem;
    }
    
    .cost-total div:nth-child(3) {
        font-size: 1.1rem;
    }
    
    /* Modal responsive on mobile */
    .modal-content {
        padding: 1.5rem;
    }
    
    .cost-item-data {
        white-space: normal;
        word-break: break-word;
    }
    
    /* Pricing editor mobile fixes */
    .pricing-editor {
        padding: 1rem;
        overflow-x: visible;
    }
    
    .pricing-grid {
        gap: 1.5rem;
        overflow-x: visible;
    }
    
    .pricing-section {
        min-width: 0;
        overflow-x: visible;
    }
    
    .pricing-details {
        overflow-x: visible;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0.25rem;
    }
    
    .container {
        padding: 0.75rem 1%;
    }
    
    .info-section {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .info-card {
        padding: 0.75rem;
    }
    
    .section-card {
        padding: 0.75rem;
    }
    
    .cost-table {
        padding: 0.75rem;
    }
    
    .cost-header,
    .cost-item,
    .cost-total {
        grid-template-columns: 1.5fr 0.8fr 1fr;
        gap: 0.35rem;
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .cost-total {
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
    }
    
    .cost-total div:nth-child(3) {
        font-size: 1rem;
    }
    
    .input-group label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .pricing-input-group {
        gap: 0.5rem;
    }
    
    .pricing-input-group label {
        font-size: 0.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .price-input-wrapper {
        padding: 0 0.5rem;
        max-width: 100%;
        min-width: 0;
    }
    
    .price-input {
        font-size: 0.85rem;
        padding: 0.5rem 0;
        min-width: 0;
        width: 100%;
    }
    
    .price-currency {
        font-size: 0.85rem;
        margin-right: 0.3rem;
        flex-shrink: 0;
    }
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.faq-section h2 {
    margin-bottom: 2rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(16, 21, 29, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.1);
}

.faq-icon {
    color: var(--accent);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-question h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    padding: 0 1.5rem 1.25rem 3.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem 2.5rem;
    }
}

/* Footer */
.page-footer {
    margin-top: 4rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-link {
    display: block;
    transition: all 0.3s ease;
}

.footer-logo-link:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.footer-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.footer-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-footer {
        margin-top: 1.5rem;
        padding: 0.75rem 0;
    }
    
    .footer-logo {
        width: 20px;
        height: 20px;
    }
    
    .footer-link {
        font-size: 0.7rem;
    }
}

/* Section Separator */
.section-separator {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.3) 20%, 
        var(--accent) 50%, 
        rgba(139, 92, 246, 0.3) 80%, 
        transparent 100%);
    margin: 3rem 0 1rem 0;
}

/* Old updates-details styles removed - now using invisible container styles below */



.update-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.update-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.update-item:first-child {
    margin-top: 1.5rem;
}

.update-item:last-child {
    margin-bottom: 1.5rem;
}

.update-date {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.update-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.update-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.update-content p {
    margin-bottom: 0.75rem;
}

.update-content p:last-child {
    margin-bottom: 0;
}

.update-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.update-content a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.update-impact {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    padding: 1rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: 1.5;
    font-style: italic;
}

.update-impact::before {
    content: "💡 ";
    margin-right: 0.5rem;
}

/* Updates section styling */
#updates-section h2 {
    margin-bottom: 1rem;
}

/* Updates details container - invisible container */
.updates-details {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 1;
    /* No background, border, or padding - completely invisible container */
}

.updates-details.collapsed {
    max-height: 0;
    opacity: 0;
}

/* Mobile responsiveness for updates section */
@media (max-width: 768px) {
    .updates-section h2 {
        font-size: 1.4rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .updates-container {
        padding: 0 1rem 1.5rem 1rem;
    }
    
    .updates-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .update-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .update-title {
        font-size: 1rem;
    }
    
    .update-content {
        font-size: 0.85rem;
    }
    
    .update-impact {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
}
