:root {
    --primary-color: #00F5D4;
    --primary-dark: #00BFA6;
    --accent-cyan: #00F5D4;
    --accent-purple: #FF3D8B;
    --accent-gold: #FFB800;
    --secondary-color: #0D141C;
    --surface-color: #070A0F;
    --surface-elevated: #101923;
    --text-color: #EAF2F8;
    --text-light: #9AA8B8;
    --border-color: rgba(0, 245, 212, 0.16);
    --heading-font: 'Space Grotesk', 'Arial', sans-serif;
    --body-font: 'Inter', 'Helvetica Neue', sans-serif;
    --shadow-sm: 0 2px 12px rgba(108, 99, 255, 0.08);
    --shadow-md: 0 8px 30px rgba(108, 99, 255, 0.12);
    --shadow-lg: 0 20px 50px rgba(108, 99, 255, 0.18);
    --glow: 0 0 20px rgba(108, 99, 255, 0.3);
    --glow-lg: 0 0 40px rgba(108, 99, 255, 0.2), 0 0 80px rgba(108, 99, 255, 0.08);
    --border-radius: 8px;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 100%);
    --gradient-rich: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-gold) 45%, var(--accent-purple) 100%);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--body-font);
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: var(--surface-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.15rem;
}

.about-feature {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.about-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-feature:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    background: rgba(108, 99, 255, 0.04);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.08);
}

.about-feature:hover::before {
    opacity: 1;
}

.about-feature h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.about-feature p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Keyframe Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Header --- */
header {
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(108, 99, 255, 0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    text-decoration: none;
}

#logo img {
    height: 80px;
    width: auto;
    display: block;
}

#main-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

#main-nav ul li {
    margin-left: 30px;
}

#main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    font-size: 16px;
}

#main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease-out;
}

#main-nav a:hover {
    color: #fff;
}

#main-nav a:hover::after {
    width: 100%;
    left: 0;
}

#hamburger-btn {
    display: none;
}

/* --- Hero Section --- */
#hero {
    background: linear-gradient(135deg, #0A0E1A 0%, #0f1629 40%, #0A0E1A 100%);
    color: var(--text-color);
    text-align: center;
    padding: 160px 20px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #hero {
        padding: 100px 16px 80px;
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    #hero {
        padding: 90px 14px 60px;
        min-height: auto;
    }
}

/* Animated gradient orbs */
#hero::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-orb 15s ease-in-out infinite;
    pointer-events: none;
    filter: blur(40px);
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-orb 20s ease-in-out infinite reverse;
    pointer-events: none;
    filter: blur(40px);
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -40px) scale(1.15); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(25px, 15px) scale(1.05); }
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-family: var(--heading-font);
    font-size: clamp(1.8rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out 0.5s both;
    line-height: 1.2;
    word-break: break-word;
}

#hero h1 span {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-cyan) 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

#hero p {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    max-width: 700px;
    margin: 0 auto 45px;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out 1s both;
    line-height: 1.8;
}

.btn-hero {
    animation: fadeInUp 1s ease-out 1.5s both;
    padding: 20px 50px;
    font-size: 1.15rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .btn-hero {
        padding: 16px 36px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

/* --- General Section Styling --- */
section {
    padding: 120px 0;
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
}

.section-title {
    text-align: center;
    font-family: var(--heading-font);
    font-size: clamp(1.6rem, 4.5vw, 2.8rem);
    margin-bottom: 60px;
    color: #fff;
    position: relative;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 40px;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--gradient-rich);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
    margin: 20px auto 0;
    border-radius: 4px;
}

/* --- Clients Section --- */
#clients {
    padding: 120px 0;
    background-color: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    #clients {
        padding: 60px 0;
    }
}

.clients-title {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

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

@media (max-width: 576px) {
    .clients-grid {
        gap: 16px;
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 120px;
    padding: 20px;
    box-sizing: border-box;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .client-logo {
        width: 160px;
        height: 90px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .client-logo {
        width: calc(50% - 10px);
        height: 80px;
        padding: 12px;
    }
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(1) brightness(0.9);
    transition: all 0.3s ease-in-out;
}

.client-logo:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.1);
}

.client-logo:hover img {
    opacity: 1;
    filter: grayscale(0) brightness(1);
}

/* --- Process Section --- */
#process {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

#process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(108, 99, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(0, 217, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 50px;
}

/* Swiper slider equal height fix */
.process-slider .swiper-wrapper {
    align-items: stretch;
}

.process-slider .swiper-slide {
    height: auto;
    display: flex;
}

