/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-logo .logo-dev {
    color: #fff;
}

.site-logo .logo-webx {
    color: var(--clr-primary);
}

.site-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--grad-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

/* Primary Nav */
.primary-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
}

.primary-nav a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item>a {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* Dropdown */
.primary-nav .menu-item-has-children {
    position: relative;
}

.primary-nav .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--clr-dark-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.primary-nav .menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.primary-nav .sub-menu a {
    color: var(--clr-text-muted);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    display: block;
    transition: all var(--transition-base);
}

.primary-nav .sub-menu a:hover {
    color: #fff;
    background: rgba(59, 130, 246, 0.12);
}

/* ============================================================
   MEGAMENU
   ============================================================ */
.nav-inner {
    position: relative;
    /* to contain the mega menu */
}

.primary-nav>.has-mega-menu {
    position: static;
}

.primary-nav>.has-mega-menu>.sub-menu {
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    transform: translateY(-8px);
    /* Override the -50% translateX */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-xl);
    padding: var(--space-2xl) var(--space-xl);
}

.primary-nav>.has-mega-menu:hover>.sub-menu {
    transform: translateY(0);
    /* Override the -50% translateX */
}

/* Mega menu columns */
.primary-nav>.has-mega-menu>.sub-menu>li {
    flex: 1;
    min-width: 200px;
}

/* Mega menu column headers */
.primary-nav>.has-mega-menu>.sub-menu>li>a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-primary-light);
    margin-bottom: var(--space-sm);
    padding: 0 0 var(--space-sm) 0;
    background: transparent !important;
    border-bottom: 1px solid var(--clr-border);
    border-radius: 0;
}

.primary-nav>.has-mega-menu>.sub-menu>li>a:hover {
    color: var(--clr-primary);
}

/* Third level items inside mega menu */
.primary-nav>.has-mega-menu>.sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    min-width: 0;
    display: block;
    backdrop-filter: none;
}

.primary-nav>.has-mega-menu>.sub-menu .sub-menu a {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.primary-nav>.has-mega-menu>.sub-menu .sub-menu a:hover {
    padding-left: 6px;
    background: transparent;
    color: #fff;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--grad-hero);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Animated glowing orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: orb-float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--clr-primary), transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--clr-accent2), transparent 70%);
    bottom: -80px;
    left: 10%;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--clr-accent), transparent 70%);
    top: 30%;
    left: 50%;
    animation-delay: -2s;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, 30px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 10px) scale(0.95);
    }
}

/* Grid overlay */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.45rem 1rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--clr-primary-light);
    margin-bottom: var(--space-xl);
    animation: fade-in-up 0.6s ease both;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
    animation: fade-in-up 0.6s 0.1s ease both;
}

.hero-title .highlight {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    animation: fade-in-up 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
    animation: fade-in-up 0.6s 0.3s ease both;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    animation: fade-in-up 0.6s 0.4s ease both;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin-top: 4px;
}

/* Floating code block */
.hero-code-float {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42%;
    z-index: 2;
    animation: fade-in-right 0.8s 0.3s ease both;
}

.code-card {
    background: rgba(22, 27, 34, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.code-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    background: var(--clr-dark-3);
    border-bottom: 1px solid var(--clr-border);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot-red {
    background: #FF5F56;
}

.code-dot-yellow {
    background: #FFBD2E;
}

.code-dot-green {
    background: #27C93F;
}

.code-card-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    font-family: var(--font-mono);
}

.code-card-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
}

.code-comment {
    color: #6B7280;
}

.code-keyword {
    color: #C084FC;
}

.code-string {
    color: #86EFAC;
}

.code-fn {
    color: #60A5FA;
}

.code-var {
    color: #FCA5A5;
}

.code-paren {
    color: #94A3B8;
}

.code-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--clr-primary);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    background: var(--clr-dark-2);
}

.service-card {
    position: relative;
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    text-decoration: none;
    transition: all var(--transition-base);
    display: block;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: inherit;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: var(--shadow-glow);
    transform: translateY(-6px);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    position: relative;
    z-index: 1;
}

