/* Premium Design System */
:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-light: #f9fafb;
    --background-dark: #f3f4f6;
    --border: #e5e7eb;
    --border-dark: #d1d5db;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.5;
    background: var(--background-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Calculator Design */
.calculator-container {
    min-height: 100vh;
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background-dark), var(--background-light));
}

.calculator-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.calculator-card {
    background: var(--background);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.calculator-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.calculator-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.calculator-header h2 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: var(--spacing-lg);
    font-size: 1.125rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--background-light);
    color: var(--text-dark);
    transition: all 0.2s ease;
}

input[type="text"]:hover,
input[type="number"]:hover,
select:hover {
    border-color: var(--border-dark);
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.toggle-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stage-btn {
    padding: var(--spacing-lg);
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    background: var(--background-light);
    color: var(--text-medium);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stage-btn:hover {
    border-color: var(--border-dark);
    background: var(--background);
}

.stage-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.stage-btn i {
    font-size: 1.25rem;
    margin-right: var(--spacing-sm);
}

.calculate-btn {
    width: 100%;
    padding: var(--spacing-xl);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-lg);
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

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

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

.results-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--background-light);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
}

.results-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.results-section p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-medium);
    background: var(--background);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-container {
        padding: var(--spacing-md);
        align-items: flex-start;
    }

    .calculator-wrapper {
        padding: 0;
    }

    .calculator-card {
        padding: var(--spacing-xl);
        border-radius: var(--radius-lg);
    }

    .calculator-header h1 {
        font-size: 2.5rem;
    }

    .calculator-header h2 {
        font-size: 1.25rem;
    }

    input[type="text"],
    input[type="number"],
    select,
    .stage-btn {
        padding: var(--spacing-md);
        font-size: 1rem;
    }

    .calculate-btn {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .calculator-card {
        padding: var(--spacing-lg);
        border-radius: var(--radius-md);
    }

    .calculator-header h1 {
        font-size: 2rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    input[type="text"],
    input[type="number"],
    select,
    .stage-btn {
        padding: var(--spacing-sm);
        font-size: 0.9375rem;
        border-radius: var(--radius-md);
    }

    .toggle-buttons {
        gap: var(--spacing-sm);
    }

    .calculate-btn {
        padding: var(--spacing-md);
        font-size: 1.125rem;
        border-radius: var(--radius-md);
    }
}

/* Premium Navigation */
.navbar {
    background: var(--background);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Premium Footer */
.footer {
    background: var(--background);
    padding: var(--spacing-2xl) var(--spacing-xl);
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-2xl);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: var(--spacing-sm);
}

.footer-link a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1280px;
    margin: var(--spacing-2xl) auto 0;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.shadow-hover {
    transition: all 0.2s ease;
}

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

/* Luxury Header Styles */
.main-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.logo i {
    font-size: 1.8rem;
    color: #d4af37;
    margin-right: 0.8rem;
}

.logo span {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Navigation Styles */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-links .active {
    color: #d4af37;
    position: relative;
}

.nav-links .active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: #d4af37;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.8rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #fff;
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Header Content Styles */
.header-content {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #d4af37;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: none;
    position: relative;
    display: inline-block;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, #d4af37, #f5d76e);
    border-radius: 2px;
}

.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .header-top {
        padding: 1rem;
    }

    .logo span {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Header Styles */
.header {
    background: var(--gradient-header);
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%),
                radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.1), transparent 60%);
    pointer-events: none;
}

