/* ============================================
   DESIGN TOKENS — NEON SUNSET GRADIENT THEME
   ============================================ */
:root {
    /* Backgrounds */
    --bg-primary: #0B0F2A;
    --bg-secondary: #12163A;
    --bg-card: #161B42;
    --bg-card-hover: #1D2352;

    /* Primary Gradient: Gold → Orange → Red-Pink */
    --gradient-primary: linear-gradient(135deg, #FFD21F 0%, #FF8A1F 40%, #FF3D5A 100%);
    --gradient-primary-text: linear-gradient(135deg, #FFD21F 0%, #FF8A1F 50%, #FF3D5A 100%);

    /* Secondary Gradient: Pink → Purple → Violet */
    --gradient-secondary: linear-gradient(135deg, #FF4DB8 0%, #C23BFF 50%, #7A2CFF 100%);

    /* Accent colors */
    --accent-gold: #FFD21F;
    --accent-orange: #FF8A1F;
    --accent-red: #FF3D5A;
    --accent-pink: #FF4DB8;
    --accent-purple: #C23BFF;
    --accent-violet: #7A2CFF;

    /* Text */
    --text-primary: #F5F5F5;
    --text-secondary: #A0A5C0;
    --text-muted: #5A5F80;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(255, 138, 31, 0.25);

    /* Shadows & Glows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.6);
    --glow-primary: 0 0 40px rgba(255, 138, 31, 0.2);
    --glow-strong: 0 0 60px rgba(255, 61, 90, 0.25);
    --glow-btn: 0 4px 30px rgba(255, 138, 31, 0.35);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 0 40px;
    --section-padding: 120px 0;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-full: 100px;

    /* Transitions */
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.2s;
    --t-base: 0.35s;
    --t-slow: 0.6s;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for floating navbar */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

::selection {
    background: rgba(255, 138, 31, 0.3);
    color: var(--text-primary);
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.97);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--t-base) var(--ease-out);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(11, 15, 42, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color var(--t-fast) var(--ease-out);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--t-base) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--t-base) var(--ease-out);
    box-shadow: var(--glow-btn);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--t-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(255, 138, 31, 0.45);
}

.nav-cta:hover::before {
    opacity: 1;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--t-base) var(--ease-out);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO — IMMERSIVE FULL-WIDTH
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Background image — full bleed, no card, no border-radius */
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 100%;
}

/* GRADIENT OVERLAYS — cinematic blending */
.hero-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 100%);
    z-index: 2;
}

.hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(0deg,
            var(--bg-primary) 0%,
            rgba(11, 15, 42, 0.95) 25%,
            rgba(11, 15, 42, 0.7) 50%,
            transparent 100%);
    z-index: 2;
}

.hero-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 45%;
    background: linear-gradient(90deg,
            rgba(11, 15, 42, 0.92) 0%,
            rgba(11, 15, 42, 0.6) 50%,
            transparent 100%);
    z-index: 2;
}

.hero-overlay-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 55% 40%,
            transparent 20%,
            rgba(11, 15, 42, 0.3) 50%,
            rgba(11, 15, 42, 0.7) 80%);
    z-index: 2;
}

/* Glowing orbs for neon atmosphere */
.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 2;
    pointer-events: none;
}

.hero-glow-orb-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    right: 15%;
    background: radial-gradient(circle, rgba(255, 61, 90, 0.15) 0%, transparent 70%);
    animation: orbFloat1 10s ease-in-out infinite alternate;
    translate: var(--mouseX, 0) var(--mouseY, 0);
    transition: translate 0.5s var(--ease-out);
}

.hero-glow-orb-2 {
    width: 400px;
    height: 400px;
    bottom: 20%;
    left: 10%;
    background: radial-gradient(circle, rgba(194, 59, 255, 0.1) 0%, transparent 70%);
    animation: orbFloat2 12s ease-in-out infinite alternate;
    translate: var(--mouseX, 0) var(--mouseY, 0);
    transition: translate 0.5s var(--ease-out);
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-30px, 20px) scale(1.15);
        opacity: 1;
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(20px, -15px) scale(1.1);
        opacity: 0.9;
    }
}

