/*
 * Mae Sot IT Service - Clean Light Stylesheet
 * Language: Burmese
 * Author: Gemini CLI
 */

/* --- Custom Local Fonts --- */
@font-face {
    font-family: 'Myanmar UI Pro';
    src: url('../fonts/myanmar-ui-pro.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Myanmar OS';
    src: url('../fonts/myanmar-os.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* --- Custom Properties (CSS Variables) --- */
:root {
    --primary: #0e7490;
    --primary-hover: #155e75;
    --secondary: #7c3aed;
    --accent: #0e7490;
    --accent-hover: #155e75;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #ffffff;
    --white: #ffffff;
    --text: #0f172a;
    --text-muted: #475569;
    --border: rgba(15, 23, 42, 0.08);

    --font-primary: 'Myanmar OS', sans-serif;
    --font-headings: 'Myanmar UI Pro', 'Myanmar OS', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 15px 35px rgba(15, 23, 42, 0.12);
    --border-radius: 12px;
    --container-width: 1200px;
}

/* --- Base Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; position: relative; padding-bottom: 15px; margin-bottom: 2rem; }
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}
h3 { font-size: 1.5rem; color: var(--text); }
p { margin-bottom: 1.2rem; color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-hover); }

/* --- Global Layout Elements --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-bg {
    background-color: #f8fafc;
}
.bg-light {
    background-color: #f8fafc !important;
}

.text-dark { color: var(--text) !important; }
.text-slate-500 { color: var(--text-muted) !important; }
.text-slate-600 { color: var(--text-muted) !important; }
.bg-dark { background-color: var(--dark) !important; }
.text-center { text-align: center; }

/* --- Grid System --- */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 116, 144, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #6d28d9);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-outline:hover {
    background-color: rgba(14, 116, 144, 0.08);
    color: var(--primary);
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

header.scrolled {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(14, 116, 144, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition);
}
header.scrolled .nav-container {
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    text-transform: uppercase;
}
.logo i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo span {
    color: var(--text);
}
.logo span span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-muted);
    padding: 0.6rem 0.9rem;
    border-radius: var(--border-radius);
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
    display: inline-block;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: rgba(14, 116, 144, 0.06);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 50px;
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
    background: transparent;
    border: none;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 1200px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        transition: cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
        z-index: 1000;
        gap: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        display: block;
        padding: 1.1rem 1.2rem;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 0;
        width: 100%;
    }
    .nav-link:hover, .nav-link.active {
        background-color: rgba(14, 116, 144, 0.06);
        color: var(--primary);
    }
    .nav-link::after {
        display: none;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
        background-color: var(--primary);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
        background-color: var(--primary);
    }
}

/* --- Hero Section & Glows --- */
.hero {
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.10), transparent 60%);
    z-index: -1;
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08), transparent 60%);
    z-index: -1;
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -1px;
}
.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15), 0 0 30px rgba(14, 116, 144, 0.08);
    animation: float 6s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- Cards & Grid Displays --- */
.card, .blog-card, .solution-card, .pricing-card, .contact-info-card, .faq-section details {
    background-color: var(--light) !important;
    border-radius: var(--border-radius) !important;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg) !important;
    transition: var(--transition);
    border: 1px solid var(--border) !important;
}

.card:hover, .blog-card:hover, .solution-card:hover, .pricing-card:hover, .faq-section details[open] {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15), inset 0 0 20px rgba(14, 116, 144, 0.03) !important;
    border-color: rgba(14, 116, 144, 0.25) !important;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(14, 116, 144, 0.08);
    border: 1px solid rgba(14, 116, 144, 0.18);
    box-shadow: inset 0 0 10px rgba(14, 116, 144, 0.06);
}

.feature-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(14, 116, 144, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(14, 116, 144, 0.18);
}

/* Solution / Blog specifics */
.solution-card, .blog-card {
    padding: 0;
}
.solution-card > div, .blog-body {
    padding: 2rem;
}
.solution-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: rgba(14, 116, 144, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(14, 116, 144, 0.18);
}
.feature-list {
    list-style: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.feature-list li i {
    color: var(--primary);
    font-size: 1rem;
}

/* FAQ Overrides */
.faq-section summary {
    color: var(--text) !important;
}
.faq-section .faq-content {
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}

/* Pricing Overrides */
.pricing-card.popular {
    background: linear-gradient(180deg, rgba(14, 116, 144, 0.06), rgba(255, 255, 255, 0)) !important;
    border-color: rgba(14, 116, 144, 0.3) !important;
}
.pricing-card ul li.border-b { border-color: rgba(15, 23, 42, 0.06) !important; }

/* --- Contact Floating Widgets --- */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    font-size: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.float-btn:hover {
    transform: scale(1.1);
}

.btn-whatsapp { background-color: #25d366; }
.btn-messenger { background-color: #0084ff; }
.btn-phone { background-color: var(--white); color: var(--primary); border: 1px solid var(--primary); }

/* --- Forms & Inputs --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background-color: #f8fafc;
    color: var(--text);
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
    outline: none;
}
.form-control::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --- Footer --- */
footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
}
.footer-brand .logo span {
    color: var(--primary);
}

.footer-heading {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-btn:hover {
    background-color: rgba(14, 116, 144, 0.2);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 0.9rem;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Scroll to Top Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--dark-light);
    color: var(--primary);
    border-radius: 50%;
    border: 1px solid var(--primary);
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(14, 116, 144, 0.25);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4);
}
.scroll-top-btn:active {
    transform: translateY(-1px) scale(0.95);
}

/* --- Tactile Click/Active Feedback --- */
.btn:active,
.float-btn:active,
.social-btn:active,
.card:active,
.blog-card:active,
.solution-card:active {
    transform: scale(0.98);
    transition: transform 0.05s ease;
}

/* Outline Text Effect */
.outline-text {
    font-size: 6rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(15, 23, 42, 0.06);
    position: absolute;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}
