/* =========================================================
   THEME COLOR TOKENS (LIGHT / DARK)
   ========================================================= */

:root {
    /* Backgrounds */
    --bg-main: #ffffff;
    --bg-soft: #f9f9f9;
    --bg-card: #ffffff;

    /* Text */
    --text-main: #111111;
    --text-muted: #555555;
    --text-invert: #ffffff;

    /* Borders */
    --border-color: #eeeeee;

    /* Brand */
    --primary-color: #007bff;
    --secondary-color: #6c757d;

    /* Header */
    --header-bg: #ffffff;
    --header-text: #111111;

    /* Footer */
    --footer-bg-color: #212121;
    --footer-text-color: #ffffff;

    /* Buttons */
    --btn-bg: #ffffff;
    --btn-text: #000000;
    --btn-shadow: rgba(0, 0, 0, 0.08);

    /* Scroll Top */
    --scroll-btn-bg: #111111;
    --scroll-btn-text: #ffffff;

    /* Tables */
    --table-bg: #f9f9f9;
    --table-border: #dddddd;
}

/* DARK MODE */
[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-soft: #111827;
    --bg-card: #1f2933;

    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --text-invert: #000000;

    --border-color: #2b3441;

    --primary-color: #60a5fa;
    --secondary-color: #94a3b8;

    --header-bg: #0b1220;
    --header-text: #e5e7eb;

    --footer-bg-color: #020617;
    --footer-text-color: #9ca3af;

    --btn-bg: #1f2933;
    --btn-text: #e5e7eb;
    --btn-shadow: rgba(0, 0, 0, 0.4);

    --scroll-btn-bg: #e5e7eb;
    --scroll-btn-text: #020617;

    --table-bg: #111827;
    --table-border: #2b3441;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

details,
main {
    display: block;
}

hr {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
}

abbr[title] {
    border-bottom: none;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}
.entry-content p:last-child {
    margin-bottom: 0;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: button;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    color: inherit;
    display: table;
    max-width: 100%;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"],
legend {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

summary {
    display: list-item;
}

[hidden],
template {
    display: none;
}

body,
html {
    font-family:
        "Ubuntu",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Cantarell,
        "Open Sans",
        sans-serif;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.d-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.justify-content-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.justify-content-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.align-item-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.w-100 {
    width: 100%;
}

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

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

.site-branding img {
    display: block;
    height: auto;
    max-height: 60px;
}

.primary-menu a,
.site-title-link {
    text-decoration: none;
    color: var(--text-main);
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.primary-menu,
.site-navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.site-navigation {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px;
}

.primary-menu {
    padding: 0;
    gap: 30px;
}

.primary-menu,
.primary-menu ul {
    margin: 0;
    list-style: none;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: var(--text-main);
    font-weight: 500;
    -webkit-transition:
        color 0.2s ease,
        background 0.2s ease;
    -o-transition:
        color 0.2s ease,
        background 0.2s ease;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.primary-menu .current-menu-item > a,
.primary-menu a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .menu-icon,
.menu-toggle .menu-icon::after,
.menu-toggle .menu-icon::before {
    width: 24px;
    height: 2px;
    background: #333;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.menu-toggle .menu-icon {
    display: block;
    position: relative;
}

.menu-toggle .menu-icon::after,
.menu-toggle .menu-icon::before {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle .menu-icon::before {
    top: -8px;
}

.menu-toggle .menu-icon::after {
    top: 8px;
}

.menu-toggle,
.menu-toggle.active .menu-icon {
    background: 0 0;
}

.menu-toggle.active .menu-icon::before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .menu-icon::after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 0;
}

.site-footer {
    background: var(--footer-bg-color);
    border-top: 1px solid #eee;
    color: var(--footer-text-color);
    font-size: 0.95rem;
}

.footer-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 40px 0;
}

.footer-widgets {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 40px 1fr 40px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    color: var(--footer-text-color);
}

footer .footer-column .widget_media_image .wp-block-image {
    margin: 0 0 2em;
}

footer .footer-column .wp-block-heading {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--footer-text-color);
}

footer .footer-column ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer .footer-column ul li:not(:last-child) {
    margin-bottom: 5px;
}

.footer-column {
    text-align: left;
}

.footer-column .widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--footer-text-color);
    text-decoration: none;
    -webkit-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.footer-column .widget-title,
.footer-column a:hover {
    color: var(--primary-color, #007bff);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #e4e4e414;
    padding-top: 20px;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    color: var(--footer-text-color);
}

.ak-footer-notice {
    margin-top: 15px;
}

/* Inner Page Styles */
.ak-single-page {
    padding: 50px 0;
}
.ak-single-page article, .ak-blog-content-container {
    max-width: 780px;
    margin: 0 auto;
}
.ak-single-page .entry-title {
    margin-top: 0;
}
.ak-single-page .ak-page-title {
    margin: 0;
    margin-bottom: 30px;
}
.ak-single-page .ak-page-title:after {
    content: "";
    border-bottom: 4px solid #000;
    display: block;
    width: 40px;
    margin-top: 10px;
}

.ak-hero-section {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    -webkit-clip-path: inherit;
    clip-path: inherit;
}
.ak-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.ak-hero-content {
    width: 60%;
}
.ak-hero-images {
    width: 40%;
}
.ak-hero-content .ak-hero-title {
    margin-top: 0;
    font-size: 38px;
}
.ak-download-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--bg-card);
    color: #000;
    border-radius: 6px;
    margin: 15px 0;
    font-weight: bold;
    box-shadow: 3px 3px 0 1px rgba(0, 0, 0, 0.08);
}
.ak-security-logos img {
    max-height: 40px;
    margin-right: 15px;
}
.none {
    clip-path: none;
}
.clip-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.clip-diagonal-top {
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}
.clip-angled-soft {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.clip-wave {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 75% 95%, 50% 85%, 25% 95%, 0 85%);
}
.clip-wave-top {
    clip-path: polygon(0 15%, 25% 5%, 50% 15%, 75% 5%, 100% 15%, 100% 100%, 0 100%);
}
.clip-wave-soft {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 75% 97%, 50% 94%, 25% 97%, 0 90%);
}
.clip-wave-soft-top {
    clip-path: polygon(0 10%, 25% 3%, 50% 6%, 75% 3%, 100% 10%, 100% 100%, 0 100%);
}
.clip-curve {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 75% 96%, 50% 100%, 25% 96%, 0 90%);
}
.clip-curve-top {
    clip-path: polygon(0 10%, 25% 4%, 50% 0, 75% 4%, 100% 10%, 100% 100%, 0 100%);
}
.clip-curve-soft {
    clip-path: polygon(0 0, 100% 0, 100% 94%, 50% 100%, 0 94%);
}
.clip-curve-soft-top {
    clip-path: polygon(0 6%, 50% 0, 100% 6%, 100% 100%, 0 100%);
}
.clip-slant-left {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
}
.clip-slant-right {
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}
.clip-middle-triangle {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 55% 92%, 50% 100%, 45% 92%, 0 92%);
}
.clip-middle-triangle-large {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 60% 85%, 50% 100%, 40% 85%, 0 85%);
}
.clip-dip {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 65% 100%, 35% 100%, 0 85%);
}
.clip-arc {
    clip-path: ellipse(90% 80% at 50% 100%);
}
.clip-ellipse {
    clip-path: ellipse(120% 100% at 50% 0%);
}
.clip-zigzag {
    clip-path: polygon(
        0 0,
        100% 0,
        100% 90%,
        90% 100%,
        80% 90%,
        70% 100%,
        60% 90%,
        50% 100%,
        40% 90%,
        30% 100%,
        20% 90%,
        10% 100%,
        0 90%
    );
}
.clip-notch {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 70% 90%, 65% 100%, 35% 100%, 30% 90%, 0 90%);
}