.process-step {
    text-align: center;
    padding: 45px 35px;
    background: linear-gradient(145deg, var(--surface-color) 0%, rgba(18, 18, 18, 0.9) 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover {
    transform: translateY(-12px);
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(108, 99, 255, 0.12);
}

.process-step:hover::before {
    opacity: 1;
}

.process-number {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 25px auto;
    font-family: var(--heading-font);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 25px rgba(108, 99, 255, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

.process-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(108, 99, 255, 0.2);
    animation: pulse-ring 2s ease-out infinite;
}

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

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.process-step h3 {
    font-family: var(--heading-font);
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.process-step p {
    max-width: 75ch;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.7;
    flex-grow: 1;
}

/* --- Stats Section --- */
#stats {
    background: linear-gradient(180deg, var(--surface-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

#stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

#stats .section-title {
    color: #fff;
}

#stats .section-title::after {
    background: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    padding: 35px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-rich);
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.1);
    background: rgba(108, 99, 255, 0.04);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item h3 {
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .stat-item h3 {
        font-size: 2.8rem;
    }
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* --- Packages Section --- */
#packages {
    background-color: var(--surface-color);
    position: relative;
    overflow: hidden;
}

/* Background grid glow/orb for packages section */
#packages::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.packages-grid-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    position: relative;
    z-index: 2;
    margin-top: 34px;
}

.packages-intro {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 18px auto 0;
    text-align: center;
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.7;
}

.packages-intro strong {
    color: #fff;
    font-weight: 700;
}

.fullstack-explainer {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 26px auto 0;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(0, 217, 255, 0.18);
    border-bottom: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 8px;
}

.fullstack-term {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(0, 217, 255, 0.1);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.fullstack-explainer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.98rem;
}

@media (max-width: 680px) {
    .fullstack-explainer {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }

    .fullstack-term {
        justify-self: center;
        white-space: normal;
    }
}

@media (max-width: 992px) {
    .packages-grid-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .packages-grid-main > *:last-child {
        grid-column: span 2;
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 680px) {
    .packages-grid-main {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .packages-grid-main > *:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
}

/* Glassmorphic Package Card */
.package-card {
    background: rgba(13, 17, 30, 0.45);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(108, 99, 255, 0.12);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

/* Hover effects for basic cards */
.package-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.08), 
                0 0 25px rgba(108, 99, 255, 0.03);
}

/* Accent top-borders or background glows for cards */
.package-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: opacity 0.3s ease;
}

.card-basic::after { background: var(--gradient-primary); }
.card-standard::after { background: var(--gradient-rich); }
.card-premium::after { background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%); }
.card-ai::after { background: linear-gradient(135deg, #A855F7 0%, #EC4899 100%); }

/* Special wide layout for AI Automation */
.packages-special-wide {
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.wide-card {
    flex-direction: row !important;
    align-items: center;
    text-align: left;
    padding: 40px 50px;
    gap: 40px;
}

.wide-card-left {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wide-card-left .package-icon-wrapper {
    margin: 0 0 15px 0;
}

.wide-card-left .price-wrapper {
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
    width: 100%;
}

.wide-card-left .price {
    justify-content: flex-start !important;
}

.wide-card-right {
    flex: 1;
}

.wide-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 !important;
}

.wide-features-grid li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive styles for the wide card */
@media (max-width: 992px) {
    .wide-card {
        flex-direction: column !important;
        align-items: stretch;
        padding: 35px 30px;
        gap: 30px;
    }

    .wide-card-left {
        flex: 1;
        align-items: center;
        text-align: center;
    }

    .wide-card-left .package-icon-wrapper {
        margin: 0 auto 15px auto;
    }

    .wide-card-left .price {
        justify-content: center !important;
    }

    .wide-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Card headers */
.package-card .card-header {
    margin-bottom: 25px;
    position: relative;
}

.package-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.package-card:hover .package-icon-wrapper {
    transform: scale(1.1) rotate(3deg);
    background: rgba(255, 255, 255, 0.04);
}

.package-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(108, 99, 255, 0.2));
}

.package-card h3 {
    font-family: var(--heading-font);
    font-size: clamp(1.45rem, 2.2vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.15;
}

.package-card .subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Pricing block */
.price-wrapper {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.package-card .price {
    font-size: clamp(2.2rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin: 0;
    color: #fff;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    letter-spacing: 0;
}

.price-prefix {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    margin-right: 6px;
}

.package-card .price .currency {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-left: 4px;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features list */
.package-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.package-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.5;
    padding: 0;
    border: none;
}

.package-card ul li span {
    flex-grow: 1;
}

.check-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    filter: drop-shadow(0 0 4px rgba(0, 217, 255, 0.3));
}

/* CTA buttons inside cards */
.btn-package {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.95rem;
    border-radius: 12px;
}

/* Recommended/Highlighted Package Card styling */
.package-card-highlighted {
    transform: translateY(-12px);
    border-color: transparent;
    z-index: 2;
}

.package-card-highlighted::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: var(--gradient-rich);
    background-size: 300% 300%;
    animation: animated-border 4s ease-in-out infinite;
    border-radius: 20px;
    z-index: -1;
}

.package-card-highlighted::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background: rgba(15, 12, 35, 0.85); /* Slightly darker/tinted to pop standard */
    border-radius: 19px;
    z-index: -1;
    height: auto;
}

/* Highlighted hover shadow and scale */
.package-card-highlighted:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 25px 50px rgba(108, 99, 255, 0.2), 
                var(--glow-lg);
}

.recommended-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.2);
}

/* Individual card hover accent glows */
.card-basic:hover {
    box-shadow: 0 20px 45px rgba(0, 217, 255, 0.1),
                0 0 30px rgba(0, 217, 255, 0.03);
    border-color: rgba(0, 217, 255, 0.4);
}

.card-premium:hover {
    box-shadow: 0 20px 45px rgba(245, 158, 11, 0.1),
                0 0 30px rgba(245, 158, 11, 0.03);
    border-color: rgba(245, 158, 11, 0.4);
}

.card-ai:hover {
    box-shadow: 0 20px 45px rgba(168, 85, 247, 0.12),
                0 0 30px rgba(168, 85, 247, 0.04);
    border-color: rgba(168, 85, 247, 0.4);
}

/* --- Immersive Process Redesign --- */
.section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 8px;
    background: rgba(0, 217, 255, 0.08);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
}

.section-lead {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-light);
    text-align: center;
    font-size: 1.08rem;
    line-height: 1.75;
}

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

.process-heading .section-title {
    margin: 16px 0 18px;
}

.process-experience {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
    gap: 44px;
    align-items: center;
    margin-top: 58px;
}

.process-visual {
    position: relative;
    min-height: 460px;
    border-radius: 8px;
    border: 1px solid rgba(108, 99, 255, 0.22);
    background:
        linear-gradient(135deg, rgba(108, 99, 255, 0.14), rgba(0, 217, 255, 0.04)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 56px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 56px);
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.process-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(0, 217, 255, 0.16) 48%, transparent 58%);
    transform: translateX(-120%);
    animation: process-scan 5.5s ease-in-out infinite;
}

.process-visual::after {
    content: '';
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.process-radar {
    position: absolute;
    width: 250px;
    height: 250px;
    inset: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 217, 255, 0.24);
    background: conic-gradient(from 0deg, rgba(0, 217, 255, 0.3), transparent 28%, transparent 100%);
    animation: radar-spin 7s linear infinite;
}

.process-radar span {
    position: absolute;
    inset: var(--ring);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.process-radar span:nth-child(1) { --ring: 34px; }
.process-radar span:nth-child(2) { --ring: 72px; }
.process-radar span:nth-child(3) { --ring: 108px; }

.process-signal {
    position: absolute;
    z-index: 2;
    min-width: 82px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 14, 26, 0.82);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
    animation: signal-float 4s ease-in-out infinite;
}

.process-signal-a {
    top: 72px;
    left: 42px;
}

.process-signal-b {
    top: 184px;
    right: 34px;
    animation-delay: 0.8s;
}

.process-signal-c {
    left: 76px;
    bottom: 74px;
    animation-delay: 1.5s;
}

.process-timeline {
    position: relative;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0 0 0 34px;
}

.process-timeline::before,
.process-timeline::after {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 10px;
    width: 2px;
    border-radius: 2px;
}

.process-timeline::before {
    background: rgba(255, 255, 255, 0.09);
}

