/* Simple Tools Pro - Complete CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/*
.logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3498db, #27ae60);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}*/

.logo {
  display: flex;
  align-items: center;
}

/* Logo image style */
.responsive-logo {
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}

/* Adjust spacing for smaller screens */
@media (max-width: 768px) {
  .responsive-logo {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .responsive-logo {
    height: 28px;
  }
}
.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.gradient-text {
    background: linear-gradient(135deg, #3498db, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.float-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, #27ae60, #229954);
    top: 40%;
    right: 10%;
    animation: float 4s ease-in-out infinite 2s;
}

.float-3 {
    width: 48px;
    height: 48px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    bottom: 20%;
    left: 25%;
    animation: float 5s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f8fafc;
}

.bg-white {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 8px;
}

.section-header small {
    color: #999;
    font-size: 0.95rem;
}

/* Calculator Cards */
.calculator-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.card-header p {
    color: #666;
    font-size: 1rem;
}

.card-content {
    padding: 30px;
}

/* Form Elements */
.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #3498db;
}

.input-row {
    display: flex;
    gap: 12px;
}

.input-row .form-input {
    flex: 1;
}

/* Unit Toggle */
.unit-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.unit-label {
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

.unit-label.active {
    color: #3498db;
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: #e5e7eb;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch.active {
    background: #3498db;
}

.toggle-slider {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}

/* Buttons */
.calculate-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.calculate-btn.primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.calculate-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.calculate-btn.success {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.calculate-btn.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Results */
.result-container {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-main {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 12px;
    margin-bottom: 20px;
}

.result-value {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.result-label {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4px;
}

.result-sublabel {
    font-size: 0.9rem;
    color: #999;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.result-item {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e5e7eb;
}

.result-item.primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
}

.result-item.success {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    border: none;
}

.result-item.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border: none;
}

.result-item.danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.result-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.result-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.result-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.result-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.birthday-celebration {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.birthday-celebration h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.bmi-category {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.bmi-scale {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 20px;
}

.bmi-range {
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.bmi-range.underweight {
    background: #dbeafe;
    color: #1e40af;
}

.bmi-range.normal {
    background: #dcfce7;
    color: #166534;
}

.bmi-range.overweight {
    background: #fef3c7;
    color: #92400e;
}

.bmi-range.obese {
    background: #fecaca;
    color: #991b1b;
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.trust-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.trust-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #1a1a1a;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #666;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.coming-soon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.coming-soon span {
    background: #2a2a2a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-divider {
    height: 1px;
    background: #333;
    margin: 40px 0 20px;
}

.footer-text {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .calculator-card {
        margin: 0 20px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .result-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .result-number {
        font-size: 1.5rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .coming-soon {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .calculator-card {
        margin: 0 10px;
    }
    
    .input-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .bmi-scale {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

/* Print Styles */
@media print {
    .navbar,
    .floating-elements,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .calculator-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}