/* Hero Content */
.hero-container {
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px 60px;
    width: 100%;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 60px;
}

.hero-text-area {
    flex: 1;
    max-width: 600px;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards 0.3s;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.9s var(--ease-out) forwards;
}

.title-line-1 {
    font-size: clamp(3.5rem, 7vw, 7rem);
    color: var(--text-primary);
    animation-delay: 0.5s;
    text-shadow: 0 0 80px rgba(255, 138, 31, 0.15);
}

.title-line-2 {
    font-size: clamp(3.5rem, 7vw, 7rem);
    background: var(--gradient-primary-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-delay: 0.7s;
    filter: drop-shadow(0 0 30px rgba(255, 138, 31, 0.2));
}

.hero-side-text {
    max-width: 280px;
    flex-shrink: 0;
    padding-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards 1s;
}

.hero-quote {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.hero-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Hero Categories */
.hero-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards 1.3s;
}

.hero-category {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-number {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: var(--gradient-primary-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ============================================
   BRANDS
   ============================================ */
.brands {
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-primary);
    position: relative;
    z-index: 5;
}

.brands-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brands-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 120px;
    line-height: 1.5;
}

.brands-logos {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.5;
    transition: opacity var(--t-base) var(--ease-out);
}

.brand-item:hover {
    opacity: 1;
}

.brand-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--bg-primary);
    position: relative;
    z-index: 5;
}

.about-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    background: var(--gradient-primary-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.about-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-cta-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.about-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Shared CTA button */
.btn-round {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--t-base) var(--ease-out);
    box-shadow: var(--glow-btn);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-round::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--t-fast);
}

.btn-round:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(255, 138, 31, 0.45);
}

.btn-round:hover::before {
    opacity: 1;
}

/* ============================================
   PORTFOLIO CARDS
   ============================================ */
.portfolio {
    padding: 80px 0 120px;
    background: var(--bg-primary);
    position: relative;
    z-index: 5;
}

.portfolio-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.portfolio-card {
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    transition: all var(--t-slow) var(--ease-out);
    cursor: pointer;
    border: 1px solid var(--border-subtle);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--glow-primary);
    border-color: var(--border-accent);
}

.portfolio-card-image {
    height: 340px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Landscape image — fills full grid cell height */
.portfolio-card-large .portfolio-card-image {
    height: 100%;
}

/* Portrait images — tall mobile app mockups */
.portfolio-card-portrait .portfolio-card-image {
    height: 480px;
}

.card-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease-out);
}

.portfolio-card:hover .card-project-img,
.portfolio-card.overlay-active .card-project-img {
    transform: scale(1.08);
    filter: brightness(0.6);
}

/* ---- Overlay ---- */
.portfolio-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px 24px;
    background: linear-gradient(
        0deg,
        rgba(11, 15, 42, 0.95) 0%,
        rgba(11, 15, 42, 0.8) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
    z-index: 5;
    min-height: 50%;
}

/* Show full overlay on hover or click */
.portfolio-card:hover .portfolio-card-overlay,
.portfolio-card.overlay-active .portfolio-card-overlay {
    transform: translateY(0);
}

.overlay-content {
    flex: 1;
}

.card-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 138, 31, 0.15);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 138, 31, 0.2);
    /* Override the gradient text for pill style */
    -webkit-text-fill-color: var(--accent-orange);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out) 0.1s;
}

.portfolio-card:hover .card-description,
.portfolio-card.overlay-active .card-description {
    opacity: 1;
    transform: translateY(0);
}

/* Arrow icon */
.overlay-arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transform: translateY(10px) rotate(-45deg);
    transition: all 0.4s var(--ease-out) 0.15s;
    box-shadow: 0 4px 20px rgba(255, 138, 31, 0.3);
}

.portfolio-card:hover .overlay-arrow,
.portfolio-card.overlay-active .overlay-arrow {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.overlay-arrow:hover {
    box-shadow: 0 6px 28px rgba(255, 138, 31, 0.5);
    transform: translateY(-2px) scale(1.08) !important;
}

/* Bottom permanent hint — category + title peek */
.portfolio-card-overlay::before {
    display: none;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    z-index: 5;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 31, 0.15), transparent);
}