.header-content {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #1a5f7a 0%, #2c3e50 100%);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.header-content h1 {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.header-content h1::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #4CAF50, #45a049);
    margin: 1rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header .subtitle {
        font-size: 1rem;
        padding: 0 var(--space-md);
    }
    
    .header-content {
        padding: 2rem 1rem;
    }

    .header-content h1 {
        font-size: 2.4rem;
    }

    .subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    padding: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Calculator Section */
.calculator-section {
    display: grid;
    gap: var(--space-lg);
    background: var(--background-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    margin: var(--space-xl) auto;
    max-width: 1000px;
    width: 100%;
}

.calculator-card {
    background: var(--background-light-blue);
    border-radius: var(--radius-lg);
    padding: 0;
    border: none;
    box-shadow: none;
}

.calculator-card h2 {
    font-size: 2rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

/* Form Groups */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    color: var(--text-accent);
    margin-bottom: var(--space-xs);
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Input Styles */
input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 0.75rem;
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: var(--shadow-accent);
}

/* Toggle Buttons */
.toggle-buttons,
.activity-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

.stage-btn,
.activity-btn {
    flex: 1;
    padding: 0.75rem;
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stage-btn i,
.activity-btn i {
    font-size: 1.2rem;
}

.stage-btn:hover,
.activity-btn:hover {
    background: var(--background-hover);
    border-color: var(--accent-yellow);
    transform: translateY(-1px);
}

.stage-btn.active,
.activity-btn.active {
    background: var(--accent-yellow);
    border-color: var(--darker-orange);
    color: white;
}

.calculate-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--accent-yellow), var(--darker-orange));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calculate-btn i {
    font-size: 1.3rem;
}

.calculate-btn:hover {
    background: linear-gradient(135deg, var(--darker-orange), var(--darkest-orange));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

/* Results Section */
.results-section {
    background: linear-gradient(135deg, #1a1f2c 0%, #2d3446 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.results-section h3 {
    color: #00d2ff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0, 210, 255, 0.3);
    padding-bottom: 0.5rem;
}

.results-section p {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    margin: 1rem 0;
    border-radius: 10px;
    border-left: 4px solid #00d2ff;
    font-size: 1.1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.results-section p:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.results-section p::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 1rem;
    color: #00d2ff;
    font-size: 1.2rem;
}

.weight-range::before {
    content: '\f496'; /* weight icon */
}

.daily-calories::before {
    content: '\f2e7'; /* fire icon */
}

.exercise-recommendation::before {
    content: '\f70c'; /* running icon */
}

.results-section .highlight {
    color: #00d2ff;
    font-weight: 500;
}

/* Add animation for results appearance */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-section {
    animation: slideIn 0.5s ease-out forwards;
}

/* Add responsive grid layout for larger screens */
@media (min-width: 768px) {
    .results-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
        padding: 2.5rem;
    }

    .results-section h3 {
        grid-column: 1 / -1;
    }
}

/* Add glass morphism effect */
.results-section {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Add subtle hover effects for interactivity */
.results-section p {
    position: relative;
    overflow: hidden;
}

.results-section p::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.results-section p:hover::after {
    transform: translateX(100%);
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 0;
    text-align: center;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-family: 'Playfair Display', serif;
}

.feature-card p {
    color: var(--text-secondary);
    font-family: 'Raleway', sans-serif;
}

/* Footer */
.footer {
    background: var(--background-white);
    color: var(--text-secondary);
    padding: var(--space-lg);
    text-align: center;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    font-family: 'Raleway', sans-serif;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.02);
}

.footer-nav {
    margin-top: var(--space-md);
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-yellow);
}

/* Life Stage Toggle */
.life-stage-toggle {
    margin-bottom: 1.5rem;
}

.toggle-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.stage-btn {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.stage-btn i {
    font-size: 1.2rem;
}

.stage-btn.active {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.stage-btn:hover:not(.active) {
    background: #f5f5f5;
    border-color: #4a90e2;
}

/* Age input adjustments based on life stage */
.age-puppy,
.age-adult {
    display: none;
}

.age-puppy.show,
.age-adult.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .activity-buttons {
        grid-template-columns: 1fr;
    }

    .results-card {
        grid-template-columns: 1fr;
    }

    .features-section {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-container > * {
    animation: fadeIn 0.5s ease-out;
}

/* Status Colors */
.optimal {
    border-left: 4px solid var(--accent-yellow);
}

.warning {
    border-left: 4px solid #FFA500;
}

.critical {
    border-left: 4px solid #FF4444;
}

/* Product Recommendations */
.recommendations-container {
    margin-top: 2rem;
    display: none;
}

.recommendations-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.product-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-cta {
    background: #4CAF50;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    transition: background 0.3s ease;
}

.product-cta:hover {
    background: #45a049;
}

.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b6b;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* SEO Content Styles */
.seo-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2.5rem;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.seo-content > h2:first-child {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    text-align: center;
    line-height: 1.2;
    border-bottom: none;
    padding-bottom: 0;
    position: relative;
}

.seo-content > h2:first-child::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4CAF50, #45a049);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.seo-content section {
    position: relative;
    margin-bottom: 3rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.seo-content section:hover {
    transform: translateY(-3px);
}

.seo-content section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.seo-content section h2::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 4px;
    height: 70%;
    background: #4CAF50;
    border-radius: 2px;
}

/* Enhanced FAQ Styles */
.faq-section {
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.2rem;
    position: relative;
}

.faq-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #4CAF50, #45a049);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    padding-left: 1rem;
    position: relative;
    display: flex;
    align-items: center;
}

.faq-item h3::before {
    content: '?';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    margin-right: 1rem;
    margin-left: -1rem;
}

.faq-item p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    padding-left: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .seo-content {
        padding: 1.5rem;
    }

    .seo-content > h2:first-child {
        font-size: 2rem;
    }

    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1.2rem;
    }
}