.process-timeline::after {
    background: linear-gradient(180deg, var(--accent-cyan), var(--primary-color), var(--accent-purple), #FCD34D);
    background-size: 100% 220%;
    animation: timeline-flow 4s ease-in-out infinite;
    box-shadow: 0 0 18px rgba(0, 217, 255, 0.35);
}

.process-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 26, 0.58);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.process-milestone::before {
    content: attr(data-step);
    color: var(--accent);
    font-family: var(--heading-font);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
}

.process-milestone::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 52%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.process-milestone:hover {
    transform: translateX(10px);
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    background: rgba(14, 19, 35, 0.9);
}

.process-milestone:hover::after {
    opacity: 1;
}

.process-node {
    position: absolute;
    top: 28px;
    left: -30px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 16%, transparent),
                0 0 24px color-mix(in srgb, var(--accent) 55%, transparent);
    z-index: 2;
}

.process-copy {
    position: relative;
    z-index: 2;
}

.process-copy h3 {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--heading-font);
    font-size: clamp(1.22rem, 2vw, 1.48rem);
}

.process-copy p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.65;
    font-size: 0.98rem;
}

@keyframes process-scan {
    0%, 18% { transform: translateX(-120%); }
    56%, 100% { transform: translateX(120%); }
}

@keyframes radar-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

@keyframes timeline-flow {
    0%, 100% { background-position: 0 0; }
    50% { background-position: 0 100%; }
}

/* --- Single Service Package Redesign --- */
#packages::before {
    inset: 0;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    height: auto;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.5;
    animation: package-grid-drift 16s linear infinite;
}

#packages::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.08), transparent 38%, rgba(252, 211, 77, 0.06));
    pointer-events: none;
    z-index: 1;
}

#packages .container {
    position: relative;
    z-index: 2;
}

.service-package-panel {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(108, 99, 255, 0.28);
    padding: clamp(28px, 5vw, 58px);
    background:
        radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0, 217, 255, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(14, 19, 35, 0.96), rgba(10, 14, 26, 0.98));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.service-package-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(0, 217, 255, 0.7), rgba(108, 99, 255, 0.12), rgba(252, 211, 77, 0.55), rgba(168, 85, 247, 0.3));
    background-size: 240% 240%;
    animation: border-pan 8s ease-in-out infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.service-package-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -20%;
    width: 18%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
    transform: skewX(-14deg);
    animation: package-shine 6s ease-in-out infinite;
    pointer-events: none;
}

.service-package-glow {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, 0.025) 24px 25px),
        repeating-linear-gradient(0deg, transparent 0 24px, rgba(255, 255, 255, 0.02) 24px 25px);
    opacity: 0.55;
    pointer-events: none;
}

.service-package-top,
.service-capabilities,
.service-package-bottom {
    position: relative;
    z-index: 2;
}

.service-package-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
    gap: 34px;
    align-items: start;
}

.service-package-top .section-title {
    text-align: left;
    margin: 18px 0 20px;
    max-width: 780px;
}

.service-package-top .section-title::after {
    margin-left: 0;
    margin-right: 0;
}

.service-package-lead {
    color: var(--text-light);
    max-width: 780px;
    margin: 0;
    font-size: clamp(1rem, 1.9vw, 1.18rem);
    line-height: 1.75;
}

.service-rate {
    display: grid;
    gap: 4px;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid rgba(0, 217, 255, 0.24);
    background: rgba(0, 217, 255, 0.08);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: rate-breathe 4s ease-in-out infinite;
}

.service-rate-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 700;
}

.service-rate strong {
    font-family: var(--heading-font);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    line-height: 1;
}

.service-rate span:last-child {
    color: var(--text-light);
    font-size: 1rem;
}

.service-capabilities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 44px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
}

.service-capability {
    min-height: 210px;
    padding: 26px;
    background: rgba(10, 14, 26, 0.84);
    transition: transform 0.35s ease, background 0.35s ease;
}

.service-capability:hover {
    transform: translateY(-8px);
    background: rgba(17, 24, 39, 0.98);
}

.service-capability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.service-capability h3 {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--heading-font);
    font-size: 1.18rem;
}

.service-capability p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.96rem;
    line-height: 1.6;
}

.service-package-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.service-package-bottom p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.service-package-bottom .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@keyframes package-grid-drift {
    to { background-position: 64px 64px; }
}

@keyframes border-pan {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes package-shine {
    0%, 35% { left: -25%; }
    70%, 100% { left: 110%; }
}

@keyframes rate-breathe {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 rgba(0, 217, 255, 0); }
    50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 28px rgba(0, 217, 255, 0.14); }
}

@media (max-width: 992px) {
    .process-experience,
    .service-package-top {
        grid-template-columns: 1fr;
    }

    .process-visual {
        min-height: 340px;
    }

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

@media (max-width: 680px) {
    .process-experience {
        gap: 30px;
        margin-top: 38px;
    }

    .process-visual {
        min-height: 280px;
    }

    .process-radar {
        width: 190px;
        height: 190px;
    }

    .process-signal {
        min-width: 70px;
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .process-signal-a {
        top: 42px;
        left: 24px;
    }

    .process-signal-b {
        top: 128px;
        right: 20px;
    }

    .process-signal-c {
        left: 34px;
        bottom: 42px;
    }

    .process-timeline {
        padding-left: 28px;
    }

    .process-milestone {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }

    .process-node {
        left: -25px;
    }

    .service-package-panel {
        padding: 24px;
    }

    .service-package-top .section-title {
        font-size: clamp(1.7rem, 8vw, 2.4rem);
    }

    .service-capabilities {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .service-capability {
        min-height: auto;
        padding: 22px;
    }

    .service-package-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .service-package-bottom .btn {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-visual::before,
    .process-radar,
    .process-signal,
    .process-timeline::after,
    #packages::before,
    .service-package-panel::before,
    .service-package-panel::after,
    .service-rate {
        animation: none;
    }
}

/* --- Portfolio Section --- */
#portfolio {
    background-color: var(--secondary-color);
}

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

/* Portfolio links should not have text decoration */
.portfolio-grid a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* 5-item layout: top row 3x2col, bottom row 2x3col */
.portfolio-grid > *:nth-child(1) { grid-column: span 2; }
.portfolio-grid > *:nth-child(2) { grid-column: span 2; }
.portfolio-grid > *:nth-child(3) { grid-column: span 2; }
.portfolio-grid > *:nth-child(4) { grid-column: span 3; }
.portfolio-grid > *:nth-child(5) { grid-column: span 3; }

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid > * {
        grid-column: span 1 !important;
    }

    .portfolio-grid > *:last-child:nth-child(odd) {
        grid-column: span 2 !important;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-grid > * {
        grid-column: span 1 !important;
    }
}

.portfolio-item {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    min-height: 250px;
}

@media (max-width: 576px) {
    .portfolio-item {
        min-height: 200px;
    }
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(108, 99, 255, 0.15), 0 0 30px rgba(108, 99, 255, 0.06);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.7) 60%, transparent 100%);
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-content h3 {
    font-family: var(--heading-font);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #fff;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* --- Blog Section --- */
#blog {
    background-color: var(--surface-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.blog-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.12);
}

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

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content h3 {
    font-family: var(--heading-font);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 75ch;
    flex-grow: 1;
}

.blog-card-content .btn {
    font-size: 0.9rem;
    padding: 12px 25px;
    align-self: flex-start;
}

/* --- Blog & Post Pages --- */
.main-content-page {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 50px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-meta {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: -30px;
}

.post-header .post-meta {
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.post-content {
    margin: 0 auto;
}

.post-content>p,
.post-content>h2,
.post-content>ul,
.post-content>ol {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-content h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-navigation {
    text-align: center;
    margin-top: 50px;
}

/* --- Automation Page Specifics --- */
.automation-examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.example-card {
    flex: 0 1 340px;
    /* Control the width and allow centering */
    background: var(--secondary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.example-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.example-card h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.example-card .icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 15px;
    display: block;
    color: var(--primary-color);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--heading-font);
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 25px rgba(108, 99, 255, 0.3), var(--glow);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 150% 100%;
    color: #fff;
    border: none;
    position: relative;
}

.btn-primary:hover {
    background-position: 100% 0;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.35), var(--glow);
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.1);
}

/* --- Contact Form --- */
#contact {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .contact-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .contact-form {
        min-width: unset;
        width: 100%;
    }

    .contact-info {
        min-width: unset;
        width: 100%;
    }

    .contact-form .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px;
        font-size: 0.95rem;
    }
}

