        :root {
            --primary: #10b981;
            --primary-dark: #059669;
            --primary-light: #a7f3d0;
            --secondary: #3b82f6;
            --secondary-dark: #2563eb;
            --secondary-light: #bfdbfe;
            --neutral-light: #f3f4f6;
            --neutral: #e5e7eb;
            --neutral-dark: #9ca3af;
            --text-dark: #1f2937;
            --text-light: #6b7280;
        }

        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            color: var(--text-dark);
            background-color: #f9fafb;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .hero-pattern {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 2rem 0;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,218.7C672,203,768,149,864,138.7C960,128,1056,160,1152,154.7C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
            background-size: cover;
            opacity: 0.1;
            pointer-events: none;
        }

        .calculator-card {
            background-color: white;
            border-radius: 1rem;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            transition: all 0.3s ease;
        }

        .calculator-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.08);
        }

        .info-card {
            border-radius: 1rem;
            border-left: 4px solid var(--primary);
            background-color: white;
            transition: all 0.3s ease;
        }

        .info-card:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        input[type="number"], select {
            border: 2px solid var(--neutral);
            border-radius: 0.5rem;
            padding: 0.75rem 1rem;
            transition: all 0.3s ease;
            width: 100%;
        }

        input[type="number"]:focus, select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-light);
        }

        .btn-toggle {
            background-color: var(--neutral-light);
            color: var(--text-light);
            border-radius: 0.5rem;
            padding: 0.5rem 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-toggle.active {
            background-color: var(--primary);
            color: white;
            font-weight: 600;
        }

        .primary-btn {
            background-color: var(--primary);
            color: white;
            border-radius: 0.5rem;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .primary-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .primary-btn:active {
            transform: translateY(0);
        }

        .secondary-btn {
            background-color: var(--secondary);
            color: white;
            border-radius: 0.5rem;
            padding: 0.75rem 1.5rem;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .secondary-btn:hover {
            background-color: var(--secondary-dark);
            transform: translateY(-2px);
        }

        .secondary-btn:active {
            transform: translateY(0);
        }

        .checkbox-container {
            display: block;
            position: relative;
            padding-left: 35px;
            margin-bottom: 12px;
            cursor: pointer;
            font-size: 16px;
            user-select: none;
        }

        .checkbox-container input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

        .checkmark {
            position: absolute;
            top: 0;
            left: 0;
            height: 24px;
            width: 24px;
            background-color: var(--neutral-light);
            border-radius: 4px;
            transition: all 0.2s ease;
        }

        .checkbox-container:hover input ~ .checkmark {
            background-color: var(--neutral);
        }

        .checkbox-container input:checked ~ .checkmark {
            background-color: var(--primary);
        }

        .checkmark:after {
            content: "";
            position: absolute;
            display: none;
        }

        .checkbox-container input:checked ~ .checkmark:after {
            display: block;
        }

        .checkbox-container .checkmark:after {
            left: 9px;
            top: 5px;
            width: 6px;
            height: 12px;
            border: solid white;
            border-width: 0 3px 3px 0;
            transform: rotate(45deg);
        }

        .result-section {
            background: linear-gradient(135deg, var(--primary-light), var(--neutral-light));
            border-radius: 1rem;
            overflow: hidden;
            transition: all 0.5s ease;
            opacity: 0;
            max-height: 0;
        }

        .result-section.show {
            opacity: 1;
            max-height: 2000px;
            margin-top: 2rem;
        }

        .protein-bar {
            height: 25px;
            width: 0%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 15px;
            transition: width 1.5s ease-out;
        }

        .range-line {
            height: 4px;
            background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-dark));
            border-radius: 2px;
            position: relative;
        }

        .range-marker {
            position: absolute;
            width: 12px;
            height: 12px;
            background-color: var(--primary);
            border-radius: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        .protein-icon {
            width: 60px;
            height: 60px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
        }

        .protein-icon i {
            color: var(--primary-dark);
            font-size: 30px;
        }

        /* Timing sections */
        .timing-container {
            position: relative;
            padding: 20px 0;
        }

        .timing-item {
            background: white;
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            position: relative;
            z-index: 2;
            border-left: 4px solid var(--secondary);
            transition: all 0.3s ease;
        }

        .timing-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .timing-item h4 {
            color: var(--secondary);
            margin-bottom: 0.5rem;
        }

        .timing-line {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 15px;
            width: 2px;
            background: var(--neutral);
        }

        .timeline-dot {
            position: absolute;
            left: 0;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            z-index: 3;
        }

        .sport-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
        }

        .sport-icon i {
            font-size: 48px;
            color: var(--primary);
        }

        /* FAQ accordion */
        .accordion-item {
            border-bottom: 1px solid var(--neutral);
        }

        .accordion-button {
            background-color: transparent;
            color: var(--text-dark);
            padding: 1.25rem 0;
            width: 100%;
            text-align: left;
            font-weight: 500;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            border: none;
        }

        .accordion-button:after {
            content: "+";
            font-size: 1.5rem;
            font-weight: 300;
            color: var(--primary);
        }

        .accordion-button[aria-expanded="true"]:after {
            content: "−";
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .accordion-content.show {
            max-height: 500px;
        }

        /* Athlete icons */
        .athlete-icons {
            position: relative;
            height: 300px;
        }

        .athlete-icon {
            position: absolute;
            width: 60px;
            height: 60px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: float 3s ease-in-out infinite;
        }

        .athlete-icon:nth-child(1) {
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .athlete-icon:nth-child(2) {
            top: 60%;
            left: 20%;
            animation-delay: 0.5s;
        }

        .athlete-icon:nth-child(3) {
            top: 30%;
            left: 35%;
            animation-delay: 1s;
        }

        .athlete-icon:nth-child(4) {
            top: 50%;
            left: 55%;
            animation-delay: 1.5s;
        }

        .athlete-icon:nth-child(5) {
            top: 25%;
            left: 75%;
            animation-delay: 2s;
        }

        .athlete-icon:nth-child(6) {
            top: 65%;
            left: 85%;
            animation-delay: 2.5s;
        }

        .athlete-icon i {
            font-size: 30px;
            color: var(--primary);
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
            100% {
                transform: translateY(0px);
            }
        }

        /* Protein sources styles */
        .protein-source-card {
            background-color: white;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            height: 100%;
        }

        .protein-source-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .protein-source-icon {
            padding: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--primary-light);
        }

        .protein-source-icon i {
            font-size: 2.5rem;
            color: var(--primary);
        }

        .protein-amount {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
        }

        /* Food database section styles */
        .protein-badge {
            background-color: var(--primary);
            color: white;
            font-weight: bold;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
        }

        /* Protein needs by sport section */
        .sport-card {
            background-color: white;
            border-radius: 1rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            height: 100%;
            transition: all 0.3s ease;
            border-top: 4px solid var(--primary);
        }

        .sport-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        .protein-range {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary);
        }

        /* Tab navigation */
        .tab {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .tab.active {
            display: block;
        }

        @keyframes fadeIn {
            0% {
                opacity: 0;
                transform: translateY(10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .tab-btn {
            background-color: var(--neutral-light);
            color: var(--text-light);
            border: none;
            padding: 0.75rem 1.25rem;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
            border-radius: 0.5rem;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .tab-btn:hover {
            background-color: var(--neutral);
        }

        .tab-btn.active {
            background-color: var(--secondary);
            color: white;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 1.75rem;
            }

            .athlete-icons {
                height: 200px;
            }

            .athlete-icon {
                width: 40px;
                height: 40px;
            }

            .athlete-icon i {
                font-size: 20px;
            }
        }

        /* Custom styles for header graphics */
        .header-graphics {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
        }

        .header-graphic {
            position: absolute;
            opacity: 0.1;
        }

        .header-graphic.dumbbell {
            top: 10%;
            right: 5%;
            font-size: 4rem;
            transform: rotate(30deg);
        }

        .header-graphic.running {
            bottom: 15%;
            right: 20%;
            font-size: 3.5rem;
        }

        .header-graphic.bicycle {
            top: 20%;
            left: 10%;
            font-size: 3rem;
            transform: rotate(-15deg);
        }

        .header-graphic.swimming {
            bottom: 10%;
            left: 20%;
            font-size: 3.5rem;
        }

        .header-graphic.nutrition {
            top: 30%;
            right: 30%;
            font-size: 3rem;
        }
        
        /* Tooltip styles */
        .tooltip {
            position: relative;
            display: inline-block;
            cursor: pointer;
        }

        .tooltip .tooltiptext {
            visibility: hidden;
            width: 200px;
            background-color: var(--text-dark);
            color: white;
            text-align: center;
            border-radius: 6px;
            padding: 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.875rem;
        }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: var(--text-dark) transparent transparent transparent;
        }

        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        
        /* For smooth scrolling */
        html {
            scroll-behavior: smooth;
        }
        
        /* For support vector graphics */
        .protein-img {
            width: 200px;
            margin: 0 auto;
        }
        
        footer {
            background-color: var(--text-dark);
            color: white;
            padding: 2rem 0;
            margin-top: 3rem;
        }
