/*
Theme Name: RongPixel
Theme URI: https://rongpixel.com
Author: Jihadur Rahman Noyon
Author URI: https://jihadur.com
Description: Custom lightweight WordPress theme for RongPixel.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rongpixel
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   1. CSS VARIABLES
======================================== */

@font-face {
    font-family: "Li Ador Noirrit";
    src: url("fonts/LiAdorNoirritRegular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #174b78;
    --primary-dark: #103858;
    --secondary: #e74c3c;
    --accent-orange: #f59e0b;
    --accent-cyan: #06b6d4;

    --background: #ffffff;
    --foreground: #1e293b;
    --surface: #f8fafc;
    --border: rgba(23, 75, 120, 0.12);

    --gradient-brand: linear-gradient(120deg, #174b78, #e74c3c);
    --gradient-primary: linear-gradient(120deg, #174b78, #124b78);

    --container: 1280px;
    --header-height: 80px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 4px 15px rgba(23, 75, 120, 0.06);
    --shadow-md: 0 10px 30px rgba(23, 75, 120, 0.10);
    --shadow-lg: 0 20px 50px rgba(23, 75, 120, 0.12);

    --transition: 0.3s ease;
}

html.dark {
    --background: #0f172a;
    --foreground: #e2e8f0;
    --surface: #172338;
    --border: rgba(255, 255, 255, 0.10);

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ========================================
   2. RESET & GLOBAL
======================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--foreground);
    font-family: "Li Ador Noirrit", "Noto Sans Bengali", sans-serif;
    line-height: 1.7;
    transition: background var(--transition), color var(--transition);
}

body,
button,
input,
textarea,
select {
    font-family: "Li Ador Noirrit", "Noto Sans Bengali", sans-serif;
}

button,
input,
textarea {
    font-size: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.text-gradient {
    background: linear-gradient(110deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-brand {
    background: var(--gradient-brand);
}

.muted {
    opacity: 0.65;
}

/* ========================================
   3. REUSABLE BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    border-color: var(--secondary);
    background: rgba(231, 76, 60, 0.08);
    color: var(--secondary);
}

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

.btn-white:hover {
    background: var(--accent-orange);
    color: #ffffff;
}

/* ========================================
   4. REUSABLE ICON BOXES
======================================== */

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 13px;
    transition: var(--transition);
}

.icon-box.primary {
    background: rgba(23, 75, 120, 0.10);
    color: var(--primary);
}

.icon-box.secondary {
    background: rgba(231, 76, 60, 0.10);
    color: var(--secondary);
}

.icon-box.orange {
    background: rgba(245, 158, 11, 0.10);
    color: var(--accent-orange);
}

.icon-box.cyan {
    background: rgba(6, 182, 212, 0.10);
    color: var(--accent-cyan);
}

.icon-box svg {
    width: 23px;
    height: 23px;
}

/* ========================================
   5. HEADER
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: var(--background);
    background: color-mix(in srgb, var(--background) 90%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: inline-flex;
    align-items: center;
}

.site-logo img {
    width: 145px;
    max-height: 65px;
    object-fit: contain;
    transition: var(--transition);
}

.site-logo:hover img {
    transform: scale(1.03);
}

.site-title {
    display: inline-block;
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

html.dark .site-title {
    color: var(--foreground);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    color: var(--foreground);
    font-size: 14px;
    font-weight: 700;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
    opacity: 1;
}

.nav-link.active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 5px;
    background: var(--secondary);
    content: "";
}

.nav-arrow {
    width: 15px;
    height: 15px;
    transition: var(--transition);
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 290px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--background);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
}

.dropdown-heading span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

.dropdown-link {
    display: block;
    padding: 11px 13px;
    border-radius: 10px;
    color: var(--foreground);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-link:hover,
.dropdown-link.active {
    padding-left: 18px;
    background: rgba(231, 76, 60, 0.08);
    color: var(--secondary);
}

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

.theme-button,
.mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: transparent;
    color: var(--foreground);
    transition: var(--transition);
}

.theme-button:hover {
    border-color: var(--secondary);
    background: rgba(231, 76, 60, 0.08);
    color: var(--secondary);
}

.theme-button svg {
    width: 19px;
    height: 19px;
}

.theme-button .theme-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-button .theme-icon-dark {
    display: none;
}

html.dark .theme-button .theme-icon-light {
    display: none;
}

html.dark .theme-button .theme-icon-dark {
    display: inline-flex;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 11px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.header-cta svg {
    width: 17px;
    height: 17px;
}

.mobile-actions {
    display: none;
}

.mobile-menu-button {
    background: var(--gradient-primary);
    color: #ffffff;
}

.mobile-menu-button svg {
    width: 22px;
    height: 22px;
}

.mobile-menu-button .menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-button .menu-icon-close {
    display: none;
}

.mobile-menu-button.is-active .menu-icon-open {
    display: none;
}

.mobile-menu-button.is-active .menu-icon-close {
    display: inline-flex;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1001;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    background: var(--background);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: var(--transition);
}

.mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-item {
    border-bottom: 1px solid var(--border);
}

.mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-link {
    flex: 1;
    padding: 14px 0;
    color: var(--foreground);
    font-size: 15px;
    font-weight: 700;
}

.mobile-nav-link.active {
    color: var(--secondary);
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--foreground);
}

.mobile-dropdown-toggle svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.mobile-nav-item.is-open .mobile-dropdown-toggle svg,
.mobile-dropdown-toggle.is-open svg {
    transform: rotate(180deg);
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 15px;
    transition: max-height var(--transition), padding var(--transition);
}

.mobile-nav-item.is-open .mobile-dropdown {
    padding-bottom: 12px;
}

.mobile-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--foreground);
    font-size: 13px;
}

.mobile-dropdown a:hover,
.mobile-dropdown a.active {
    background: rgba(231, 76, 60, 0.08);
    color: var(--secondary);
}

.mobile-contact {
    width: 100%;
    margin-top: 20px;
}

.mobile-tagline {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    opacity: 0.5;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 990;
    background: rgba(23, 75, 120, 0.40);
    backdrop-filter: blur(4px);
}

.mobile-overlay.is-open,
.mobile-overlay.is-visible {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

/* ========================================
   6. SECTION HEADINGS
======================================== */

.section-heading {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    border: 1px solid rgba(231, 76, 60, 0.20);
    border-radius: 50px;
    background: rgba(231, 76, 60, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.section-badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

.section-title {
    margin-top: 18px;
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.5;
}

.section-description {
    max-width: 600px;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.65;
}

/* ========================================
   7. HERO SECTION
======================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--background);
}

.hero-section::before,
.hero-section::after {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    content: "";
}

.hero-section::before {
    top: -180px;
    right: -120px;
    background: rgba(23, 75, 120, 0.10);
}

.hero-section::after {
    bottom: -180px;
    left: -120px;
    background: rgba(231, 76, 60, 0.09);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
    min-height: 680px;
    padding-top: 75px;
    padding-bottom: 75px;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding: 10px 16px;
    border: 1px solid rgba(231, 76, 60, 0.20);
    border-radius: 50px;
    background: rgba(231, 76, 60, 0.07);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    animation: fade-up 0.7s ease both;
}

.pulse-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
}

.pulse-dot::after {
    position: absolute;
    inset: -4px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 1.8s infinite;
    content: "";
}

.hero-title {
    max-width: 680px;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: -1px;
    animation: fade-up 0.7s 0.1s ease both;
}

.hero-title-highlight {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.hero-title-highlight::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    border-radius: 5px;
    background: rgba(231, 76, 60, 0.55);
    transform-origin: left;
    animation: underline-grow 1s 0.8s ease both;
    content: "";
}

.hero-description {
    max-width: 560px;
    margin-top: 25px;
    font-size: 16px;
    line-height: 2;
    opacity: 0.7;
    animation: fade-up 0.7s 0.25s ease both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
    animation: fade-up 0.7s 0.4s ease both;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-top: 35px;
    animation: fade-up 0.7s 0.6s ease both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.75;
}

.trust-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: rgba(23, 75, 120, 0.10);
    color: var(--primary);
}

.trust-check svg {
    width: 12px;
    height: 12px;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: auto;
}

.hero-art {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    animation: fade-scale 0.8s 0.2s ease both;
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(23, 75, 120, 0.18);
    border-radius: 50%;
}

.orbit-one {
    inset: 4%;
}

.orbit-two {
    inset: 13%;
    border-style: dashed;
}

.orbit-three {
    inset: 22%;
    border-color: rgba(6, 182, 212, 0.20);
}

.orbit-rotator {
    position: absolute;
    inset: 13%;
    border-radius: 50%;
    animation: rotate-orbit 45s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(23, 75, 120, 0.25);
}

.orbit-dot.one {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-dot.two {
    right: 5%;
    bottom: 12%;
    width: 11px;
    height: 11px;
    background: var(--secondary);
}

.orbit-dot.three {
    top: 65%;
    left: 5%;
    width: 11px;
    height: 11px;
    background: var(--accent-orange);
}

.hero-main-card {
    position: absolute;
    inset: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 40px;
    background: var(--background);
    box-shadow: var(--shadow-lg);
    animation: float 5s ease-in-out infinite;
}

.hero-main-card img {
    width: 60%;
    max-width: 250px;
    object-fit: contain;
}

.floating-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--background);
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 800;
    animation: float 4s ease-in-out infinite;
}

.floating-card.one {
    top: 8%;
    left: -6%;
}

.floating-card.two {
    right: -7%;
    bottom: 10%;
    animation-delay: 0.5s;
}

.floating-card .icon-box {
    width: 42px;
    height: 42px;
}

.floating-card svg {
    width: 20px;
    height: 20px;
}

.hero-decoration {
    position: absolute;
    border: 1px solid rgba(23, 75, 120, 0.25);
}

.hero-decoration.one {
    bottom: 5%;
    left: 12%;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    transform: rotate(12deg);
}

.hero-decoration.two {
    top: 7%;
    right: 12%;
    width: 30px;
    height: 30px;
    border: 4px solid rgba(245, 158, 11, 0.4);
    border-radius: 50%;
}

.hero-service-cards {
    position: relative;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: -8px;
}

.hero-service-card {
    padding: 15px 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--background);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hero-service-card:hover {
    transform: translateY(-7px);
    border-color: var(--secondary);
}

.hero-service-card .icon-box {
    margin: auto;
    width: 40px;
    height: 40px;
}

.hero-service-card h3 {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 900;
}

.hero-service-card p {
    margin-top: 5px;
    font-size: 10px;
    opacity: 0.5;
}

.hero-service-line {
    width: 25px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 5px;
    background: var(--secondary);
}

/* ========================================
   8. SERVICES SECTION
======================================== */

.services-section {
    background: var(--background);
}

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

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--background);
    transition: var(--transition);
}

.service-card::before {
    position: absolute;
    top: -45px;
    right: -45px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(23, 75, 120, 0.08);
    filter: blur(25px);
    transition: var(--transition);
    content: "";
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(231, 76, 60, 0.4);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scale(1.7);
}

.service-card-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-number {
    color: rgba(23, 75, 120, 0.12);
    font-size: 34px;
    font-weight: 900;
    transition: var(--transition);
}

.service-card:hover .service-number {
    color: rgba(231, 76, 60, 0.35);
}

.service-label {
    display: inline-block;
    align-self: flex-start;
    margin-top: 20px;
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(23, 75, 120, 0.09);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
}

.service-title {
    position: relative;
    margin-top: 12px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.6;
    transition: var(--transition);
}

.service-card:hover .service-title {
    color: var(--secondary);
}

.service-description {
    position: relative;
    margin-top: 9px;
    font-size: 13px;
    line-height: 2;
    opacity: 0.65;
}

.service-features {
    position: relative;
    display: grid;
    gap: 11px;
    margin-top: 20px;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
}

.service-feature svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--secondary);
}

.service-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 25px;
    font-size: 13px;
    font-weight: 800;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary);
}