.contact-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.contact-info h4 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    max-width: 75ch;
    margin-left: 0;
    color: var(--text-light);
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23a0a0a0%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.4-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
}

.form-group select::-ms-expand {
    display: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.2);
}

.contact-form .btn {
    cursor: pointer;
    align-self: center;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* --- Footer --- */
#main-footer {
    background: #060a14;
    color: var(--text-light);
    padding: 80px 0 0 0;
}

@media (max-width: 768px) {
    #main-footer {
        padding: 50px 0 0 0;
    }
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

.footer-about {
    flex: 2;
    min-width: 250px;
}

@media (max-width: 576px) {
    .footer-about {
        min-width: unset;
    }
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

@media (max-width: 576px) {
    .footer-links,
    .footer-contact {
        min-width: unset;
    }
}

#logo-footer {
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 75ch;
    margin-left: 0;
}

#logo-footer img {
    height: 50px;
    width: auto;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--heading-font);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

.social-icons a {
    color: var(--text-light);
    margin-left: 15px;
    transition: color 0.3s ease;
}

@media (max-width: 576px) {
    .social-icons a {
        margin: 0 8px;
    }
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* --- About Section Description --- */
.about-description {
    text-align: center;
    max-width: 800px;
    max-width: 75ch;
    margin: 0 auto 20px auto;
}

/* --- Contact Section Description --- */
.contact-description {
    text-align: center;
    max-width: 75ch;
    margin: -20px auto 30px;
}

/* --- CTA Parallax Section --- */
#cta-parallax {
    position: relative;
    padding: 120px 20px;
    background: linear-gradient(135deg, #0A0E1A 0%, #111827 50%, #0A0E1A 100%);
    text-align: center;
    overflow: hidden;
}

#cta-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(108, 99, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(0, 217, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

#cta-parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.3), transparent);
}

#cta-parallax .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

#cta-parallax .section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#cta-parallax .section-title::after {
    display: none;
}

#cta-parallax p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#cta-parallax .btn {
    padding: 18px 45px;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.25);
}

#cta-parallax .btn:hover {
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.35);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    #cta-parallax {
        padding: 80px 20px;
    }

    #cta-parallax .section-title {
        font-size: 2rem;
    }

    #cta-parallax p {
        font-size: 1.1rem;
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    #main-nav {
        display: none;
    }

    #hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10;
    }

    .hamburger-line {
        width: 30px;
        height: 3px;
        background: var(--text-light);
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    #main-nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        border-bottom: 1px solid var(--border-color);
    }

    #main-nav ul {
        flex-direction: column;
    }

    #main-nav ul li {
        margin: 0;
    }

    #main-nav ul li a {
        display: block;
        padding: 14px 30px;
        text-align: center;
        font-size: 1.05rem;
        transition: background 0.2s ease, color 0.2s ease;
    }

    #main-nav ul li a:hover {
        background: rgba(108, 99, 255, 0.08);
    }

    .package-card-highlighted {
        transform: scale(1);
    }

    .package-card-highlighted:hover {
        transform: translateY(-10px) scale(1);
    }

    .footer-top {
        flex-direction: column;
    }

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

/* Responsive adjustments for process grid */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Additional Mobile Polish --- */
@media (max-width: 480px) {
    body {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-feature {
        padding: 20px;
    }

    .about-feature h4 {
        font-size: 1.1rem;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .stat-item h3 {
        font-size: 2.4rem;
    }

    .process-step {
        padding: 30px 20px;
        min-height: 260px;
    }

    .blog-card img {
        height: 180px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-content h3 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    #logo img {
        height: 55px;
    }

    .contact-description {
        font-size: 0.95rem;
    }

    .portfolio-content h3 {
        font-size: 1.15rem;
    }

    .portfolio-content p {
        font-size: 0.9rem;
    }

    .portfolio-content {
        padding: 20px;
    }
}

/* ==========================================
   ENHANCED BLOG POST STYLES
   ========================================== */

/* Reading Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-cyan) 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Post Hero Section */
.post-hero {
    position: relative;
    padding: 160px 20px 100px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 50%, #1a1a1a 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(108, 99, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.post-hero .container {
    position: relative;
    z-index: 2;
}

/* Post Category Badge */
.post-category {
    display: inline-block;
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Post Title */
.post-title {
    font-size: 3.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 35px !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Post Meta Enhanced */
.post-meta-enhanced {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

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

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.post-date {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Enhanced Article Container */
#blog-post {
    padding: 80px 20px;
}

#blog-post .post-image {
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px;
    transition: transform 0.3s ease;
}

#blog-post .post-image:hover {
    transform: scale(1.01);
}

/* Enhanced Post Content Typography */
.post-content {
    max-width: 750px;
    margin: 0 auto;
}

.post-content>p:first-of-type::first-letter {
    float: left;
    font-size: 4rem;
    line-height: 0.8;
    font-weight: 700;
    margin-right: 12px;
    margin-top: 8px;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

.post-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    color: var(--text-color);
}

.post-content h2 {
    font-size: 1.9rem;
    margin-top: 60px;
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-color);
    color: #fff;
    position: relative;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    bottom: -10px;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

/* Share Section */
.share-section {
    text-align: center;
    margin: 60px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    max-width: 500px;
}

.share-section h4 {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0 0 25px 0;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: var(--secondary-color);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.share-twitter:hover {
    background: #000;
    border-color: #333;
}

.share-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.share-copy:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--surface-color);
}

/* Author Card */
.author-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 16px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    margin: 50px auto;
    max-width: 600px;
}

.author-card-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.3);
}