.slider {
    width: 100%;
    height: 100%;
}
.ak-hero-slider .swiper-slide {
    text-align: center;
}
.ak-hero-slider img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    max-width: 300px;
}
.ak-hero-version {
    margin-top: 0px;
    margin-bottom: 0px;
}
.ak-hero-images {
    position: relative;
}

/* Arrow styling */
.ak-hero-slider .swiper-button-next,
.ak-hero-slider .swiper-button-prev {
    color: #fff;
}

.page-section {
    padding: 40px 0;
}
.wp-block-heading {
    margin-top: 0;
}
.page-content .wp-block-heading.has-background {
    padding: 0.5em 1em !important;
}
.wp-block-table .has-fixed-layout td, .wp-block-table .has-fixed-layout th {
    border-color: #ddd;
}
.wp-block-table thead {
    border-bottom: 1px solid;
    background: var(--bg-soft);
}
.page-section .container.page-content {
    max-width: 1000px;
}
.wp-block-accordion-item .wp-block-accordion-heading {
    margin: 0;
}
.wp-block-accordion-item {
    border: 1px solid var(--table-border);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    padding: 6px 20px;
    background: var(--bg-soft);
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #111111;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.posts-grid .ak-post-title {
    margin: 0 0 10px;
}
.posts-grid .ak-post-title a {
    color: var(--text-main);
}
.posts-grid .ak-post-title a:hover {
    color: var(--primary-color);
}
.nav-links {
    margin-top: 50px;
    text-align: center;
}
.nav-links .page-numbers {
    padding: 8px 15px;
    background: #f1f1f1;
    width: auto;
    height: 20px;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    margin-right: 5px;
    color: #000;
}
.nav-links .page-numbers:hover, .nav-links .current {
    background: var(--primary-color);
    color: #fff;
}
.post-card .excerpt p {
    margin: 0;
}
.post-meta {
    margin: 0 0 10px;
}
.posts-grid .post-card {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9e9e9;
}
.post-thumbnail {
    margin: 0 0 10px;
}
.post-thumbnail img, .featured-image img, .post-content img {
    width: 100%;
}