.services-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: start;
}

.services-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    background: var(--gradient-primary-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.services-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.services-cta-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.services-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all var(--t-slow) var(--ease-out);
    border: 1px solid var(--border-subtle);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md), 0 0 40px rgba(255, 138, 31, 0.08);
}

.service-card-accent {
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin-bottom: 32px;
    transition: width var(--t-base) var(--ease-out);
}

.service-card:hover .service-card-accent {
    width: 60px;
}

.service-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: var(--gradient-primary-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 5;
}

.features-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.feature-block {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 138, 31, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid rgba(255, 138, 31, 0.12);
}

.feature-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: var(--gradient-primary-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 160px 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
    background: var(--bg-primary);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse,
            rgba(255, 138, 31, 0.1) 0%,
            rgba(255, 61, 90, 0.06) 40%,
            transparent 70%);
    z-index: 0;
    animation: ctaGlow 7s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ctaGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.cta-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 1;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    text-align: left;
}

.cta-content {
    max-width: 100%;
}

.cta-form-wrapper {
    background: var(--bg-card);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--t-fast) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(255, 138, 31, 0.1);
}

.cta-button#submit-button {
    width: auto;
    padding: 16px 48px;
    justify-content: flex-start;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    transform: none; /* Reset any inherited floating */
}

.cta-button#submit-button:hover {
    transform: translateY(-2px); /* Very subtle grounded hover */
}

.form-result {
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.form-result.success {
    color: #4CAF50;
}

.form-result.error {
    color: #FF3D5A;
}

.cta-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    background: var(--gradient-primary-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--t-base) var(--ease-out);
    box-shadow: 0 6px 30px rgba(255, 138, 31, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--t-fast);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 50px rgba(255, 138, 31, 0.5);
}

.cta-button:hover::before {
    opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 60px 0 40px;
    background: var(--bg-secondary);
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--border-subtle);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--t-fast);
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-divider {
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: 32px;
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    transition: all var(--t-base) var(--ease-out);
}

.social-link:hover {
    color: var(--accent-orange);
    border-color: var(--border-accent);
    background: rgba(255, 138, 31, 0.08);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out);
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CUSTOM CURSOR — IMMERSIVE FLUID VERSION
   ============================================ */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}

.cursor-ring {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border 0.4s;
    will-change: transform, width, height;
}

/* Hover States — Immersive */
.cursor-ring.active {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(255, 138, 31, 0.4);
    background: rgba(255, 138, 31, 0.05);
}

.cursor-dot.active {
    width: 12px;
    height: 12px;
}

.cursor-ring.magnetic {
    border: 2px solid var(--accent-orange);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 138, 31, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 138, 31, 0.5);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 138, 31, 0.3) var(--bg-primary);
}

/* ---- Experience Highlights in About ---- */
.experience-highlights {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exp-item {
    position: relative;
    padding-left: 32px;
    border-left: 2px solid var(--border-subtle);
    padding-bottom: 8px;
    transition: all var(--t-base) var(--ease-out);
}

.exp-item:hover {
    border-left-color: var(--accent-orange);
}

.exp-dot {
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--border-subtle);
    transition: all var(--t-base) var(--ease-out);
}