.service-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 10px;
    background: rgba(23, 75, 120, 0.10);
    color: var(--primary);
    transition: var(--transition);
}

.service-link:hover .service-link-icon {
    background: var(--primary);
    color: #ffffff;
    transform: translate(3px, -3px);
}

.service-link-icon svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   9. CTA
======================================== */

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 45px;
    padding: 35px;
    border-radius: 22px;
    background: var(--gradient-brand);
    color: #ffffff;
}

.cta-content {
    max-width: 650px;
}

.cta-content h3 {
    font-size: 22px;
    font-weight: 900;
}

.cta-content p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.9;
}

/* ========================================
   10. PRICING TABLE
======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 25px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--background);
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: rgba(23, 75, 120, 0.4);
    box-shadow: var(--shadow-lg);
}

.pricing-card.selected {
    z-index: 2;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    padding: 7px 20px;
    border-radius: 30px;
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
    transform: translateX(-50%);
}

.pricing-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px;
}

.pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pricing-name {
    font-size: 21px;
    font-weight: 900;
}

.pricing-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(23, 75, 120, 0.10);
    color: var(--primary);
}

.pricing-icon svg {
    width: 20px;
    height: 20px;
}

.pricing-description {
    min-height: 55px;
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.9;
    opacity: 0.6;
}

.pricing-price-area {
    margin-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.pricing-price-label {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.55;
}

.pricing-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pricing-old-price {
    color: #94a3b8;
    font-size: 17px;
    text-decoration: line-through;
}

.pricing-current-price {
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 900;
    line-height: 1.3;
}

.pricing-discount {
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(231, 76, 60, 0.12);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 900;
}

.pricing-extra {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.55;
}

.pricing-subheading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 900;
}

.pricing-subheading svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.hosting-selector {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.hosting-option {
    padding: 11px 4px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--foreground);
    text-align: center;
    transition: var(--transition);
}

.hosting-option strong {
    display: block;
    font-size: 13px;
}

.hosting-option span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
}

.hosting-option:hover,
.hosting-option.active {
    border-color: var(--primary);
    background: rgba(23, 75, 120, 0.09);
    color: var(--primary);
}

.hosting-note {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.8;
    opacity: 0.55;
}

.renewal-box {
    margin-top: 25px;
    padding: 17px;
    border-radius: 15px;
    background: var(--surface);
}

.renewal-list {
    display: grid;
    gap: 12px;
    font-size: 12px;
}

.renewal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.renewal-row span:first-child {
    opacity: 0.65;
}

.renewal-total {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    font-weight: 900;
}

.renewal-total strong {
    color: var(--primary);
    font-size: 21px;
}

.renewal-note {
    margin-top: 8px;
    font-size: 10px;
    opacity: 0.45;
}

.pricing-features {
    flex: 1;
    margin-top: 25px;
}

.pricing-features h4 {
    margin-bottom: 17px;
    font-size: 14px;
    font-weight: 900;
}

.pricing-feature-list {
    display: grid;
    gap: 13px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.8;
    opacity: 0.8;
}

.pricing-feature svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary);
}

.pricing-order {
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--foreground);
    font-size: 13px;
    font-weight: 900;
    transition: var(--transition);
}

.pricing-order:hover,
.pricing-card.selected .pricing-order {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

/* ========================================
   11. ANIMATIONS
======================================== */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-scale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes underline-grow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes rotate-orbit {
    to {
        transform: rotate(360deg);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   12. FOOTER
======================================== */

.site-footer {
    padding-top: 65px;
    background: var(--primary-dark);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 50px;
}

.footer-logo img {
    width: 145px;
    max-height: 70px;
    object-fit: contain;
}

.footer-description {
    max-width: 300px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 2;
}

.footer-title {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    padding-left: 5px;
    color: #ffffff;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* ========================================
   13. CONTENT, BLOG & COMMENTS
======================================== */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 18px;
    border-radius: 0 0 10px 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.skip-link:focus {
    top: 0;
    color: #ffffff;
}

/* Page headers */

.page-header {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.page-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.35;
}

.archive-description {
    margin-top: 14px;
    font-size: 15px;
    opacity: 0.7;
}

.archive-description .search-form {
    margin: 24px auto 0;
}

/* Blog list */

.post-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

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

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

.post-card-thumbnail {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface);
}

.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
}

.post-meta a {
    color: inherit;
}

.post-card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.5;
}

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