.author-card-content h4 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: #fff;
    margin: 0 0 10px 0;
}

.author-card-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Enhanced Post Navigation */
.post-navigation {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.post-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.post-navigation .btn span {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.post-navigation .btn:hover span {
    transform: translateX(-5px);
}

/* Responsive for Post */
@media (max-width: 768px) {
    .post-hero {
        padding: 120px 20px 80px;
        min-height: 300px;
    }

    .post-title {
        font-size: 2.2rem !important;
    }

    .post-category {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .author-name {
        font-size: 1rem;
    }

    .post-date {
        font-size: 0.85rem;
    }

    .post-content>p:first-of-type::first-letter {
        font-size: 3rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
        margin-top: 40px;
    }

    .share-section {
        padding: 30px 20px;
    }

    .share-btn {
        width: 45px;
        height: 45px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }

    .author-card-avatar {
        width: 70px;
        height: 70px;
    }
}

/* --- Breadcrumb Navigation --- */
.breadcrumb {
    background: rgba(18, 18, 18, 0.6);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    color: var(--text-light);
}

.breadcrumb-list li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list li a:hover {
    color: var(--primary-color);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- FAQ Section --- */
#faq {
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

#faq::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(108, 99, 255, 0.3);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--body-font);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 22px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.faq-answer a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 18px;
    }
}

/* --- Scroll to Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(108, 99, 255, 0.4);
}

.scroll-to-top svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* --- Enhanced Selection Highlight --- */
::selection {
    background: rgba(108, 99, 255, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(108, 99, 255, 0.3);
    color: #fff;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-cyan));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* --- Smooth Image Loading --- */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.1s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* --- Focus Visible for Accessibility --- */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Enhanced Clients Title --- */
.clients-title {
    position: relative;
}

.clients-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- Smooth Link Transitions (global) --- */
a {
    transition: color 0.3s ease;
}

/* ==========================================
   FULL SITE CINEMATIC REDESIGN
   ========================================== */

html {
    scroll-padding-top: 110px;
}

body {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        var(--surface-color);
    background-size: 72px 72px, 72px 72px, auto;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(0, 245, 212, 0.08), transparent 30%),
        linear-gradient(315deg, rgba(255, 184, 0, 0.07), transparent 34%),
        linear-gradient(180deg, transparent, rgba(255, 61, 139, 0.04));
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 5px;
    opacity: 0.35;
    pointer-events: none;
}

.container {
    max-width: 1180px;
}

section {
    position: relative;
    isolation: isolate;
    scroll-margin-top: 112px;
}

section:not(#hero)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 0%, rgba(0, 245, 212, 0.035) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: section-light-pass 9s ease-in-out infinite;
    pointer-events: none;
}

@keyframes section-light-pass {
    0%, 30% { transform: translateX(-100%); opacity: 0; }
    48% { opacity: 1; }
    72%, 100% { transform: translateX(100%); opacity: 0; }
}

.section-title {
    font-size: 2.7rem;
    line-height: 1.08;
    letter-spacing: 0;
}

.section-title::after {
    width: 92px;
    height: 3px;
    background: var(--gradient-rich);
    box-shadow: 0 0 24px rgba(0, 245, 212, 0.22);
}

.section-kicker,
.hero-kicker {
    border-radius: 8px;
    background: rgba(0, 245, 212, 0.1);
    border-color: rgba(0, 245, 212, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Modern always-visible navigation */
header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

header.header-hidden {
    transform: none;
}

header .container {
    width: min(92%, 1180px);
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(7, 10, 15, 0.74);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
}

header.scrolled .container {
    background: rgba(7, 10, 15, 0.9);
    border-color: rgba(0, 245, 212, 0.2);
}

header.scrolled {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

#logo img {
    height: 58px;
    filter: drop-shadow(0 0 16px rgba(0, 245, 212, 0.1));
}

#main-nav ul {
    align-items: center;
    gap: 6px;
}

#main-nav ul li {
    margin-left: 0;
}

#main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    color: rgba(234, 242, 248, 0.78);
    font-size: 0.94rem;
}

#main-nav a::after {
    display: none;
}

#main-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

#main-nav a[href="#contact"] {
    color: #071017;
    background: var(--gradient-primary);
    box-shadow: 0 10px 24px rgba(0, 245, 212, 0.18);
}

#main-nav a[href="#contact"]:hover {
    color: #071017;
    transform: translateY(-1px);
}

/* Hero */
#hero {
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
    padding: 150px 0 90px;
    text-align: left;
    background:
        linear-gradient(180deg, rgba(7, 10, 15, 0.2), rgba(7, 10, 15, 0.96)),
        linear-gradient(135deg, #070A0F 0%, #0B1719 48%, #15100A 100%);
}

#hero::before,
#hero::after {
    display: none;
}

.hero-flow-canvas,
.hero-noise {
    position: absolute;
    inset: 0;
}

.hero-flow-canvas {
    z-index: 0;
    width: 100%;
    height: 100%;
}

.hero-noise {
    z-index: 1;
    opacity: 0.16;
    background-image:
        repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.08) 38px 39px),
        repeating-linear-gradient(0deg, transparent 0 38px, rgba(255, 255, 255, 0.06) 38px 39px);
    mask-image: linear-gradient(180deg, #000, transparent 88%);
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
    gap: 54px;
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 12px;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

#hero h1 {
    max-width: 780px;
    margin: 22px 0;
    font-size: 4.35rem;
    line-height: 1;
    letter-spacing: 0;
    text-align: left;
    animation: hero-rise 0.9s ease-out both;
}

#hero h1 span {
    background: linear-gradient(110deg, #fff 0%, var(--primary-color) 38%, var(--accent-gold) 70%, #fff 100%);
    background-size: 230% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-flow 5s ease-in-out infinite;
}

