/* Webnity Digital - Global Styles */

/* Premium Hero Section */
.hero--premium {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    /* Deep navy to indigo */
    color: white;
    overflow: hidden;
    text-align: left;
}

.highlight {
    white-space: nowrap;
    background: linear-gradient(90deg, #7c5cff, #9b7bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero__grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.hero__glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.15) 0%, transparent 70%);
    filter: blur(40px);
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 2px, transparent 2.5px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 1.5px, transparent 2px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2.5px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1.5px);
    background-size: 150px 150px;
    animation: hero-drift 30s linear infinite;
    filter: blur(0.5px);
    opacity: 0.5;
    pointer-events: none;
}

@keyframes hero-drift {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-150px) translateX(-50px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__particles {
        animation: none;
    }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero__title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #e0e7ff;
    margin-bottom: 0;
    line-height: 1.3;
}

.hero__body {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.hero__badges {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

.hero__badge svg {
    color: var(--color-accent-light);
}

.hero__proof {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Animated visual container */
.hero__visual--animated {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Align closer to the right */
    padding-right: 2rem;
}

/* Background orb behind terminal */
.hero__visual-orb {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.12) 0%, transparent 65%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

/* Glass panel baseline */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Terminal Panel */
.terminal {
    width: 100%;
    max-width: 520px;
    /* Increased size */
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: translateX(20px);
    /* Nudge to the right */
}

.terminal__bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal__dot--red {
    background: #ff5f56;
}

.terminal__dot--yellow {
    background: #ffbd2e;
}

.terminal__dot--green {
    background: #27c93f;
}

.terminal__body {
    padding: 2rem;
    /* Increased padding */
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.05rem;
    /* Increased font size */
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 300px;
    /* Increased height */
    background: rgba(0, 0, 0, 0.2);
}

.terminal__line {
    margin-bottom: 0.25rem;
    opacity: 0;
    animation: fadeIn 0.1s forwards;
}

.terminal__prompt {
    color: var(--color-accent-light);
    margin-right: 0.5rem;
}

.terminal__line--success {
    color: #27c93f;
}

.terminal__cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: #e2e8f0;
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Floating Stat Chips */
.stat-chip {
    position: absolute;
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.stat-chip__value {
    font-weight: 800;
    color: white;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.stat-chip__label {
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chip Positions and Delays */
.stat-chip--1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.stat-chip--2 {
    top: 25%;
    right: -10%;
    animation-delay: 1.5s;
}

.stat-chip--3 {
    bottom: 25%;
    left: -10%;
    animation-delay: 3s;
}

.stat-chip--4 {
    bottom: 10%;
    right: -5%;
    animation-delay: 4.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .stat-chip {
        animation: none;
    }

    .terminal__cursor {
        animation: none;
        opacity: 1;
    }
}

@media (max-width: 992px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero__actions,
    .hero__badges {
        justify-content: center;
    }

    .hero__glow {
        left: 20%;
        width: 60%;
    }

    .stat-chip--1 {
        left: 5%;
    }

    .stat-chip--2 {
        right: 5%;
    }

    .stat-chip--3 {
        left: 5%;
    }

    .stat-chip--4 {
        right: 5%;
    }
}

@media (max-width: 600px) {
    .hero--premium {
        padding: 7.5rem 0 3rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__badges {
        gap: 1rem;
        justify-content: center;
        padding-top: 1rem;
    }

    .hero__visual--animated {
        height: auto;
        min-height: 300px;
        flex-direction: column;
        gap: 1.5rem;
        padding-right: 0;
        align-items: center;
        justify-content: center;
    }

    .stat-chip {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none;
        width: 100%;
        justify-content: center;
        max-width: 520px;
    }
}

:root {
    --color-primary: #0A2540;
    --color-primary-light: #2A4A7F;
    --color-accent: #635bff;
    --color-accent-light: #807dfa;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F7F9FC;
    --color-text: #425466;
    --color-heading: #0A2540;
    --color-border: #E6EBFC;

    /* Premium SaaS Brand Colors */
    --color-brand-navy: #0B2E6D;
    --color-brand-red: #E31E24;
    --color-brand-red-dark: #C4181E;

    /* Header Specific */
    --header-height: 80px;
    --header-height-scrolled: 70px;
    --header-bg-transparent: rgba(255, 255, 255, 0);
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);
    --header-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --gradient-accent: linear-gradient(135deg, #635bff 0%, #807dfa 100%);
    --shadow-sm: 0 4px 6px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(10, 37, 64, 0.1);
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white !important;
}

.bg-light {
    background-color: var(--color-bg-alt);
}

section {
    padding: var(--spacing-xl) 0;
}

.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: var(--color-bg-alt);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-heading);
}

.btn-outline:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--color-primary);
}

/* --- Premium Header Styles --- */
.site-header {
    height: var(--header-height);
    background: var(--header-bg-transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--header-transition);
    display: flex;
    align-items: center;
}

.site-header--scrolled {
    height: var(--header-height-scrolled);
    background: var(--header-bg-scrolled);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-dark {
    display: none;
}

.site-header--scrolled .logo-light {
    display: none;
}

.site-header--scrolled .logo-dark {
    display: block;
}

.logo-img:hover {
    transform: scale(1.05);
}

.main-nav {
    position: relative;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    height: 100%;
    align-items: center;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.site-header--scrolled .nav-links a {
    color: var(--color-brand-navy);
}

.nav-links a:hover {
    color: var(--color-brand-red);
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.nav-item:hover .chevron-icon {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: calc(var(--header-height));
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 680px;
    background: rgba(10, 37, 64, 0.95);
    /* Premium dark navy */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* subtle highlight border */
    overflow: hidden;
}

.site-header--scrolled .mega-menu {
    top: var(--header-height-scrolled);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
    padding: 2.5rem;
    position: relative;
}

/* Subtle accent glow inside the dark menu */
.mega-menu__inner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(227, 30, 36, 0.12);
    /* Brand red glow */
    filter: blur(60px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
    /* keep above the glow */
}

.mega-menu__title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.mega-menu__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mega-menu__list a {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease !important;
}

.mega-menu__list a:hover {
    color: white !important;
    transform: translateX(8px);
}

.menu-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mega-menu__list a:hover .menu-icon {
    background: rgba(227, 30, 36, 0.25);
}

/* Button & UI Components */
.btn-brand-red {
    background-color: var(--color-brand-red);
    color: white !important;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-brand-red:hover {
    background-color: var(--color-brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.2);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 2px;
    background: white;
    transition: background 0.3s ease;
}

.site-header--scrolled .hamburger {
    background: var(--color-brand-navy);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: inherit;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-toggle.active .hamburger {
    background: transparent;
}

.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--color-brand-red);
}

.mobile-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
    background: var(--color-brand-red);
}

/* Mobile Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 100px 2rem 4rem;
    transition: right 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-nav-panel.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav-links a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-brand-navy);
    text-decoration: none;
}

.btn-full {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {

    .main-nav,
    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

.final-cta {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xl) 0;
}

.final-cta h2 {
    color: white;
    font-size: 2.5rem;
}

.final-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.cta-banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =============================================
   PREMIUM FOOTER STYLES
   ============================================= */

/* Footer CTA Strip */
.site-footer-cta {
    background: var(--color-brand-navy);
    padding: 5rem 0;
    border-top: 4px solid var(--color-brand-red);
}

.footer-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.footer-cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

.footer-cta-action {
    flex-shrink: 0;
}

/* Main Footer */
.site-footer {
    background-color: #071a3e;
    padding: 5rem 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Footer Brand Column */
.footer-logo-img {
    height: 44px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.footer-brand-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Headings & Lists */
.footer-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    font-weight: 800;
    margin-bottom: 1.75rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-brand-red);
    transform: translateX(5px);
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover {
    color: var(--color-brand-red);
}

/* Social Icons */
.socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--color-brand-red);
    border-color: var(--color-brand-red);
    color: white;
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 2.5rem;
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 3rem;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.35rem;
}

.footer-abn {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.35) !important;
}

/* Acknowledgement of Country */
.footer-acknowledgement {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.acknowledgement-text p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    font-style: italic;
    margin: 0;
}

.acknowledgement-flags {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.flag-icon {
    width: 50px;
    height: 33px;
    border-radius: 3px;
    overflow: hidden;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-cta-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-cta-title {
        font-size: 1.75rem;
    }

    .footer-acknowledgement {
        flex-direction: column;
    }

    .acknowledgement-flags {
        flex-direction: row;
    }
}



/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-heading);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--color-text);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner-buttons {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Portfolio Additions */
.portfolio-filter-container {
    margin-bottom: 2rem;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--color-border);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-heading);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--color-accent-light);
    color: var(--color-accent);
}

