/* ═══════════════════════════════════════════════════ */
/* RESET & CSS VARIABLES                              */
/* ═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f4f7fa;
    --text-main: #0c1024;
    --text-muted: #3a4b63;
    --text-dim: #5c6f8a;
    --primary: #00bae3;
    --primary-dark: #008ba8;
    --secondary: #6366f1;
    --accent: #ec4899;
    --card-bg: rgba(255, 255, 255, 0.78);
    --card-border: rgba(99, 102, 241, 0.08);
    --shadow-sm: 0 2px 8px rgba(12, 16, 36, 0.04);
    --shadow-md: 0 8px 30px rgba(12, 16, 36, 0.06);
    --shadow-lg: 0 16px 40px rgba(99, 102, 241, 0.08);
    --font-title: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    position: relative;
    font-family: var(--font-body);
    color: var(--text-main);
    background: transparent;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

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

::-webkit-scrollbar-track {
    background: #eef2f6;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════ */
/* BACKGROUND & GLOW EFFECTS                          */
/* ═══════════════════════════════════════════════════ */
.bg-base {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: -10;
    pointer-events: none;
}

#canvas-container {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
}

#scroll-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    pointer-events: none;
    overflow: visible;
}

.cursor-glow {
    position: fixed;
    inset: 0;
    z-index: -6;
    pointer-events: none;
    background: radial-gradient(circle 450px at var(--mouse-x, 50vw) var(--mouse-y, 50vh),
            rgba(0, 186, 227, 0.1),
            rgba(99, 102, 241, 0.06) 45%,
            transparent 80%);
    transition: opacity 0.5s ease;
}

/* Decorative Background Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -8;
    pointer-events: none;
    opacity: 0.4;
}

.orb-1 {
    top: 15%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 186, 227, 0.3) 0%, transparent 80%);
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-2 {
    top: 50%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 80%);
    animation: orbFloat 30s infinite alternate-reverse ease-in-out;
}

.orb-3 {
    bottom: 5%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 80%);
    animation: orbFloat 20s infinite alternate ease-in-out;
}

@keyframes orbFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-40px) scale(1.1);
    }
}

/* ═══════════════════════════════════════════════════ */
/* PRELOADER (PREMIUM DEEP SPACE DESIGN)               */
/* ═══════════════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(7, 12, 26, 9.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1), opacity 1.2s cubic-bezier(0.85, 0, 0.15, 1), visibility 1.2s;
    transform: translateY(0);
}

#loader.hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-glowing-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 186, 227, 0.15) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    animation: loaderPulse 4s infinite alternate ease-in-out;
}

.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.loader-orbital {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbital-ring {
    position: absolute;
    border: 1.5px solid transparent;
    border-radius: 50%;
}

.orbital-ring.ring-1 {
    inset: 0;
    border-top-color: var(--primary);
    border-bottom-color: var(--primary);
    animation: loaderRotate 2.5s linear infinite;
}

.orbital-ring.ring-2 {
    inset: 15px;
    border-left-color: var(--secondary);
    border-right-color: var(--secondary);
    animation: loaderRotate 2s linear infinite reverse;
}

.orbital-ring.ring-3 {
    inset: 30px;
    border-top-color: var(--accent);
    border-bottom-color: var(--accent);
    animation: loaderRotate 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.orbital-core {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 12px var(--primary);
    animation: corePulse 1.5s infinite alternate ease-in-out;
}

.loader-text {
    font-family: var(--font-title);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    display: flex;
    gap: 2px;
}

.loader-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    animation: letterReveal 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: calc(var(--i) * 0.06s);
    background: linear-gradient(135deg, #fff 40%, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
}

.loader-percentage-wrap {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 40%, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.percentage-symbol {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-left: 2px;
    vertical-align: super;
}

.loader-progress-wrap {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    box-shadow: 0 0 12px var(--primary);
    transition: width 0.3s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.loader-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    height: 15px;
    transition: opacity 0.3s ease;
}

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

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

@keyframes loaderPulse {
    0% {
        transform: scale(0.9) opacity: 0.8;
    }

    100% {
        transform: scale(1.1) opacity: 1.2;
    }
}

@keyframes corePulse {
    0% {
        transform: scale(0.85);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    50% {
        width: 45%;
    }

    80% {
        width: 85%;
    }

    100% {
        width: 100%;
    }
}

@keyframes textFade {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 0.8;
    }
}

/* ═══════════════════════════════════════════════════ */
/* HEADER                                             */
/* ═══════════════════════════════════════════════════ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 50;
    background: rgba(244, 247, 250, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(12, 16, 36, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    transition: all 0.4s ease;
}

#header.scrolled {
    height: 70px;
    background: rgba(244, 247, 250, 0.85);
    box-shadow: var(--shadow-sm);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.header-nav a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    letter-spacing: 0.3px;
}

.header-nav a:hover {
    color: var(--primary-dark);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 0.65rem 1.4rem;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0, 186, 227, 0.15);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 186, 227, 0.25);
}

/* ═══════════════════════════════════════════════════ */
/* LAYOUT CONTAINERS & GRID                           */
/* ═══════════════════════════════════════════════════ */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7.5rem 0;
    position: relative;
}