#hero p {
    max-width: 680px;
    margin: 0 0 34px;
    color: rgba(234, 242, 248, 0.76);
    font-size: 1.18rem;
    line-height: 1.75;
    text-align: left;
    animation: hero-rise 0.9s ease-out 0.12s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    animation: hero-rise 0.9s ease-out 0.22s both;
}

.btn {
    border-radius: 8px;
    font-weight: 800;
}

.btn-primary {
    color: #061014;
    background: var(--gradient-primary);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 44px rgba(0, 245, 212, 0.18);
}

.btn-primary:hover {
    color: #061014;
    box-shadow: 0 24px 60px rgba(255, 184, 0, 0.2);
}

.btn-secondary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    animation: none;
}

.btn-secondary:hover,
.btn-hero-secondary:hover {
    color: #fff;
    border-color: rgba(0, 245, 212, 0.38);
    transform: translateY(-3px);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    color: rgba(234, 242, 248, 0.8);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    animation: hero-rise 0.9s ease-out 0.28s both;
}

.hero-device {
    position: absolute;
    inset: 46px 0 42px 20px;
    border: 1px solid rgba(0, 245, 212, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        rgba(11, 18, 24, 0.72);
    background-size: 34px 34px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}

.hero-device::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(0, 245, 212, 0.16) 42%, transparent 62%);
    transform: translateX(-120%);
    animation: device-scan 4.8s ease-in-out infinite;
}

.hero-device-bar {
    display: flex;
    gap: 8px;
    padding: 18px;
}

.hero-device-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary-color);
}

.hero-device-bar span:nth-child(2) {
    background: var(--accent-gold);
}

.hero-device-bar span:nth-child(3) {
    background: var(--accent-purple);
}

.hero-device-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px;
}

.hero-device-panel {
    min-height: 96px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.055);
}

.hero-device-panel-wide {
    grid-column: span 2;
    min-height: 140px;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.16), rgba(255, 184, 0, 0.08));
}

.hero-device-panel-accent {
    background: linear-gradient(135deg, rgba(255, 61, 139, 0.16), rgba(0, 245, 212, 0.08));
}

.hero-data-line {
    width: 72%;
    height: 9px;
    margin: 14px 18px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    animation: data-pulse 2.8s ease-in-out infinite;
}

.hero-data-line-short {
    width: 46%;
    animation-delay: 0.5s;
}

.hero-metric {
    position: absolute;
    z-index: 2;
    width: 188px;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 15, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    animation: panel-float 4s ease-in-out infinite;
}

.hero-metric strong {
    display: block;
    color: #fff;
    font-size: 1.3rem;
}

.hero-metric span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-metric-a {
    top: 0;
    right: 18px;
}

.hero-metric-b {
    left: 0;
    bottom: 26px;
    animation-delay: 1s;
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes text-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes device-scan {
    0%, 30% { transform: translateX(-120%); }
    70%, 100% { transform: translateX(120%); }
}

@keyframes data-pulse {
    0%, 100% { opacity: 0.55; transform: scaleX(0.75); transform-origin: left; }
    50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

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

/* Full-page section polish */
#about,
#stats,
#portfolio,
#blog,
#faq,
#contact,
#clients,
#process,
#packages,
#cta-parallax {
    background: transparent;
}

#about .about-content-wrapper,
.stat-item,
.portfolio-item,
.blog-card,
.faq-item,
.contact-form,
.contact-info,
#form-success-message,
#main-footer,
.client-logo,
.about-feature {
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(9, 14, 20, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

#about .about-content-wrapper {
    padding: 42px;
    position: relative;
    overflow: hidden;
}

#about .about-content-wrapper::before,
.stat-item::before,
.portfolio-item::before,
.blog-card::before,
.faq-item::before,
.contact-form::before,
.contact-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 245, 212, 0.12), transparent);
    transform: translateX(-120%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

#about .about-content-wrapper:hover::before,
.stat-item:hover::before,
.portfolio-item:hover::before,
.blog-card:hover::before,
.faq-item:hover::before,
.contact-form:hover::before,
.contact-info:hover::before {
    transform: translateX(120%);
}

.about-grid {
    align-items: stretch;
}

.about-text p,
.about-feature p {
    color: var(--text-light);
}

.about-text strong,
.about-feature h4 {
    color: var(--primary-color);
}

.about-feature {
    margin-bottom: 18px;
}

.about-feature:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 245, 212, 0.34);
    box-shadow: 0 24px 70px rgba(0, 245, 212, 0.08);
}

#clients {
    width: 100%;
    max-width: none;
}

#clients .clients-title,
#clients .clients-grid {
    width: min(90%, 1180px);
    margin-left: auto;
    margin-right: auto;
}

.clients-grid {
    gap: 16px;
}

.client-logo {
    width: 190px;
    height: 96px;
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 184, 0, 0.32);
}

.client-logo img {
    opacity: 0.78;
}

#process::before,
#stats::before,
#faq::before,
#cta-parallax::before {
    display: none;
}

.process-visual,
.process-milestone,
.service-package-panel {
    border-color: rgba(0, 245, 212, 0.18);
}

.process-milestone:hover {
    transform: translateX(8px) translateY(-2px);
}

.stat-item {
    transform-style: preserve-3d;
}

.stat-item:hover {
    transform: translateY(-10px) rotateX(2deg);
    border-color: rgba(0, 245, 212, 0.34);
}

.stat-item h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#packages::after {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.05), transparent 48%, rgba(255, 184, 0, 0.05));
}

.service-package-panel {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, rgba(11, 19, 25, 0.96), rgba(8, 10, 13, 0.98));
    background-size: 30px 30px, 30px 30px, auto;
}

.service-capability:hover {
    transform: translateY(-10px);
}

.portfolio-grid {
    gap: 18px;
}

.portfolio-item {
    min-height: 330px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 212, 0.34);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.portfolio-content {
    background: linear-gradient(to top, rgba(7, 10, 15, 0.96), rgba(7, 10, 15, 0.45), transparent);
}

.portfolio-content h3,
.blog-card-content h3,
.faq-question,
.contact-info h4 {
    color: #fff;
}

#blog .blog-grid {
    gap: 24px;
}

.blog-card {
    overflow: hidden;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 184, 0, 0.34);
}

.blog-card img {
    filter: saturate(0.85) contrast(1.05);
}

.blog-card:hover img {
    filter: saturate(1.1) contrast(1.06);
    transform: scale(1.05);
}