.filter-btn.active {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item h3 {
    min-height: 4rem;
}

.portfolio-item .results-box {
    background: var(--color-bg-alt);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--color-accent);
    flex-grow: 1;
}

.portfolio-item p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.slider-btn:hover {
    background: var(--color-bg-alt) !important;
    color: var(--color-accent);
    transform: scale(1.05);
}

/* Logo Slider */
.logo-slider {
    overflow: hidden;
    padding: 2rem 0;
    background: var(--color-bg-alt);
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logo-slider:before,
.logo-slider:after {
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    content: "";
    z-index: 2;
}

.logo-slider:before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-alt) 0%, transparent 100%);
}

.logo-slider:after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-alt) 0%, transparent 100%);
}

.logo-slide-track {
    display: flex;
    width: calc(250px * 30);
    animation: scroll 40s linear infinite;
}

.logo-slide-track:hover {
    animation-play-state: paused;
}

.logo-slide {
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.logo-slide img {
    max-height: 50px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-slide:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 15));
    }
}

/* --- Premium Services Section --- */

.services-section {
    padding: var(--spacing-xl) 0;
    overflow: hidden;
    position: relative;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.support-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Service Card Primary Pillar */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px -10px rgba(10, 37, 64, 0.05);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(10, 37, 64, 0.12);
    border-color: var(--color-accent-light);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

/* Icon Styling */
.service-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(99, 91, 255, 0.4);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-card p {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Badge Styling */
.service-card__badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-accent-light);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px -2px rgba(99, 91, 255, 0.3);
}

