/* Common Page Elements */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title.text-left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--card-border);
    border-color: var(--text-secondary);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.05), transparent 40%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.download-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    border-radius: 40px;
    border: 8px solid #333;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
}

/* Features */
.features {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Highlights */
.highlights {
    padding: 100px 0;
    background: rgba(255,255,255,0.02);
}

.highlight-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.highlight-image, .highlight-content {
    flex: 1;
}

.highlight-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.check-list li i {
    color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 15px;
}

.stars {
    color: #f59e0b;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 30px;
    min-height: 80px;
}

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

.avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-info strong {
    display: block;
}

.user-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px 20px;
    color: var(--text-secondary);
    display: none;
}

/* Bottom Download */
.bottom-download {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(rgba(37, 99, 235, 0.1), transparent);
}

.bottom-download h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.bottom-download p {
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.download-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-grid a {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 20px 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.download-grid a i {
    font-size: 30px;
}

.download-grid a:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

/* News Grid */
.news-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(rgba(37, 99, 235, 0.05), transparent);
}

.news-header h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.news-header p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.news-grid-section {
    padding: 60px 0 100px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.news-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.news-img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.news-body {
    padding: 20px;
}

.news-cat {
    color: var(--primary-color);
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
    border-radius: 4px;
    transition: var(--transition);
    font-size: 14px;
    background: var(--card-bg);
}

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

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.pagination .prev, .pagination .next {
    width: auto;
    padding: 0 15px;
}

/* News Detail */
.page-news-detail {
    padding: 122px 0 100px;
}

.page-news-detail .detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 38px;
    align-items: start;
}

.page-news-detail .article-content {
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)) var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 42px 44px;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.page-news-detail .article-header h1 {
    font-size: 36px;
    line-height: 1.28;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}

.page-news-detail .article-info {
    margin-bottom: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 24px;
}

.page-news-detail .article-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.page-news-detail .article-info i {
    color: var(--primary-color);
}

.page-news-detail .article-body {
    color: #d9deea;
    font-size: 16px;
    line-height: 1.92;
    word-break: break-word;
}

.page-news-detail .article-body > :first-child {
    margin-top: 0;
}

.page-news-detail .article-body > :last-child {
    margin-bottom: 0;
}

.page-news-detail .article-body p,
.page-news-detail .article-body ul,
.page-news-detail .article-body ol,
.page-news-detail .article-body blockquote,
.page-news-detail .article-body pre,
.page-news-detail .article-body table,
.page-news-detail .article-body figure {
    margin: 0 0 1.2em;
}

.page-news-detail .article-body h2,
.page-news-detail .article-body h3,
.page-news-detail .article-body h4,
.page-news-detail .article-body h5,
.page-news-detail .article-body h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.4;
    margin: 1.5em 0 0.8em;
}

.page-news-detail .article-body h2 {
    font-size: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

.page-news-detail .article-body h3 {
    font-size: 24px;
}

.page-news-detail .article-body h4 {
    font-size: 20px;
}

.page-news-detail .article-body h5 {
    font-size: 18px;
}

.page-news-detail .article-body h6 {
    font-size: 16px;
}

.page-news-detail .article-body a {
    color: #8fb9ff;
    text-decoration-color: rgba(143, 185, 255, 0.38);
    text-underline-offset: 0.16em;
}

.page-news-detail .article-body a:hover {
    color: #b3d0ff;
}

.page-news-detail .article-body ul,
.page-news-detail .article-body ol {
    padding-left: 1.35em;
}

.page-news-detail .article-body ul {
    list-style: disc;
}

.page-news-detail .article-body ol {
    list-style: decimal;
}

.page-news-detail .article-body li {
    margin: 0.45em 0;
}

.page-news-detail .article-body li::marker {
    color: var(--primary-color);
}

.page-news-detail .article-body blockquote {
    padding: 16px 18px 16px 20px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-left: 4px solid var(--primary-color);
    background: rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    color: #e1e8f5;
}

.page-news-detail .article-body code {
    padding: 0.18em 0.45em;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.92em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.page-news-detail .article-body pre {
    padding: 16px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: #0a0f1a;
    overflow-x: auto;
}

.page-news-detail .article-body pre code {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.page-news-detail .article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    margin: 1.4em auto;
}

.page-news-detail .article-body figure {
    margin-left: auto;
    margin-right: auto;
}

.page-news-detail .article-body figcaption {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

.page-news-detail .article-body table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
    font-size: 15px;
}

.page-news-detail .article-body th,
.page-news-detail .article-body td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--card-border);
    text-align: left;
}

.page-news-detail .article-body th {
    background: rgba(37, 99, 235, 0.16);
    color: var(--text-primary);
}

.page-news-detail .article-body tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

.page-news-detail .article-body hr {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 1.6em 0;
}

.page-news-detail .article-body iframe,
.page-news-detail .article-body video {
    width: 100%;
    border: 0;
    border-radius: 12px;
    margin: 1.5em 0;
}

.article-footer {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.page-news-detail .article-footer .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page-news-detail .article-footer .tags a {
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.02);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
}

.page-news-detail .article-footer .tags a:hover {
    border-color: rgba(37, 99, 235, 0.45);
    background: rgba(37, 99, 235, 0.13);
    color: #dce7ff;
}