.blog-card .btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-grid {
    gap: 14px;
}

.faq-item {
    position: relative;
}

.faq-item.active {
    border-color: rgba(0, 245, 212, 0.4);
    box-shadow: 0 22px 70px rgba(0, 245, 212, 0.08);
}

.faq-answer p,
.contact-description,
.contact-info p,
.footer-about p,
.blog-card-content p {
    color: var(--text-light);
}

#cta-parallax {
    background:
        linear-gradient(135deg, rgba(0, 245, 212, 0.12), rgba(255, 184, 0, 0.08)),
        rgba(7, 10, 15, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#cta-parallax::after {
    background: linear-gradient(90deg, transparent, rgba(0, 245, 212, 0.45), rgba(255, 184, 0, 0.34), transparent);
}

#contact .contact-content-wrapper {
    align-items: stretch;
}

.contact-form,
.contact-info {
    position: relative;
    overflow: hidden;
}

.form-group input,
.form-group textarea,
.form-group select {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 245, 212, 0.1);
}

#main-footer {
    border-top: 1px solid rgba(0, 245, 212, 0.16);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        rgba(7, 10, 15, 0.96);
    background-size: 46px 46px;
}

.scroll-to-top {
    border-radius: 8px;
    background: var(--gradient-primary);
    color: #071017;
}

@media (max-width: 992px) {
    #hero {
        padding-top: 132px;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    #hero h1 {
        font-size: 3.35rem;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-device {
        inset: 34px 10px 34px 10px;
        transform: none;
    }
}

@media (max-width: 768px) {
    header {
        top: 10px;
    }

    header .container {
        width: min(94%, 1180px);
    }

    #logo img {
        height: 48px;
    }

    #main-nav.is-open {
        top: calc(100% + 10px);
        width: min(94%, 360px);
        left: auto;
        right: 3%;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(7, 10, 15, 0.96);
        padding: 10px;
    }

    #main-nav ul li a {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        border-radius: 8px;
        text-align: left;
    }

    #main-nav ul li {
        width: 100%;
    }

    #hero {
        padding: 120px 0 70px;
        min-height: auto;
    }

    #hero h1 {
        font-size: 2.55rem;
    }

    #hero p {
        font-size: 1.03rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .btn-hero,
    .btn-hero-secondary {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-visual {
        min-height: 360px;
    }

    .hero-metric {
        width: 148px;
        padding: 14px;
    }

    .section-title {
        font-size: 2.05rem;
    }

    #about .about-content-wrapper {
        padding: 26px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 1rem;
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    .hero-proof span {
        width: 100%;
        justify-content: center;
    }

    .hero-device-grid {
        gap: 8px;
        padding: 12px;
    }

    .hero-device-panel {
        min-height: 76px;
    }

    .hero-device-panel-wide {
        min-height: 108px;
    }

    .portfolio-item {
        min-height: 260px;
    }
}

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

/* ==========================================
   BRIGHT CONVERSION SKIN + MORE MOTION
   ========================================== */

:root {
    --primary-color: #00BFA6;
    --primary-dark: #087F73;
    --accent-cyan: #00D9C5;
    --accent-purple: #E63888;
    --accent-gold: #FFB31A;
    --surface-color: #F6FAFF;
    --secondary-color: #EAF2F8;
    --surface-elevated: #FFFFFF;
    --text-color: #0B1420;
    --text-light: #526173;
    --border-color: rgba(11, 20, 32, 0.1);
    --shadow-sm: 0 8px 28px rgba(11, 20, 32, 0.08);
    --shadow-md: 0 18px 48px rgba(11, 20, 32, 0.12);
    --shadow-lg: 0 28px 80px rgba(11, 20, 32, 0.16);
    --gradient-primary: linear-gradient(135deg, #00D9C5 0%, #FFB31A 100%);
    --gradient-rich: linear-gradient(135deg, #00D9C5 0%, #FFB31A 48%, #E63888 100%);
}

body {
    background:
        linear-gradient(90deg, rgba(11, 20, 32, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(11, 20, 32, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 12% 0%, rgba(0, 217, 197, 0.17), transparent 34%),
        radial-gradient(ellipse at 90% 8%, rgba(255, 179, 26, 0.16), transparent 32%),
        #F6FAFF;
    background-size: 72px 72px, 72px 72px, auto, auto, auto;
    color: var(--text-color);
}

body::before {
    background:
        linear-gradient(135deg, rgba(0, 217, 197, 0.14), transparent 30%),
        linear-gradient(315deg, rgba(255, 179, 26, 0.14), transparent 34%),
        linear-gradient(180deg, transparent, rgba(230, 56, 136, 0.08));
}

body::after {
    opacity: 0.18;
    background-image: linear-gradient(rgba(11, 20, 32, 0.08) 1px, transparent 1px);
}

header .container {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(11, 20, 32, 0.08);
    box-shadow: 0 18px 60px rgba(11, 20, 32, 0.12);
}

header.scrolled .container {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 191, 166, 0.22);
}

#main-nav a {
    color: rgba(11, 20, 32, 0.72);
}

#main-nav a:hover {
    color: var(--text-color);
    background: rgba(11, 20, 32, 0.06);
}

#main-nav a[href="#contact"] {
    color: #071017;
}

#hero {
    background:
        linear-gradient(180deg, rgba(246, 250, 255, 0.7), rgba(246, 250, 255, 0.96)),
        linear-gradient(135deg, #F6FAFF 0%, #ECFBF8 46%, #FFF8E5 100%);
}

#hero h1,
.section-title,
.process-copy h3,
.service-package-top .section-title,
.portfolio-content h3,
.blog-card-content h3,
.faq-question,
.contact-info h4 {
    color: var(--text-color);
    text-shadow: none;
}

#hero h1 span {
    background: linear-gradient(110deg, #0B1420 0%, #00BFA6 34%, #FFB31A 66%, #E63888 100%);
    background-size: 230% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hero p,
.section-lead,
.service-package-lead,
.process-copy p,
.service-capability p,
.faq-answer p,
.contact-description,
.contact-info p,
.footer-about p,
.blog-card-content p,
.about-text p,
.about-feature p {
    color: var(--text-light);
}

.hero-kicker,
.section-kicker {
    color: #062622;
    background: rgba(0, 217, 197, 0.14);
    border-color: rgba(0, 191, 166, 0.28);
}

.hero-proof span,
.process-signal,
.hero-metric {
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(11, 20, 32, 0.08);
}

.hero-metric span,
.process-signal span {
    color: var(--text-light);
}

.hero-device,
.process-visual,
.service-package-panel {
    background:
        linear-gradient(90deg, rgba(11, 20, 32, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(11, 20, 32, 0.035) 1px, transparent 1px),
        rgba(255, 255, 255, 0.74);
    border-color: rgba(0, 191, 166, 0.2);
    box-shadow: 0 34px 90px rgba(11, 20, 32, 0.12);
}

.hero-device-panel,
.service-capability,
.process-milestone,
#about .about-content-wrapper,
.stat-item,
.portfolio-item,
.blog-card,
.faq-item,
.contact-form,
.contact-info,
#form-success-message,
.about-feature,
.client-logo {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74));
    border-color: rgba(11, 20, 32, 0.08);
    color: var(--text-color);
    box-shadow: 0 22px 70px rgba(11, 20, 32, 0.1);
}

