/* 頁面底色（無全版漸層）；內容區塊內漸層保留 */
body.page-airelec {
  margin: 0;
  font-family: 'Microsoft JhengHei', Arial, sans-serif;
  background: #ececec;
  min-height: 100vh;
}
body.page-airelec * {
  box-sizing: border-box;
}

/* Main Content */
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 1.5rem 1rem;
        }
        
        .card {
            background: white;
            border-radius: 1rem;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .card-title {
            font-size: 1.75rem;
            font-weight: bold;
            text-align: center;
            margin-bottom: 1.5rem;
            color: #1f2937;
        }
        
        .info-box {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
            border-left: 4px solid #3b82f6;
            border-radius: 0.5rem;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .info-box h3 {
            color: #1e40af;
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }
        
        .info-box ul {
            list-style: none;
            padding-left: 0;
        }
        
        .info-box li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
            line-height: 1.6;
        }
        
        .info-box li:before {
            content: "⚡";
            position: absolute;
            left: 0;
            font-weight: bold;
        }
        
        .knowledge-box {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
            border-radius: 0.75rem;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .knowledge-box h4 {
            color: #92400e;
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .knowledge-box p {
            color: #451a03;
            line-height: 1.6;
            margin: 0.5rem 0;
        }
        
        .knowledge-box strong {
            color: #78350f;
        }
        
        .input-section {
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            border-radius: 0.75rem;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .input-group {
            margin-bottom: 1.5rem;
        }
        
        .input-group label {
            display: block;
            font-size: 1.125rem;
            font-weight: 600;
            color: #1e40af;
            margin-bottom: 0.75rem;
            text-align: center;
        }
        
        .input-group input,
        .input-group select {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            display: block;
            padding: 0.875rem 1rem;
            font-size: 1.125rem;
            border: 3px solid #3b82f6;
            border-radius: 0.5rem;
            text-align: center;
            transition: all 0.3s;
            font-weight: 600;
        }
        
        .input-group input:focus,
        .input-group select:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        .input-group select {
            background: white;
            cursor: pointer;
        }
        
        .highlight-input {
            background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        }
        
        .btn-calculate {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            border: none;
            padding: 1.25rem 2.5rem;
            font-size: 1.25rem;
            font-weight: bold;
            border-radius: 0.75rem;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            width: 100%;
            max-width: 400px;
            margin: 2rem auto;
            display: block;
        }
        
        .btn-calculate:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.2);
        }
        
        .btn-calculate:active {
            transform: translateY(0);
        }
        
        .formula-box {
            background: white;
            border: 2px dashed #3b82f6;
            border-radius: 0.75rem;
            padding: 1rem;
            margin: 1.5rem 0;
            text-align: center;
        }
        
        .formula-box p {
            font-size: 1.125rem;
            color: #1e40af;
            margin: 0.5rem 0;
        }
        
        .formula-box .formula {
            font-size: 1.5rem;
            font-weight: bold;
            color: #1e3a8a;
            margin: 1rem 0;
            font-family: 'Courier New', monospace;
        }
        
        .result-section {
            background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
            border-radius: 0.75rem;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .result-section h3 {
            text-align: center;
            color: #166534;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .result-item {
            margin: 1rem 0;
        }
        
        .result-label {
            font-size: 1.125rem;
            font-weight: 600;
            color: #15803d;
            text-align: center;
            margin-bottom: 0.5rem;
        }
        
        .result-value {
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            display: block;
            padding: 1rem;
            font-size: 1.875rem;
            font-weight: bold;
            color: #dc2626;
            border: none;
            border-bottom: 3px solid #15803d;
            background: white;
            text-align: center;
            border-radius: 0.5rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .arrow {
            text-align: center;
            font-size: 1.5rem;
            color: #15803d;
            margin: 0.5rem 0;
        }
        
        .links-section {
            background: white;
            border-radius: 0.75rem;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .links-section h3 {
            color: #1f2937;
            margin-bottom: 1rem;
            font-size: 1.25rem;
        }
        
        .links-section a {
            display: block;
            padding: 0.875rem 1rem;
            margin: 0.5rem 0;
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
            border-radius: 0.5rem;
            text-decoration: none;
            color: #3b82f6;
            font-weight: 600;
            transition: all 0.3s;
            border-left: 4px solid #3b82f6;
        }
        
        .links-section a:hover {
            background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
            transform: translateX(5px);
        }
        
        .example-image {
            width: 100%;
            max-width: 100%;
            height: auto;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin: 1.5rem 0;
        }
        
        .tip-box {
            background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
            border-left: 4px solid #ec4899;
            border-radius: 0.5rem;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .tip-box h4 {
            color: #9f1239;
            font-size: 1.125rem;
            margin-bottom: 0.75rem;
        }
        
        .tip-box p {
            color: #4c0519;
            line-height: 1.6;
            margin: 0.5rem 0;
        }
        
            .hero {
            text-align: center;
            color: white;
            margin-bottom: 3rem;
        }
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .hero p {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .calculator-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        

        .calculator-card {
            background: #eae6dd;
            border-radius: 15px;
            padding: 1rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .calculator-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }
.calculator-card a {
    text-decoration: none; /* 去除底線 */
    font-weight: bold;     /* 粗體 */
    color: #222;           /* 顏色 #222 */
}
   .calculator-card h3 {
            color: #222;
            margin-bottom: 1rem;
            font-size: 1rem;
        }

        .calculator-card p {
            color: #666;
            line-height: 1;
        }

        .icon {
            font-size: 2rem;
            margin-bottom: 0rem;
        }
              /* Mobile Responsive */
        @media (max-width: 767px) {
            .card {
                padding: 1rem;
            }
            
            .card-title {
                font-size: 1.5rem;
            }
            
            .input-group input,
            .input-group select {
                font-size: 1rem;
                padding: 0.75rem;
            }
            
            .btn-calculate {
                font-size: 1.125rem;
                padding: 1rem 1.5rem;
            }
            
            .result-value {
                font-size: 1.5rem;
                padding: 0.875rem;
            }
            
            .formula-box .formula {
                font-size: 1.125rem;
            }
        }
        
        @media (min-width: 768px) {
            .container {
                padding: 2.5rem 1.5rem;
            }
        }
