/* =========================================
   1. FEATURES SECTION
   ========================================= */
.features { 
    padding: 80px 5%; 
    background: #fdfbf7; /* Light Gold Tint */
    text-align: center; 
}

.section-title { 
    font-size: 2rem; 
    color: #b8860b; /* Primary Gold */
    margin-bottom: 10px; 
    font-weight: bold;
}

.section-subtitle { 
    color: #666; 
    margin-bottom: 50px; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
    font-size: 1.1rem;
}

.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}

.feature-card {
    background: white; 
    padding: 30px; 
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    text-align: left;
    transition: 0.3s; 
    border-top: 4px solid transparent;
}

.feature-card:hover { 
    transform: translateY(-5px); 
    border-top-color: #b8860b; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.f-icon { 
    width: 60px; height: 60px; 
    background: #fff9e6; 
    color: #b8860b; 
    border-radius: 15px; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 24px; 
    margin-bottom: 20px; 
}

.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: #333; }
.feature-card p { font-size: 14px; color: #666; line-height: 1.6; }


/* =========================================
   2. VIDEO TUTORIALS SECTION (New)
   ========================================= */
.video-section { 
    padding: 60px 5%; 
    background: #fff; 
    text-align: center; 
    border-top: 1px solid #eee;
}

.video-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 40px; 
}

.video-wrapper { 
    position: relative; 
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0; 
    overflow: hidden; 
    border-radius: 15px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    background: #000;
}

.video-wrapper iframe { 
    position: absolute; top: 0; left: 0; 
    width: 100%; height: 100%; border: 0; 
}


/* =========================================
   3. SHOWCASE (Screenshots)
   ========================================= */
.showcase { 
    padding: 80px 5%; 
    background: #fff; 
    overflow: hidden; /* ဘေးမထွက်အောင် */
}

.screenshot-scroll {
    display: flex; 
    gap: 30px; 
    overflow-x: auto; 
    padding: 20px 10px 40px 10px; /* အရိပ်လွတ်အောင် အောက်ဖက် padding ပိုပေးထား */
    -ms-overflow-style: none; 
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.screenshot-scroll::-webkit-scrollbar { display: none; }

.screen-img {
    width: 260px; /* ဖုန်းပုံဆိုဒ် */
    height: auto;
    flex-shrink: 0; /* ပုံမပိန်သွားအောင် */
    
    /* Transparent PNG အရိပ်စစ်စစ် */
    background: transparent;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2)); 
    
    border-radius: 30px; 
    transition: transform 0.3s ease;
}

.screen-img:hover {
    transform: translateY(-10px);
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.3));
}


/* =========================================
   4. INSTALL GUIDE SECTION (New)
   ========================================= */
.install-guide { 
    padding: 80px 5%; 
    background: #f8f9fa; 
    border-top: 1px solid #eee;
}

.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-steps { flex: 1; min-width: 320px; }
.guide-video { flex: 1; min-width: 320px; text-align: center; }

/* Step Cards */
.step-card.horizontal {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-left: 5px solid #b8860b;
    transition: 0.3s;
}
.step-card.horizontal:hover { transform: translateX(5px); }

.step-num {
    background: #b8860b; color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 3px 6px rgba(184, 134, 11, 0.3);
}