.exp-item:hover .exp-dot {
    border-color: var(--accent-orange);
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.exp-role {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.exp-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Ensure cards and elements are smooth */
.portfolio-card, .service-card, .btn-round, .nav-cta {
    will-change: transform;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --container-padding: 0 30px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .hero-side-text {
        max-width: 100%;
    }

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

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

    .portfolio-card-large {
        grid-column: 1 / -1;
    }

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

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .cta-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .cta-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 0 20px;
        --section-padding: 80px 0;
    }

    /* --- Nav Mobile --- */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(11, 15, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--t-base);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* ==============================
       MOBILE HERO — CINEMATIC POSTER
       ============================== */
    .hero {
        min-height: 100svh;
        align-items: flex-end;
        position: relative;
        padding-top: 0;
    }

    /* Image fills the viewport — let it breathe */
    .hero-bg-image {
        position: absolute;
        inset: 0;
    }

    .hero-bg-image img {
        object-position: center 0%;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* --- Gradient Overlays: softer on mobile --- */
    /* Top overlay: just enough for the nav to be readable */
    .hero-overlay-top {
        height: 15%;
        background: linear-gradient(180deg,
                rgba(11, 15, 42, 0.6) 0%,
                transparent 100%);
    }

    /* Bottom overlay: strong gradient — covers only bottom portion */
    .hero-overlay-bottom {
        height: 45%;
        background: linear-gradient(0deg,
                var(--bg-primary) 0%,
                rgba(11, 15, 42, 0.98) 35%,
                rgba(11, 15, 42, 0.8) 55%,
                rgba(11, 15, 42, 0.3) 75%,
                transparent 100%);
    }

    /* Left overlay: disable on mobile — let the image be full width */
    .hero-overlay-left {
        display: none;
    }

    /* Radial overlay: softer to show more of the portrait */
    .hero-overlay-radial {
        background: radial-gradient(ellipse at 50% 35%,
                transparent 30%,
                rgba(11, 15, 42, 0.2) 55%,
                rgba(11, 15, 42, 0.5) 85%);
    }

    /* Glow orbs: smaller on mobile */
    .hero-glow-orb-1 {
        width: 250px;
        height: 250px;
        top: 5%;
        right: 5%;
    }

    .hero-glow-orb-2 {
        width: 200px;
        height: 200px;
        bottom: 30%;
        left: 5%;
    }

    /* Hero container: pushed down to bottom of viewport */
    .hero-container {
        padding: 0 20px 12px;
        position: relative;
        z-index: 10;
        margin-top: auto;
    }

    /* Stack the content vertically — very tight */
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 8px;
    }

    .hero-text-area {
        max-width: 100%;
    }

    .hero-greeting {
        font-size: 0.72rem;
        margin-bottom: 0;
    }

    /* Title: smaller on mobile — let the image dominate */
    .title-line-1,
    .title-line-2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.05;
    }

    .title-line-1 {
        text-shadow: 0 2px 40px rgba(11, 15, 42, 0.6);
    }

    .title-line-2 {
        filter: drop-shadow(0 2px 20px rgba(255, 138, 31, 0.3));
    }

    /* Side text: hide on mobile to save space */
    .hero-side-text {
        display: none;
    }

    /* Categories: compact 2-column grid */
    .hero-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding-top: 8px;
        margin-top: 0;
    }

    .hero-category {
        gap: 2px;
    }

    .category-number {
        font-size: 0.58rem;
    }

    .category-name {
        font-size: 0.65rem;
    }

    /* --- Other sections mobile --- */
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-card-image,
    .portfolio-card-large .portfolio-card-image {
        height: 260px;
    }

    .portfolio-card-portrait .portfolio-card-image {
        height: 400px;
    }

    .portfolio-card-overlay {
        transform: translateY(100%);
        padding: 24px 20px 20px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.78rem;
    }

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

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

    .brands-container {
        flex-direction: column;
        text-align: center;
    }

    .brands-label {
        max-width: none;
    }

    .brands-logos {
        justify-content: center;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-categories {
        grid-template-columns: 1fr;
    }

    .brands-logos {
        gap: 24px;
    }

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

/* Global scroll improvements */
html {
    scroll-padding-top: 100px;
}
/* --- CUTE & NICE THEME --- */
html, body, *, a, button, input, textarea, select {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23FF3D5A' stroke='white' stroke-width='1.5' d='M16 13c-2.5-3.5-7.5-3.5-9.5.5s.5 8 4.5 6l5-5c4 2 9-2 4.5-6s-7-4-9.5.5L16 13zM14 15c-1 3-3 7-5 9M18 15c1 3 3 7 5 9'/%3E%3Ccircle cx='16' cy='13' r='2' fill='white'/%3E%3C/svg%3E") 16 13, auto !important;
}

::selection {
    background: rgba(255, 61, 90, 0.3) !important;
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 61, 90, 0.4);
}


