/*
Theme Name: Voxify Premium
Theme URI: https://voxifyreader.com/
Author: Antigravity
Author URI: https://antigravity.ai/
Description: A modern, high-performance, fully optimized, responsive, and aesthetically premium WordPress theme for Voxify AI – Smart Text-to-Speech & voice generation reader app.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: voxify-premium
*/

/* ==========================================================================
   1. VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #7a00df;         /* AI Violet */
    --primary-light: #a855f7;   /* Light Violet */
    --primary-dark: #0a0f1d;    /* Deep Slate / Dark mode base */
    --accent: #00f2fe;          /* Vibrant Cyan */
    --accent-gold: #ffbe1a;     /* Warm Gold Glow */
    --text-main: #1e293b;       /* Premium Dark Slate body text */
    --text-muted: #475569;
    --text-light: #94a3b8;
    --bg-main: #f8fafd;
    --bg-card: #ffffff;
    --bg-accent: #f1f5f9;
    --border-color: #e2e8f0;
    
    /* Layout & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 4px rgba(10, 15, 29, 0.05);
    --shadow-md: 0 4px 12px rgba(122, 0, 223, 0.08);
    --shadow-lg: 0 10px 30px rgba(10, 15, 29, 0.12);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Helper spacing classes */
.p-0 { padding: 0 !important; }
.mr-auto { margin-right: auto !important; }
.text-center { text-align: center !important; }
.flex-f-right { margin-left: auto; }

/* ==========================================================================
   3. HEADER STYLING
   ========================================================================== */
#header {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

#header-top {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

#header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logomain img {
    height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

.logomain img:hover {
    transform: scale(1.02);
}

.contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sprite-phone-contact {
    width: 40px;
    height: 40px;
    background-color: rgba(122, 0, 223, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sprite-phone-contact::before {
    content: "📞";
    font-size: 20px;
}

.contact .address p {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.contact .address a {
    color: var(--accent);
    font-weight: 700;
    font-size: 15px;
}

/* MENU PC */
#header-menu {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-md);
}

.main-menu {
    position: relative;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 18px 20px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.nav-item:hover > a, 
.nav-item.active > a {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-gold);
}

/* SUBMENU */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    z-index: 100;
    border-top: 3px solid var(--accent);
    padding: 10px 0;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.submenu li a:hover {
    background-color: var(--bg-accent);
    color: var(--primary);
    padding-left: 25px;
}

/* SEARCH IN MENU */
.nav-item.search {
    margin-left: auto;
    position: relative;
}

.nav-item.search > a.search {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-item.search > a.search::before {
    content: "🔍";
    font-size: 18px;
    filter: brightness(0) invert(1);
}

.nav-item.search form.search {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #ffffff;
    padding: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    min-width: 280px;
    border: 1px solid var(--border-color);
}

.nav-item.search:hover form.search,
.nav-item.search form.search.active {
    display: flex;
    align-items: center;
}

.nav-item.search input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.nav-item.search button {
    background-color: var(--primary);
    border: none;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    margin-left: 5px;
    cursor: pointer;
    font-weight: 600;
}

.nav-item.search button::before {
    content: "Search";
}

/* MOBILE TOGGLE BUTTON */
.opt.dropdown {
    display: none;
}

/* ==========================================================================
   4. BREADCRUMBS
   ========================================================================== */
.content-beccrum {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 25px;
}

.content-beccrum a {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.content-beccrum a:hover {
    color: var(--primary);
}

.content-beccrum span {
    display: inline-flex;
    align-items: center;
}

.content-beccrum span img {
    margin: 0 5px;
}

/* ==========================================================================
   5. MAIN LAYOUT
   ========================================================================== */
#main-content {
    padding-bottom: 50px;
}

.main-content-grid {
    display: grid;
    grid-template-columns: 2.6fr 1fr;
    gap: 30px;
}

.article-column {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 30px;
}

/* ==========================================================================
   6. ARTICLE DETAILS PAGE (single.php)
   ========================================================================== */
.page-content .title {
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1.35;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.top-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 13px;
}

.top-toolbar .date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-toolbar .font-size {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-main);
}

.top-toolbar .font-size span {
    cursor: pointer;
}

.top-toolbar .font-size img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.top-toolbar .font-size img:hover {
    transform: scale(1.15);
}

/* Dynamic Font Sizes Adjustments via JS */
.TextSize.text-size-sm p, 
.TextSize.text-size-sm li, 
.TextSize.text-size-sm table td {
    font-size: 13px !important;
}

.TextSize.text-size-md p, 
.TextSize.text-size-md li, 
.TextSize.text-size-md table td {
    font-size: 15px !important;
}

.TextSize.text-size-lg p, 
.TextSize.text-size-lg li, 
.TextSize.text-size-lg table td {
    font-size: 18px !important;
}

/* RICH CONTENT */
.content.TextSize p {
    margin-bottom: 20px;
    text-align: justify;
}

.content.TextSize h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    margin: 30px 0 15px 0;
    font-weight: 700;
}

.content.TextSize ul, 
.content.TextSize ol {
    margin-bottom: 20px;
    padding-left: 25px;
    list-style: initial;
}

.content.TextSize li {
    margin-bottom: 10px;
    text-align: justify;
}

/* Table of contents accordion */
.mce-accordion {
    padding: 10px;
    border-radius: var(--radius-md);
}

.mce-accordion summary {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
}

.mce-accordion summary::-webkit-details-marker {
    display: none;
}

.mce-accordion summary::after {
    content: " [Show/Hide]";
    font-size: 12px;
    color: var(--primary-light);
    margin-left: 10px;
    font-weight: 500;
}

.mce-accordion hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 10px 0;
}