.step-content h4 { margin: 0 0 5px 0; color: #333; font-size: 16px; }
.step-content p { margin: 0; font-size: 14px; color: #666; line-height: 1.5; }

/* Download Buttons */
.dl-btn-group { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }
.dl-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold; font-size: 15px;
    color: white; 
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.dl-mediafire { background: #0070f3; }
.dl-drive { background: #1ea362; }
.dl-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }


/* =========================================
   5. YOUTUBE PROMO SECTION
   ========================================= */
.yt-promo {
    background: #fff;
    padding: 80px 5%;
    text-align: center;
    border-top: 1px solid #eee;
}
.yt-content h2 { color: #333; margin-bottom: 15px; font-size: 1.8rem; }
.yt-content p { color: #666; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

.yt-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #ff0000; color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transition: 0.3s;
}
.yt-btn:hover { background: #cc0000; transform: scale(1.05); }


/* =========================================
   6. SECURITY SECTION (Updated)
   ========================================= */
.security {
    background: #1a1a1a; 
    color: white; 
    padding: 80px 5%;
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: center; 
    gap: 60px; 
}

.sec-img { 
    flex: 1; 
    min-width: 250px; 
    text-align: center; 
    font-size: 120px; 
    color: #b8860b; 
    opacity: 0.9; 
    text-shadow: 0 0 20px rgba(184, 134, 11, 0.3);
}

.sec-content { 
    flex: 1.5; 
    min-width: 300px; 
}

.sec-content h2 { 
    color: #b8860b; 
    margin-bottom: 30px; 
    font-size: 2rem;
}

.sec-list { 
    list-style: none; 
    padding: 0; 
}

.sec-list li { 
    margin-bottom: 25px; 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
}

.sec-list i { 
    color: #4caf50; 
    font-size: 24px; 
    margin-top: 3px; 
    flex-shrink: 0; 
}

.sec-list b { color: white; }
/* --- WEB MINI CALCULATOR --- */
.web-calc-section { padding: 60px 5%; background: #fff; text-align: center; }
.calc-container { max-width: 500px; margin: 0 auto; background: #fff; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border: 1px solid #eee; padding: 20px; }

/* Tabs (Scrollable Fix) */
.calc-tabs { 
    display: flex; 
    gap: 8px; /* ခလုတ်ကြား အကွာအဝေး */
    margin-bottom: 20px; 
    overflow-x: auto; /* ဘေးတိုက် Scroll */
    padding-bottom: 5px; 
    scrollbar-width: none; /* Scrollbar ဖျောက် */
    -ms-overflow-style: none;
    scroll-padding: 0 50%; /* Center alignment helper */
}
.calc-tabs::-webkit-scrollbar { display: none; }

.c-tab { 
    flex: 0 0 auto; /* 🔥 ခလုတ်ကို မပိန်သွားစေရန် */
    padding: 10px 15px; 
    border: none; 
    background: #f5f5f5; 
    color: #666; 
    border-radius: 20px; /* အဝိုင်းပုံစံ ပြောင်း */
    cursor: pointer; 
    font-size: 13px; 
    white-space: nowrap; 
    font-weight: bold; 
    transition: 0.3s; 
}
.c-tab.active { background: #b8860b; color: white; box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3); }

/* Inputs */
.wc-content { display: none; text-align: left; animation: fadeIn 0.3s; }
.wc-content.active { display: block; }
.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 13px; color: #555; margin-bottom: 5px; font-weight: bold; }
.input-group input, .input-row input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; box-sizing: border-box; }
.input-row { display: flex; gap: 10px; margin-bottom: 15px; }

/* Result Box */
.wc-result { background: #e3f2fd; padding: 15px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; color: #0d47a1; margin-top: 10px; }
.wc-result strong { font-size: 18px; color: #b8860b; }

/* CTA */
.calc-cta { margin-top: 20px; padding-top: 15px; border-top: 1px dashed #ccc; font-size: 12px; color: #666; }
.cta-btn { display: inline-block; margin-top: 10px; background: #2e7d32; color: white; padding: 8px 20px; border-radius: 20px; text-decoration: none; font-weight: bold; font-size: 12px; transition: 0.3s; }
.cta-btn:hover { transform: scale(1.05); background: #1b5e20; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* --- Text Change Animation --- */
.cta-msg {
    display: none; /* ပုံမှန်အချိန် ဖျောက်ထားမယ် */
}

/* Active ဖြစ်မှ ပေါ်လာပြီး လှုပ်ရှားမယ် */
.cta-msg.active {
    display: block;
    animation: slideTextUp 0.5s ease-out forwards;
}

/* အောက်ကနေ အပေါ် လျှောတက်တဲ့ Effect */
@keyframes slideTextUp {
    0% {
        opacity: 0;
        transform: translateY(10px); /* အောက်နားလေးက စမယ် */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* မူလနေရာ ရောက်မယ် */
    }
}