.post-excerpt {
    font-size: 14px;
    opacity: 0.75;
}

.post-excerpt p {
    margin: 0;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

html.dark .read-more {
    color: var(--accent-cyan);
}

.read-more svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.read-more:hover svg {
    transform: translateX(4px);
}

/* Single post & page */

.entry-header {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.entry-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.35;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    margin-top: 18px;
    font-size: 13px;
    opacity: 0.8;
}

.entry-meta a {
    color: var(--secondary);
    font-weight: 700;
}

.post-thumbnail {
    max-width: 900px;
    margin: 0 auto 36px;
}

.post-thumbnail img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.entry-content {
    max-width: 800px;
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.9;
}

.entry-content > * + * {
    margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 1.8em;
    font-weight: 800;
    line-height: 1.4;
}

.entry-content h2 {
    font-size: 28px;
}

.entry-content h3 {
    font-size: 23px;
}

.entry-content h4 {
    font-size: 19px;
}

.entry-content a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5em;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li + li {
    margin-top: 0.45em;
}

.entry-content blockquote {
    padding: 18px 22px;
    border-left: 4px solid var(--secondary);
    border-radius: 0 12px 12px 0;
    background: var(--surface);
    font-style: italic;
}

.entry-content code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--surface);
    font-size: 0.9em;
}