/* Support Card Styling */
.support-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.support-card:hover {
    background: white;
    border-color: var(--color-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.support-card__icon {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.support-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.support-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Entrance Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .service-card,
    .support-card {
        transition: none;
    }

    .service-card:hover,
    .support-card:hover {
        transform: none;
    }
}

/* Responsive Grid Adjustments */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .support-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .support-services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem;
    }
}

/* --- Service Page Styles & UI Components --- */

.service-hero {
    padding: 10rem 0 8rem;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.service-hero__content {
    text-align: left;
}

.service-hero__badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.service-hero__badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.service-hero__badge span {
    color: var(--color-accent-light);
    font-weight: bold;
}

/* Hero Mockup Component */
.hero-visual {
    position: relative;
}

.browser-frame {
    background: white;
    border-radius: 12px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-header {
    height: 32px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-dot--red {
    background: #ff5f56;
}

.browser-dot--yellow {
    background: #ffbd2e;
}

.browser-dot--green {
    background: #27c93f;
}

.browser-content {
    aspect-ratio: 16/10;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.problem-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    border-color: #ff4d4d;
    box-shadow: var(--shadow-md);
}

.problem-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
}

.process-step__header {
    width: 64px;
    height: 64px;
    background: white;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.process-step:hover .process-step__header {
    background: var(--color-accent);
    color: white;
    transform: scale(1.1);
}

/* What's Included Card */
.inclusion-card {
    padding: 2rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: left;
    transition: all 0.3s ease;
}

.inclusion-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.inclusion-card__icon {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

/* Performance Section */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.performance-card {
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}

.performance-visual {
    height: 120px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Simple Speedometer Visual */
.speedometer {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--color-accent) 280deg, #f0f0f0 0);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speedometer::after {
    content: "98";
    font-weight: 800;
    font-size: 1.5rem;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pricing Refinement */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    padding: 3.5rem 2.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card--popular {
    border-color: var(--color-accent);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
}

.pricing-card--popular::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.pricing-card .price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1rem 0;
    color: var(--color-primary);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
    display: flex;
    gap: 0.75rem;
}

.pricing-card li::before {
    content: "✓";
    color: var(--color-accent);
}

@media (max-width: 1100px) {
    .service-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-hero__content {
        text-align: center;
    }

    .service-hero__badges {
        justify-content: center;
    }
}

@media (max-width: 992px) {

    .problem-grid,
    .process-timeline,
    .performance-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card--popular {
        transform: none;
    }
}

/* Terminal Mockup Component */
.terminal-frame {
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-header {
    background: #323232;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-body {
    padding: 1.5rem;
    min-height: 200px;
    line-height: 1.5;
}

.terminal-line {
    margin-bottom: 0.25rem;
    display: flex;
    gap: 0.5rem;
}

.terminal-prompt {
    color: var(--color-accent-light);
}

.terminal-command {
    color: #ce9178;
}

.terminal-output {
    color: #b5cea8;
    opacity: 0.8;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background: var(--color-accent);
    margin-left: 2px;
    animation: blink_cursor 1s step-end infinite;
}

@keyframes blink_cursor {
    50% {
        opacity: 0;
    }
}

/* Phone Mockup Component */
.phone-frame {
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin: 0 auto;
}

.phone-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #333;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-content {
    width: 100%;
    height: 100%;
    background: #f8f9ff;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
}

.phone-visual {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
}

/* Tech Badges */
.tech-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 3rem;
}

.tech-badge {
    padding: 1rem 2rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.tech-badge span {
    font-weight: 700;
    color: var(--color-primary);
}

.tech-badge small {
    opacity: 0.6;
    font-size: 0.75rem;
}

/* Dashboard Mockup Component */
.dashboard-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metric-item {
    padding: 1rem;
    background: #f8faff;
    border-radius: 8px;
    border: 1px solid rgba(var(--color-accent-rgb), 0.1);
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 4px 0;
}

.metric-trend {
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.metric-trend.up {
    color: #10b981;
}

.metric-trend.down {
    color: #ef4444;
}

/* Metric Chip (Floating) */
.metric-chip {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-chip span {
    font-weight: 700;
    color: var(--color-primary);
}

.metric-chip .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

/* Growth System Timeline */
.system-pillar {
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.system-pillar:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--color-accent-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

/* Branding & Creative Components */
.hero--branding {
    background: linear-gradient(135deg, #1e3c72 0%, #1a1a1a 100%);
}

.brand-board {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.brand-board__item {
    aspect-ratio: 1;
    background: #f8f9ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(var(--color-primary-rgb), 0.1);
    border: 1px dashed rgba(var(--color-primary-rgb), 0.1);
}

.brand-board__item.dark {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.1);
}

.creative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.brand-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.brand-card__visual {
    height: 240px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.brand-card__content {
    padding: 2rem;
}

.price-note {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 1rem;
    font-style: italic;
}

/* SEO & Ranking Components */
.map-mockup {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.map-header__search {
    flex: 1;
    height: 36px;
    background: #f1f3f4;
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.85rem;
    color: #5f6368;
}

.map-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-item {
    padding: 1rem;
    background: #f8faff;
    border-radius: 12px;
    border: 1px solid rgba(var(--color-accent-rgb), 0.1);
    display: flex;
    gap: 12px;
}

.map-item__pin {
    width: 20px;
    height: 20px;
    background: #ea4335;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin-top: 2px;
    flex-shrink: 0;
}

.map-item__content h5 {
    margin: 0;
    font-size: 0.95rem;
}

.map-item__rating {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #fbbc04;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ranking-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ranking-card__pos {
    width: 32px;
    height: 32px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
}

.ranking-card__keyword {
    font-weight: 700;
    color: #071a3e;
    font-size: 0.85rem;
}

/* Ads Performance Components */
.stat-chip {
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.stat-chip__label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.6;
    text-transform: uppercase;
}

.stat-chip__value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-accent);
}

.performance-chart {
    height: 120px;
    background: linear-gradient(0deg, rgba(var(--color-accent-rgb), 0.05) 0%, rgba(var(--color-accent-rgb), 0.2) 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.performance-chart svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Maintenance & Status Table Components */
.status-dashboard {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.05);
}

.status-row:last-child {
    border-bottom: none;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.status-dot--pulse {
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.status-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge--success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.service-stat {
    text-align: center;
    padding: 1rem;
    background: #f8faff;
    border-radius: 12px;
}

.service-stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.service-stat__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.gsc-chart-box {
    height: 220px;
    background: #f8f9ff;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
}

.gsc-chart-box canvas {
    width: 100% !important;
    height: 100% !important;
}

.local-pack-box {
    height: 220px;
    background: #f8f9ff;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, .06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lp-title {
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f172a;
}

.lp-pill {
    font-size: .85rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(var(--color-primary-rgb), .10);
    color: rgba(var(--color-primary-rgb), 1);
    font-weight: 700;
    white-space: nowrap;
}

.lp-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.lp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .06);
}

.lp-rank {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: rgba(15, 23, 42, .06);
    color: #0f172a;
}

.lp-biz {
    flex: 1;
    min-width: 0;
}

.lp-name {
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.lp-meta {
    font-size: .85rem;
    color: rgba(15, 23, 42, .65);
    margin-top: 2px;
}

.lp-tag {
    font-size: .8rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .12);
    color: rgba(22, 163, 74, 1);
    font-weight: 800;
    white-space: nowrap;
}

.lp-row.is-1 .lp-rank {
    background: rgba(var(--color-primary-rgb), .14);
    color: rgba(var(--color-primary-rgb), 1);
}

.lp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: .9rem;
    color: rgba(15, 23, 42, .70);
}

.lp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(15, 23, 42, .25);
    flex: 0 0 auto;
}

/* --- About Page Specific Styles --- */

.about-hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #0A2540 0%, #1e1b4b 100%);
    color: white;
    overflow: hidden;
}

.about-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero__label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero__heading {
    font-size: 4rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.about-hero__subheading {
    font-size: 1.25rem;
    color: #e0e7ff;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-hero__text {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.about-hero__buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Mockup Composition */
.about-hero__visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-item {
    position: absolute;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: float-slow 6s ease-in-out infinite;
}

.mockup-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.mockup--desktop {
    width: 100%;
    max-width: 450px;
    height: 280px;
    z-index: 1;
    top: 10%;
    right: 0;
}

.mockup--tablet {
    width: 250px;
    height: 350px;
    z-index: 2;
    bottom: 5%;
    left: 0;
    animation-delay: 1s;
}

.mockup--mobile {
    width: 120px;
    height: 250px;
    z-index: 3;
    bottom: -10%;
    right: 20%;
    border-radius: 24px;
    animation-delay: 2s;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Mission Section */
.mission-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.animated-underline {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-brand-red);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    animation: expand-width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes expand-width {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

/* Feature Cards */
.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.special-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.special-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -15px rgba(10, 37, 64, 0.15);
}

.special-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.special-card:hover::before {
    transform: scaleX(1);
}

.special-card .card-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Points of Difference */
.points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.point-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-light);
}

.point-item svg {
    color: var(--color-brand-red);
    flex-shrink: 0;
}

/* Revolution Section */
.rev-section {
    background: #0A2540;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.rev-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(99, 91, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.rev-section__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.rev-section h2 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.rev-section p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.rev-section .highlight-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

/* Review Cards */
.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #ffbd2e;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.stars span {
    display: inline-block;
    animation: star-fade 0.5s ease forwards;
    opacity: 0;
}

.stars span:nth-child(1) {
    animation-delay: 0.1s;
}

.stars span:nth-child(2) {
    animation-delay: 0.2s;
}

.stars span:nth-child(3) {
    animation-delay: 0.3s;
}

.stars span:nth-child(4) {
    animation-delay: 0.4s;
}

.stars span:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes star-fade {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(99, 91, 255, 0.4);
    transform: translateY(-3px);
}

/* Stagger for Points Grid */
.reveal-on-scroll.active .point-item {
    animation: revealUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
}

.reveal-on-scroll.active .point-item:nth-child(1) {
    animation-delay: 0.1s;
}

.reveal-on-scroll.active .point-item:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-on-scroll.active .point-item:nth-child(3) {
    animation-delay: 0.3s;
}

.reveal-on-scroll.active .point-item:nth-child(4) {
    animation-delay: 0.4s;
}

.reveal-on-scroll.active .point-item:nth-child(5) {
    animation-delay: 0.5s;
}

.reveal-on-scroll.active .point-item:nth-child(6) {
    animation-delay: 0.6s;
}

.reveal-on-scroll.active .point-item:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Blog Page Revamp Styles --- */

/* Category Cards */
.blog-categories {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.1);
    border-color: var(--color-accent-light);
}

.category-card .cat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.category-card h3 {
    font-size: 1.25rem;
    color: var(--color-heading);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Featured Section */
.featured-blog {
    padding: 6rem 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    color: white;
    text-decoration: none;
}

.featured-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.featured-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-card__bg img {
    transform: scale(1.05);
}

.featured-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(10, 37, 64, 0.9) 100%);
    z-index: 1;
}

.featured-card__content {
    position: relative;
    z-index: 2;
}

.featured-card__meta {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
    display: block;
}

.featured-card h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Main Blog Grid Refinements */
.blog-grid-section {
    padding: 6rem 0 8rem;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(10, 37, 64, 0.15);
}

.blog-card__image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.1);
}

.blog-card__tag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--color-brand-red);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.blog-card__content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__date {
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 500;
}

.blog-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--color-heading);
}