.page-news-detail .article-nav {
    margin-top: 36px;
    display: flex;
    gap: 14px;
}

.page-news-detail .article-nav a {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    min-height: 84px;
    display: flex;
    align-items: center;
}

.page-news-detail .article-nav .next-post {
    text-align: right;
    justify-content: flex-end;
}

.page-news-detail .article-nav a:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.07);
}

.page-news-detail .article-nav a[aria-disabled="true"] {
    opacity: 0.64;
    border-style: dashed;
}

.page-news-detail .related-posts {
    margin-top: 60px;
}

.page-news-detail .related-posts h3 {
    font-size: 24px;
}

.page-news-detail .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.page-news-detail .related-grid .news-item.small {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.page-news-detail .related-grid .news-item.small:hover {
    border-color: rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}

.page-news-detail .related-grid .news-item.small .news-img {
    aspect-ratio: 16 / 9;
}

.page-news-detail .related-grid .news-item.small .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-news-detail .related-grid .news-item.small h4 {
    font-size: 14px;
    line-height: 1.45;
    padding: 12px 12px 14px;
}

/* Sidebar */
.page-news-detail .sidebar {
    position: sticky;
    top: 92px;
}

.page-news-detail .sidebar .widget {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.page-news-detail .search-widget form {
    display: flex;
    background: var(--card-border);
    border-radius: 8px;
    overflow: hidden;
}

.page-news-detail .search-widget input {
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: white;
    flex: 1;
}

.page-news-detail .search-widget input:focus {
    outline: none;
}

.page-news-detail .search-widget button {
    background: var(--primary-color);
    border: none;
    padding: 0 15px;
    color: white;
    cursor: pointer;
}

.page-news-detail .sidebar .widget h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-news-detail .sidebar .widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.page-news-detail .sidebar .widget ul li {
    margin-bottom: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    line-height: 1.45;
}

.page-news-detail .sidebar .widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.page-news-detail .sidebar .widget ul li a:hover {
    color: var(--primary-color);
}

/* Requirements */
.requirements {
    padding: 100px 0;
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.req-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 20px;
}

.req-card h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 28px;
}

.req-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.req-card ul li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    color: var(--primary-color);
}

/* Download Guide */
.download-guide {
    padding: 100px 0;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.guide-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--card-border);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 4px solid var(--bg-color);
}

/* PC Bottom Download Extra Styles */
.pc-download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    transition: var(--transition);
}

.download-card i {
    font-size: 40px;
    color: var(--primary-color);
}

.dl-info strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.dl-info span {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
}

.dl-info small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

.download-card:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.feature-tags {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-tags span i {
    margin-right: 8px;
}

/* Responsive for pages extras */
@media (max-width: 768px) {
    .pc-download-grid { grid-template-columns: 1fr; }
    .feature-tags { gap: 20px; }
}

@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .page-news-detail .detail-layout { grid-template-columns: 1fr; gap: 24px; }
    .page-news-detail .sidebar { position: static; }
    .page-news-detail .article-content { padding: 32px; }
    .page-news-detail .article-header h1 { font-size: 30px; }
    .page-news-detail .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr; }
    .guide-steps { grid-template-columns: 1fr; }
    .guide-steps::before { display: none; }
    .page-news-detail { padding: 108px 0 78px; }
    .page-news-detail .article-content { padding: 24px 18px; border-radius: 14px; }
    .page-news-detail .article-header h1 { font-size: 26px; margin-bottom: 16px; }
    .page-news-detail .article-info { margin-bottom: 24px; padding-bottom: 18px; gap: 10px; }
    .page-news-detail .article-info span { font-size: 12px; padding: 6px 10px; }
    .page-news-detail .article-body { font-size: 15px; line-height: 1.86; }
    .page-news-detail .article-body h2 { font-size: 24px; }
    .page-news-detail .article-body h3 { font-size: 20px; }
    .page-news-detail .article-body h4 { font-size: 18px; }
    .page-news-detail .article-nav { flex-direction: column; }
    .page-news-detail .article-nav a { min-height: auto; padding: 14px; }
    .page-news-detail .article-nav .next-post { text-align: left; justify-content: flex-start; }
    .page-news-detail .related-grid { grid-template-columns: 1fr; }
    .page-news-detail .sidebar .widget { padding: 18px; margin-bottom: 18px; }
}

/* Responsive for pages */
@media (max-width: 992px) {
    .hero .container, .highlight-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 { font-size: 36px; }
    .hero-content p { margin: 0 auto 40px; }
    .feature-grid, .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }
    .highlight-content h2 { text-align: center; }
}

.breadcrumbs{
/*    display: flex;*/
    margin-bottom: 20px;
/*    flex-wrap: wrap;*/
}
.breadcrumbs li{
    display: inline;
}
.breadcrumbs .seperator{
    margin: 0 6px;
}
.breadcrumbs a:hover{
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .feature-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .download-btns {
        grid-template-columns: 1fr;
    }
    .req-card h3{
        font-size: 22px;
    }
    .section-title { font-size: 28px; }
    .breadcrumbs{
        font-size: 12px;
    }
    .breadcrumbs .seperator{
        margin: 0 2px;
    }
    
}