.hero {
            padding: 5rem 0;
            text-align: center;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%232563eb" fill-opacity="0.05"/><path d="M0 0L100 100" stroke="%232563eb" stroke-width="2" stroke-opacity="0.05"/></svg>');
        }

        .hero h1 {
            font-size: 3.2rem;
            color: var(--primary-dark);
            margin-bottom: 1.2rem;
            line-height: 1.2;
            font-weight: 700;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--gray);
            max-width: 800px;
            margin: 0 auto 2rem;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
        }

        .btn {
            padding: 0.9rem 1.8rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
        }

        .btn-outline {
            border: 2px solid var(--primary);
            color: var(--primary);
            background: transparent;
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        /* Features Section */
        .features {
            padding: 5rem 0;
            background: white;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3.5rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .section-title p {
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .feature-card {
            background: var(--light);
            border-radius: var(--border-radius-lg);
            padding: 2.5rem 2rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--light-gray);
        }

        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
        }

        .feature-icon {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            transition: var(--transition);
        }

        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-dark);
        }

        /* How It Works Section */
        .how-it-works {
            padding: 5rem 0;
            background: linear-gradient(to bottom, #f0f9ff 0%, #e0f2fe 100%);
        }

        .steps {
            display: flex;
            justify-content: space-between;
            margin-top: 3rem;
            position: relative;
        }

        .steps:before {
            content: '';
            position: absolute;
            top: 40px;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary-light);
            z-index: 1;
        }

        .step {
            text-align: center;
            position: relative;
            z-index: 2;
            flex: 1;
            padding: 0 1rem;
        }

        .step-number {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 700;
            margin: 0 auto 1.5rem;
            box-shadow: var(--shadow);
        }

        .step h3 {
            color: var(--primary-dark);
            margin-bottom: 1rem;
        }

        /* Calculator Section */
        .calculators {
            padding: 5rem 0;
        }

        .calculator-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 2.5rem;
            justify-content: center;
        }

        .tab-button {
            padding: 1rem 1.8rem;
            background: white;
            border: none;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--light-gray);
        }

        .tab-button.active, .tab-button:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        .calculator-content {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 2.5rem;
            box-shadow: var(--shadow);
            border: 1px solid var(--light-gray);
        }

        .calculator {
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .calculator.active {
            display: block;
            opacity: 1;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .calculator-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .calculator-header h3 {
            font-size: 1.8rem;
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
        }

        .calculator-header p {
            color: var(--gray);
        }

        .calculator-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
        }

        @media (max-width: 900px) {
            .calculator-grid {
                grid-template-columns: 1fr;
            }
        }

        .form-container {
            background: var(--light);
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow-md);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--dark);
        }

        .form-group input, .form-group select {
            width: 100%;
            padding: 0.9rem 1.2rem;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-group input:focus, .form-group select:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
        }

        .input-error {
            border-color: var(--danger) !important;
        }

        .error-message {
            color: var(--danger);
            font-size: 0.85rem;
            margin-top: 0.3rem;
            display: none;
        }

        .units-toggle {
            display: flex;
            margin-bottom: 1.5rem;
            background: #eef2ff;
            border-radius: var(--border-radius);
            overflow: hidden;
        }

        .units-toggle label {
            flex: 1;
            text-align: center;
            padding: 0.8rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .units-toggle input[type="radio"] {
            display: none;
        }

        .units-toggle input[type="radio"]:checked + label {
            background: var(--primary);
            color: white;
        }

        .calculate-btn {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: var(--border-radius);
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
        }

        .calculate-btn:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
        }

        .calculate-btn:disabled {
            background: var(--gray);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .result-container {
            background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
            padding: 2rem;
            border-radius: var(--border-radius);
            height: fit-content;
            box-shadow: var(--shadow-md);
        }

        .result {
            display: none;
        }

        .result.show {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        .result-value {
            font-size: 2.8rem;
            font-weight: 700;
            text-align: center;
            color: var(--primary-dark);
            margin: 1rem 0;
        }

        .result-category {
            text-align: center;
            font-weight: 600;
            padding: 0.8rem;
            border-radius: var(--border-radius);
            margin: 1.5rem 0;
            background: white;
            box-shadow: var(--shadow-md);
        }

        .interpretation {
            background: white;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin-top: 1.5rem;
            box-shadow: var(--shadow-md);
        }

        .interpretation h4 {
            margin-bottom: 0.8rem;
            color: var(--primary-dark);
        }

        /* Progress bar for risk calculators */
        .risk-meter {
            height: 20px;
            background: #e2e8f0;
            border-radius: 10px;
            margin: 1.5rem 0;
            overflow: hidden;
            position: relative;
        }

        .risk-level {
            height: 100%;
            border-radius: 10px;
            transition: width 1s ease;
        }

        .risk-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            font-size: 0.8rem;
            color: var(--gray);
        }

        /* Benefits Section */
        .benefits {
            padding: 5rem 0;
            background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .benefit-card {
            background: white;
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--light-gray);
        }

        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.15);
        }

        .benefit-card h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.4rem;
            color: var(--primary-dark);
            margin-bottom: 1rem;
        }

        /* Testimonials Section */
        .testimonials {
            padding: 5rem 0;
            background: white;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .testimonial-card {
            background: var(--light);
            border-radius: var(--border-radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            position: relative;
            border: 1px solid var(--light-gray);
        }

        .testimonial-card:before {
            content: '"';
            position: absolute;
            top: 10px;
            left: 20px;
            font-size: 4rem;
            color: var(--primary-light);
            font-family: Georgia, serif;
            line-height: 1;
        }

        .testimonial-text {
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .author-info h4 {
            color: var(--primary-dark);
            margin-bottom: 0.2rem;
        }

        .author-info p {
            color: var(--gray);
            font-size: 0.9rem;
        }


        /* Loading spinner */
        .spinner {
            width: 24px;
            height: 24px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            display: none;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .steps {
                flex-direction: column;
                gap: 2rem;
            }
            
            .steps:before {
                display: none;
            }
            
            .step {
                padding: 0;
            }
        }

        @media (max-width: 768px) {
     
           
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .calculator-tabs {
                flex-direction: column;
            }
            
            .calculator-content {
                padding: 1.5rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .form-container, .result-container {
                padding: 1.5rem;
            }
        }

                .calculator-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 2rem;
            justify-content: center;
        }
        
        .tab-button {
            padding: 0.8rem 1.2rem;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 50px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .tab-button:hover {
            background-color: #f0f5ff;
            border-color: var(--primary);
        }
        
        .tab-button.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .calculator-content {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            margin-bottom: 3rem;
        }
        
        .calculator {
            display: none;
            padding: 2rem;
        }
        
        .calculator.active {
            display: block;
        }
        
        .calculator-header {
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .calculator-header h3 {
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .calculator-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
        
        .form-container {
            background-color: #f9fafc;
            padding: 1.5rem;
            border-radius: 8px;
        }
        
        .units-toggle {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .units-toggle input[type="radio"] {
            display: none;
        }
        
        .units-toggle label {
            padding: 0.5rem 1rem;
            background-color: #e9ecef;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .units-toggle input[type="radio"]:checked + label {
            background-color: var(--primary);
            color: white;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .form-group input,
        .form-group select {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }
        
        .error-message {
            color: var(--danger);
            font-size: 0.85rem;
            margin-top: 0.5rem;
            display: none;
        }
        
        .calculate-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 1rem 1.5rem;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            width: 100%;
            justify-content: center;
        }
        
        .calculate-btn:hover {
            background-color: #3a7bc8;
        }
        
        .spinner {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            display: none;
        }
        
        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }
        
        .result-container {
            background-color: #f9fafc;
            padding: 1.5rem;
            border-radius: 8px;
        }
        
        .result {
            display: none;
        }
        
        .result.show {
            display: block;
        }
        
        .result-value {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            text-align: center;
            margin-bottom: 0.5rem;
        }
        
        .result-category {
            font-size: 1.2rem;
            text-align: center;
            margin-bottom: 1.5rem;
            font-weight: 500;
        }
        
        .risk-meter {
            height: 10px;
            background-color: #e9ecef;
            border-radius: 5px;
            margin: 1.5rem 0;
            overflow: hidden;
        }
        
        .risk-level {
            height: 100%;
            transition: all 0.5s ease;
        }
        
        .risk-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: var(--secondary);
            margin-bottom: 1.5rem;
        }
        
        .interpretation {
            background-color: white;
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid var(--primary);
        }
        
        .interpretation h4 {
            margin-bottom: 0.5rem;
            color: var(--primary);
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .calculator-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .calculator-tabs {
                overflow-x: auto;
                justify-content: flex-start;
                padding-bottom: 0.5rem;
            }
            
            .tab-button {
                white-space: nowrap;
            }
        }
        
        @media (max-width: 576px) {
            .calculator {
                padding: 1.5rem;
            }
            
            .form-container,
            .result-container {
                padding: 1rem;
            }
            
            .units-toggle {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .result-value {
                font-size: 2rem;
            }
        }