/* Add subtle animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.seo-content section,
.faq-item {
    animation: fadeIn 0.5s ease-out forwards;
}

.seo-content section:nth-child(n),
.faq-item:nth-child(n) {
    animation-delay: calc(n * 0.1s);
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.legal-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-content .last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.legal-content p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    color: #444;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.disclaimer-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.disclaimer-box h2 {
    color: #856404;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-box p {
    color: #856404;
    margin-bottom: 1rem;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .disclaimer-box {
        padding: 1rem;
    }
}

/* Contact Page Styles */
.contact-section {
    text-align: center;
}

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

.contact-method {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-method i {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.contact-method h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #45a049;
}

/* Footer Styles */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4CAF50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links a {
        margin: 0;
    }
}

/* About Page Styles */
.about-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.about-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.about-intro h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-intro .lead {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.mission-points,
.resources-grid,
.commitment-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.mission-item,
.resource-item,
.commitment-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mission-item:hover,
.resource-item:hover,
.commitment-item:hover {
    transform: translateY(-5px);
}

.mission-item i,
.resource-item i,
.commitment-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.mission-item h3,
.resource-item h3,
.commitment-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.mission-item p,
.resource-item p,
.commitment-item p {
    color: #666;
    line-height: 1.6;
}

.about-calculator {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.about-calculator h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.about-calculator ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.about-calculator li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.about-calculator li:before {
    content: '•';
    color: #3498db;
    position: absolute;
    left: 0;
}

.calculator-note {
    background: #e1f0fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.calculator-note p {
    color: #2980b9;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-intro h1 {
        font-size: 2rem;
    }

    .mission-points,
    .resources-grid,
    .commitment-points {
        grid-template-columns: 1fr;
    }

    .about-calculator {
        padding: 2rem;
    }
}

/* Enhanced Blog Styles */
.blog-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.blog-post {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 4rem;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 2rem 0;
    padding: 0 3rem;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0;
    color: #666;
    font-size: 0.95rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    color: #d4af37;
}

.post-content {
    padding: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-content .lead {
    font-size: 1.4rem;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 500;
    border-left: 4px solid #d4af37;
    padding-left: 2rem;
    font-family: 'Playfair Display', serif;
}

.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    margin: 3rem 0 1.5rem;
    position: relative;
}

.post-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #d4af37, rgba(212, 175, 55, 0.5));
    margin-top: 0.8rem;
    border-radius: 2px;
}

.post-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.8rem;
}

.post-content ul {
    margin: 1.5rem 0;
    padding-left: 1.8rem;
}

.post-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