.mce-accordion p {
    margin-bottom: 8px !important;
    text-align: left !important;
}

.mce-accordion a {
    color: var(--primary-light);
    font-weight: 500;
}

.mce-accordion a:hover {
    text-decoration: underline;
}

/* Tables and Figures */
table {
    width: 100% !important;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    margin: 25px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

table td, table th {
    padding: 15px;
    border: 1px solid var(--border-color);
    font-size: 14px;
}

table tr:nth-child(even) {
    background-color: var(--bg-accent);
}

figure.image {
    margin: 25px auto;
    text-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

figure.image img {
    margin: 0 auto;
    border-radius: var(--radius-md);
}

figcaption {
    padding: 10px;
    background-color: var(--bg-accent);
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
    border-top: 1px solid var(--border-color);
}

.RelatedArticles {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed var(--border-color);
}

.RelatedArticles p {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.article-sm-2 {
    display: flex;
    gap: 15px;
    align-items: center;
    background-color: var(--bg-accent);
    padding: 15px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.article-sm-2:hover {
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-sm-2 .thumbnail-wrapper {
    flex: 0 0 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.article-sm-2 .content h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 5px;
}

.article-sm-2 .content h3:hover {
    color: var(--primary);
}

.article-sm-2 .content .time {
    font-size: 12px;
    color: var(--text-light);
}

.bottom-toolbar {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.bottom-toolbar a.back {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
}

.bottom-toolbar a.back:hover {
    background-color: var(--primary-dark);
}

/* ==========================================================================
   7. SIDEBAR & WIDGETS
   ========================================================================== */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.highlight-box {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.highlight-box .header {
    background-color: var(--bg-accent);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.highlight-box .header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary);
}

.highlight-box .header .title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.highlight-box .content {
    padding: 20px;
}

/* Sidebar Articles List Style 1 */
.sidebar-article-1 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.sidebar-article-1 .thumbnail-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sidebar-article-1 .thumbnail-wrapper .decor {
    position: absolute;
    left: 10px;
    top: 10px;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.sidebar-article-1 h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
}

.sidebar-article-1 h3:hover {
    color: var(--primary);
}

.dashed-line {
    border-top: 1px dashed var(--border-color);
    margin: 15px 0;
}

/* Sidebar Articles List Style 2 */
.sidebar-article-2 {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}

.sidebar-article-2 .thumbnail-wrapper {
    flex: 0 0 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.sidebar-article-2 .content h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 4px;
}

.sidebar-article-2 .content .time {
    font-size: 11px;
    color: var(--text-light);
}

.gradient-line {
    height: 1px;
    background: linear-gradient(to right, var(--border-color), transparent);
    margin: 15px 0;
}

/* Sidebar Articles List Style 3 */
.sidebar-article-3 {
    margin-bottom: 15px;
}

.sidebar-article-3 .content h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 4px;
}

.sidebar-article-3 .content .time {
    font-size: 11px;
    color: var(--text-light);
}

.sidebar-article-3:hover h3 {
    color: var(--primary);
}

/* Banner section in Sidebar */
#anhCotPhai {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#anhCotPhai li {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

#anhCotPhai li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#anhCotPhai img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   8. DYNAMIC ARCHIVES (front-page.php & index.php)
   ========================================================================== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.post-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-card .thumbnail {
    position: relative;
    padding-top: 60%;
    background-color: var(--bg-accent);
    overflow: hidden;
}

.post-card .thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.post-card:hover .thumbnail img {
    transform: scale(1.05);
}

.post-card .card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card .meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.post-card .title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 12px;
}

.post-card .title a {
    color: var(--text-main);
}

.post-card .title a:hover {
    color: var(--primary);
}

.post-card .excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.post-card .read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.post-card .read-more::after {
    content: "→";
    transition: var(--transition-smooth);
}

.post-card:hover .read-more::after {
    transform: translateX(3px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* ==========================================================================
   9. FOOTER STYLING
   ========================================================================== */
#footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 70px 0 30px 0;
    font-size: 14px;
}

.other-things {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.other-things h2.titleHead {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.other-things h2.titleHead::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.other-things ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.other-things ul a {
    color: #cbd5e1;
    transition: var(--transition-smooth);
}

.other-things ul a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.other-things p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sprite-disc-1::before {
    content: "▪";
    color: var(--accent);
    font-weight: bold;
}

/* Google Map Iframe styling */
#googlemap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

#googlemap iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.footer .line {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 40px 0;
}

/* Multi-office Grid */
.addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.addresses .col-xl-12 {
    grid-column: 1 / -1;
}

.addresses .item {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.addresses .item.trusochinh {
    background: linear-gradient(135deg, rgba(122, 0, 223, 0.15) 0%, rgba(0, 242, 254, 0.08) 100%);
    border-color: rgba(122, 0, 223, 0.2);
}

.addresses .item a {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    display: block;
    margin-bottom: 12px;
}

.addresses .item p.address {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    line-height: 1.4;
}

.addresses .item a.phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 14px;
}

.sprite-contact-icons-map::before { content: "📍"; }
.sprite-contact-icons-fax::before { content: "📞"; }

#copyright {
    background-color: #0f172a;
    padding: 20px 0;
    color: #64748b;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   10. INTERACTIVE COMPONENTS (MODALS & SCROLL TOP)
   ========================================================================== */
#go-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 999;
}

#go-top:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

#go-top::before {
    content: "▲";
    font-size: 18px;
}

/* REGISTRATION MODALS WITH GLASSMORPHISM */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.modal.register-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 750px;
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.modal.register-modal.active,
.modal-backdrop.active {
    display: block;
    opacity: 1;
}

.modal.register-modal.active {
    transform: translate(-50%, -50%);
}

.modal-content {
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px 30px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header p {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.modal-header button.close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.modal-header button.close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 30px;
}

/* Forms layout */
.contact.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.col-md-6 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.txt-label label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.txt-label span.required {
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background-color: var(--bg-accent);
    transition: var(--transition-smooth);
}

.form-control:focus {
    background-color: #ffffff;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}

textarea.form-control {
    resize: none;
}

.col-md-12.center.btn-form {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.btn-form button {
    padding: 12px 30px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.btn-form button[type="reset"] {
    background-color: var(--bg-accent);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-form button[type="reset"]:hover {
    background-color: var(--border-color);
}

.btn-form button.btndk {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-form button.btndk:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (Mobile adjustments)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .main-content-grid {
        grid-template-columns: 1fr;
    }
    
    .other-things {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .article-column {
        padding: 20px;
    }
    
    .page-content .title {
        font-size: 22px;
    }
    
    #header-top .container {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .contact {
        margin: 0 auto;
    }
    
    /* MOBILE NAVIGATION */
    #menuPc {
        padding: 10px 0;
    }
    
    .opt.dropdown {
        display: block;
        margin-left: auto;
        cursor: pointer;
        padding: 10px;
    }
    
    .lines {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 25px;
    }
    
    .lines span {
        height: 3px;
        width: 100%;
        background-color: #ffffff;
        border-radius: 2px;
        transition: var(--transition-smooth);
    }
    
    /* Mobile Menu Drawer Toggle */
    .lines.active .line-1 {
        transform: translateY(8px) rotate(45deg);
    }
    
    .lines.active .line-2 {
        opacity: 0;
    }
    
    .lines.active .line-3 {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-dark);
        flex-direction: column;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar.active {
        display: flex;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-item > a {
        padding: 15px 20px;
        width: 100%;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        border: none;
        padding: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .nav-item:hover .submenu,
    .nav-item.active-submenu .submenu {
        max-height: 200px;
    }
    
    .submenu li a {
        padding: 12px 35px;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-item.search {
        width: 100%;
        padding: 15px 20px;
    }
    
    .nav-item.search form.search {
        position: static;
        box-shadow: none;
        display: flex;
        width: 100%;
        background-color: transparent;
        border: none;
        padding: 0;
    }
    
    .nav-item.search input {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }
    
    .contact.row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   12. OPTIMIZED LANDING PAGE STYLING (front-page.php)
   ========================================================================== */

/* CUSTOM SLIDESHOW */
.custom-slider {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
    background-color: #0c1524;
}

.slider-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.slide-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
    z-index: 2;
}

.slide-item.active {
    opacity: 1;
    z-index: 3;
}

.slide-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.slide-caption {
    position: relative;
    z-index: 5;
    max-width: 540px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.slide-item.active .slide-caption {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.35;
    margin-bottom: 15px;
}

.slide-subtitle {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-slide {
    display: inline-block;
    padding: 10px 28px;
    background-color: var(--accent);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.btn-slide:hover {
    background-color: #c40510;
    transform: translateY(-2px);
}

.btn-slide.orange {
    background-color: #f97316;
}

.btn-slide.orange:hover {
    background-color: #ea580c;
}

/* Slider navigation controls */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: var(--transition-smooth);
}

.slider-prev:hover, .slider-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 6;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dots .dot.active {
    background: var(--accent-gold);
    width: 25px;
    border-radius: 5px;
}

/* GENERAL SECTION STYLING */
#introduction, #benefit, #about-us, #news, #customer-list {
    padding: 70px 0;
}

#introduction {
    background-color: #ffffff;
}

.title-header {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.title-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.title-header.center {
    text-align: center;
}

.title-header.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Introduction bullets */
.intro-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
}

.intro-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-main);
    list-style: none !important;
}

.bullet-icon {
    background-color: rgba(122, 0, 223, 0.08);
    color: var(--primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.intro-threebt {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.btn-dacam {
    background-color: #f97316;
}

.btn-dacam:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
}

.btn-xanh {
    background-color: var(--primary);
}

.btn-xanh:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Video Wrapper */
#khungVideo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 9;
    background-color: #000000;
    margin-top: 15px;
}

#khungVideo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

#khungVideo:hover img {
    transform: scale(1.03);
}

#playVideoHome {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: rgba(122, 0, 223, 0.95);
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

#playVideoHome::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #ffffff;
    margin-left: 5px;
}

#playVideoHome:hover {
    background-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

/* BENEFIT 6 REASONS GRID */
#benefit {
    background-color: var(--bg-accent);
}

#benefit .row.content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

#benefit .item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    transition: var(--transition-smooth);
    height: 100%;
}

#benefit .item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(122, 0, 223, 0.2);
}

.wrapper-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: rgba(122, 0, 223, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    color: var(--primary);
}

#benefit .item .content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#benefit .item .content .title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-dark);
}

#benefit .item .content .description {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ABOUT US SECTION */
#about-us {
    background-color: #ffffff;
}

.company-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.companyinfo p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.grid-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.photo-item {
    border-radius: var(--radius-md);
    width: 100%;
    height: 90px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.buttongioithieu a {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.buttongioithieu a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* NEWS SECTION HOME */
#news {
    background-color: var(--bg-accent);
}

#news .row.content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

#news .item {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

#news .item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

#news .thumbnail-wrapper {
    position: relative;
    padding-top: 55%;
    overflow: hidden;
}

#news .thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

#news .item:hover .thumbnail-wrapper img {
    transform: scale(1.04);
}

#news .item .content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tintuchome h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
}

.tintuchome:hover h3 {
    color: var(--primary);
}

#news .item .content .time {
    font-size: 12px;
    color: var(--text-light);
}

