/* ===== LABELING SPEED CALCULATOR STYLES ===== */

/* CSS Custom Properties - Green/Emerald Theme */
:root {
    /* Primary Colors - Green/Emerald Theme */
    --label-primary: #10b981;
    --label-secondary: #34d399;
    --label-accent: #d1fae5;
    --label-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --label-gradient-light: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f0fdf4;
    --bg-dark: #1e293b;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-dark: #64748b;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Shadow Definitions */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transition */
    --transition: all 0.3s ease;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 100%);
    min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--label-secondary);
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-content {
    padding-top: 80px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--label-primary);
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.nav-link:hover {
    background: var(--bg-accent);
    color: var(--label-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    z-index: 999;
    padding: 1rem;
}

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-weight: 500;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ===== PRIVACY BANNER ===== */
.privacy-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--label-gradient);
    color: var(--text-white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    z-index: 1001;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privacy-content p {
    margin: 0;
    color: var(--text-white);
    font-size: 0.875rem;
}

.privacy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.privacy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--label-gradient-light);
    padding: 4rem 0;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.breadcrumb span {
    color: var(--text-muted);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--label-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--label-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--label-primary);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== CALCULATOR SECTION ===== */
.calculator-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.calculator-wrapper {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

/* ===== TABS ===== */
.tabs-container {
    background: var(--bg-accent);
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: var(--bg-primary);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
}

.tab-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-secondary);
}

.tab-btn:hover {
    background: var(--bg-accent);
    color: var(--label-primary);
}

.tab-btn.active {
    background: var(--label-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.tab-btn i {
    font-size: 1rem;
}

.tab-btn span {
    font-size: 0.875rem;
}

/* ===== TAB CONTENT ===== */
.tab-content {
    display: none;
    padding: 2rem;
}

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

/* ===== CARDS ===== */
.card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 2rem;
    background: var(--bg-accent);
    border-bottom: 1px solid var(--border-light);
}

.card-header h2 {
    color: var(--label-primary);
    margin-bottom: 0.5rem;
}

.card-header p {
    margin: 0;
    color: var(--text-secondary);
}

.card-body {
    padding: 2rem;
}

/* ===== FORMS ===== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--label-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* ===== SLIDER ===== */
.slider-container {
    position: relative;
    margin-top: 0.5rem;
}

.slider {
    width: 100%;
    height: 6px;
    background: var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
    appearance: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--label-gradient);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

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

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--label-gradient);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--label-gradient);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background: var(--bg-primary);
    color: var(--label-primary);
    border: 2px solid var(--label-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--label-primary);
    color: var(--text-white);
}

.btn-danger {
    background: var(--error);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.calculate-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* ===== RESULTS ===== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

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

.result-icon {
    width: 50px;
    height: 50px;
    background: var(--label-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--label-primary);
    margin-bottom: 0.5rem;
}

.result-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== DETAILED RESULTS ===== */
.detailed-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.detailed-results h3 {
    color: var(--label-primary);
    margin-bottom: 1rem;
}

.result-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-accent);
    border-radius: var(--radius-md);
}

.detail-row span:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.detail-row span:last-child {
    font-weight: 600;
    color: var(--label-primary);
}

/* ===== TEMPLATES ===== */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.template-card {
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.template-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--label-primary);
}

.template-icon {
    width: 60px;
    height: 60px;
    background: var(--label-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.template-card h3 {
    color: var(--label-primary);
    margin-bottom: 0.5rem;
}

.template-card p {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.template-specs {
    display: inline-block;
    background: var(--label-primary);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== CHARTS ===== */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.chart-container {
    height: 400px;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    padding: 1rem;
    position: relative;
}

/* ===== HISTORY ===== */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.history-item:hover {
    border-color: var(--label-primary);
    transform: translateY(-1px);
}

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

.history-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.history-cost {
    font-weight: 600;
    color: var(--label-primary);
}

.history-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.history-details span {
    background: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.delete-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--error);
    color: var(--text-white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
}

.history-item:hover .delete-btn {
    opacity: 1;
}

.delete-btn:hover {
    background: #dc2626;
}

.history-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--border-medium);
}

.empty-state h3 {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--label-primary);
    font-size: 2.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--label-gradient);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-content h3 {
    color: var(--label-primary);
    margin-bottom: 0.5rem;
}

/* ===== USE CASES ===== */
.use-cases {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.use-cases h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--label-primary);
    font-size: 2.5rem;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.use-case-card {
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: var(--label-gradient);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.use-case-card h3 {
    color: var(--label-primary);
    margin-bottom: 1rem;
}

/* ===== RELATED CALCULATORS ===== */
.related-calculators {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.related-calculators h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--label-primary);
    font-size: 2.5rem;
}

.categories-grid {
    display: grid;
    gap: 3rem;
}

.category-section h3 {
    color: var(--label-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--label-accent);
    padding-bottom: 0.5rem;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.calculator-card {
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.calculator-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--label-primary);
}

.calculator-card.active {
    background: var(--label-gradient);
    color: var(--text-white);
}

.calculator-card.active h4,
.calculator-card.active p {
    color: var(--text-white);
}

.calculator-card.popular::before {
    content: 'Popular';
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--warning);
    color: var(--text-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.calculator-card i {
    font-size: 2rem;
    color: var(--label-primary);
    margin-bottom: 1rem;
    display: block;
}

.calculator-card.active i {
    color: var(--text-white);
}

.calculator-card h4 {
    color: var(--label-primary);
    margin-bottom: 0.5rem;
}

.calculator-card p {
    margin: 0;
    font-size: 0.875rem;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--label-primary);
    font-size: 2.5rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-accent);
}

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

.faq-question i {
    color: var(--label-primary);
    transition: var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-accent);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--label-accent);
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--label-accent);
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 0.5rem;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--label-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

/* ===== LOADING ANIMATION ===== */
.loading {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== NOTIFICATIONS ===== */
#notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-white);
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    animation: slideInRight 0.3s ease forwards;
    max-width: 400px;
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--error);
}

.notification.warning {
    background: var(--warning);
}

.notification.info {
    background: var(--info);
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RECOMMENDATIONS ===== */
.recommendations {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.recommendations h3 {
    color: var(--label-primary);
    margin-bottom: 1rem;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-accent);
    border-radius: var(--radius-lg);
}

.rec-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.rec-content h4 {
    color: var(--label-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.rec-content p {
    margin: 0;
    font-size: 0.875rem;
}

/* ===== EXPORT OPTIONS ===== */
.export-options {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .tab-btn span {
        display: none;
    }
    
    .tabs-list {
        justify-content: center;
    }
    
    .tab-btn {
        min-width: auto;
        width: 50px;
        height: 50px;
        padding: 0;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .calculators-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .history-actions {
        flex-direction: column;
    }
    
    .export-options {
        flex-direction: column;
    }
    
    .privacy-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    #notification-container {
        left: 10px;
        right: 10px;
    }
    
    .notification {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .stats-section {
        padding: 2rem 0;
    }
    
    .calculator-section {
        padding: 2rem 0;
    }
    
    .how-it-works {
        padding: 2rem 0;
    }
    
    .use-cases {
        padding: 2rem 0;
    }
    
    .related-calculators {
        padding: 2rem 0;
    }
    
    .faq-section {
        padding: 2rem 0;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .privacy-banner,
    .mobile-menu,
    #notification-container {
        display: none;
    }
    
    .main-content {
        padding-top: 0;
    }
    
    .calculator-wrapper {
        box-shadow: none;
    }
    
    .tab-content {
        display: block !important;
    }
} 