/* carturn — 頁面樣式（/carturn.css） */
body.page-carturn {
  font-family: 'Microsoft JhengHei', Arial, sans-serif;
  background: var(--bg-main);
  background-image: none;
  min-height: 100vh;
  color: var(--text);
}

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

            /* body bg moved to .page-carturn */
        
        /* Main Content */
        .container {
            max-width: 1100px;
            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: 2rem 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .card-title {
            font-size: 1.5rem;
            font-weight: bold;
            text-align: center;
            margin-bottom: 2rem;
            color: #1f2937;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .section-title {
            font-size: 1.125rem;
            font-weight: bold;
            color: #11998e;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #11998e;
        }
        
        .input-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .input-group {
            margin-bottom: 1rem;
        }
        
        .input-group label {
            display: block;
            font-size: 0.875rem;
            font-weight: 600;
            color: #374151;
            margin-bottom: 0.5rem;
        }
        
        .input-wrapper {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }
        
        .input-group input,
        .input-group select {
            padding: 0.625rem 0.75rem;
            font-size: 1rem;
            border: 2px solid #d1d5db;
            border-radius: 0.5rem;
            transition: all 0.3s;
        }
        
        .input-group input {
            flex: 1;
        }
        
        .input-group select {
            min-width: 120px;
        }
        
        .input-group input:focus,
        .input-group select:focus {
            outline: none;
            border-color: #11998e;
            box-shadow: 0 0 0 3px rgba(17, 153, 142, 0.1);
        }
        
        .input-group input:hover,
        .input-group select:hover {
            border-color: #9ca3af;
        }
        
        .button-group {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .btn {
            flex: 1;
            padding: 0.875rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
            color: white;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(17, 153, 142, 0.4);
        }
        
        .btn-secondary {
            background: #f3f4f6;
            color: #374151;
        }
        
        .btn-secondary:hover {
            background: #e5e7eb;
        }
        
        .results-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .result-card {
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
            border-radius: 0.75rem;
            padding: 1rem;
            border-left: 4px solid #0ea5e9;
        }
        
        .result-label {
            font-size: 0.875rem;
            font-weight: 600;
            color: #075985;
            margin-bottom: 0.25rem;
        }
        
        .result-value {
            font-size: 1.25rem;
            font-weight: bold;
            color: #0369a1;
        }
        
        .result-highlight {
            background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
            border-left: 4px solid #22c55e;
        }
        
        .result-highlight .result-label {
            color: #166534;
        }
        
        .result-highlight .result-value {
            color: #15803d;
            font-size: 1.5rem;
        }
        
        .info-box {
            background: #fef3c7;
            border-left: 4px solid #f59e0b;
            padding: 1.5rem;
            border-radius: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .info-box h3 {
            font-size: 1.25rem;
            font-weight: bold;
            color: #92400e;
            margin-bottom: 1rem;
        }
        
        .info-box p {
            color: #78350f;
            line-height: 1.8;
            margin-bottom: 0.75rem;
        }
        
        .info-box ul {
            list-style: none;
            padding-left: 0;
        }
        
        .info-box li {
            margin: 0.75rem 0;
            padding-left: 1.5rem;
            position: relative;
            color: #78350f;
            line-height: 1.6;
        }
        
        .info-box li:before {
            content: "▸";
            position: absolute;
            left: 0;
            color: #f59e0b;
            font-weight: bold;
        }
        
        .info-box strong {
            color: #92400e;
        }
        
        .divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #11998e, transparent);
            margin: 2rem 0;
        }
        
        .hero {
            text-align: center;
            padding: 2rem 1rem;
            color: white;
        }
        
        .hero img {
            width: 30px;
            height: 30px;
            vertical-align: middle;
            margin: 0 10px;
        }
        
        .hero a {
            color: white;
            text-decoration: none;
            font-size: 1.25rem;
            font-weight: bold;
        }
        
        /* Responsive Design */
        @media (max-width: 640px) {
            .card {
                padding: 1.5rem 1rem;
            }
            
            .card-title {
                font-size: 1.25rem;
            }
            
            .section-title {
                font-size: 1rem;
            }
            
            .input-group label {
                font-size: 0.813rem;
            }
            
            .input-group input,
            .input-group select {
                font-size: 0.875rem;
                padding: 0.5rem;
            }
            
            .input-wrapper {
                flex-direction: column;
            }
            
            .input-group select {
                width: 100%;
            }
            
            .result-value {
                font-size: 1.125rem;
            }
            
            .result-highlight .result-value {
                font-size: 1.25rem;
            }
            
            .button-group {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
            }
        }
        

        .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;
        }
              /* Footer */
        footer {
            background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
            color: white;
            margin-top: 3rem;
        }
        
        .footer-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }
                .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 2rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .footer-section h4 {
            font-size: 1.125rem;
            font-weight: bold;
            margin-bottom: 0.75rem;
        }

        .footer-section p {
            font-size: 0.875rem;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin: 0.5rem 0;
        }
        
        .footer-links a {
            color: white;
            text-decoration: none;
            font-size: 0.875rem;
            opacity: 0.9;
            transition: opacity 0.3s;
        }
        
        .footer-links a:hover {
            opacity: 1;
            text-decoration: underline;
        }
        
        .social-icons {
            display: flex;
            gap: 1rem;
        }
        
        .social-icon {
            transition: transform 0.3s;
        }
        
        .social-icon:hover {
            transform: scale(1.1);
        }
        
        .social-icon svg {
            width: 1.75rem;
            height: 1.75rem;
        }
        
        .copyright {
            margin-top: 1rem;
            font-size: 0.75rem;
            opacity: 0.75;
        }
        @media (min-width: 768px) {
            .desktop-nav {
                display: flex;
            }
            
            .menu-btn {
                display: none;
            }
            
            .container {
                padding: 2.5rem 1.5rem;
            }
            
            .card {
                padding: 2.5rem 2rem;
            }
            
            .input-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .results-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (min-width: 1024px) {
            .input-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .results-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