#news .item .content .description {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 10px;
    flex: 1;
}

.btn-tintuc .kntk {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
}

.btn-tintuc .kntk::after {
    content: " →";
}

.btn-cangiua {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-cangiua a {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.btn-cangiua a:hover {
    background-color: var(--primary-dark);
}

/* CUSTOMER STATS & LOGOS LIST */
#customer-list {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

#customer-list .title-header {
    color: #ffffff !important;
}

#customer-list .row.content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.itemflex2 {
    display: flex;
    gap: 15px;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    height: 100%;
}

.itemflex2 .thumbnail {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.itemflex2 .content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.itemflex2 .content .title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.itemflex2 .content .kh-title {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Brands marquee horizontal loop */
.brands-marquee {
    overflow: hidden;
    padding: 25px 0;
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
    position: relative;
}

.marquee-inner {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.brand-item {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   13. RESPONSIVE MEDIA ADJUSTMENTS FOR LANDING
   ========================================================================== */
@media screen and (max-width: 1024px) {
    #benefit .row.content {
        grid-template-columns: 1fr;
    }
    
    #news .row.content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #customer-list .row.content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .custom-slider {
        height: 300px;
    }
    
    .slide-caption {
        padding: 20px;
        margin: 0 20px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-subtitle {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .btn-slide {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    #introduction, #benefit, #about-us, #news, #customer-list {
        padding: 40px 0;
    }
    
    .title-header {
        font-size: 22px;
    }
    
    .grid-photos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #news .row.content {
        grid-template-columns: 1fr;
    }
    
    #customer-list .row.content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   14. APP MARKETING SPECIFIC PREMIUM STYLES
   ========================================================================== */
.align-center-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.align-center-flex > div {
    flex: 1;
    min-width: 300px;
}

/* Slider and Hero Layouts */
.custom-slider {
    height: auto !important;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.slide-item {
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.app-badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 102, 204, 0.3);
    color: #38bdf8;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.app-badge-pill.gold {
    background: rgba(255, 184, 0, 0.15);
    border: 1px solid rgba(255, 184, 0, 0.3);
    color: var(--accent-gold);
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 25px 0;
    font-size: 14px;
    color: #e2e8f0;
}

.rating-badge .stars {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 16px;
}

.rating-badge .rating-val {
    font-weight: 600;
}

.rating-badge .divider {
    color: rgba(255,255,255,0.3);
}

.rating-badge .downloads {
    color: #cbd5e1;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-slide.btn-glow {
    background: linear-gradient(135deg, #0066cc 0%, #004b93 100%);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.4);
    border: none;
    color: #ffffff;
}

.btn-slide.btn-glow:hover {
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-slide.btn-glow.orange {
    background: linear-gradient(135deg, #e30613 0%, #a50009 100%);
    box-shadow: 0 0 20px rgba(227, 6, 19, 0.4);
}

.btn-slide.btn-glow.orange:hover {
    box-shadow: 0 0 30px rgba(227, 6, 19, 0.6);
    color: #ffffff;
}

.btn-slide.outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-slide.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* App Store Mockup Container */
.glass-mockup-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg), 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

.glass-mockup-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Floating stat badges */
.floating-stat-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    z-index: 10;
    animation: floating 4s ease-in-out infinite;
}

.floating-stat-card.second {
    bottom: auto;
    top: -20px;
    left: auto;
    right: -20px;
    background: rgba(0, 51, 102, 0.85);
    animation: floating-reverse 4s ease-in-out infinite;
}

.floating-stat-card .icon {
    font-size: 24px;
}

.floating-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.floating-stat-card .stat-lbl {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    line-height: 1;
}

.floating-stat-card .stat-val {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0 0 0;
    line-height: 1;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes floating-reverse {
    0% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(0px); }
}

/* section titles */
.section-title-wrap {
    margin-bottom: 30px;
}

.section-title-wrap.center {
    text-align: center;
}

.sect-subtitle {
    display: inline-block;
    color: var(--primary-light);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

/* Glassmorphism reasons cards */
.card-glassmorphism {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-lg);
    padding: 30px 25px !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.card-glassmorphism:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%) !important;
}

.card-glassmorphism .thumbnail {
    background-color: rgba(122, 0, 223, 0.05) !important;
    border-radius: var(--radius-md) !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 28px !important;
}

/* App specifications styling */
.spec-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.spec-mini-card {
    background-color: var(--bg-accent);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: var(--radius-md);
}

.spec-mini-card .lbl {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.spec-mini-card .val {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 5px;
}

.app-specs-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.app-specs-table {
    width: 100% !important;
    border: none !important;
    margin: 0 !important;
}

.app-specs-table th {
    background-color: var(--primary-dark) !important;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    padding: 18px 20px !important;
    text-transform: uppercase;
}

.app-specs-table td {
    padding: 14px 20px !important;
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-size: 14px;
}

.app-specs-table tr:last-child td {
    border-bottom: none !important;
}

/* Whats New Box Container */
.whats-new-container {
    margin-top: 50px;
    background-color: var(--bg-accent);
    border: 1px dashed var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 30px;
}

.whats-new-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.whats-new-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 0;
}

.whats-new-header .version-tag {
    background-color: var(--primary);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.whats-new-body ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 30px !important;
}

.whats-new-body li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px !important;
    font-size: 14px;
}

.whats-new-body li::before {
    content: "•";
    color: var(--primary-light);
    font-size: 20px;
    position: absolute;
    left: 8px;
    top: -2px;
}

.download-bar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-md);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.download-bar .text h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
}

.download-bar .text p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0 !important;
}