.section-header {
    max-width: 600px;
    margin-bottom: 4.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(99, 102, 241, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.stitle {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

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

.sdesc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Glass Panel Styling */
.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.glass-panel:hover {
    border-color: rgba(99, 102, 241, 0.18);
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════ */
/* HERO SECTION                                       */
/* ═══════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content .stitle {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
}

.hero-content .sdesc {
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 186, 227, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 186, 227, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--text-main);
    border: 1px solid rgba(12, 16, 36, 0.08);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Hero Mockup Panel */
.hero-mockup {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-card {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(12, 16, 36, 0.04);
    padding-bottom: 0.8rem;
}

.mockup-dots {
    display: flex;
    gap: 0.4rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red {
    background: #ff5f56;
}

.mockup-dot.yellow {
    background: #ffbd2e;
}

.mockup-dot.green {
    background: #27c93f;
}

.mockup-tab {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: #eef2f6;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.mockup-body-img {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    background: transparent;
}

.dashboard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

/* ═══════════════════════════════════════════════════ */
/* STATS BAR                                          */
/* ═══════════════════════════════════════════════════ */
.stats-bar {
    padding: 2.5rem 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(12, 16, 36, 0.03);
    border-bottom: 1px solid rgba(12, 16, 36, 0.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-title);
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ═══════════════════════════════════════════════════ */
/* SERVICES SECTION                                   */
/* ═══════════════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 186, 227, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.service-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
}

.service-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: gap 0.3s;
}

.service-card:hover .service-link {
    gap: 0.8rem;
}

/* ═══════════════════════════════════════════════════ */
/* PORTFOLIO                                          */
/* ═══════════════════════════════════════════════════ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-height: 380px;
}

.portfolio-visual {
    height: 180px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(238, 242, 246, 0.8), rgba(220, 225, 235, 0.8));
    border: 1px solid rgba(12, 16, 36, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.portfolio-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    background: rgba(99, 102, 241, 0.07);
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    margin-top: 0.2rem;
    margin-bottom: -0.5rem;
}


.portfolio-visual-content {
    width: 80%;
    height: 80%;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(12, 16, 36, 0.02);
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Portfolio Browser Mockup */
.portfolio-browser-mockup {
    width: 85%;
    height: 85%;
    background: #fff;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(12, 16, 36, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-browser-header {
    height: 14px;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    border-bottom: 1px solid rgba(12, 16, 36, 0.04);
}

.portfolio-browser-header .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    display: inline-block;
}
.portfolio-browser-header .dot.red { background: #ff5f56; }
.portfolio-browser-header .dot.yellow { background: #ffbd2e; }
.portfolio-browser-header .dot.green { background: #27c93f; }

.portfolio-browser-body {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.portfolio-browser-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Portfolio Phone Mockup Image Wrapper */
.portfolio-phone-image-wrapper {
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.portfolio-phone-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
}

.portfolio-card:hover .portfolio-browser-mockup,
.portfolio-card:hover .portfolio-phone-image-wrapper {
    transform: translateY(-4px) scale(1.02);
}



.portfolio-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
}

.portfolio-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════ */
/* PROCESS TIMELINE                                   */
/* ═══════════════════════════════════════════════════ */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px rgba(0, 186, 227, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-marker {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.timeline-content {
    padding: 1.8rem 2rem;
}

.timeline-step {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.timeline-item:nth-child(even) .timeline-step {
    color: var(--secondary);
}

.timeline-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.timeline-text {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════ */
/* CONTACT & FORM                                     */
/* ═══════════════════════════════════════════════════ */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 186, 227, 0.08);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-title {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-item-value {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.contact-item-value a {
    color: var(--primary-dark);
    text-decoration: none;
}

.contact-item-value a:hover {
    text-decoration: underline;
}

.contact-form-panel {
    padding: 2.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    background: rgba(240, 244, 248, 0.4);
    border: 1px solid rgba(12, 16, 36, 0.06);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 186, 227, 0.08);
}

textarea.form-input {
    resize: vertical;
    min-height: 110px;
}

.form-status {
    display: none;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-size: 0.84rem;
    text-align: center;
    line-height: 1.4;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #059669;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.form-status.loading {
    display: block;
    background: rgba(0, 186, 227, 0.06);
    border: 1px solid rgba(0, 186, 227, 0.15);
    color: #0891b2;
}

/* ═══════════════════════════════════════════════════ */
/* FOOTER                                             */
/* ═══════════════════════════════════════════════════ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(12, 16, 36, 0.04);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    margin-top: 5rem;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

/* ═══════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN                                  */
/* ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    #header {
        padding: 0 2rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-content .stitle {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    #header {
        padding: 0 1.5rem;
    }

    .header-nav {
        display: none;
    }

    /* Mobile simplified header */
    .hero {
        align-items: flex-start;
        padding-top: calc(var(--nav-height) + 3rem);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content .stitle {
        font-size: 2.6rem;
    }

    .hero-content .sdesc {
        margin: 0 auto 2rem;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-panel {
        padding: 1.8rem;
    }

    .footer-layout {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════ */
/* CUSTOM PREMIUM CURSOR                              */
/* ═══════════════════════════════════════════════════ */
@media (pointer: fine) {

    body,
    a,
    button,
    input,
    textarea,
    select,
    .glass-panel,
    .portfolio-card,
    .service-card,
    .btn,
    .header-cta {
        cursor: none !important;
    }

    #custom-cursor-ring {
        position: fixed;
        width: 32px;
        height: 32px;
        border: 2px solid rgba(0, 186, 227, 0.55);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1),
            height 0.35s cubic-bezier(0.25, 1, 0.5, 1),
            background-color 0.35s ease,
            border-color 0.35s ease;
        mix-blend-mode: difference;
        will-change: transform, width, height;
    }

    #custom-cursor-dot {
        position: fixed;
        width: 7px;
        height: 7px;
        background-color: var(--secondary);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        transition: background-color 0.3s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        will-change: left, top, transform;
    }

    body.hover-link #custom-cursor-ring {
        width: 52px;
        height: 52px;
        background-color: rgba(0, 186, 227, 0.15);
        border-color: var(--accent);
    }

    body.hover-link #custom-cursor-dot {
        background-color: var(--accent);
        transform: translate(-50%, -50%) scale(1.6);
    }
}

@media (pointer: coarse) {

    #custom-cursor-ring,
    #custom-cursor-dot {
        display: none !important;
    }
}

/* Page Reveal States */
body:not(.loaded) #header,
body:not(.loaded) .hero-content,
body:not(.loaded) .hero-mockup {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
}

#header,
.hero-content,
.hero-mockup {
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Phone UI Optimizations (< 480px) */
@media (max-width: 480px) {
    .content-container {
        padding: 0 1.25rem;
    }

    #header {
        padding: 0 1.25rem;
    }

    .logo-wrap {
        font-size: 1.15rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }

    .header-cta {
        padding: 0.5rem 1rem;
        font-size: 0.78rem;
    }

    .section {
        padding: 4.5rem 0;
        padding-top: 95px;
    }

    .section-header {
        margin-bottom: 2.2rem;
    }

    .section-header .stitle {
        font-size: 1.9rem;
    }

    .badge {
        margin-bottom: 0.8rem;
    }

    .hero-content .stitle {
        font-size: 2.1rem;
        line-height: 1.25;
    }

    .hero-content .sdesc {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding: 0;
    }

    .hero-ctas .btn {
        width: 100%;
        box-sizing: border-box;
        padding: 0.85rem 1.6rem;
        font-size: 0.88rem;
    }

    .hero-mockup {
        height: 280px;
        margin-top: 1rem;
    }

    .stats-bar {
        padding: 2rem 0;
    }

    .stats-grid {
        gap: 1.2rem;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline::before {
        left: 9px;
    }

    .timeline-marker {
        left: -2rem;
        width: 20px;
        height: 20px;
        border-width: 2.5px;
    }

    .timeline-content {
        padding: 1.2rem 1.4rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .contact-form-panel {
        padding: 1.4rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        gap: 0.8rem;
    }

    .contact-icon-box {
        width: 36px;
        height: 36px;
    }
}