.blog-card__excerpt {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.blog-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.read-more {
    color: var(--color-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.read-time {
    font-size: 0.85rem;
    color: rgba(10, 37, 64, 0.5);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 5rem;
}

.page-num {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: var(--color-heading);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.page-num.active,
.page-num:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* Category Grid Responsive */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: 1fr;
    }

    .blog-card__content {
        padding: 1.5rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-hero__buttons {
        justify-content: center;
    }

    .about-hero__visual {
        height: 400px;
        margin-top: 3rem;
    }

    .points-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-hero__heading {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .points-grid {
        grid-template-columns: 1fr;
    }

    .about-hero__heading {
        font-size: 2.5rem;
    }

    .rev-section h2 {
        font-size: 2.5rem;
    }

    .mockup--desktop {
        max-width: 300px;
        height: 180px;
    }

    .mockup--tablet {
        width: 180px;
        height: 250px;
    }

    .mockup--mobile {
        width: 80px;
        height: 160px;
    }
}

/* =========================================================================
   Blog Post Rich Text Formatting (.content-rich-text)
   ========================================================================= */

.content-rich-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
}

.content-rich-text p {
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

/* Headings within post body */
.content-rich-text h2,
.content-rich-text h3,
.content-rich-text h4,
.content-rich-text h5 {
    color: var(--color-heading);
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.content-rich-text h2 {
    font-size: 2.25rem;
}

.content-rich-text h3 {
    font-size: 1.75rem;
}

.content-rich-text h4 {
    font-size: 1.35rem;
}

/* Lists */
.content-rich-text ul,
.content-rich-text ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.content-rich-text li {
    margin-bottom: 0.75rem;
}

.content-rich-text ul li {
    list-style-type: disc;
}

.content-rich-text ul li::marker {
    color: var(--color-brand-red);
    /* Keep bullets on-brand */
}

/* Blockquotes */
.content-rich-text blockquote {
    position: relative;
    padding: 1.5rem 2rem;
    margin: 3rem 0;
    background: rgba(99, 91, 255, 0.05);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 10px 10px 0;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-heading);
}

.content-rich-text blockquote p:last-child {
    margin-bottom: 0;
}

/* Inline Links */
.content-rich-text a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-color: rgba(99, 91, 255, 0.3);
    text-underline-offset: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.content-rich-text a:hover {
    color: var(--color-brand-red);
    text-decoration-color: var(--color-brand-red);
}

/* Images within posts */
.content-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Code Snippets */
.content-rich-text pre {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
}

.content-rich-text code {
    background-color: rgba(15, 23, 42, 0.06);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: var(--color-brand-red);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

.content-rich-text pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

/* Tables */
.content-rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
}

.content-rich-text th,
.content-rich-text td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.content-rich-text th {
    background-color: rgba(15, 23, 42, 0.03);
    font-weight: 700;
    color: var(--color-heading);
}

.content-rich-text tr:last-child td {
    border-bottom: none;
}

/* Bold text */
.content-rich-text strong,
.content-rich-text b {
    font-weight: 700;
    color: var(--color-heading);
}

/* =========================================================================
   Sidebar Widget Formatting
   ========================================================================= */

.widget-recent a:hover h5 {
    color: var(--color-brand-red) !important;
}

.category-link:hover {
    padding-left: 0.5rem !important;
    background-color: rgba(15, 23, 42, 0.02);
    border-color: var(--color-brand-red) !important;
}

.category-link:hover .cat-icon {
    opacity: 1 !important;
    transform: translateX(3px);
}

.widget-categories a:hover {
    background: var(--color-brand-red) !important;
    color: white !important;
}

/* --- Stacking Cards Case Studies --- */
.cs-stack-container {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

.cs-stack-card {
    position: sticky;
    top: calc(var(--header-height-scrolled) + 20px);
    height: calc(100vh - var(--header-height-scrolled) - 60px);
    min-height: 500px;
    margin-bottom: 2rem;
    border-radius: 40px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cs-stack-card:nth-child(1) {
    top: calc(var(--header-height-scrolled) + 20px);
}

.cs-stack-card:nth-child(2) {
    top: calc(var(--header-height-scrolled) + 40px);
}

.cs-stack-card:nth-child(3) {
    top: calc(var(--header-height-scrolled) + 60px);
}

.cs-stack-card:nth-child(4) {
    top: calc(var(--header-height-scrolled) + 80px);
}

.cs-stack-card__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.cs-stack-card__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.cs-stack-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4rem 4rem 2rem;
}

.cs-stack-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cs-item__year-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.cs-item__year {
    font-size: 2.5rem;
    color: var(--color-heading);
    font-weight: 800;
    line-height: 1;
}

.cs-item__logo {
    max-height: 40px;
    max-width: 150px;
    object-fit: contain;
}

.cs-item__title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-heading);
    line-height: 1.2;
}

.cs-item__desc {
    font-size: 1.15rem;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

@media (max-width: 992px) {
    .cs-stack-card {
        height: auto;
        min-height: 70vh;
        top: 80px !important;
        margin-bottom: 2rem;
        border-radius: 24px;
    }

    .cs-stack-card__inner {
        grid-template-columns: 1fr;
    }

    .cs-stack-card__visual {
        min-height: 350px;
    }

    .cs-stack-card__content {
        padding: 2rem;
    }

    .cs-item__title {
        font-size: 1.75rem;
    }
}

/* --- Mobile Specific Fixes --- */
@media (max-width: 576px) {

    .site-header .container,
    .header-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__btn,
    .hero__btn-outline {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .cs-stack-container {
        padding: 1.5rem 1rem 4rem;
    }

    .cs-stack-card__content {
        padding: 1.5rem;
    }

    .cs-stack-card__visual {
        min-height: 250px;
        padding: 1rem;
    }

    .cs-item__title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .cs-item__desc {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .cs-item__year {
        font-size: 1.8rem;
    }
}

/* Service Page Card Overrides */
@media (max-width: 900px) {
    .card.grid-2 {
        padding: 2rem !important;
        gap: 2rem !important;
    }

    .service-hero h1.text-white {
        font-size: 2.5rem !important;
        margin-top: 1rem;
    }

    .floating-scroll-icon {
        /* If this exists */
        display: none !important;
    }
}