/* ===========================
   CSS Reset & Variables
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Orange-Red Theme Colors */
    --primary-color: #ff5722;
    --primary-dark: #e64a19;
    --primary-light: #ff7043;
    --secondary-color: #ff6f00;
    --accent-color: #ff3d00;
    
    /* Neutral Colors */
    --bg-color: #ffffff;
    --surface-color: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    
    /* Dark Mode Colors */
    --dark-bg: #1a1a1a;
    --dark-surface: #2d2d2d;
    --dark-text: #e0e0e0;
    --dark-text-secondary: #a0a0a0;
    --dark-border: #404040;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
}

[data-theme="dark"] {
    --bg-color: var(--dark-bg);
    --surface-color: var(--dark-surface);
    --text-primary: var(--dark-text);
    --text-secondary: var(--dark-text-secondary);
    --border-color: var(--dark-border);
}

/* ===========================
   Base Styles
   =========================== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 28px;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 5px 0;
}

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

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

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

.theme-toggle {
    background: var(--surface-color);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-primary);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(15deg);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 150px 20px 100px;
    margin-top: 70px;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    font-size: 24px;
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(180deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: fadeInUp 1.4s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

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

/* ===========================
   Tools Section
   =========================== */
.tools-section {
    padding: var(--section-padding);
    background: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    position: relative;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.tool-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.05), rgba(255, 111, 0, 0.05));
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tool-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    transition: var(--transition);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.tool-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tool-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ===========================
   Modal
   =========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-color);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--surface-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

/* ===========================
   Calculator Styles
   =========================== */
.calculator {
    padding: 40px;
}

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

.calculator-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.calculator-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.calculator-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group input,
.input-group select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-color);
    color: var(--text-primary);
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-suffix {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.calculate-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

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

.calculator-results {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 30px;
}

.result-cards {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.result-card {
    background: var(--bg-color);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 8px;
}

.result-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.chart-container {
    margin-top: 25px;
    height: 300px;
    position: relative;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.share-results {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.share-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ===========================
   Content Section
   =========================== */
.content-section {
    padding: var(--section-padding);
    background: var(--surface-color);
}

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

.content-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 15px;
}

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

.content-card strong {
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-secondary);
}

/* ===========================
   Page Header
   =========================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 120px 20px 60px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* ===========================
   About Page
   =========================== */
.about-section {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.about-image .image-placeholder {
    background: var(--surface-color);
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary-color);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mission-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

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

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 36px;
}

.mission-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-section {
    margin-bottom: 60px;
}

.features-section h2 {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.feature-item {
    background: var(--surface-color);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

.stats-section {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 60px;
}

.stats-section h2 {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.team-section h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===========================
   Contact Page
   =========================== */
.contact-section {
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.method-content p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.method-content a {
    color: var(--primary-color);
    font-weight: 600;
}

.method-content a:hover {
    text-decoration: underline;
}

.sub-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.social-connect h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.social-links-large {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    flex: 1;
    min-width: 120px;
    background: var(--surface-color);
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition);
}

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

.form-card {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 35px;
}

.form-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-color);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.form-message {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.quick-help {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.quick-help h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.quick-help p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.quick-help ul {
    list-style: none;
    padding: 0;
}

.quick-help li {
    margin-bottom: 10px;
}

.quick-help a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.quick-help a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* ===========================
   Legal Pages
   =========================== */
.legal-section {
    padding: var(--section-padding);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.legal-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.legal-block h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 20px 0 12px;
}

.legal-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-block ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.legal-block li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-block strong {
    color: var(--text-primary);
}

.legal-block a {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-block a:hover {
    text-decoration: underline;
}

.legal-highlight {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1), rgba(255, 111, 0, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
}

.legal-highlight i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.legal-highlight h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.legal-highlight p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.warning-block {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 25px;
    border-radius: 12px;
}

[data-theme="dark"] .warning-block {
    background: rgba(255, 193, 7, 0.1);
}

.warning-icon {
    font-size: 42px;
    color: #ffc107;
    margin-bottom: 15px;
}

.warning-highlight {
    background: #fff3cd !important;
    border-left-color: #ffc107 !important;
}

[data-theme="dark"] .warning-highlight {
    background: rgba(255, 193, 7, 0.1) !important;
}

.warning-highlight i {
    color: #ffc107 !important;
}

.warning-highlight h3 {
    color: #f57c00 !important;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo i {
    font-size: 28px;
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .calculator-body {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        gap: 15px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator {
        padding: 25px 20px;
    }
    
    .calculator-header h2 {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }
    
    .result-value {
        font-size: 20px;
    }
    
    .share-results {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
    }
}

/* ===========================
   Animations & Effects
   =========================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .share-results,
    .modal-close {
        display: none;
    }
    
    .modal-content {
        box-shadow: none;
    }
}