* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Microsoft JhengHei', Arial, sans-serif;    
    color: #333;
    background: #f7f8f8;
}

/* 回首頁按鈕樣式 */
    .back-home {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: #d32f2f;  /* 紅色 */
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 30px;
      font-size: 16px;
      font-weight: bold;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      cursor: pointer;
      z-index: 999;
      transition: background-color 0.3s;
    }

    .back-home:hover {
      background-color: #b71c1c;
    }
    
/* 導航列 */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding:  ;
            box-shadow: var(--shadow);
            border-bottom: 1px solid var(--border-color);
            background-color: #e60012;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

/* 主要內容 */
        main {
            margin-top: 80px;
            min-height: 85vh;
        }

        /* Hero 區塊 */
        .hero {
            padding: 4rem 2rem;
            text-align: center;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 0.5rem;
            background-clip: text;
            animation: fadeInUp 0.8s ease;
        }


        .hero p {
            font-size: 1.25rem;
            color: var(--text-secondary);
            max-width: 1000px;
            margin: 0 auto 1rem;
            animation: fadeInUp 0.8s ease 0.2s backwards;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        .password-guide{
            display: flex;
            justify-content: center;
            gap: 40px;/*每個 item 之間的空隙 不需再加 margin*/
            flex-wrap: wrap; /*無法塞在一排，會自動「換行」到下一排*/
            padding: 40px 20px;
        }

        .password-guide__item {
            flex: 0 0 15%; /*每個 item 寬度佔 約 15%*/
            text-align: center;
            text-decoration: none;
            color: #333;
            transition: transform 0.2s ease; 
        }

        .password-guide__item:hover {
            transform: translateY(-10px); /* 滑過跳一下 */
        }

        .password-guide__item img {
            width: 100%;
            height: auto;
            display: block;
            margin-bottom: 10px;
        }


/* ie說明區塊 區塊 */

        .ie-mode-box {
            border: 2px dashed #e74c3c;
            padding: 20px;
            border-radius: 10px;
            background-color: #fff;
            max-width: 1000px;
            margin: auto;
            animation: fadeInUp 1s ease;
        }

        .ie-mode-box h2 {
            color: #e74c3c;
            font-size: 36px;
            text-align: center;
            margin-bottom: 20px;
        }

        .ie-mode-box p {
            font-size: 20px;
            line-height: 1.8;
            color: #333;
        }

        .ie-mode-box ol {
            padding-left: 20px;
        }

        .ie-mode-box li {
            margin-bottom: 10px;
        }

        .question {
            font-weight: bold;
            margin-top: 15px;
        }

/* 箭頭 區塊 */

        .arrow-container {            
            display: flex;
            gap: 15px; /* 拉開箭頭之間的距離 */
            align-items: center;
            max-width: 1000px;
            margin: auto;
            padding: 20px;
            flex-wrap: wrap; /* 讓箭頭在小螢幕上換行 */
            justify-content: center; /* 讓內容在小螢幕上置中 */
        }

        .arrow {
            background-color: #e74c3c;
            color: white;
            padding: 15px 28px;
            position: relative;
            font-size: 23px;
            font-weight: bold;
            white-space: nowrap;
            clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 10px 50%);
        }


/* 內容 區塊 */

        .steps .step-box {
            margin-bottom: 20px;
        }

        .steps .step-box:last-child {
            margin-bottom: 0; /* 最後一個不要有空隙 */
        }
     
        .step-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            max-width: 1000px;
            margin: auto;
            animation: fadeInUp 1.2s ease;
        }

        .step-text {
            flex: 1;
            padding-right: 30px;
        }

        .step-text h2 {
            color: #333;
            font-size: 23px;
            margin-bottom: 10px;
        }

        .step-text p {
            font-size: 20px;
            color: #333;
            line-height: 1.6;
        }

        .step-image {
            flex-shrink: 0;
        }

        .step-image img {
            width: 500px;
            height: auto;
            border-radius: 8px;
            border: 1px solid #ddd;
        }

            

        .footer{
            color: #333;
            font-size:16px;
            padding: 20px ;
            text-align: center;
        }

        /* 手機：一個一排 */
        @media (max-width: 600px) {
        .password-guide__item {
            flex: 0 0 80%; /*小於 600px（手機）時，每格80%*/
        }

        nav img{
            width: 100%;
        }

        .arrow {
            font-size: 18px;
            padding: 10px 18px;
        }

        .step-box {
            flex-direction: column;
            text-align: center;
        }

        .step-text {
            padding-right: 0;
            margin-bottom: 20px;
        }

        .step-image img {
            width: 100%;
            max-width: 400px;
        }



        }        