.btn-download-exe {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #0066cc 0%, #004b93 100%);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.4);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.btn-download-exe:hover {
    box-shadow: 0 0 25px rgba(0, 102, 204, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

.app-video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.video-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(10, 25, 47, 0.85);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    pointer-events: none;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Media Responsive Overrides for Hero and Details specs */
@media screen and (max-width: 991px) {
    .align-center-flex {
        flex-direction: column;
    }
    
    .glass-mockup-wrapper {
        margin: 20px auto 0 auto;
    }
    
    .floating-stat-card {
        left: 0;
    }
    
    .floating-stat-card.second {
        right: 0;
    }
}

/* ==========================================================================
   15. MICRO-ANIMATED AUDIO WAVEFORM WIDGET
   ========================================================================== */
.waveform-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
    padding: 8px 12px;
    background: rgba(122, 0, 223, 0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(122, 0, 223, 0.15);
}

.waveform-bar {
    width: 3px;
    height: 100%;
    background: linear-gradient(to top, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    animation: waveform-pulse 1s ease-in-out infinite alternate;
}

.waveform-bar:nth-child(1) { animation-delay: 0.1s; height: 35%; }
.waveform-bar:nth-child(2) { animation-delay: 0.3s; height: 65%; }
.waveform-bar:nth-child(3) { animation-delay: 0.6s; height: 90%; }
.waveform-bar:nth-child(4) { animation-delay: 0.2s; height: 45%; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; height: 75%; }
.waveform-bar:nth-child(6) { animation-delay: 0.1s; height: 30%; }

@keyframes waveform-pulse {
    0% {
        transform: scaleY(0.4);
    }
    100% {
        transform: scaleY(1);
    }
}
