* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --color-white: #FFFFFF;
            --color-light-grey: #F8F9FA;
            --color-orange: #E67E22;
            --color-orange-hover: #D35400;
            --color-dark-blue: #2C3E50;
            --color-text-secondary: #6C757D;
            --color-border: #DEE2E6;
            --color-success: #28A745;
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
        }

        body {
            font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--color-dark-blue);
            background: var(--color-white);
            line-height: 1.6;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Inter', system-ui, sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }

        /* Header */
        header {
            background: var(--color-white);
            border-bottom: 1px solid var(--color-border);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            color: var(--color-dark-blue);
            font-size: 1.25rem;
            font-weight: 800;
            font-family: 'Inter', sans-serif;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            color: var(--color-orange);
        }

        .logo-text {
            color: var(--color-orange);
        }

        nav a {
            color: var(--color-dark-blue);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

        nav a:hover {
            color: var(--color-orange);
        }

        /* Main Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1.5rem;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            margin-bottom: 3rem;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--color-dark-blue);
        }

        .hero p {
            font-size: 1.125rem;
            color: var(--color-text-secondary);
            max-width: 700px;
            margin: 0 auto;
        }

        /* Calculator Section */
        .calculator-wrapper {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .calculator-card {
            background: var(--color-white);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--color-border);
        }

        .section-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: var(--color-dark-blue);
            padding-bottom: 0.75rem;
            border-bottom: 3px solid var(--color-orange);
        }

        /* Meal Type Selection */
        .meal-types {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .meal-type-card {
            background: var(--color-white);
            border: 2px solid var(--color-border);
            border-radius: 8px;
            padding: 1.5rem 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
        }

        .meal-type-card:hover {
            border-color: var(--color-orange);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .meal-type-card.active {
            border-color: var(--color-orange);
            background: rgba(230, 126, 34, 0.05);
            box-shadow: var(--shadow-md);
        }

        .meal-type-card h3 {
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
        }

        .meal-type-card p {
            font-size: 0.875rem;
            color: var(--color-text-secondary);
            margin-bottom: 0.5rem;
        }

        .meal-type-card .calories {
            font-size: 0.75rem;
            color: var(--color-orange);
            font-weight: 600;
        }

        /* Ingredients Grid */
        .ingredients-section {
            margin-bottom: 2rem;
        }

        .ingredients-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        
        }

        .ingredient-card {
            background: var(--color-white);
            border: 1px solid var(--color-border);
            border-radius: 8px;
            padding: 1rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;

        }

        .ingredient-card:hover {
            border-color: var(--color-orange);
            background: var(--color-light-grey);
        }

        .ingredient-card.selected {
            border-color: var(--color-orange);
            background: rgba(230, 126, 34, 0.05);
            box-shadow: var(--shadow-md);
        }

        .ingredient-card input[type="checkbox"] {
            width: 20px;
            height: 20px;
            margin-top: 2px;
            cursor: pointer;
            accent-color: var(--color-orange);
        }

        .ingredient-info {
            flex: 1;
        }

        .ingredient-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
            font-size: 14px;
        }

        .ingredient-serving {
            font-size: 0.875rem;
            color: var(--color-text-secondary);
        }

        

        /* Nutrition Panel */
        .nutrition-panel {
            background: var(--color-white);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow-lg);
            border-left: 4px solid var(--color-orange);
            position: sticky;
            top: 100px;
        }

        .nutrition-panel h2 {
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
        }

        .nutrition-panel .serving-info {
            font-size: 0.875rem;
            color: var(--color-text-secondary);
            margin-bottom: 1.5rem;
        }

        .calories-display {
            text-align: center;
            padding: 1.5rem;
            background: var(--color-light-grey);
            border-radius: 8px;
            margin-bottom: 1.5rem;
        }

        .calories-display h3 {
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
        }

        .calories-number {
            font-size: 3.5rem;
            font-weight: 800;
            color: var(--color-orange);
            line-height: 1;
        }

        .calories-from-fat {
            font-size: 0.75rem;
            color: var(--color-text-secondary);
            margin-top: 0.5rem;
        }

        .nutrition-table {
            border-top: 2px solid var(--color-dark-blue);
            padding-top: 1rem;
        }

        .nutrition-row {
            display: flex;
            justify-content: space-between;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--color-border);
        }

        .nutrition-row.bold {
            font-weight: 600;
        }

        .nutrition-row.indent {
            padding-left: 1rem;
        }

        .nutrition-label {
            flex: 1;
        }

        .nutrition-value {
            font-weight: 600;
            margin-right: 1rem;
        }

        .nutrition-dv {
            font-weight: 600;
            min-width: 3rem;
            text-align: right;
        }

        .dv-header {
            text-align: right;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .nutrition-footer {
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 2px solid var(--color-dark-blue);
            font-size: 0.75rem;
            color: var(--color-text-secondary);
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .btn {
            padding: 0.875rem 1.75rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            font-family: 'Inter', sans-serif;
        }

        .btn-primary {
            background: var(--color-orange);
            color: white;
        }

        .btn-primary:hover {
            background: var(--color-orange-hover);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .btn-secondary {
            background: transparent;
            color: var(--color-dark-blue);
            border: 2px solid var(--color-border);
        }

        .btn-secondary:hover {
            border-color: var(--color-orange);
            color: var(--color-orange);
        }

        /* Article Section */
        .article-section {
            background: var(--color-light-grey);
            padding: 4rem 0;
            margin-top: 4rem;
        }

        .article-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .article-section h2 {
            font-size: 2.25rem;
            margin-bottom: 2rem;
            color: var(--color-dark-blue);
        }

        .article-section h3 {
            font-size: 1.75rem;
            margin: 2.5rem 0 1rem;
            color: var(--color-dark-blue);
        }

        .article-section h4 {
            font-size: 1.375rem;
            margin: 2rem 0 1rem;
            color: var(--color-dark-blue);
        }

        .article-section p {
            font-size: 1.0625rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            color: var(--color-dark-blue);
        }

        .article-section ul {
            margin: 1.5rem 0;
            padding-left: 2rem;
        }

        .article-section li {
            margin-bottom: 0.75rem;
            line-height: 1.8;
            font-size: 1.0625rem;
        }

        .article-section strong {
            font-weight: 600;
            color: var(--color-dark-blue);
        }

        /* Footer */
        footer {
            background: var(--color-light-grey);
            border-top: 1px solid var(--color-border);
            padding: 3rem 0 2rem;
            margin-top: 4rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-column h3 {
            font-size: 1.125rem;
            margin-bottom: 1rem;
        }

        .footer-column p {
            font-size: 0.875rem;
            color: var(--color-text-secondary);
            line-height: 1.6;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column li {
            margin-bottom: 0.5rem;
        }

        .footer-column a {
            color: var(--color-text-secondary);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.2s;
        }

        .footer-column a:hover {
            color: var(--color-orange);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--color-border);
        }

        .footer-bottom p {
            font-size: 0.875rem;
            color: var(--color-text-secondary);
            margin-bottom: 0.5rem;
        }

        /* Responsive Design */
        @media (min-width: 1024px) {
            .calculator-wrapper {
                grid-template-columns: 2fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 1.875rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .calculator-card {
                padding: 1.5rem;
            }

            .nutrition-panel {
                position: static;
            }

            .calories-number {
                font-size: 2.5rem;
            }

            .meal-types {
                grid-template-columns: repeat(2, 1fr);
            }

            .ingredients-grid {
                grid-template-columns: 1fr;
            }

            .action-buttons {
                flex-direction: column;
            }

            .btn {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .header-container {
                padding: 0.75rem 1rem;
            }

            .logo {
                font-size: 1rem;
            }

            .hero h1 {
                font-size: 1.5rem;
            }

            .meal-types {
                grid-template-columns: 1fr;
            }
        }