.post-content li::marker {
    color: #d4af37;
}

.post-content a {
    color: #d4af37;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.post-content a:hover {
    border-bottom-color: #d4af37;
}

.cta-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
}

.cta-box h3 {
    color: #d4af37;
    margin-top: 0;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.conclusion {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.conclusion h2 {
    color: #1a1a1a;
    margin-top: 0;
}

.conclusion ul {
    margin-bottom: 0;
}

.related-posts {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 4rem;
}

.related-posts h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-posts li {
    margin: 0;
}

.related-posts a {
    display: block;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
}

.related-posts a:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #d4af37;
}

/* Tables in Blog Posts */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.post-content th {
    background: #1a1a1a;
    color: #fff;
    padding: 1rem;
    text-align: left;
}

.post-content td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.post-content tr:last-child td {
    border-bottom: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .blog-content {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .blog-post {
        margin-bottom: 2rem;
    }

    .blog-post h1 {
        font-size: 2.2rem;
        padding: 0 1.5rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-content .lead {
        font-size: 1.2rem;
        padding-left: 1rem;
    }

    .post-content h2 {
        font-size: 1.8rem;
    }

    .post-content h3 {
        font-size: 1.5rem;
    }

    .cta-box {
        padding: 2rem;
    }

    .related-posts {
        padding: 1.5rem;
    }

    .related-posts ul {
        grid-template-columns: 1fr;
    }
}

/* Blog Index Styles */
.blog-index {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.blog-index h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
}

.blog-index .lead {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.article-category {
    margin-bottom: 4rem;
}

.article-category h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

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

.article-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.article-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: #3498db;
}

.article-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cta-box {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin: 4rem 0;
}

.cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #3498db;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-index h1 {
        font-size: 2rem;
    }

    .article-category h2 {
        font-size: 1.75rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 2rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }
}

/* Blog Main Page Styles */
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.blog-categories-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-filter {
    padding: 0.8rem 1.5rem;
    border: none;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.category-filter:hover {
    background-color: #e0e0e0;
}

.category-filter.active {
    background-color: #4a90e2;
    color: white;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-category {
    color: #4a90e2;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: #4a90e2;
}

.blog-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.read-more {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-main {
        padding: 1rem;
    }

    .blog-hero {
        padding: 2rem 1rem;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .category-filter {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Breed Autocomplete Styles */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-wrapper input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.autocomplete-wrapper input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.suggestions-list.active {
    display: block;
}

.suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background-color: #f0f8ff;
}

.suggestion-item.highlighted {
    background-color: #e3f2fd;
}

/* Scrollbar Styles for Suggestions List */
.suggestions-list::-webkit-scrollbar {
    width: 8px;
}

.suggestions-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.suggestions-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.suggestions-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Product Recommendations */
.recommendations-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1f2c 0%, #2d3446 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-out forwards;
}

.recommendations-section h3 {
    color: #00d2ff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 2.5rem;
    color: white;
}

.product-card h4 {
    color: #00d2ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-card p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .calculator-wrapper {
        padding: 0;
        max-width: 100%;
    }

    .calculator-card {
        margin: 0;
        padding: 0;
        width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    /* Calculator Header */
    .calculator-header {
        text-align: center;
        margin-bottom: 0;
    }

    .calculator-header h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0;
        color: #1a202c;
    }

    .calculator-header h2 {
        font-size: 1.5rem;
        color: #2563eb;
        margin-bottom: 0;
    }

    /* Form Groups */
    .form-group {
        margin-bottom: 0;
    }

    .form-group label {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0;
        color: #1a202c;
    }

    /* Input Fields */
    input[type="text"],
    input[type="number"],
    select {
        font-size: 1rem;
        padding: 0;
    }

    /* Life Stage Buttons */
    .toggle-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stage-btn {
        font-size: 0.9375rem;
        padding: 0;
    }

    .calculate-btn {
        font-size: 1rem;
        padding: 0;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .calculator-header h1 {
        font-size: 1.75rem;
    }

    .calculator-header h2 {
        font-size: 1.25rem;
    }

    .form-group label,
    input[type="text"],
    input[type="number"],
    select,
    .stage-btn {
        font-size: 0.875rem;
    }
}

/* Premium Enterprise Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --text-dark: #1a202c;
    --text-light: #4a5568;
    --background: #ffffff;
    --border: #e2e8f0;
}

body {
    background: #f3f4f6;
    min-height: 100vh;
}

.calculator-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    background: #f3f4f6;
}

.calculator-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    background: #f3f4f6;
}

.calculator-card {
    background: white;
    padding: 2rem;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.calculator-header h2 {
    font-size: 1.75rem;
    color: #2563eb;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.toggle-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stage-btn {
    padding: 1rem;
    font-size: 1.125rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #4a5568;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stage-btn:hover {
    background: #edf2f7;
}

.stage-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.stage-btn i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.calculate-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: #2563eb;
    border: none;
    border-radius: 16px;
    margin-top: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
    .calculator-container {
        padding: 1rem;
        align-items: flex-start;
    }

    .calculator-wrapper {
        max-width: 100%;
    }

    .calculator-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .calculator-header h1 {
        font-size: 2rem;
    }

    .calculator-header h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    input[type="text"],
    input[type="number"],
    select,
    .stage-btn {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .toggle-buttons {
        gap: 0.75rem;
    }

    .calculate-btn {
        padding: 1rem;
        font-size: 1.125rem;
        border-radius: 12px;
    }
}

/* Small Mobile Styles */
@media (max-width: 360px) {
    .calculator-card {
        padding: 1.25rem;
    }

    .calculator-header h1 {
        font-size: 1.75rem;
    }

    .calculator-header h2 {
        font-size: 1.25rem;
    }

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

    input[type="text"],
    input[type="number"],
    select,
    .stage-btn {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }

    .toggle-buttons {
        gap: 0.5rem;
    }
}

.calculator-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    background: #f3f4f6;
}

.calculator-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.calculator-card {
    background: white;
    padding: 2rem;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.calculator-header h2 {
    font-size: 1.75rem;
    color: #2563eb;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.toggle-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stage-btn {
    padding: 1rem;
    font-size: 1.125rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #4a5568;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stage-btn:hover {
    background: #edf2f7;
}

.stage-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.stage-btn i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.calculate-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: #2563eb;
    border: none;
    border-radius: 16px;
    margin-top: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

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

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

/* Base styles */
.calculator-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    padding: 1rem;
}

.calculator-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.calculator-card {
    background: white;
    padding: 2rem;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.calculator-header h2 {
    font-size: 1.75rem;
    color: #2563eb;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.toggle-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stage-btn {
    padding: 1rem;
    font-size: 1.125rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #4a5568;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stage-btn:hover {
    background: #edf2f7;
}

.stage-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.stage-btn i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.calculate-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: #2563eb;
    border: none;
    border-radius: 16px;
    margin-top: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
    .calculator-container {
        padding: 1rem;
        align-items: flex-start;
    }

    .calculator-wrapper {
        max-width: 100%;
    }

    .calculator-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .calculator-header h1 {
        font-size: 2rem;
    }

    .calculator-header h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    input[type="text"],
    input[type="number"],
    select,
    .stage-btn {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .toggle-buttons {
        gap: 0.75rem;
    }

    .calculate-btn {
        padding: 1rem;
        font-size: 1.125rem;
        border-radius: 12px;
    }
}

/* Small Mobile Styles */
@media (max-width: 360px) {
    .calculator-card {
        padding: 1.25rem;
    }

    .calculator-header h1 {
        font-size: 1.75rem;
    }

    .calculator-header h2 {
        font-size: 1.25rem;
    }

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

    input[type="text"],
    input[type="number"],
    select,
    .stage-btn {
        padding: 0.75rem;
        font-size: 0.9375rem;
    }

    .toggle-buttons {
        gap: 0.5rem;
    }
}