.ak-breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
}
.single-post.ak-single-page .ak-page-title {
    margin-bottom: 10px;
}
.single-post .featured-image {
    margin-top: 20px;
}
.post-content blockquote {
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
}
.post-content blockquote p {
    margin: 0;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-widgets {
        -ms-grid-columns: 1fr 25px 1fr;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    footer .footer-column .widget_media_image .wp-block-image,
    .footer-widgets {
        margin-bottom: 0;
    }
}
@media (max-width: 600px) {
    .footer-widgets {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column {
        text-align: center;
    }
    .site-footer .wp-block-social-links {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

/* Responsive Header */
@media (max-width: 768px) {
    .site-navigation {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--bg-card);
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        border-top: 1px solid #eee;
        padding: 10px 0;
        box-shadow: 0px 0px 15px 0px #00000014;
    }
    .site-navigation.active {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-animation: fadeIn 0.2s ease;
        animation: fadeIn 0.2s ease;
    }
    .primary-menu {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 0px;
        text-align: center;
        width: 100%;
    }
    .primary-menu li {
        width: 100%;
    }
    .primary-menu li:not(:last-child) {
        border-bottom: 1px solid #eee;
    }
    .primary-menu a {
        display: block;
        padding: 8px 0;
    }
    .menu-toggle {
        display: block;
    }
    .ak-single-post-top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .single-app-posts .ak-single-post-head h1 {
        font-size: 1.2rem !important;
    }
    .single-app-posts .ak-single-post-head h1,
    .rating-holder {
        margin-bottom: 5px !important;
    }
    .ak-floating-nav a {
        font-size: 12px !important;
    }
    .ak-floating-nav {
        padding: 5px 0 !important;
    }
    .ak-floating-nav .toc-toggle .scroll-link svg {
        width: 10px !important;
    }
    .section-title-heading {
        font-size: 16px;
    }
    .ak-floating-nav ul {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 10px !important;
    }
    .ak-floating-nav .toc-list {
        left: 50% !important;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        width: 90vw !important;
        min-width: unset !important;
        max-width: 90vw;
        padding: 10px 12px !important;
        font-size: 0.95rem;
    }
    .site-branding img {
        max-height: 35px;
    }
    .ak-floating-nav {
        top: 60px !important;
    }
    .header-right {
        gap: 20px;
        flex-direction: row-reverse;
    }
    .ak-hero-section,
    .page-section,
    .footer-inner {
        padding: 30px 0;
    }
    .ak-hero-inner {
        gap: 10px;
        flex-direction: column;
    }
    .ak-hero-slider img {
        max-width: 150px;
    }
    .ak-hero-content {
        width: 100%;
        text-align: center;
    }
    .ak-hero-content .ak-hero-title {
        font-size: 28px;
    }
    .ak-feature-grid.columns-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    .wp-block-accordion-item {
        padding: 6px 10px;
    }
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
    }
    .site-header {
        padding: 10px 0;
    }
    .container {
        width: 92%;
    }
}