.hero-device-panel-wide {
    background: linear-gradient(135deg, rgba(0, 217, 197, 0.22), rgba(255, 179, 26, 0.16));
}

.hero-device-panel-accent {
    background: linear-gradient(135deg, rgba(230, 56, 136, 0.18), rgba(0, 217, 197, 0.14));
}

.service-rate {
    background: rgba(255, 255, 255, 0.78);
    color: var(--text-color);
    border-color: rgba(0, 191, 166, 0.22);
}

.service-capabilities {
    background: rgba(11, 20, 32, 0.08);
    border-color: rgba(11, 20, 32, 0.08);
}

.service-capability:hover,
.process-milestone:hover,
.faq-item.active,
.blog-card:hover,
.portfolio-item:hover,
.about-feature:hover,
.stat-item:hover {
    background: #fff;
    border-color: rgba(0, 191, 166, 0.28);
    box-shadow: 0 30px 90px rgba(0, 191, 166, 0.13);
}

.portfolio-content {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.6), transparent);
}

.portfolio-content p {
    color: var(--text-light);
}

.scroll-to-top,
.btn-primary {
    color: #061014;
}

/* Moving trust section */
#clients {
    overflow: hidden;
}

#clients .clients-title,
#clients .clients-grid {
    width: auto;
}

.clients-head {
    width: min(90%, 1180px);
    margin: 0 auto 34px;
    text-align: center;
}

.clients-head .clients-title {
    max-width: 760px;
    margin: 16px auto 0;
    color: var(--text-color);
    text-transform: none;
    letter-spacing: 0;
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    line-height: 1.12;
    font-family: var(--heading-font);
}

.clients-head .clients-title::after {
    display: none;
}

.clients-showcase {
    --spotlight-x: 50%;
    --spotlight-y: 50%;
    position: relative;
    width: min(94%, 1260px);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 26px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(11, 20, 32, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(11, 20, 32, 0.035) 1px, transparent 1px),
        radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(0, 217, 197, 0.2), transparent 32%),
        rgba(255, 255, 255, 0.72);
    background-size: 38px 38px;
    border: 1px solid rgba(11, 20, 32, 0.08);
    box-shadow: 0 28px 80px rgba(11, 20, 32, 0.1);
    overflow: hidden;
}

.clients-showcase::before,
.clients-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 130px;
    pointer-events: none;
}

.clients-showcase::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), transparent);
}

.clients-showcase::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.95), transparent);
}

.clients-marquee {
    overflow: hidden;
}

.clients-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: client-marquee 28s linear infinite;
}

.clients-showcase:hover .clients-track {
    animation-play-state: paused;
}

.client-logo {
    flex: 0 0 210px;
    height: 112px;
    transform: translateY(0);
    animation: logo-bob 5s ease-in-out infinite;
}

.client-logo:nth-child(2n) {
    animation-delay: 0.7s;
}

.client-logo:nth-child(3n) {
    animation-delay: 1.4s;
}

.client-logo img {
    opacity: 0.9;
    filter: grayscale(0.25) contrast(1.02);
}

.client-logo:hover {
    transform: translateY(-8px) scale(1.04);
}

.client-logo:hover img {
    filter: grayscale(0) contrast(1.05);
}

.clients-proof {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.clients-proof div {
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(11, 20, 32, 0.08);
}

.clients-proof strong {
    display: block;
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.clients-proof span {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.45;
}

@keyframes client-marquee {
    to { transform: translateX(calc(-50% - 9px)); }
}

@keyframes logo-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* Premium contact form */
.contact-heading {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.contact-content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    gap: 26px;
}

.contact-form,
.contact-info {
    --spotlight-x: 50%;
    --spotlight-y: 50%;
    padding: clamp(24px, 4vw, 42px);
    box-sizing: border-box;
    min-width: 0;
    background:
        radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(0, 217, 197, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
}

.contact-form {
    max-width: none;
    gap: 18px;
}

.form-intro {
    margin-bottom: 4px;
}

.form-intro span,
.contact-card-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.form-intro h3 {
    margin: 0;
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group-full {
    width: 100%;
}

.form-group label:not(.sr-only) {
    display: block;
    margin: 0 0 8px;
    color: var(--text-color);
    font-weight: 800;
    font-size: 0.92rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    min-height: 58px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(11, 20, 32, 0.12);
    color: var(--text-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(82, 97, 115, 0.7);
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 191, 166, 0.14);
}

.contact-form .btn {
    width: 100%;
    align-self: stretch;
    margin-top: 4px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info h4 {
    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.contact-next-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

.contact-next-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-light);
    line-height: 1.55;
}

.contact-next-list li::before {
    content: '';
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 0 18px rgba(0, 191, 166, 0.22);
}

.contact-direct {
    display: grid;
    gap: 10px;
    margin: auto 0 26px;
}

.contact-direct a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--text-color);
    background: rgba(11, 20, 32, 0.05);
    border: 1px solid rgba(11, 20, 32, 0.08);
    text-decoration: none;
    font-weight: 800;
}

.contact-direct a:hover {
    color: var(--primary-dark);
    background: #fff;
}

.contact-meta {
    padding-top: 20px;
    border-top: 1px solid rgba(11, 20, 32, 0.08);
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .clients-proof,
    .contact-content-wrapper,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-content-wrapper {
        width: 100%;
    }

    .clients-showcase::before,
    .clients-showcase::after {
        width: 52px;
    }
}

@media (max-width: 560px) {
    .clients-showcase {
        padding: 18px;
    }

    .client-logo {
        flex-basis: 170px;
        height: 92px;
    }

    .clients-track {
        animation-duration: 22s;
    }

    .contact-form,
    .contact-info {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .clients-track,
    .client-logo {
        animation: none;
    }
}