.service-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    background: rgba(59, 130, 246, 0.1);
    color: var(--clr-primary-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.service-arrow {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    transition: all var(--transition-base);
    z-index: 1;
}

.service-card:hover .service-arrow {
    background: var(--grad-primary);
    color: #fff;
    transform: translate(2px, -2px);
}

/* ============================================================
   STATS / COUNTER SECTION
   ============================================================ */
.stats-section {
    background: var(--clr-dark);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(6, 182, 212, 0.03) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--clr-border);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.stat-item {
    background: var(--clr-dark);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    transition: background var(--transition-base);
}

.stat-item:hover {
    background: var(--clr-dark-2);
}

.stat-value {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    display: block;
}

/* ============================================================
   ABOUT / FEATURES SECTION
   ============================================================ */
.about-section {
    background: var(--clr-dark-2);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--clr-border);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    font-size: 0.75rem;
    margin-top: 2px;
}

.feature-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #fff;
}

.feature-text p {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    margin: 0;
}

/* Visual block */
.about-visual {
    position: relative;
}

.about-visual-main {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--grad-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--clr-dark-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.about-visual-badge .badge-icon {
    font-size: 1.8rem;
}

.about-visual-badge .badge-text strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-visual-badge .badge-text span {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

/* Tech stack grid inside visual */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding: var(--space-xl);
    width: 100%;
}

.tech-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    font-weight: 600;
    transition: all var(--transition-base);
}

.tech-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--clr-primary-light);
    background: rgba(59, 130, 246, 0.08);
}

.tech-item .tech-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 6px;
}

/* ============================================================
   BLOG / POSTS SECTION
   ============================================================ */
.blog-section {
    background: var(--clr-dark);
}

.post-card {
    background: var(--clr-dark-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-glow);
}

.post-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--clr-dark-3);
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-category-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--grad-primary);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.post-body {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-md);
}

.post-meta-sep {
    color: var(--clr-border);
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    transition: color var(--transition-base);
}

.post-card:hover .post-title {
    color: var(--clr-primary-light);
}

.post-excerpt {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--clr-primary);
    transition: gap var(--transition-fast);
}

.post-read-more:hover {
    gap: 10px;
    color: var(--clr-primary-light);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    background: var(--clr-dark-2);
}

.cta-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(139, 92, 246, 0.08) 100%);
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: var(--space-md);
}

.cta-desc {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    background: var(--clr-dark-2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info-card {
    background: var(--clr-dark);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--clr-border);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--clr-primary);
}

.contact-detail strong {
    display: block;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-detail span,
.contact-detail a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Form */
.contact-form {
    background: var(--clr-dark);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--clr-dark-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--clr-dark);
    border-top: 1px solid var(--clr-border);
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin: var(--space-md) 0 var(--space-xl);
    line-height: 1.8;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--clr-dark-2);
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    font-size: 1rem;
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
    transform: translateY(-2px);
}

.footer-col h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul a {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    transition: color var(--transition-base);
    text-decoration: none;
}

.footer-col ul a:hover {
    color: var(--clr-primary-light);
}

.footer-hours {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    line-height: 2;
}

.footer-hours strong {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--space-xl);
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.footer-bottom a {
    color: var(--clr-primary);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: var(--clr-dark);
    padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--grad-hero);
    opacity: 0.5;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero-label {
    margin-bottom: var(--space-md);
}

.page-hero-title {
    margin-bottom: var(--space-md);
}

.page-hero-desc {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    max-width: 580px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-top: var(--space-lg);
}

.breadcrumb a {
    color: var(--clr-primary);
    text-decoration: none;
}

.breadcrumb-sep {
    color: var(--clr-border);
}

/* ============================================================
   PROCESS / HOW WE WORK
   ============================================================ */
.process-section {
    background: var(--clr-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), var(--clr-accent), transparent);
    opacity: 0.4;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--clr-dark-2);
    border: 2px solid var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin: 0 auto var(--space-lg);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ============================================================
   TESTIMONIALS / TRUST
   ============================================================ */
.testimonial-card {
    background: var(--clr-dark-2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--clr-text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.author-role {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE – Components
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }

    .hero-code-float {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .primary-nav,
    .nav-cta .btn-outline {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    /* Mobile nav */
    .mobile-nav-open .primary-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 17, 23, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--space-xl);
        gap: var(--space-sm);
        z-index: 999;
        align-items: stretch;
    }

    .mobile-nav-open .primary-nav a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }
}