.entry-content pre {
    padding: 18px;
    overflow-x: auto;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
}

.entry-content pre code {
    padding: 0;
    background: transparent;
}

.entry-content img,
.entry-content video,
.entry-content iframe {
    max-width: 100%;
    border-radius: 12px;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
}

.entry-content th,
.entry-content td {
    padding: 10px 12px;
    border: 1px solid var(--border);
    text-align: left;
}

.entry-content figcaption {
    margin-top: 8px;
    font-size: 12px;
    text-align: center;
    opacity: 0.6;
}

.page-links,
.entry-footer {
    max-width: 800px;
    margin: 28px auto 0;
    font-size: 13px;
}

.entry-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0.8;
}

.entry-tags a,
.entry-footer a,
.page-links a {
    color: var(--secondary);
    font-weight: 700;
}

.edit-link {
    margin-left: auto;
}

/* Sidebar layout */

.content-with-sidebar.has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
}

.sidebar .widget {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.sidebar .widget + .widget {
    margin-top: 22px;
}

.widget-title {
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 800;
}

.sidebar .widget ul {
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.sidebar .widget a:hover {
    color: var(--secondary);
}

/* Pagination */

.pagination {
    margin-top: 46px;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

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

/* Post navigation */

.post-navigation {
    max-width: 800px;
    margin: 40px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.post-navigation .nav-subtitle {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.6;
}

/* Search form */

.search-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
}

.search-form .search-field {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: var(--surface);
    color: var(--foreground);
}

.search-form .search-field:focus {
    border-color: var(--secondary);
}

.search-form .search-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.search-form .search-submit svg {
    width: 17px;
    height: 17px;
}

.no-results,
.error-404 {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.no-results .search-form,
.error-404 .search-form {
    margin: 24px auto 0;
}

.no-results .page-title {
    margin-bottom: 14px;
}

.error-code {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(72px, 15vw, 140px);
    font-weight: 900;
    line-height: 1;
}

.error-404 .btn {
    margin-top: 28px;
}

/* Comments */

.comments-area {
    max-width: 800px;
    margin: 48px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.comments-title,
.comment-reply-title {
    margin-bottom: 22px;
    font-size: 22px;
    font-weight: 800;
}

.comment-list {
    display: grid;
    gap: 22px;
    margin-bottom: 32px;
    list-style: none;
}

.comment-list .children {
    display: grid;
    gap: 22px;
    margin-top: 20px;
    padding-left: 26px;
    list-style: none;
}

.comment-body {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.comment-body .comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.comment-body .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.comment-body .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.comment-body .comment-metadata {
    font-size: 12px;
    opacity: 0.65;
}

.comment-body .comment-content > * + * {
    margin-top: 10px;
}

.comment-respond {
    margin-top: 20px;
}

.comment-form {
    display: grid;
    gap: 16px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: var(--surface);
    color: var(--foreground);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--secondary);
}

.comment-form .form-submit {
    margin: 0;
}

.comment-form .submit {
    padding: 13px 24px;
    border: 0;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 700;
}

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form .comment-form-cookies-consent input {
    width: auto;
}

.comment-form .comment-form-cookies-consent label {
    margin: 0;
    font-weight: 400;
}

.no-comments {
    margin-top: 20px;
    opacity: 0.7;
}

/* Footer extras */

.footer-site-title {
    font-size: 24px;
    font-weight: 900;
}

.footer-contact span,
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-bottom-inner a {
    color: #ffffff;
}

.site-footer .custom-logo {
    width: 145px;
    max-height: 70px;
    object-fit: contain;
}

.hero-logo-text {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 900;
    text-align: center;
    color: var(--primary);
}

html.dark .hero-logo-text {
    color: var(--foreground);
}

@media (max-width: 991px) {
    .post-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-with-sidebar.has-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .post-list {
        grid-template-columns: 1fr;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .search-form {
        flex-direction: column;
    }

    .comment-list .children {
        padding-left: 14px;
    }
}

/* ========================================
   14. RESPONSIVE
======================================== */

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 17px;
    }

    .header-actions {
        gap: 9px;
    }

    .hero-grid {
        gap: 35px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    :root {
        --header-height: 72px;
    }

    .desktop-nav,
    .desktop-actions {
        display: none;
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
        padding-top: 65px;
        padding-bottom: 60px;
    }

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

    .hero-title,
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .section {
        padding: 60px 0;
    }

    .site-logo img {
        width: 125px;
    }

    .hero-grid {
        gap: 40px;
        padding-top: 50px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.5;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn {
        padding: 12px 17px;
        font-size: 12px;
    }

    .hero-trust {
        gap: 12px;
    }

    .trust-item {
        font-size: 11px;
    }

    .hero-visual {
        max-width: 390px;
    }

    .hero-main-card {
        border-radius: 27px;
    }

    .floating-card {
        gap: 7px;
        padding: 8px 10px;
        font-size: 10px;
    }

    .floating-card.one {
        left: -2%;
    }

    .floating-card.two {
        right: -2%;
    }

    .floating-card .icon-box {
        width: 32px;
        height: 32px;
    }

    .hero-service-cards {
        gap: 7px;
    }

    .hero-service-card {
        padding: 12px 5px;
    }

    .hero-service-card h3 {
        font-size: 10px;
    }

    .hero-service-card p {
        display: none;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 27px;
    }

    .section-description {
        font-size: 13px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 22px;
    }

    .service-title {
        font-size: 19px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .cta-content h3 {
        font-size: 18px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pricing-body {
        padding: 23px;
    }

    .pricing-current-price {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}