/* ============================================================
   HT THIỆP ĐIỆN TỬ - 3D BRIGHT & VIBRANT LUXURY DESIGN SYSTEM
   Typography: Be Vietnam Pro (Chuẩn tiếng Việt tuyệt đối, sắc nét & hiện đại)
   ============================================================ */

/* 1. Google Material Symbols */
/* 1. Thiết lập cho Material Symbols Icon */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* 2. Base Body Styles & Typography Chuẩn */
body {
    background-color: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    /* Đồng bộ dùng Plus Jakarta Sans làm chuẩn toàn trang */
    font-family: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.01em;
}

/* 
  QUAN TRỌNG: Đã xóa bỏ 'font-family: DM Sans' ở các thẻ heading bên dưới 
  để nhường quyền hiển thị cho Tailwind (giúp các class như font-serif, 
  font-accent hoạt động đúng, không bị bóp méo giao diện).
*/
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
}

/* 3. Class chuyên dụng cho chữ phong cách nghệ thuật / sang trọng */
.font-accent {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 0;
}
/* 3. Gradient Brand Rực Rỡ & Nổi Bật */
.bg-gradient-brand {
    background: linear-gradient(135deg, #f43f5e 0%, #fb7185 50%, #f59e0b 100%);
}

.text-gradient-brand {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 4. Thẻ 3D Glassmorphism Đa Tầng */
.card-3d {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px -10px rgba(225, 29, 72, 0.07),
                0 0 0 1px rgba(226, 232, 240, 0.8),
                0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.card-3d:hover {
    box-shadow: 0 30px 60px -15px rgba(225, 29, 72, 0.18),
                0 0 30px rgba(245, 158, 11, 0.12),
                0 0 0 1px #fecdd3;
}

/* 5. Khung Điện Thoại iPhone 3D Simulator */
.phone-mockup-wrap {
    perspective: 1200px;
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0) rotateX(1deg) rotateY(-2deg);
    }
    50% {
        transform: translateY(-10px) rotateX(-1deg) rotateY(2deg);
    }
}

.phone-mockup-frame {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 580px;
    background: #ffffff;
    border-radius: 46px;
    box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.2),
                0 0 0 6px #f1f5f9,
                0 0 0 8px #e2e8f0,
                0 0 40px rgba(244, 63, 94, 0.15);
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid #cbd5e1;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 24px;
    background: #0f172a;
    border-radius: 20px;
    z-index: 40;
}

.phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

/* 6. Custom Range Slider 3D */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 9999px;
    background: #e2e8f0;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f43f5e 0%, #fb7185 50%, #f59e0b 100%);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(244, 63, 94, 0.45), 0 0 0 4px #ffffff;
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* 7. Soundboard Equalizer Bars */
@keyframes eqBounce {
    0%, 100% { height: 6px; }
    50% { height: 22px; }
}

.eq-bar {
    width: 3px;
    background: #f43f5e;
    border-radius: 9999px;
    animation: eqBounce 1s infinite ease-in-out;
}

/* 8. Bảng So Sánh 3D */
.comparison-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-card.highlight {
    background: #ffffff;
    border: 2px solid #f43f5e;
    box-shadow: 0 25px 50px -12px rgba(244, 63, 94, 0.2);
}

/* 9. Bảng Giá Gói Pro 3D Pop-out */
#pricing .border-tertiary,
#pricing .grid > div:nth-child(2) {
    background: #ffffff;
    border: 2px solid #f43f5e;
    box-shadow: 0 30px 60px -15px rgba(244, 63, 94, 0.25);
}

/* 10. Smooth Scroll */
html {
    scroll-behavior: smooth;
    color-scheme: light;
}