/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ffffff;
    --border-color: #252525;
    --card-bg: #171717;
    --card-hover: #1f1f1f;
    
    /* Admin Dashboard - Better Contrast Dark Theme */
    --admin-bg: #1a1d23;
    --admin-card-bg: #252930;
    --admin-card-border: #3a3f4a;
    --admin-text-primary: #ffffff;
    --admin-text-secondary: #b4b8c0;
    --admin-info-bg: #2f343d;
    --admin-info-text: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

/* Add overflow-x hidden only on mobile to prevent horizontal scroll */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
}

/* Monospace for small accents only */
.monospace-accent {
    font-family: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Consolas', monospace;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 48px;
    width: 100%;
}

/* Navigation */
.navbar {
    padding: 6px 0;
    padding-top: max(6px, env(safe-area-inset-top));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff !important;
    backdrop-filter: blur(20px);
    z-index: 1001;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-hidden {
    transform: translateY(-110%);
}

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

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

.nav-link {
    color: rgba(0, 0, 0, 0.9) !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: #000000 !important;
}

.nav-link:visited {
    color: rgba(0, 0, 0, 0.9);
}

.nav-link-secondary {
    color: #000000;
    font-size: 14px;
}

.nav-link-secondary:hover {
    color: rgba(0, 0, 0, 0.8);
}

.nav-link-secondary:visited {
    color: #000000;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #000000 !important;
    text-decoration: none;
}

.nav-logo span {
    color: #000000 !important;
}

.nav-logo:hover {
    color: #000000 !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #000000 !important;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block !important;
    visibility: visible !important;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 49px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 49px);
    background: #ffffff;
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-menu.active {
    right: 0;
}

/* Remove navbar shadow/border when mobile menu is open */
body.menu-open .navbar {
    box-shadow: none;
    border-bottom-color: transparent;
}

/* Teal gradient border at bottom of navbar when mobile menu is open */
@media (max-width: 768px) {
    body.menu-open .navbar::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, rgba(13,148,136,0.9), rgba(6,182,212,0.7), rgba(20,184,166,0.9), rgba(6,182,212,0.7), rgba(13,148,136,0.9));
    }
}

.mobile-menu-content {
    padding: 40px 24px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-item {
    padding: 16px 20px;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-menu-item:hover {
    background: transparent;
    border-color: transparent;
    color: #0d9488;
    text-shadow: 0 0 20px rgba(74, 158, 255, 0.6), 0 0 10px rgba(74, 158, 255, 0.4);
}

.btn-mobile-menu {
    margin-top: 16px;
    width: 100%;
    text-align: center;
}

.btn-nav-desktop {
    display: inline-block;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

html.menu-open {
    overflow: hidden;
}

.nav-logo:visited {
    color: var(--text-primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    object-fit: contain;
    flex-shrink: 0;
    object-fit: cover;
    filter: brightness(0) !important;
}

.btn-nav {
    padding: 6px 16px !important;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 6px;
    font-weight: 600;
    min-height: auto !important;
}

/* Hero Section */
.hero {
    padding: 0 0 20px 0;
    position: relative;
    overflow: hidden;
    min-height: calc(97vh - 85px);
    display: flex;
    align-items: center;
    background: #ffffff;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #2f4a5e 0%, #3d5a6c 50%, #2f4a5e 100%);
}

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

@media (max-width: 480px) {
    .hero .container {
        padding: 0 12px;
    }
}

/* Hero Box Container */
.hero-box {
    background: 
        linear-gradient(180deg, 
            rgba(255, 255, 255, 0.02) 0%, 
            transparent 20%, 
            transparent 80%, 
            rgba(0, 0, 0, 0.1) 100%
        ),
        linear-gradient(180deg, #1A1D23 0%, #14161C 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding-top: 70px;
    padding-bottom: 40px;
    padding-left: 280px;
    padding-right: 280px;
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.03) inset,
        0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hero-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent calc(20% - 1px),
            rgba(255, 255, 255, 0.02) calc(20% - 1px),
            rgba(255, 255, 255, 0.02) 20%
        );
    pointer-events: none;
    z-index: 0;
}

.hero-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 20%,
        rgba(255, 255, 255, 0.03) 80%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

@keyframes neonSwirl1 {
    0% {
        transform: rotate(-30deg);
    }
    100% {
        transform: rotate(330deg);
    }
}

@keyframes neonSwirl2 {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(405deg);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
}

@keyframes neonSwirl3 {
    0% {
        transform: translate(-50%, -50%) rotate(60deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(420deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
}

.hero-enterprise .gradient-orb {
    opacity: 0.04;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(110, 181, 255, 0.12) 0%, transparent 70%);
    bottom: -150px;
    right: -50px;
    animation-delay: 7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(58, 74, 92, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(200, 200, 200, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 200, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-enterprise .grid-overlay {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

/* Hero Tags */
.hero-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-tag {
    padding: 8px 20px;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #6eb5ff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-tag:hover {
    background: rgba(74, 158, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateY(-2px);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: none;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    text-decoration: none;
    display: inline-block;
}

.btn-large {
    padding: 16px 32px;
    font-size: 15px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

/* Lookout Hero Section */
.hero-lookout {
    background: #E1E5E8 !important;
    padding: 120px 0 200px;
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

@media (max-width: 768px) {
    .hero-lookout {
        background: #dde1e5 !important;
    }
}

@keyframes heroOrb1 {
    0%   { transform: translate(0%, 0%) scale(1); }
    20%  { transform: translate(10%, 15%) scale(1.2); }
    40%  { transform: translate(-8%, 25%) scale(0.85); }
    60%  { transform: translate(15%, 10%) scale(1.15); }
    80%  { transform: translate(-5%, -10%) scale(1.05); }
    100% { transform: translate(0%, 0%) scale(1); }
}
@keyframes heroOrb2 {
    0%   { transform: translate(0%, 0%) scale(1); }
    25%  { transform: translate(-15%, -12%) scale(1.3); }
    50%  { transform: translate(8%, 20%) scale(0.8); }
    75%  { transform: translate(-10%, 8%) scale(1.2); }
    100% { transform: translate(0%, 0%) scale(1); }
}
@keyframes heroOrb3 {
    0%   { transform: translate(0%, 0%) scale(1); }
    33%  { transform: translate(18%, -15%) scale(1.35); }
    66%  { transform: translate(-12%, 12%) scale(0.75); }
    100% { transform: translate(0%, 0%) scale(1); }
}

.hero-lookout::before,
.hero-lookout::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    display: none;
}

.hero-lookout::before {
    width: 90%;
    height: 70%;
    top: -20%;
    left: 5%;
    background: radial-gradient(ellipse, rgba(180, 190, 200, 0.5) 0%, rgba(160, 175, 190, 0.2) 40%, transparent 70%);
    animation: heroOrb1 14s ease-in-out infinite;
    filter: blur(40px);
}

.hero-lookout::after {
    width: 60%;
    height: 55%;
    top: 5%;
    right: -10%;
    background: radial-gradient(ellipse, rgba(200, 210, 220, 0.4) 0%, rgba(180, 195, 210, 0.15) 40%, transparent 65%);
    animation: heroOrb2 18s ease-in-out infinite;
    filter: blur(50px);
}

.hero-orb3 {
    display: none;
}

@media (min-width: 769px) {
    .hero-lookout {
        padding: 0 !important;
        min-height: 99vh !important;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .hero-lookout {
        padding: 120px 0 80px;
        min-height: auto;
        overflow: hidden;
    }
    
    .how-it-works-section {
        margin-top: -174px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0px !important;
    }
    
    .case-studies {
        padding: 180px 0 60px !important;
        margin-top: 0 !important;
    }
}

/* Layered Abstract Visual Effects */
.hero-premium::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, rgba(74, 158, 255, 0.08) 30%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.8;
}

.hero-premium::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(110, 181, 255, 0.12) 0%, rgba(74, 158, 255, 0.06) 35%, transparent 65%);
    filter: blur(70px);
    pointer-events: none;
    opacity: 0.7;
}

/* Decorative Circles Background */
.hero-logo-lines-bg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1200px;
    height: 1200px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-logo-lines-bg .infrastructure-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('images/infrastructure-bg.svg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
    transform: none;
}

.hero-lookout .hero-infrastructure-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 70% 55% at 15% 20%, rgba(13, 148, 136, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 55% 50% at 85% 70%, rgba(6, 182, 212, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 45% 40% at 60% 10%, rgba(20, 184, 166, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 35% 30% at 30% 80%, rgba(8, 145, 178, 0.3) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 75% 20%, rgba(13, 148, 136, 0.2) 0%, transparent 65%),
        linear-gradient(160deg, #020d0c 0%, #000000 40%, #010a0f 70%, #000000 100%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/servicehero.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

/* Mobile responsiveness for infrastructure bg */
@media (max-width: 768px) {
    .hero-logo-lines-bg .infrastructure-bg {
        background-position: center 40%;
        background-size: cover;
    }
    
    .hero-lookout .hero-infrastructure-bg {
        height: 100%;
    }
    
    .service-hero-bg {
        background-position: center top;
        background-size: cover;
        height: 100%;
    }
}

@media (max-width: 480px) {
    /* FORCE HIDE DESKTOP NAV ON SMALL MOBILE */
    .navbar .nav-links,
    .navbar .nav-link,
    .navbar .btn-nav,
    .navbar a.btn-nav,
    .navbar .btn.btn-primary.btn-nav,
    .nav-content .nav-links,
    .nav-content .btn-nav,
    .nav-content a[data-cal-link] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        width: 0 !important;
        height: 0 !important;
    }
    
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hamburger span {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #000000 !important;
    }
    
    .hero-logo-lines-bg .infrastructure-bg {
        background-position: center 45%;
        background-size: 150% auto;
    }
    
    .hero-lookout .hero-infrastructure-bg {
        height: 100%;
    }
    
    .service-hero-bg {
        background-position: center top;
        background-size: cover;
        height: 100%;
    }
}

.hero-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-bg-logo {
    width: 900px;
    height: 900px;
    opacity: 0.15;
    filter: drop-shadow(0 0 60px rgba(74, 158, 255, 0.3));
}

.hero-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.04), rgba(74, 158, 255, 0));
    height: 1px;
    width: 800px;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
}

.hero-line-1 {
    transform: translate(-50%, -50%) rotate(0deg);
}

.hero-line-2 {
    transform: translate(-50%, -50%) rotate(60deg);
}

.hero-line-3 {
    transform: translate(-50%, -50%) rotate(120deg);
}

.hero-line-4 {
    transform: translate(-50%, -50%) rotate(180deg);
}

.hero-line-5 {
    transform: translate(-50%, -50%) rotate(240deg);
}

.hero-line-6 {
    transform: translate(-50%, -50%) rotate(300deg);
}

/* Scroll Arrow Indicator */
.scroll-arrow-indicator {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.scroll-arrow-pill {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(74, 158, 255, 0.2);
    border: 1px solid rgba(74, 158, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Hero Lookout Grid */
.hero-lookout-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 100px;
    position: relative;
    z-index: 1;
    align-items: end;
    padding-bottom: 50px;
}

/* Left Column */
.hero-left-column {
    max-width: 680px;
}

.hero-eyebrow-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(0, 0, 0, 0.45);
    text-transform: uppercase;
    margin-bottom: 40px;
    display: block;
}

.hero-display-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    color: #0a0a0a;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
}

.hero-display-title em {
    font-style: italic;
    font-weight: 700;
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
}

.hero-experience-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    margin: 0;
}

/* Right Column */
.hero-right-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: end;
    transform: translateY(0);
    align-items: center;
}

.hero-supporting-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 1);
    margin: 0;
    max-width: 680px;
}

.btn-book-call {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    align-self: center;
    backdrop-filter: blur(10px);
}

.btn-book-call:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(4px);
}

.btn-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    text-transform: uppercase;
}

.btn-circle-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.btn-book-call:hover .btn-circle-arrow {
    background: #f0f0f0;
    transform: translateX(4px);
}

.btn-circle-arrow svg {
    color: #ffffff;
}

/* How it Works Wrapper */
.hero-photo-wrapper {
    margin-top: 0;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.team-photo-placeholder {
    width: 100%;
    min-height: 600px;
    background: 
        linear-gradient(135deg, rgba(74, 158, 255, 0.03) 0%, transparent 50%),
        linear-gradient(225deg, rgba(110, 181, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(74, 158, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(58, 74, 92, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, #1a1d23 0%, #252930 50%, #1e2228 100%);
    position: relative;
    overflow: hidden;
    display: block;
}

.team-photo-placeholder span {
    display: none;
}

/* Abstract Grid Pattern */
.team-photo-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(74, 158, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
}

/* Flowing Network Lines */
.team-photo-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(60deg, transparent 30%, rgba(74, 158, 255, 0.04) 31%, rgba(74, 158, 255, 0.04) 32%, transparent 33%),
        linear-gradient(120deg, transparent 45%, rgba(110, 181, 255, 0.03) 46%, rgba(110, 181, 255, 0.03) 47%, transparent 48%),
        linear-gradient(-45deg, transparent 60%, rgba(74, 158, 255, 0.02) 61%, rgba(74, 158, 255, 0.02) 62%, transparent 63%);
    opacity: 0.6;
}

/* Abstract System Nodes */
.system-node {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, rgba(74, 158, 255, 0.05) 50%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.node-1 {
    width: 180px;
    height: 180px;
    top: 15%;
    right: 20%;
    animation-delay: 0s;
}

.node-2 {
    width: 140px;
    height: 140px;
    bottom: 25%;
    right: 35%;
    animation-delay: 1.5s;
}

.node-3 {
    width: 100px;
    height: 100px;
    top: 45%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Flow Lines */
.system-flow {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.3), transparent);
    animation: flowAnimation 6s ease-in-out infinite;
}

.flow-1 {
    width: 40%;
    top: 30%;
    right: 10%;
    animation-delay: 0s;
}

.flow-2 {
    width: 35%;
    bottom: 35%;
    right: 15%;
    animation-delay: 3s;
    transform: rotate(-15deg);
}

@keyframes flowAnimation {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(0) scaleX(1);
    }
    50% {
        opacity: 0.5;
        transform: translateX(20px) scaleX(1.2);
    }
}

/* Workflow Pipeline Box */
.workflow-pipeline-box {
    width: 100%;
    background: rgba(26, 29, 35, 0.95);
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 8px;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.pipeline-header {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
    flex-shrink: 0;
}

.pipeline-title {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
}

.pipeline-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    justify-content: space-evenly;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(20, 24, 30, 0.3);
    border: 1px solid rgba(74, 158, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: rgba(20, 24, 30, 0.5);
    border-color: rgba(74, 158, 255, 0.15);
}

.flow-step-number {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    min-width: 36px;
    line-height: 1.4;
}

.flow-step-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flow-step-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.flow-step-desc {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.flow-divider {
    height: 1px;
    background: transparent;
    margin: 0 20px;
    flex-shrink: 0;
}


/* Our History Card Overlay */
.our-history-card {
    position: absolute;
    bottom: 60px;
    left: 60px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.history-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(160, 160, 160, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.history-icon svg {
    color: #6a6a6a;
}

.history-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.history-description {
    font-size: 14px;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0;
}

.hero-content-premium {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 500px;
    height: 500px;
    background: 
        conic-gradient(from 45deg at 50% 50%, 
            transparent 0deg, 
            rgba(74, 158, 255, 0.08) 120deg, 
            transparent 240deg);
    filter: blur(80px);
    pointer-events: none;
    transform: rotate(30deg);
    opacity: 0.6;
}

.hero-content-premium::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -40%;
    width: 600px;
    height: 600px;
    background: 
        conic-gradient(from 180deg at 50% 50%, 
            transparent 0deg, 
            rgba(110, 181, 255, 0.1) 90deg, 
            transparent 180deg);
    filter: blur(90px);
    pointer-events: none;
    transform: rotate(-45deg);
    opacity: 0.5;
}

.hero-content-premium::before,
.hero-content-premium::after {
    display: none;
}

.hero-content-premium > * {
    position: relative;
    z-index: 1;
}

.hero-labels {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 36px;
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.hero-headline {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    color: #ffffff;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    text-align: center;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-primary-new {
    background: #ffffff;
    color: #000000;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.btn-primary-new:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-secondary-new {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.btn-secondary-new:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Enterprise Hero Section */
.hero-enterprise {
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
    min-height: auto;
    background: #ffffff;
}

.hero-content-enterprise {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title-enterprise {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: #0A0A0A;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle-enterprise {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-buttons-enterprise {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

/* Professional Hero Section */
.hero-professional {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: auto;
    background: linear-gradient(135deg, #2f4a5e 0%, #3d5a6c 50%, #2f4a5e 100%);
}

.hero-bg-subtle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.5;
}

.hero-two-column {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-column {
    max-width: 600px;
}

.hero-focus-line {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.hero-main-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-main-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-visual-column {
    position: relative;
}

/* Systems Card */
.systems-card {
    background: rgba(20, 24, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 28px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.systems-card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.systems-card-badge {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.systems-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.system-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.system-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.system-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.system-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.system-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Section Separator */
.section-separator {
    padding: 40px 0 30px;
    background: transparent;
    position: relative;
}

.separator-line {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(74, 158, 255, 0.15) 20%, rgba(74, 158, 255, 0.3) 50%, rgba(74, 158, 255, 0.15) 80%, transparent 100%);
    position: relative;
}

.separator-line::before {
    display: none;
}

/* Case Studies Section */
.case-studies {
    padding: 60px 0 100px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
    color: #000000;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-card {
    background: linear-gradient(135deg, #1a1f26 0%, #14181e 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(74, 158, 255, 0.1);
    text-decoration: none;
    color: var(--text-primary);
    display: block;
    position: relative;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.case-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 
        0 12px 40px rgba(74, 158, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(74, 158, 255, 0.2) inset;
}

.case-card:hover::before {
    opacity: 1;
}

.case-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(30, 50, 64, 0.8) 0%, 
        rgba(20, 24, 30, 0.9) 50%,
        rgba(15, 20, 28, 1) 100%);
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(74, 158, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(110, 181, 255, 0.06) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.case-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.project-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
    transition: all 0.4s ease;
}

.case-card:hover .project-preview-img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.08) saturate(1.15);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.case-title {
    padding: 22px 24px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #14181e 0%, #0f1419 100%);
    border-top: 1px solid rgba(74, 158, 255, 0.08);
    transition: all 0.3s ease;
}

.case-card:hover .case-title {
    background: linear-gradient(180deg, #16191f 0%, #0f1419 100%);
    border-top-color: rgba(74, 158, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #f5f5f5;
    position: relative;
}

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

.services-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    padding: 36px 36px 32px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(13, 148, 136, 0.9), rgba(6, 182, 212, 0.7), rgba(20, 184, 166, 0.8), rgba(8, 145, 178, 0.9)) border-box;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2.5px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13, 148, 136, 0.1);
}

.service-item:hover {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(13, 148, 136, 1), rgba(6, 182, 212, 0.9), rgba(20, 184, 166, 1), rgba(8, 145, 178, 1)) border-box !important;
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.2) !important;
}

/* On mobile, always show expanded with blue glow */
@media (max-width: 768px) {
    .service-item {
        box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3) !important;
    }
    
    .service-item:hover {
        box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3) !important;
    }
    
    .service-item.mobile-glow {
        box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3) !important;
    }
    
    /* Always show details on mobile */
    .service-details {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        margin-top: 16px !important;
    }
    
    .service-item.expanded .service-details {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .service-details li {
        font-size: 13.5px;
        line-height: 1.5;
        padding: 0;
        margin-bottom: 16px;
        border: none;
    }
    
    /* Hide toggle button and images on mobile */
    .service-toggle-mobile {
        display: none !important;
    }
    
    .service-image-mobile {
        display: none !important;
    }
}

/* Desktop: Hide toggle button and always show details */
@media (min-width: 769px) {
    .service-toggle-mobile {
        display: none;
    }
    
    .service-details {
        max-height: 1000px !important;
        opacity: 1 !important;
    }
}

.service-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(13, 148, 136, 0.9) !important;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    padding-top: 2px;
}

.service-content {
    flex: 1;
}

.service-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item.expanded .service-details {
    overflow: visible;
}

.service-details {
    padding-left: 0 !important;
}

.service-details li {
    list-style: none;
    color: rgba(0, 0, 0, 0.65);
    font-size: 13.5px;
    line-height: 1.5;
    padding: 0;
    border: none;
    margin-bottom: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    position: relative;
}

/* Wire SVG injected via JS — placeholder keeps spacing */
.service-details li:before {
    content: none;
}

.service-details li strong {
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.service-details li br {
    display: none;
}

.service-details li:last-child {
    margin-bottom: 0;
}

/* Mobile toggle button */
.service-toggle-mobile {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 18px;
    transition: all 0.3s ease;
    margin-left: 16px;
}

.service-toggle-mobile:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.toggle-icon {
    transition: all 0.3s ease;
    display: block;
    line-height: 1;
    font-size: 20px;
}

.service-cta-mobile:hover {
    background: #f0f0f0 !important;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
}

.service-cta-mobile:active {
    transform: translateY(0);
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15) !important;
}

.service-item.expanded .service-details {
    max-height: 1000px;
    opacity: 1;
    margin-top: 16px;
}

.service-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: #000000;
}

@media (min-width: 769px) {
    .service-content h3 {
        font-size: 24px;
    }
    .service-content p {
        font-size: 17px;
        color: rgba(0, 0, 0, 0.8);
    }
    .service-details li {
        font-size: 16px;
    }
}

.service-content p {
    color: rgba(0, 0, 0, 0.8);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
    max-width: 600px;
}

.service-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.service-time {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

/* Q&A Section */
.qa-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0B0F14 0%, #0B0F14 92%, #2f4a5e 100%);
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
}

.qa-item {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.qa-item:hover {
    border-color: #353535;
    background: var(--card-bg);
}

.qa-question {
    width: 100%;
    padding: 28px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.qa-icon {
    color: var(--text-secondary);
    font-size: 18px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.qa-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 28px;
}

.qa-answer p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    padding-top: 0;
}

/* Desktop: Show answer on hover */
@media (min-width: 769px) {
    .qa-item:hover .qa-answer {
        max-height: 500px;
        opacity: 1;
        padding: 0 28px 28px 28px;
    }
    
    .qa-item:hover .qa-icon {
        transform: rotate(180deg);
        color: var(--accent-color);
    }
    
    /* Disable click toggle on desktop */
    .qa-question {
        pointer-events: auto;
    }
}

/* Mobile: Show answer when expanded */
@media (max-width: 768px) {
    .qa-answer {
        position: relative;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0 20px;
    }
    
    .qa-item {
        overflow: hidden;
    }
    
    .qa-item.expanded {
        overflow: hidden;
    }
    
    .qa-item.expanded .qa-answer {
        max-height: 500px;
        opacity: 1;
        padding: 0 20px 20px 20px;
    }

    .qa-item.expanded .qa-icon {
        transform: rotate(180deg);
        color: var(--accent-color);
    }
}

/* Who We're Right For Section */
.fit-section {
    padding: 200px 0 100px 0;
    background: #ffffff;
    margin-top: -80px;
}

@media (min-width: 769px) {
    .fit-section {
        padding-top: 80px !important;
        margin-top: 0px;
    }
}

.fit-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: stretch;
}

/* Tablet/Mobile Navigation Override - Force hamburger menu */
@media (max-width: 1024px) {
    .navbar .nav-links,
    .navbar .btn-nav,
    .navbar a[data-cal-link]:not(.btn-mobile-menu) {
        display: none !important;
    }

    .mobile-menu-content a[data-cal-link] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: static !important;
        left: auto !important;
    }
    
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .hamburger span {
        display: block !important;
        visibility: visible !important;
        background: #000000 !important;
    }
}

@media (max-width: 1024px) {
    .fit-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.fit-left {
    position: sticky;
    top: 120px;
}

.fit-intro {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-top: 24px;
    max-width: 100%;
    overflow: visible;
}

.fit-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
}

.fit-left,
.fit-right {
    display: flex;
    flex-direction: column;
}

.fit-intro {
    flex: 1;
}

.fit-card-positive {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fit-card:hover {
    /* Effect is now always on */
}

.fit-card-title {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.fit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    justify-content: space-between;
}

.fit-list li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    padding-left: 24px;
    position: relative;
}

.fit-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(74, 158, 255, 1);
    font-weight: 500;
}

.fit-list li strong {
    color: #ffffff;
}

/* Mobile styles for fit section */
@media (max-width: 768px) {
    .fit-section {
        margin-top: -40px;
        padding-top: 120px;
    }
    
    /* Make container flex to reorder heading and content */
    .fit-section .container {
        display: flex;
        flex-direction: column;
    }
    
    .fit-layout {
        display: contents;
    }
    
    /* Order: heading+text (1), image (2) */
    .fit-right {
        order: 2;
        margin-bottom: 40px;
    }
    
    .fit-section .section-title {
        order: 1;
        margin-bottom: 40px;
    }
    
    .fit-left {
        position: static;
        order: 1;
    }
    
    .fit-intro {
        max-width: 100%;
    }

    /* Reset desktop-only heading offsets on mobile */
    .fit-intro-heading {
        margin-top: 0 !important;
        top: 0 !important;
        white-space: normal !important;
    }

    /* Reset desktop-only paragraph offset on mobile */
    .fit-intro > div[style] {
        top: 0 !important;
    }
    
    .fit-card {
        padding: 24px;
    }
    
    .fit-card-title {
        font-size: 18px;
    }
    
    /* Hide original image on mobile, show inline duplicate instead */
    .fit-right {
        display: none !important;
    }

    .fit-image-mobile {
        display: block !important;
    }
    
    .fit-list li {
        font-size: 14px;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}

.about-image {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.placeholder-photo {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 400;
}

/* Availability Section */
.availability-section {
    padding: 100px 0 80px;
    text-align: center;
    background: #000000;
    position: relative;
}

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

.availability-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.availability-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    letter-spacing: -0.02em;
    min-height: 60px;
    color: #ffffff !important;
    display: block !important;
    position: relative;
    z-index: 10;
}

.availability-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    margin-bottom: 48px;
    font-weight: 400;
}

.email-link {
    display: inline-block;
    font-size: 19px;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 40px;
    transition: all 0.2s ease;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.email-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 60px;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
    font-weight: 400;
}

.social-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-box {
        padding: 60px 40px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

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

    .section-title {
        font-size: 32px;
    }

    .availability-title {
        font-size: 36px;
    }
}

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

    .navbar {
        padding: 8px 0;
    }

    .nav-content {
        gap: 16px;
    }

    .nav-logo {
        font-size: 16px;
        gap: 8px;
        white-space: nowrap;
        color: #000000 !important;
    }
    
    .nav-logo span {
        color: #000000 !important;
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        filter: brightness(0) !important;
    }

    /* Hide desktop nav on mobile, show hamburger */
    .navbar .nav-links,
    .navbar .nav-link,
    .navbar .btn-nav,
    .navbar a.btn-nav,
    .navbar .btn.btn-primary.btn-nav,
    .nav-content .nav-links,
    .nav-content .btn-nav,
    .nav-content a[data-cal-link] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    .hamburger span {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #000000 !important;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-box {
        padding: 50px 28px;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 42px;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .hero-tags {
        margin-bottom: 28px;
    }

    .hero-tag {
        font-size: 11px;
        padding: 6px 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .orb-1 {
        width: 400px;
        height: 400px;
    }

    .orb-2 {
        width: 350px;
        height: 350px;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
    }

    .case-studies {
        padding: 280px 0 60px !important;
        margin-top: 0 !important;
    }
    
    .services-section,
    .fit-section,
    .about-section {
        padding: 0 0 60px 0;
    }
    
    /* Footer mobile layout - show 3 sections horizontally */
    footer .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 20px !important;
        margin-bottom: 40px !important;
    }
    
    footer .footer-grid > div:first-child {
        display: none !important;
    }
    
    footer .footer-grid > div {
        min-width: 0 !important;
    }
    
    footer .footer-grid > div h3,
    footer .footer-grid > div h4 {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }
    
    footer .footer-grid > div p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
    }
    
    footer .footer-grid > div ul li {
        margin-bottom: 8px !important;
    }
    
    footer .footer-grid > div ul li a,
    footer .footer-grid > div p a {
        font-size: 13px !important;
    }
    
    .fit-section {
        margin-top: -40px;
    }

    .availability-section {
        padding: 60px 0 50px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .availability-title {
        font-size: 28px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 28px 24px;
        align-items: flex-start;
    }
    
    .service-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .service-toggle-mobile {
        display: none !important;
    }

    .qa-question {
        padding: 20px;
        font-size: 15px;
    }

    .about-text p {
        font-size: 16px;
    }
    
    .case-image {
        aspect-ratio: 16/9;
    }
    
    .project-preview-img {
        object-fit: cover;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   PROJECT DETAIL PAGE STYLES
   ============================================ */

.project-detail {
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
    background: #000000;
    min-height: auto;
}

.project-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.3), transparent);
    z-index: 2;
}

.project-detail .pos-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(13, 148, 136, 0.35) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 30%, rgba(6, 78, 115, 0.2) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 20% 40%, rgba(8, 145, 178, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, #000000 0%, #040d12 50%, #060f18 100%);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

/* Apply same background to hero section */
.hero .pos-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    background-image: url('images/servicehero.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 60%, 
        rgba(0,0,0,0.7) 80%, 
        rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 60%, 
        rgba(0,0,0,0.7) 80%, 
        rgba(0,0,0,0) 100%);
}

.project-detail .hero-bg {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    min-height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Infrastructure background image */
.infrastructure-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/infrastructure-bg.svg');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

/* Mobile responsiveness for project detail bg */
@media (max-width: 768px) {
    .project-detail .infrastructure-bg {
        background-position: center 40%;
    }
    
    .project-detail .pos-hero-bg {
        height: 100%;
    }
    
    .hero .pos-hero-bg {
        background-position: center top;
        background-size: cover;
        height: 100vh;
        max-height: 100vh;
    }
}

@media (max-width: 480px) {
    .project-detail .infrastructure-bg {
        background-position: center 45%;
        background-size: 150% auto;
    }
    
    .project-detail .pos-hero-bg {
        height: 100%;
    }
    
    .hero .pos-hero-bg {
        background-position: center top;
        background-size: cover;
        height: 100vh;
        max-height: 100vh;
    }
    
    .project-header {
        padding: 15px 0 15px;
    }
    
    .project-title {
        font-size: 26px;
        margin-bottom: 16px;
        line-height: 1.3;
    }
    
    .project-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .project-images {
        padding: 0 0 40px;
    }
    
    .project-actions {
        margin-top: 20px;
    }
    
    .carousel-slide img {
        max-height: 280px !important;
    }
    
    .carousel-slide video {
        max-height: 280px !important;
    }
    
    .carousel-slide img[src*="ARVDEMO.png"],
    .carousel-slide video source[src*="ARVCALC.mov"] {
        max-width: 50% !important;
        max-height: 400px !important;
        width: auto !important;
        margin: 0 auto !important;
    }
    
    .carousel-slide video[src*="ARVCALC.mov"] {
        max-width: 50% !important;
        max-height: 400px !important;
        width: auto !important;
        margin: 0 auto !important;
    }
}

.project-detail-content {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #000000;
}

.project-detail-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.3), transparent);
    z-index: 2;
}

.project-detail .container,
.project-detail-content .container {
    position: relative;
    z-index: 2;
}

.project-header {
    padding: 40px 0 40px;
    max-width: 900px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.project-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.project-description {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 700px;
}

.project-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.project-actions .btn {
    padding: 14px 28px;
    font-size: 15px;
}

/* Project Images */
.project-images {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.project-image-grid {
    display: grid;
    gap: 24px;
}

.project-image-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.project-image-item .placeholder-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    max-height: 600px;
    height: 600px;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 350px;
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: auto !important;
        max-height: none !important;
        aspect-ratio: 16/10;
        background: #f8f9fa;
    }
    .carousel-slide.active {
        height: 100%;
    }
    .carousel-slide.active img,
    .carousel-slide.active video {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    object-fit: contain;
}

.carousel-slide .placeholder-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.carousel-btn:active {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    opacity: 1;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-counter {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-indicator:hover {
    background: var(--text-secondary);
}

.carousel-indicator.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 4px;
}

/* Project Info Grid */
.project-info-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 30px 0 120px 0;
    position: relative;
    z-index: 1;
}

.project-for-header {
    width: 100%;
    margin-bottom: 40px;
}

.project-for-header .project-client {
    font-size: 32px;
    line-height: 1.3;
    margin: 0;
}

.project-for-header .section-title {
    color: #000000;
    font-size: 32px;
    font-weight: 600;
}

.project-description-section {
    width: 100%;
}

.project-info-section {
    position: sticky;
    top: 120px;
    align-self: start;
}

.project-info-section:first-child {
    height: fit-content;
}

.project-info-section .section-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: #000000;
}

.project-client {
    font-size: 15px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

.project-long-description {
    position: relative;
}

.project-long-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 40px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-long-description p.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Results card — tighter padding */
.project-results {
    padding: 36px 40px !important;
}

/* FAQ section — tighter bottom padding */
.faq-section {
    padding-bottom: 40px !important;
}



/* Other Projects */
.other-projects {
    padding: 80px 0 60px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.other-project-card {
    background: linear-gradient(135deg, #1a1f26 0%, #14181e 100%);
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.other-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.other-project-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 
        0 12px 40px rgba(74, 158, 255, 0.15),
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(74, 158, 255, 0.2) inset;
}

.other-project-card:hover::before {
    opacity: 1;
}

.other-project-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(30, 50, 64, 0.8) 0%, 
        rgba(20, 24, 30, 0.9) 50%,
        rgba(15, 20, 28, 1) 100%);
}

.other-project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(74, 158, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(110, 181, 255, 0.06) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.other-project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.other-project-image .placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.other-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
    filter: brightness(1.05) contrast(1.05) saturate(1.1);
    transition: all 0.4s ease;
}

.other-project-card:hover .other-project-img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.08) saturate(1.15);
}

.other-project-info {
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #14181e 0%, #0f1419 100%);
    border-top: 1px solid rgba(74, 158, 255, 0.08);
    transition: all 0.3s ease;
}

.other-project-card:hover .other-project-info {
    background: linear-gradient(180deg, #16191f 0%, #0f1419 100%);
    border-top-color: rgba(74, 158, 255, 0.2);
}

.other-project-info h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.other-project-card:hover .other-project-info h3 {
    color: rgba(255, 255, 255, 0.95);
}

.other-project-icon {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Project CTA */
.project-cta {
    padding: 80px 0 60px;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    max-width: 600px;
}

.cta-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-email {
    display: inline-block;
    padding: 16px 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-email:hover {
    border-color: #404040;
    transform: translateY(-2px);
}

/* Project Footer */
.project-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 40px;
    background: #0B0F14 !important;
}

/* Footer Base Styles */
footer {
    background: #ffffff !important;
    color: #000000 !important;
}

footer h3 {
    color: #000000 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

footer h4 {
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

footer p,
footer li,
footer a {
    color: rgba(0, 0, 0, 0.55) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

footer a:hover {
    color: #000000 !important;
}

footer [style*="border-top"] {
    border-top-color: rgba(0, 0, 0, 0.1) !important;
}

footer [style*="color: rgba(255"] {
    color: rgba(0, 0, 0, 0.4) !important;
}

/* Footer Grid Base Styles */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

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

.copyright {
    font-size: 13px;
    color: var(--text-secondary);
}

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

.footer-link {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

/* Responsive - Project Pages */
@media (max-width: 1024px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .other-projects-grid {
        grid-template-columns: 1fr;
    }

    .project-cta {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    /* Tighten results card padding */
    .project-results {
        padding: 32px 24px !important;
    }

    /* Move FAQ section up on mobile */
    .faq-section {
        padding-top: 40px !important;
        padding-bottom: 32px !important;
    }




    /* Section headings — match desktop teal style */
    .project-info-section .section-title {
        font-size: 20px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.14em !important;
        color: #000000 !important;
        margin-bottom: 24px !important;
        border-bottom: 1px solid rgba(0,0,0,0.15) !important;
        padding-bottom: 12px !important;
    }

    /* Card grid: single column on mobile, same card style as desktop */
    .project-long-description {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
    }

    /* Each card — same style, just full width */
    .project-long-description > p {
        background: #ffffff !important;
        border: 2px solid rgba(13,148,136,0.25) !important;
        border-radius: 12px !important;
        padding: 20px 20px !important;
        font-size: 14px !important;
        line-height: 1.65 !important;
        color: rgba(0,0,0,0.8) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    /* Card heading */
    .project-long-description > p strong {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #000 !important;
    }

    /* How It Works heading — full width, same teal style */
    .project-long-description h3 {
        grid-column: 1 / -1 !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.14em !important;
        color: #000000 !important;
        padding: 20px 0 12px 0 !important;
        margin: 8px 0 0 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.15) !important;
        border-top: none !important;
    }

    /* How It Works body */
    .project-info-section .project-long-description h3 ~ p {
        grid-column: 1 / -1 !important;
        border: none !important;
        background: none !important;
        padding: 12px 20px 0 20px !important;
        border-radius: 0 !important;
        font-size: 14px !important;
        line-height: 1.65 !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 36px;
    }

    .project-header {
        padding: 40px 0 30px;
    }

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

    .project-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 28px;
    }
    
    .other-projects {
        padding: 20px 0 60px;
    }
    
    .other-projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    
    .other-project-card {
        max-width: 100%;
    }

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

    /* Carousel mobile adjustments */
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-counter {
        margin-top: 12px;
        font-size: 13px;
    }

    .carousel-indicators {
        margin-top: 12px;
    }
}

/* Selection */
::selection {
    background: var(--accent-color);
    color: white;
}

/* ============================================
   BOOKING PAGE STYLES
   ============================================ */

.booking-page {
    min-height: calc(100vh - 200px);
    padding: 40px 0 60px;
    background: var(--bg-primary);
}

.booking-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.booking-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 20px;
}

.booking-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.booking-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Booking page styles handled inline */

.placeholder-content {
    text-align: center;
    max-width: 500px;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.placeholder-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.placeholder-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.placeholder-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 8px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step span:last-child {
    font-size: 14px;
    color: var(--text-primary);
}

/* Booking Info */
.booking-info {
    margin-top: 32px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 20px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: #404040;
    transform: translateY(-2px);
}

.info-item:hover .info-icon svg {
    stroke: var(--accent-color);
}

.info-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-secondary);
}

.info-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.info-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Booking Footer */
.booking-footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
    margin-top: 40px;
}

/* Responsive - Booking Page */
@media (max-width: 768px) {
    .booking-title {
        font-size: 36px;
    }

    .booking-description {
        font-size: 16px;
    }

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


    .placeholder-icon {
        font-size: 48px;
    }

    .placeholder-content h3 {
        font-size: 20px;
    }
}

/* Responsive - Premium Hero */
@media (max-width: 1024px) {
    .hero-premium {
        padding: 100px 0 120px;
        border-radius: 0 0 40px 40px;
    }

    .hero-text-left {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-headline-left {
        font-size: 56px;
    }

    .hero-description-right {
        font-size: 16px;
    }
    
    /* Lookout Hero Responsive */
    .hero-lookout {
        padding: 100px 0 0;
    }
    
    .hero-lookout-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        padding-bottom: 60px;
    }
    
    .hero-display-title {
        font-size: 56px;
    }
    
    .scroll-arrow-indicator {
        left: 32px;
    }
    
    .hero-photo-wrapper {
        margin-top: 0;
    }
    
    .team-photo-placeholder {
        min-height: 480px;
    }
    
    .our-history-card {
        left: 40px;
        right: 40px;
        max-width: calc(100% - 80px);
        bottom: 40px;
        padding: 32px;
    }
    
    /* Responsive tablet */
    .workflow-pipeline-box {
        padding: 24px 32px;
        min-height: 450px;
        margin-bottom: 48px;
    }
    
    .pipeline-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .pipeline-title {
        font-size: 16px;
    }
    
    .pipeline-flow {
        gap: 14px;
    }
    
    .flow-step {
        padding: 16px 20px;
        gap: 16px;
    }
    
    .flow-step-number {
        font-size: 16px;
        min-width: 30px;
    }
    
    .flow-step-title {
        font-size: 14px;
    }
    
    .flow-step-desc {
        font-size: 12px;
    }
    
    .flow-divider {
        margin: 0 16px;
    }

    .hero-enterprise {
        padding: 100px 0 120px;
    }

    .hero-title-enterprise {
        font-size: 52px;
    }

    .hero-subtitle-enterprise {
        font-size: 18px;
    }

    .hero-two-column {
        grid-template-columns: 1fr 380px;
        gap: 60px;
    }

    .hero-main-title {
        font-size: 44px;
    }

    .hero-main-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        padding: 80px 0 100px;
        border-radius: 0 0 32px 32px;
    }

    .hero-text-left {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-eyebrow-text {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .hero-headline-left {
        font-size: 38px;
        line-height: 1.1;
    }

    .hero-description-right {
        font-size: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Lookout Hero Mobile */
    .hero-lookout {
        padding: 60px 0 40px;
    }
    
    .hero-lookout-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-bottom: 60px;
    }
    
    .hero-left-column {
        max-width: 100%;
    }
    
    .scroll-arrow-indicator {
        display: none;
    }
    
    .hero-logo-lines-bg {
        right: -20%;
        top: 50%;
        width: 800px;
        height: 800px;
    }
    
    .hero-bg-logo {
        width: 600px;
        height: 600px;
    }
    
    .hero-line {
        width: 500px;
    }
    
    .hero-eyebrow-label {
        font-size: 9px;
        margin-bottom: 24px;
        letter-spacing: 0.12em;
    }
    
    .hero-display-title {
        font-size: 44px;
        margin-bottom: 32px;
        line-height: 1.15;
    }
    
    .hero-experience-text {
        font-size: 15px;
        margin-bottom: 0;
    }
    
    .hero-right-column {
        gap: 0;
        transform: translateY(0);
    }
    
    .hero-right-column > div {
        margin-bottom: 12px !important;
    }
    
    .hero-supporting-text {
        font-size: 15px;
        line-height: 1.6;
        margin-top: 20px;
    }
    
    .btn-book-call {
        width: 100%;
        justify-content: space-between;
        padding: 14px 20px;
    }
    
    .btn-text {
        font-size: 10px;
        letter-spacing: 0.08em;
    }
    
    .btn-circle-arrow {
        width: 34px;
        height: 34px;
    }
    
    .btn-circle-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .section-separator {
        padding: 30px 0 20px;
    }
    
    .hero-photo-wrapper {
        margin-top: 0;
        margin-bottom: 40px;
    }
    
    .team-photo-placeholder {
        min-height: 480px;
        font-size: 14px;
    }
    
    .our-history-card {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        padding: 24px 20px;
    }
    
    /* Mobile responsive */
    .workflow-pipeline-box {
        padding: 18px;
        min-height: 420px;
        margin-bottom: 36px;
    }
    
    .pipeline-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    
    .pipeline-title {
        font-size: 14px;
    }
    
    .pipeline-flow {
        gap: 10px;
    }
    
    .flow-step {
        padding: 12px;
        gap: 12px;
    }
    
    .flow-step-number {
        font-size: 14px;
        min-width: 24px;
    }
    
    .flow-step-title {
        font-size: 13px;
    }
    
    .flow-step-desc {
        font-size: 11px;
    }
    
    .flow-divider {
        margin: 0 12px;
    }
    
    .history-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 16px;
    }
    
    .history-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .history-title {
        font-size: 10px;
        margin-bottom: 12px;
        letter-spacing: 0.12em;
    }
    
    .history-description {
        font-size: 13px;
        line-height: 1.65;
    }

    .hero-enterprise {
        padding: 80px 0 100px;
    }

    .hero-title-enterprise {
        font-size: 40px;
        line-height: 1.15;
    }

    .hero-subtitle-enterprise {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .hero-buttons-enterprise {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons-enterprise .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-professional {
        padding: 60px 0 80px;
    }

    .hero-two-column {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .hero-main-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-main-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .systems-card {
        padding: 24px;
    }

    .system-item {
        padding: 14px;
    }

    .system-icon {
        font-size: 22px;
    }

    .system-info h4 {
        font-size: 14px;
    }

    .system-info p {
        font-size: 12px;
    }

    .project-detail-content {
        padding: 60px 0 0;
    }

    .project-title {
        font-size: 32px;
    }

    .project-description {
        font-size: 16px;
    }
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-lookout {
        padding: 100px 0 80px;
        overflow: hidden;
    }
    
    .how-it-works-section {
        padding-bottom: 0 !important;
        margin-bottom: -80px !important;
    }
    
    .case-studies {
        padding: 130px 0 60px !important;
        margin-top: 0 !important;
    }
    
    .hero-lookout-grid {
        gap: 32px;
        padding-bottom: 40px;
    }
    
    .hero-eyebrow-label {
        font-size: 8px;
        margin-bottom: 20px;
    }
    
    .hero-display-title {
        font-size: 40px;
        margin-bottom: 24px;
    }
    
    .hero-experience-text {
        font-size: 14px;
    }
    
    .hero-right-column {
        gap: 20px;
    }
    
    .hero-supporting-text {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .btn-book-call {
        padding: 12px 18px;
    }
    
    .btn-text {
        font-size: 9px;
    }
    
    .btn-circle-arrow {
        width: 32px;
        height: 32px;
    }
    
    .hero-photo-wrapper {
        margin-top: 0;
        margin-bottom: 40px;
    }
    
    .team-photo-placeholder {
        min-height: 420px;
        font-size: 13px;
    }
    
    .our-history-card {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: calc(100% - 32px);
        padding: 20px 16px;
    }
    
    /* Extra small mobile */
    .workflow-pipeline-box {
        padding: 14px;
        min-height: 400px;
        margin-bottom: 32px;
    }
    
    .pipeline-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .pipeline-title {
        font-size: 13px;
    }
    
    .pipeline-flow {
        gap: 8px;
    }
    
    .flow-step {
        padding: 10px;
        gap: 10px;
    }
    
    .flow-step-number {
        font-size: 13px;
        min-width: 22px;
    }
    
    .flow-step-title {
        font-size: 12px;
    }
    
    .flow-step-desc {
        font-size: 10px;
    }
    
    .flow-divider {
        margin: 0 10px;
    }
    
    .history-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 14px;
    }
    
    .history-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .history-title {
        font-size: 9px;
        margin-bottom: 10px;
    }
    
    .history-description {
        font-size: 12px;
        line-height: 1.6;
    }
    
    /* Footer mobile layout - 3 columns side by side */
    footer .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 16px !important;
        margin-bottom: 30px !important;
    }
    
    footer .footer-grid > div:first-child {
        display: none !important;
    }
    
    footer .footer-grid > div h3,
    footer .footer-grid > div h4 {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }
    
    footer .footer-grid > div p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    
    footer .footer-grid > div ul li {
        margin-bottom: 6px !important;
    }
    
    footer .footer-grid > div ul li a,
    footer .footer-grid > div p a {
        font-size: 12px !important;
    }
}

/* Scroll-Driven Description Styles - Scroll Jacking */
/* Hide mobile-only queue elements on desktop */
.mobile-queue-above,
.mobile-queue-preview {
    display: none;
}

.scroll-driven-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: flex-start;
    gap: 60px;
    padding: 0;
}

.scroll-bullets-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
    padding-top: 4px;
}

.scroll-bullet-bar {
    position: relative;
    width: 5px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.scroll-bullet-bar.active {
    background: rgba(255, 255, 255, 0.25);
}

.scroll-bullet-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: #ffffff;
    border-radius: 3px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 16px rgba(255, 255, 255, 0.3);
}

.scroll-content-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.scroll-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 90px;
}

.scroll-item-metric {
    display: none;
}

.scroll-item-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    opacity: 1;
}

.scroll-item.active .scroll-item-title {
    color: #ffffff;
}

.scroll-item-description {
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    max-width: 1200px;
}

.scroll-item.active .scroll-item-description {
    max-height: 500px;
    opacity: 1;
}

/* Visual Panel Styles */
#visualPanel {
    display: block !important;
    position: sticky !important;
    top: 120px !important;
    width: 750px !important;
    height: 650px !important;
    min-height: 650px !important;
    max-height: 650px !important;
    margin-left: 80px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 12px rgba(255, 255, 255, 0.5) inset !important;
    transition: background 0.6s ease, border-color 0.6s ease, box-shadow 0.6s ease !important;
}

#visualPanel .visual-state {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 40px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

#visualPanel .visual-state.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10 !important;
}

/* Dynamic Background Colors Based on Active State */
#visualPanel:has(.visual-state[data-index="0"].active) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

#visualPanel:has(.visual-state[data-index="1"].active) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

#visualPanel:has(.visual-state[data-index="2"].active) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

#visualPanel:has(.visual-state[data-index="3"].active) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

#visualPanel:has(.visual-state[data-index="4"].active) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

#visualPanel:has(.visual-state[data-index="5"].active) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.visual-diagram {
    width: 100%;
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
}

/* Diagram Nodes */
.diagram-node {
    background: linear-gradient(135deg, #4a9eff 0%, #3b82f6 100%);
    padding: 28px 48px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
}

.node-label {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.diagram-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, #4a9eff 0%, transparent 100%);
    position: relative;
}

.diagram-arrow::after {
    content: '↓';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: #4a9eff;
    font-size: 20px;
}

.sync-indicator {
    color: #4ade80;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Metric Display */
.metric-display {
    text-align: center;
}

.metric-value {
    font-size: 72px;
    font-weight: 700;
    color: #4a9eff;
    line-height: 1;
    margin-bottom: 12px;
}

.metric-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.diagram-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.flow-step {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.flow-step.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    color: #ffffff;
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 18px;
}

/* Conversion Funnel */
.conversion-funnel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.funnel-stage {
    padding: 20px 32px;
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.4) 0%, rgba(74, 158, 255, 0.15) 100%);
    border-left: 4px solid #4a9eff;
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(74, 158, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.funnel-stage::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.funnel-stage span {
    position: relative;
    z-index: 1;
}

.metric-badge {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(74, 222, 128, 0.25);
    border: 2px solid #4ade80;
    border-radius: 24px;
    color: #4ade80;
    font-size: 16px;
    font-weight: 700;
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
}

/* Automation Flow */
.automation-flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.auto-node {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 2px solid rgba(74, 158, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(74, 158, 255, 0.15);
    transition: all 0.3s ease;
}

.auto-node:hover {
    transform: translateX(8px);
    border-color: rgba(74, 158, 255, 0.5);
    box-shadow: 0 6px 24px rgba(74, 158, 255, 0.25);
}

.auto-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a9eff 0%, #3b82f6 100%);
    border-radius: 10px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.auto-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Communication Hub */
.comm-hub {
    position: relative;
    width: 450px;
    height: 450px;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #4a9eff 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(74, 158, 255, 0.5);
}

.hub-label {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.03em;
}

.hub-connection {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-140px);
}

.hub-connection::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 140px;
    background: linear-gradient(180deg, #4a9eff 0%, rgba(74, 158, 255, 0.6) 100%);
    transform: translate(-50%, -50%);
    transform-origin: top center;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.4);
}

.conn-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(calc(-1 * var(--angle)));
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(20, 25, 35, 0.95);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(74, 158, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Revenue Timeline */
.revenue-timeline {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 32px;
}

.timeline-bar {
    display: flex;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.empty-slots {
    flex: 28;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(239, 68, 68, 0.2) 100%);
    border-right: 3px solid rgba(239, 68, 68, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filled-slots {
    flex: 28;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.4) 0%, rgba(74, 222, 128, 0.3) 100%);
    animation: fillSlots 1.5s ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fillSlots {
    from {
        flex: 0;
    }
    to {
        flex: 28;
    }
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 600;
    padding: 0 8px;
}

.timeline-labels span {
    color: rgba(255, 255, 255, 0.5);
}

.timeline-labels .highlight {
    color: #4ade80;
    font-weight: 600;
}

/* Payment Capture Board - Premium Two Column Layout */
.payment-capture-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
    align-items: start;
}

/* Left Column - Premium Payment Form */
.pc-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pc-check-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    margin-bottom: 4px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.pc-check-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.pc-check-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.pc-wallet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pc-wallet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.pc-wallet-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pc-wallet-btn:hover::before {
    left: 100%;
}

.pc-wallet-btn.gpay {
    font-family: 'Google Sans', Arial, sans-serif;
}

.pc-wallet-btn.apay {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.pc-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 10px 0 8px 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.pc-divider::before,
.pc-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.pc-input-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-input span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pc-input input {
    padding: 13px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pc-input input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.pc-input input:focus {
    border-color: rgba(99, 179, 237, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.12), 0 4px 16px rgba(99, 179, 237, 0.1);
}

.pc-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pc-primary-btn {
    padding: 15px 28px;
    background: linear-gradient(135deg, #63b3ed 0%, #4299e1 50%, #3182ce 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(99, 179, 237, 0.35), 0 2px 8px rgba(99, 179, 237, 0.25);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.pc-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.pc-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 179, 237, 0.45), 0 4px 12px rgba(99, 179, 237, 0.3);
}

.pc-primary-btn:hover::before {
    left: 100%;
}

.pc-primary-btn:active {
    transform: translateY(0);
}

/* Right Column - Premium Metrics */
.pc-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.pc-metric {
    text-align: center;
}

.pc-metric-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pc-metric-value {
    font-size: 68px;
    font-weight: 800;
    background: linear-gradient(135deg, #63b3ed 0%, #4299e1 50%, #90cdf4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 12px rgba(99, 179, 237, 0.3));
}

.pc-metric-sub {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 6px;
}

.pc-flow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.pc-flow-step {
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.pc-flow-step.active {
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.25) 0%, rgba(66, 153, 225, 0.15) 100%);
    border-color: rgba(99, 179, 237, 0.5);
    color: #63b3ed;
    box-shadow: 0 4px 16px rgba(99, 179, 237, 0.25), 0 0 0 3px rgba(99, 179, 237, 0.1);
}

.pc-flow-step.muted {
    opacity: 0.5;
}

.pc-flow-arrow {
    color: rgba(255, 255, 255, 0.25);
    font-size: 16px;
    font-weight: 300;
}

.pc-footnote {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
}

/* Desktop only - hide visual panel on smaller screens */
@media (max-width: 1200px) {
    #visualPanel {
        display: none !important;
    }
}

/* Mobile Metrics - HIDDEN on desktop */
.mobile-metrics-container {
    display: none !important;
}

.mobile-metrics-container {
    display: none !important;
}

.mobile-metric {
    display: none !important;
}

/* Desktop: editorial layout for project detail content */
@media (min-width: 769px) {
    .project-info-grid {
        padding: 56px 0 80px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .project-info-section {
        width: 100%;
    }
    .project-info-section .section-title {
        font-size: 28px !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: #000000 !important;
        margin-bottom: 40px;
        border-bottom: 1px solid rgba(0,0,0,0.15);
        padding-bottom: 16px;
    }
    /* Card grid for numbered steps */
    .project-long-description {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: left;
        width: 100%;
    }
    /* Each strong+p pair becomes a card — wrap them visually using adjacent sibling */
    .project-long-description > p {
        background: #ffffff;
        border: 2px solid rgba(13,148,136,0.25);
        border-radius: 12px;
        padding: 28px 32px;
        margin: 0 !important;
        font-size: 16px !important;
        line-height: 1.7 !important;
        color: rgba(0,0,0,0.8) !important;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .project-long-description > p strong {
        display: block;
        font-size: 18px !important;
        font-weight: 700;
        color: #000 !important;
        line-height: 1.3;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    /* How It Works h3 spans full width */
    .project-long-description h3 {
        grid-column: 1 / -1;
        font-size: 28px !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: #000000 !important;
        margin: 20px 0 0 0 !important;
        padding: 28px 0 16px 0 !important;
        border-top: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    }
    /* Paragraphs after h3 span full width too */
    .project-info-section .project-long-description h3 ~ p {
        grid-column: 1 / -1;
        border: none !important;
        background: none !important;
        padding: 16px 0 0 0 !important;
        border-radius: 0 !important;
        font-size: 17px !important;
        display: block !important;
        color: rgba(0,0,0,0.65) !important;
    }
}

/* Responsive for scroll-driven section */
@media (max-width: 768px) {
    .project-info-grid {
        gap: 40px;
        padding: 20px 0 20px 0;
    }

    
    .project-for-header .project-client {
        font-size: 24px;
    }
    
    .project-for-header .section-title {
        font-size: 24px;
    }
    

    /* ── Mobile: simple stacked layout ── */
    .scroll-driven-wrapper {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 0;
        width: 100%;
        height: auto;
        overflow: visible;
        align-items: flex-start;
        margin-top: -60px;
        margin-bottom: 40px;
    }

    .scroll-bullets-container {
        display: none !important;
    }

    /* Content column — natural height, cards stacked */
    .scroll-content-container {
        max-width: 100%;
        flex: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow: visible;
    }

    /* Hide queue items — not needed when stacked */
    .mobile-queue-above {
        display: none !important;
    }

    .queue-item-above {
        color: rgba(255, 255, 255, 0.5);
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .queue-item-above.visible {
        opacity: 1;
    }

    /* Furthest above = most faded */
    .queue-item-above[data-queue-index="-3"].visible { opacity: 0.2; }
    .queue-item-above[data-queue-index="-2"].visible { opacity: 0.38; }
    .queue-item-above[data-queue-index="-1"].visible { opacity: 0.6; }

    /* ── Fade-in on scroll ── */
    .mobile-fade-card {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .mobile-fade-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* ── All cards stacked on mobile ── */
    .scroll-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 24px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 1) 100%);
        border: 1px solid #002b36;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        width: 100%;
        opacity: 1;
        max-height: none;
    }

    .scroll-item.active {
        display: flex;
    }

    .mobile-queue-preview {
        display: none !important;
    }

    .queue-item {
        color: rgba(255, 255, 255, 0.5);
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .queue-item.visible { opacity: 1; }
    .queue-item[data-queue-index="1"].visible { opacity: 0.6; }
    .queue-item[data-queue-index="2"].visible { opacity: 0.38; }
    .queue-item[data-queue-index="3"].visible { opacity: 0.2; }

    /* ── Card text styles ── */
    .scroll-item-title {
        font-size: 20px;
        width: auto;
        max-width: 100%;
        margin-bottom: 8px;
        line-height: 1.3;
        color: #000000;
    }

    .scroll-item-description {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        font-size: 15px;
        line-height: 1.6;
        max-width: none;
        width: 100%;
        margin-bottom: 16px;
        color: rgba(0, 0, 0, 0.8);
    }

    .scroll-item-metric {
        display: flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, rgba(0, 43, 54, 0.15) 0%, rgba(0, 43, 54, 0.2) 100%);
        border: 1px solid rgba(0, 43, 54, 0.4);
        border-radius: 20px;
        padding: 12px 20px;
        width: fit-content;
    }

    .scroll-item.active .scroll-item-metric {
        display: flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, rgba(0, 43, 54, 0.15) 0%, rgba(0, 43, 54, 0.2) 100%);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(0, 43, 54, 0.4);
        border-radius: 20px;
        padding: 12px 20px;
        width: fit-content;
        box-shadow:
            0 3px 12px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    }

    .scroll-item-metric .metric-icon {
        font-size: 18px;
        color: #002b36;
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        background: linear-gradient(135deg, rgba(0, 43, 54, 0.25) 0%, rgba(0, 43, 54, 0.2) 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0, 43, 54, 0.4);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    }

    .scroll-item-metric .metric-text {
        color: #000000;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -0.01em;
        white-space: nowrap;
    }

    /* Hide visual panel on mobile */
    #visualPanel {
        display: none !important;
    }
}

/* Homepage Process Styles (independent) */
.process-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 48px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.process-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(74, 158, 255, 0.15);
}

.process-card:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(74, 158, 255, 0.15);
}

.process-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.process-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.process-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.process-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.process-description {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Services Detail Page Styles */
.service-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 48px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.services-detail-section {
    overflow: visible !important;
}

.services-detail-section .container {
    overflow: visible !important;
}

.services-detail-section .service-detail-card {
    overflow: visible !important;
    contain: none !important;
}

.services-detail-section .service-detail-content {
    overflow: visible !important;
    contain: none !important;
}

.service-detail-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.service-detail-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.service-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.service-detail-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    position: relative;
}

.service-detail-description {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
    width: 100%;
    max-width: 100%;
}

/* Center How it Works content on desktop */
@media (min-width: 769px) {
    .how-it-works-section .process-card {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .how-it-works-section .process-content {
        grid-template-columns: 1fr;
    }
    
    .how-it-works-section .service-feature-item {
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .how-it-works-section .service-feature-item > div {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Mobile adjustments for process card */
@media (max-width: 768px) {
    .process-card {
        padding: 20px;
    }
    
    .process-title {
        font-size: 24px;
    }
}

.service-feature-item {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.service-feature-item > div {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-feature-item strong,
.service-feature-item p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.service-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.how-it-works-section .service-feature-item:hover {
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

/* Mobile touch/active state for glow effect */
@media (max-width: 768px) {
    .how-it-works-section .service-feature-item:active {
        box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
    }
    
    .how-it-works-section .service-feature-item.mobile-glow {
        box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
    }
}

.service-use-cases {
    margin-top: 32px;
}

.service-use-cases > div {
    position: relative;
}

/* Mobile horizontal scroll for use case tags */
@media (max-width: 768px) {
    /* Ensure all service card content stays within bounds */
    .service-detail-card {
        max-width: 100%;
    }
    
    .service-detail-header,
    .service-detail-content,
    .service-detail-description {
        max-width: 100%;
    }
    
    /* Keep overflow visible for services page on mobile */
    .services-detail-section .service-detail-card,
    .services-detail-section .service-detail-content,
    .services-detail-section .service-detail-description {
        overflow: visible !important;
    }
    
    /* Override ONLY for services page */
    .services-detail-section .service-detail-card,
    .services-detail-section .service-detail-header,
    .services-detail-section .service-detail-content,
    .services-detail-section .service-detail-description {
        overflow: visible !important;
    }
    
    .service-detail-title,
    .service-detail-description h3,
    .service-detail-description p,
    .service-detail-description div,
    .service-detail-description strong {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .service-feature-item {
        max-width: 100%;
    }
    
    .service-use-cases {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        position: relative;
    }
    
    .service-use-cases > div {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        padding-bottom: 8px;
        padding-left: 0;
        padding-right: 24px;
        position: relative;
        gap: 8px !important;
    }

    .service-use-cases > div::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    /* Fade indicator on the right - fixed position */
    .service-use-cases::after {
        content: '';
        position: absolute;
        top: 26px;
        right: 0;
        width: 60px;
        height: 40px;
        background: linear-gradient(to left, #000000 0%, rgba(0, 0, 0, 0) 100%);
        pointer-events: none;
        z-index: 1;
    }
    
    /* Small arrow indicator - fixed position */
    .service-use-cases::before {
        content: '→';
        position: absolute;
        top: 34px;
        right: 12px;
        color: rgba(255, 255, 255, 0.35);
        font-size: 16px;
        line-height: 1;
        z-index: 2;
        pointer-events: none;
        animation: subtleSlide 2.5s ease-in-out infinite;
    }
    
    @keyframes subtleSlide {
        0%, 100% { 
            opacity: 0.35;
            transform: translateX(0);
        }
        50% { 
            opacity: 0.6;
            transform: translateX(5px);
        }
    }
    
    .service-use-cases .use-case-tag {
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    /* Hide arrow when scrolled to the end */
    .service-use-cases > div::-webkit-scrollbar-track {
        background: transparent;
    }
}

/* Extra refinement for very small screens */
@media (max-width: 480px) {
    .service-use-cases > div {
        padding-right: 20px;
    }
    
    .service-use-cases::after {
        width: 50px;
    }
    
    .service-use-cases::before {
        right: 8px;
        font-size: 14px;
    }
}

.use-case-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.use-case-tag:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.services-detail-section .service-detail-cta {
    position: -webkit-sticky;
    position: sticky;
    top: 120px;
    align-self: flex-start;
    height: fit-content;
    z-index: 5;
    flex: 0 0 300px;
    transition: all 0.3s ease;
}

.service-detail-cta {
    position: sticky;
    top: 120px;
    align-self: flex-start;
    height: fit-content;
    z-index: 5;
    flex: 0 0 300px;
    transition: all 0.3s ease;
}

.service-detail-cta.is-stuck .cta-box {
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
    border-color: rgba(74, 158, 255, 0.2);
}

/* Disable sticky on mobile */
@media (max-width: 768px) {
    .services-detail-section .service-detail-cta,
    .service-detail-cta {
        position: relative;
        top: auto;
        flex: 1;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .service-detail-cta.is-stuck .cta-box {
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .cta-box {
        max-width: 100%;
        padding: 24px;
        margin: 0 auto;
    }
}

.cta-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.cta-box .btn {
    white-space: nowrap;
}

/* Responsive for Services Page */
@media (max-width: 768px) {
    .service-detail-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .service-detail-card {
        padding: 24px;
        margin-bottom: 32px;
    }
    
    .service-detail-number {
        font-size: 36px;
    }
    
    .service-detail-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .service-detail-card {
        padding: 24px;
        max-width: 100%;
    }
    
    .service-detail-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        max-width: 100%;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    
    .service-detail-number {
        font-size: 28px;
        flex-shrink: 0;
    }
    
    .service-detail-title {
        font-size: 20px;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .service-detail-description h3 {
        font-size: 20px !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-detail-description p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .service-features {
        gap: 20px;
    }
    
    .use-case-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ========================================
   LOGIN PAGE STYLES
   ======================================== */

.login-section {
    min-height: calc(100vh - 80px);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(11, 15, 20, 0.98) 0%, rgba(20, 30, 45, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.login-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/newbackground.png');
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.login-logo-lines-bg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1200px;
    height: 1200px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.login-bg-logo {
    width: 900px;
    height: 900px;
    opacity: 0.15;
    filter: drop-shadow(0 0 60px rgba(74, 158, 255, 0.3));
}

.login-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.04), rgba(74, 158, 255, 0));
    height: 1px;
    width: 800px;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
}

.login-line-1 {
    transform: translate(-50%, -50%) rotate(0deg);
}

.login-line-2 {
    transform: translate(-50%, -50%) rotate(60deg);
}

.login-line-3 {
    transform: translate(-50%, -50%) rotate(120deg);
}

.login-line-4 {
    transform: translate(-50%, -50%) rotate(180deg);
}

.login-line-5 {
    transform: translate(-50%, -50%) rotate(240deg);
}

.login-line-6 {
    transform: translate(-50%, -50%) rotate(300deg);
}

.login-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(23, 23, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 48px;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.login-header {
    margin-bottom: 40px;
}

.login-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    padding: 12px 16px;
    background: rgba(11, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(11, 15, 20, 0.8);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.form-link {
    font-size: 14px;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.form-link:hover {
    color: #6eb5ff;
}

.btn-login {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.login-footer-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Dev Bypass Button */
.dev-bypass-container {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-bypass-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border: 1px dashed rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    color: #ffa500;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.dev-bypass-btn:hover {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: rgba(255, 165, 0, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.1);
}

.dev-bypass-btn:active {
    transform: translateY(0);
}

.login-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    padding: 32px;
    background: rgba(23, 23, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    border-color: rgba(74, 158, 255, 0.4);
    transform: translateY(-2px);
    background: rgba(23, 23, 23, 0.8);
}

.info-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.info-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   CLIENT PORTAL STYLES
   ======================================== */

.portal-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-color);
}

.portal-welcome {
    text-align: left;
}

.portal-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portal-title span {
    color: var(--accent-color);
}

.portal-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.portal-content {
    padding: 60px 0 100px;
}

.portal-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.portal-section {
    scroll-margin-top: 100px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.section-title-portal {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
}

.badge-count {
    background: var(--accent-color);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.badge-unread {
    background: #ff4a4a;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: rgba(74, 158, 255, 0.3);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 16px;
}

.project-info {
    flex: 1;
}

.project-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.project-id {
    font-size: 13px;
    color: var(--text-secondary);
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.status-in-progress {
    background: rgba(74, 158, 255, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.status-planning {
    background: rgba(255, 206, 86, 0.15);
    color: #ffce56;
    border: 1px solid rgba(255, 206, 86, 0.3);
}

.status-completed {
    background: rgba(75, 192, 75, 0.15);
    color: #4bc04b;
    border: 1px solid rgba(75, 192, 75, 0.3);
}

.project-progress {
    margin-bottom: 24px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.progress-percentage {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
}

.progress-bar {
    height: 8px;
    background: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #6eb5ff);
    transition: width 0.3s ease;
}

.project-milestones {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 8px;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.milestone.completed {
    color: var(--text-primary);
}

.milestone.active {
    color: var(--accent-color);
}

.milestone-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.milestone.completed .milestone-icon {
    color: #4bc04b;
}

.milestone.active .milestone-icon {
    color: var(--accent-color);
}

.project-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 8px;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.meta-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.btn-view-details {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-view-details:hover {
    border-color: var(--accent-color);
    background: rgba(74, 158, 255, 0.1);
}

/* Messages Section */
.messages-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
}

.message-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(23, 23, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.message-item:hover {
    border-color: rgba(74, 158, 255, 0.4);
    background: rgba(31, 31, 31, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.message-item.unread {
    border-color: rgba(74, 158, 255, 0.6);
    background: rgba(74, 158, 255, 0.12);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.15);
}

.message-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-sender {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.message-time {
    font-size: 13px;
    color: var(--text-secondary);
}

.message-subject {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.message-preview {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.message-compose {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.compose-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.compose-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-textarea {
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 100px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-secondary);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Responsive Design for Login & Portal */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }

    .login-card {
        max-width: 100%;
    }

    .login-logo-lines-bg {
        right: -20%;
        width: 800px;
        height: 800px;
    }
    
    .login-bg-logo {
        width: 600px;
        height: 600px;
    }
    
    .login-line {
        width: 500px;
    }

    .messages-container {
        grid-template-columns: 1fr;
    }

    .message-compose {
        position: static;
    }
}

@media (max-width: 768px) {
    .login-logo-lines-bg {
        right: -40%;
        width: 600px;
        height: 600px;
    }
    
    .login-bg-logo {
        width: 400px;
        height: 400px;
    }
    
    .login-hero-bg {
        background-position: center top;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        height: 100%;
    }
    
    .login-line {
        width: 350px;
    }

    .portal-header {
        padding: 40px 0 24px;
    }

    .portal-title {
        font-size: 28px;
    }

    .portal-subtitle {
        font-size: 16px;
    }

    .portal-content {
        padding: 40px 0 60px;
    }

    .section-title-portal {
        font-size: 24px;
    }

    .project-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-meta {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .message-item {
        padding: 16px;
    }

    .message-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .login-section {
        padding: 40px 0;
    }

    .login-card {
        padding: 32px 24px;
    }

    .login-title {
        font-size: 26px;
    }

    .info-card {
        padding: 24px;
    }

    .project-card {
        padding: 24px;
    }

    .project-card-title {
        font-size: 18px;
    }
}

/* ========================================
   ONBOARDING FORM STYLES
   ======================================== */

.onboarding-header {
    padding: 100px 0 60px;
    background: linear-gradient(180deg, rgba(11, 15, 20, 1) 0%, rgba(15, 20, 30, 1) 100%);
}

.onboarding-welcome {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.onboarding-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.onboarding-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.onboarding-content {
    padding: 60px 0 100px;
}

.onboarding-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.onboarding-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
}

.form-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 32px;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(74, 158, 255, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-select {
    cursor: pointer;
}

.form-helper {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    user-select: none;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
    min-width: 280px;
}

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

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.success-card {
    background: var(--card-bg);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a9eff 0%, #357abd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin: 0 auto 24px;
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.success-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.success-text strong {
    color: var(--accent-color);
}

/* ========================================
   ADMIN DASHBOARD STYLES
   ======================================== */

.admin-content {
    padding: 60px 0 100px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 32px;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.admin-section {
    background: rgba(23, 23, 23, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.admin-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.filter-select {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
}

.admin-projects-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.admin-project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.admin-project-card:hover {
    border-color: rgba(74, 158, 255, 0.4);
}

.admin-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.admin-project-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.admin-project-client {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.admin-project-email {
    font-size: 13px;
    color: var(--accent-color);
}

.admin-project-status {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(74, 158, 255, 0.1);
    border: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
}

.admin-project-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.admin-project-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    font-weight: 500;
}

.btn-success:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
}

/* ===================================
   REDESIGNED ADMIN DASHBOARD
   =================================== */

/* Admin Content Container */
body[data-page="admin"] .admin-content-new {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 40px 0 80px;
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(74, 158, 255, 0.15);
}

.dashboard-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.dashboard-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
}

/* New Stats Cards */
.admin-stats-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card-new {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #6b9eff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-new:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 158, 255, 0.3);
    background: rgba(25, 25, 25, 0.8);
    box-shadow: 0 12px 40px rgba(74, 158, 255, 0.15);
}

.stat-card-new:hover::before {
    opacity: 1;
}

.stat-card-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon-new {
    font-size: 24px;
    filter: grayscale(0.3);
    transition: filter 0.3s ease;
}

.stat-card-new:hover .stat-icon-new {
    filter: grayscale(0);
}

.stat-label-new {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value-new {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

/* Stat Card Variations */
.stat-card-active::before {
    background: linear-gradient(90deg, #4a9eff, #6b9eff);
}

.stat-card-pending::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.stat-card-paid::before {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.stat-card-completed::before {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

/* Filters Section */
.filters-section {
    margin-bottom: 32px;
}

.filters-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select-new {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select-new:hover {
    border-color: rgba(74, 158, 255, 0.3);
    background: rgba(25, 25, 25, 0.8);
}

.filter-select-new:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

/* New Projects List */
.admin-projects-list-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Redesigned Project Cards */
body[data-page="admin"] .admin-project-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body[data-page="admin"] .admin-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body[data-page="admin"] .admin-project-card:hover {
    border-color: rgba(74, 158, 255, 0.3);
    background: rgba(25, 25, 25, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

body[data-page="admin"] .admin-project-card:hover::before {
    opacity: 1;
}

body[data-page="admin"] .pending-highlight {
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.02);
}

body[data-page="admin"] .pending-highlight::before {
    background: linear-gradient(180deg, #f59e0b, #fbbf24);
    opacity: 1;
}

/* Project Header */
body[data-page="admin"] .admin-project-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    margin-bottom: 24px;
    align-items: start;
}

body[data-page="admin"] .admin-project-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}

body[data-page="admin"] .admin-project-client {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 8px 0;
    font-weight: 500;
}

body[data-page="admin"] .admin-project-email {
    font-size: 14px;
    color: var(--accent-color);
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
}

/* Status Section */
body[data-page="admin"] .admin-project-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Updated Badges */
body[data-page="admin"] .status-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: none;
}

body[data-page="admin"] .payment-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: none;
    margin-left: 0;
}

/* Progress Circle */
body[data-page="admin"] .progress-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(74, 158, 255, 0.1);
    border: 3px solid rgba(74, 158, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

body[data-page="admin"] .progress-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'JetBrains Mono', monospace;
}

/* Project Info Grid */
body[data-page="admin"] .admin-project-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="admin"] .info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body[data-page="admin"] .info-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

body[data-page="admin"] .info-value {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

/* Project Actions */
body[data-page="admin"] .admin-project-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

body[data-page="admin"] .btn-sm {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

body[data-page="admin"] .btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    color: #ffffff;
}

body[data-page="admin"] .btn-success:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

body[data-page="admin"] .btn-primary {
    background: var(--accent-color);
    border: none;
    color: #ffffff;
}

body[data-page="admin"] .btn-primary:hover {
    background: #3a8eef;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

body[data-page="admin"] .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

body[data-page="admin"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

body[data-page="admin"] .btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

body[data-page="admin"] .btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   PROJECT LIST VIEW
   =================================== */

/* Project List Item */
.project-list-item {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 32px;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.project-list-item:hover {
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(74, 158, 255, 0.3);
    transform: translateX(4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.project-list-item.pending-item {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.02);
}

.project-list-item.pending-item:hover {
    border-color: rgba(251, 191, 36, 0.5);
}

/* List Item Left */
.list-item-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.list-item-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
}

.list-item-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    color: rgba(74, 158, 255, 0.8);
    background: rgba(74, 158, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.list-item-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.list-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.meta-icon {
    font-size: 14px;
    opacity: 0.6;
}

.meta-text {
    font-weight: 500;
}

/* List Item Center */
.list-item-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.list-badge-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.list-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.list-badge-status {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.list-badge-payment {
    border: none;
}

.list-info-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.list-info-item {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.list-info-sep {
    color: rgba(255, 255, 255, 0.3);
}

/* List Item Right */
.list-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.list-progress-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
}

.list-progress-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.list-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.list-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #6b9eff);
    transition: width 0.5s ease;
}

.list-progress-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'JetBrains Mono', monospace;
}

.list-milestone-count {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.list-item-arrow {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.project-list-item:hover .list-item-arrow {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* ===================================
   PROJECT DETAIL MODAL
   =================================== */

.project-detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}

.project-detail-modal {
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    max-width: 1400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
    transform: rotate(90deg);
}

/* ===================================
   PROJECT COMMAND CENTER DESIGN
   =================================== */

/* Command Center Card */
.command-center-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
}

.command-center-card.pending-highlight {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.2);
}

/* Project Hero Section */
.project-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    align-items: center;
}

.project-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(74, 158, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.project-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.project-hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.project-client-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.client-company {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.client-email {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.client-email:hover {
    color: #6b9eff;
}

/* Hero Metrics */
.hero-metrics {
    display: flex;
    gap: 24px;
}

.hero-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

.metric-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.metric-value {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

/* Quick Edit Selects */
.status-select,
.payment-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.status-select:hover,
.payment-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.status-select:focus,
.payment-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

/* Progress Bar */
.progress-bar-container {
    position: relative;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #6b9eff);
    transition: width 0.5s ease;
}

.progress-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Project Overview Grid */
.project-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 32px 40px;
}

.overview-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.overview-card:hover {
    background: rgba(25, 25, 25, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.overview-card-wide {
    grid-column: span 2;
}

.overview-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.overview-icon {
    font-size: 24px;
}

.overview-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overview-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
}

.item-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.item-value {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

.overview-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.text-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.text-content {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-color);
    background: rgba(74, 158, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

/* Milestones Timeline */
.milestones-section {
    padding: 32px 40px;
    background: rgba(10, 10, 10, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.milestones-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.milestones-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.milestones-progress {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'JetBrains Mono', monospace;
}

.milestones-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.milestone-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    padding: 16px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.milestone-item:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 12px;
    margin-left: -12px;
    padding-right: 12px;
    border-radius: 8px;
}

.milestone-item:active {
    transform: scale(0.98);
}

.milestone-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.milestone-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    z-index: 1;
}

.milestone-item:hover .milestone-dot {
    border-width: 3px;
    transform: scale(1.2);
}

.milestone-dot.active {
    border-color: var(--accent-color);
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.2);
}

.milestone-dot.completed {
    border-color: #22c55e;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.milestone-line {
    width: 2px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

.milestone-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.milestone-name {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.milestone-status-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.milestone-item.completed .milestone-status-text {
    color: #22c55e;
}

.milestone-item.active .milestone-status-text {
    color: var(--accent-color);
}

/* Messages Section */
.messages-section {
    padding: 32px 40px;
    background: rgba(5, 5, 5, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.messages-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.messages-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Message Thread */
.message-thread {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.message-thread::-webkit-scrollbar {
    width: 8px;
}

.message-thread::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.message-thread::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.message-thread::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.message-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

.message-empty p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin: 0;
}

/* Message Item */
.message-item {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    margin-bottom: 12px;
    padding: 0;
    background: transparent;
    border: none;
}

.message-admin {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    opacity: 0.6;
}

.message-admin .message-avatar {
    background: rgba(74, 158, 255, 0.15);
}

.message-bubble {
    max-width: 70%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.message-admin .message-bubble {
    background: rgba(74, 158, 255, 0.2);
    border-color: rgba(74, 158, 255, 0.4);
}

.message-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    gap: 8px;
}

.message-sender {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.message-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'JetBrains Mono', monospace;
}

.message-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Message Compose */
.message-compose {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
}

.message-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    transition: all 0.2s ease;
}

.message-input-wrapper:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.message-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    resize: none;
    min-height: 36px;
    max-height: 150px;
    overflow-y: auto;
    transition: height 0.2s ease;
}

.message-input:focus {
    outline: none;
}

.message-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.btn-send-message-inline {
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: white;
}

.btn-send-message-inline:hover {
    background: #3a8eef;
    transform: scale(1.05);
}

.btn-send-message-inline:active {
    transform: scale(0.95);
}

.btn-send-message-inline:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.message-compose-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-replies {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.quick-reply-btn {
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.quick-reply-btn:hover {
    background: rgba(74, 158, 255, 0.2);
    border-color: var(--accent-color);
}

.message-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
}

.message-compose-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.message-compose-hints {
    display: flex;
    gap: 12px;
}

.compose-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.btn-send-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-color), #6b9eff);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-send-message:hover {
    background: linear-gradient(135deg, #3a8eef, #5a8eef);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.btn-send-message:active {
    transform: translateY(0);
}

.send-icon {
    font-size: 16px;
}

/* Quick Actions Bar */
.quick-actions-bar {
    display: flex;
    gap: 12px;
    padding: 24px 40px;
    background: rgba(5, 5, 5, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.action-btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    color: #ffffff;
}

.action-btn-primary:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.action-btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.action-btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.action-icon {
    font-size: 16px;
}

.action-spacer {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .overview-card-wide {
        grid-column: span 1;
    }
    
    .project-list-item {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .list-item-right {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .dashboard-title {
        font-size: 28px;
    }
    
    .admin-stats-new {
        grid-template-columns: 1fr;
    }
    
    .filters-container {
        flex-direction: column;
    }
    
    .filter-select-new {
        width: 100%;
    }
    
    /* List View Mobile */
    .project-list-item {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }
    
    .list-item-right {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .list-progress-section {
        align-items: flex-start;
    }
    
    .list-item-arrow {
        align-self: flex-end;
    }
    
    /* Modal Mobile */
    .project-detail-modal-overlay {
        padding: 0;
        align-items: flex-start;
    }
    
    .project-detail-modal {
        max-height: 100vh;
        border-radius: 0;
        height: 100vh;
    }
    
    .modal-close-btn {
        top: 16px;
        right: 16px;
    }
    
    .project-hero {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-metric {
        width: 100%;
    }
    
    .project-hero-title {
        font-size: 24px;
    }
    
    .project-overview-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .overview-card-wide {
        grid-column: span 1;
    }
    
    .milestones-section {
        padding: 24px 20px;
    }
    
    .messages-section {
        padding: 24px 20px;
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .message-compose-footer {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .quick-replies {
        width: 100%;
        justify-content: center;
    }
    
    .message-hint {
        text-align: center;
    }
    
    .message-compose-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .btn-send-message {
        width: 100%;
        justify-content: center;
    }
    
    .message-compose-hints {
        justify-content: center;
    }
    
    .quick-actions-bar {
        padding: 20px;
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .action-spacer {
        display: none;
    }
}

.loading-state,
.error-state,
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.spinner-large {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

/* ========================================
   ADMIN DASHBOARD - BETTER CONTRAST DARK THEME
   ======================================== */

/* Apply better contrast dark theme to admin pages */
body[data-page="admin"] {
    background-color: var(--admin-bg);
}

body[data-page="admin"] .admin-content {
    padding-top: 40px;
}

/* Stat Cards - Better Contrast */
body[data-page="admin"] .stat-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .stat-card:hover {
    border-color: var(--accent-color);
}

body[data-page="admin"] .stat-value {
    color: var(--admin-text-primary);
}

body[data-page="admin"] .stat-label {
    color: var(--admin-text-secondary);
}

/* Admin Section - Better Contrast */
body[data-page="admin"] .admin-section {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .filter-select {
    background: var(--admin-info-bg);
    border: 1px solid var(--admin-card-border);
    color: var(--admin-text-primary);
}

/* Project Cards - Better Contrast */
body[data-page="admin"] .admin-project-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .admin-project-card:hover {
    border-color: var(--accent-color);
}

body[data-page="admin"] .admin-project-header {
    border-bottom: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .admin-project-title {
    color: var(--admin-text-primary);
}

body[data-page="admin"] .admin-project-client {
    color: var(--admin-text-secondary);
}

/* Info Boxes - FIXED VISIBILITY */
body[data-page="admin"] .admin-project-info {
    background: transparent;
}

body[data-page="admin"] .info-item {
    background: var(--admin-info-bg);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .info-label {
    color: var(--admin-text-secondary);
    font-size: 11px;
}

body[data-page="admin"] .info-value {
    color: var(--admin-info-text);
    font-size: 15px;
    font-weight: 600;
}

/* Progress - Better Visibility */
body[data-page="admin"] .progress-circle {
    background: rgba(74, 158, 255, 0.15);
    border: 3px solid var(--accent-color);
}

body[data-page="admin"] .progress-text {
    color: var(--accent-color);
}

/* Status Badges - Professional Design */
body[data-page="admin"] .status-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

body[data-page="admin"] .status-pending-review,
body[data-page="admin"] .status-planning,
body[data-page="admin"] .status-pending-confirmation {
    background: rgba(251, 191, 36, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

body[data-page="admin"] .status-active,
body[data-page="admin"] .status-in-progress {
    background: rgba(74, 158, 255, 0.12);
    color: #4a9eff;
    border: 1px solid rgba(74, 158, 255, 0.25);
}

body[data-page="admin"] .status-on-hold {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

body[data-page="admin"] .status-completed {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Payment Status Badges */
body[data-page="admin"] .payment-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-left: 8px;
}

body[data-page="admin"] .payment-paid {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

body[data-page="admin"] .payment-unpaid {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

body[data-page="admin"] .payment-partial {
    background: rgba(251, 191, 36, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

/* Pending Confirmation Highlight */
body[data-page="admin"] .pending-highlight {
    border: 2px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

/* Buttons - Better Contrast */
body[data-page="admin"] .btn-primary {
    background: var(--accent-color);
    color: white;
}

body[data-page="admin"] .btn-primary:hover {
    background: #3a8eef;
}

body[data-page="admin"] .btn-secondary {
    background: var(--admin-info-bg);
    color: var(--admin-text-primary);
    border: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .btn-secondary:hover {
    border-color: var(--accent-color);
}

/* Modal - Better Contrast */
body[data-page="admin"] .modal-content {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .modal-header {
    border-bottom: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .form-label {
    color: var(--admin-text-primary);
}

body[data-page="admin"] .form-input,
body[data-page="admin"] .form-select,
body[data-page="admin"] .form-textarea {
    background: var(--admin-info-bg);
    border: 1px solid var(--admin-card-border);
    color: var(--admin-text-primary);
}

body[data-page="admin"] .form-input:focus,
body[data-page="admin"] .form-select:focus,
body[data-page="admin"] .form-textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.15);
}

/* Onboarding Form - Better Contrast */
body[data-page="admin"] .onboarding-header {
    background: var(--admin-bg);
    padding: 60px 0 40px;
}

body[data-page="admin"] .onboarding-title {
    color: var(--admin-text-primary);
}

body[data-page="admin"] .onboarding-subtitle {
    color: var(--admin-text-secondary);
}

body[data-page="admin"] .onboarding-form {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .form-section-title {
    color: var(--admin-text-primary);
    border-bottom: 2px solid var(--admin-card-border);
}

body[data-page="admin"] .checkbox-label {
    color: var(--admin-text-primary);
}

body[data-page="admin"] .section-title-portal,
body[data-page="admin"] .section-title {
    color: var(--admin-text-primary);
}

/* Portal Header - Minimal & Professional */
body[data-page="admin"] .portal-header {
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .portal-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--admin-text-primary);
}

body[data-page="admin"] .portal-title span {
    color: var(--accent-color);
}

body[data-page="admin"] .portal-subtitle {
    display: none;
}

body[data-page="admin"] .portal-content {
    padding: 32px 0 80px;
}

body[data-page="admin"] .portal-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

body[data-page="admin"] .portal-section {
    scroll-margin-top: 80px;
}

/* Section Headers - Clean & Professional */
body[data-page="admin"] .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .section-title-portal {
    font-size: 16px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

/* Remove childish badges */
body[data-page="admin"] .badge-count,
body[data-page="admin"] .badge-unread {
    font-size: 13px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--admin-info-bg);
    border: 1px solid var(--admin-card-border);
    color: var(--admin-text-secondary);
}

body[data-page="admin"] .badge-unread {
    color: var(--accent-color);
    background: rgba(74, 158, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.2);
}

/* Project Cards - Professional Design */
body[data-page="admin"] .projects-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body[data-page="admin"] .project-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
    padding: 20px;
    border-radius: 8px;
}

body[data-page="admin"] .project-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body[data-page="admin"] .project-card-header {
    margin-bottom: 16px;
}

body[data-page="admin"] .project-card-title {
    color: var(--admin-text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

body[data-page="admin"] .project-id {
    color: var(--admin-text-secondary);
    font-size: 12px;
}

body[data-page="admin"] .progress-info {
    margin-bottom: 8px;
}

body[data-page="admin"] .progress-label {
    color: var(--admin-text-secondary);
    font-size: 13px;
}

body[data-page="admin"] .progress-percentage {
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 600;
}

body[data-page="admin"] .progress-bar {
    height: 6px;
    background: var(--admin-info-bg);
    border-radius: 3px;
    overflow: hidden;
}

body[data-page="admin"] .progress-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 3px;
}

/* Milestones - Clean Professional Design */
body[data-page="admin"] .project-milestones {
    background: transparent;
    border: none;
    padding: 0;
    margin: 16px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

body[data-page="admin"] .milestone {
    background: var(--admin-info-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--admin-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

body[data-page="admin"] .milestone-icon {
    font-size: 14px;
    opacity: 0.6;
}

body[data-page="admin"] .milestone.completed {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

body[data-page="admin"] .milestone.completed .milestone-icon {
    opacity: 1;
}

body[data-page="admin"] .milestone.active {
    background: rgba(74, 158, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.2);
    color: var(--accent-color);
    font-weight: 500;
}

body[data-page="admin"] .milestone.active .milestone-icon {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Project Meta Info */
body[data-page="admin"] .project-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--admin-card-border);
}

body[data-page="admin"] .meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body[data-page="admin"] .meta-label {
    font-size: 11px;
    color: var(--admin-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body[data-page="admin"] .meta-value {
    font-size: 13px;
    color: var(--admin-text-primary);
    font-weight: 500;
}

/* View Details Button */
body[data-page="admin"] .btn-view-details {
    margin-top: 16px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--admin-card-border);
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    width: auto;
}

body[data-page="admin"] .btn-view-details:hover {
    background: rgba(74, 158, 255, 0.08);
    border-color: var(--accent-color);
}

/* Message Center - Professional Redesign */
body[data-page="admin"] .messages-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

body[data-page="admin"] .message-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

body[data-page="admin"] .message-list .message-item {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
    border-top: none;
    padding: 16px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

body[data-page="admin"] .message-list .message-item:first-child {
    border-top: 1px solid var(--admin-card-border);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

body[data-page="admin"] .message-list .message-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

body[data-page="admin"] .message-list .message-item:hover {
    background: var(--admin-info-bg);
}

body[data-page="admin"] .message-list .message-item.unread {
    background: rgba(74, 158, 255, 0.03);
    border-left: 3px solid var(--accent-color);
}

body[data-page="admin"] .message-list .message-item.unread:hover {
    background: rgba(74, 158, 255, 0.06);
}

/* Remove or simplify avatars */
body[data-page="admin"] .message-list .message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--admin-info-bg);
    border: 1px solid var(--admin-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    flex-shrink: 0;
}

body[data-page="admin"] .message-list .message-content {
    flex: 1;
    min-width: 0;
}

body[data-page="admin"] .message-list .message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    border: none;
    padding: 0;
}

body[data-page="admin"] .message-list .message-sender {
    font-size: 13px;
    font-weight: 600;
    color: var(--admin-text-primary);
}

body[data-page="admin"] .message-list .message-time {
    font-size: 12px;
    color: var(--admin-text-secondary);
}

body[data-page="admin"] .message-list .message-subject {
    font-size: 14px;
    font-weight: 500;
    color: var(--admin-text-primary);
    margin-bottom: 4px;
}

body[data-page="admin"] .message-list .message-preview {
    font-size: 13px;
    color: var(--admin-text-secondary);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Message Compose - Cleaner Design */
body[data-page="admin"] .message-compose {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 80px;
}

body[data-page="admin"] .compose-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--admin-text-primary);
    margin-bottom: 16px;
}

body[data-page="admin"] .compose-form .form-group {
    margin-bottom: 16px;
}

body[data-page="admin"] .compose-form .form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--admin-text-primary);
    margin-bottom: 6px;
    display: block;
}

body[data-page="admin"] .compose-form .btn-primary {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    body[data-page="admin"] .messages-container {
        grid-template-columns: 1fr;
    }
    
    body[data-page="admin"] .message-compose {
        position: static;
    }
    
    body[data-page="admin"] .project-milestones {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ONBOARDING FORM - PREMIUM DESIGN
   ======================================== */

/* Premium color scheme for high-value clients */
:root {
    --premium-bg: #0f1419;
    --premium-card: #1a1f26;
    --premium-border: #2a2f36;
    --premium-text: #ffffff;
    --premium-text-light: #9ca3af;
    --premium-input-bg: #151a21;
    --premium-input-border: #2a2f36;
    --premium-input-focus: #4a9eff;
}

body[data-page="onboarding"] {
    background: linear-gradient(135deg, rgba(11, 15, 20, 0.98) 0%, rgba(20, 30, 45, 0.95) 100%);
    min-height: 100vh;
}

/* Onboarding Section with Background */
body[data-page="onboarding"] .onboarding-section {
    min-height: calc(100vh - 80px);
    padding: 40px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
body[data-page="onboarding"] .onboarding-logo-lines-bg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1200px;
    height: 1200px;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body[data-page="onboarding"] .onboarding-logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

body[data-page="onboarding"] .onboarding-bg-logo {
    width: 900px;
    height: 900px;
    opacity: 0.15;
    filter: drop-shadow(0 0 60px rgba(74, 158, 255, 0.3));
}

body[data-page="onboarding"] .onboarding-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.04), rgba(74, 158, 255, 0));
    height: 1px;
    width: 800px;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
}

body[data-page="onboarding"] .onboarding-line-1 {
    transform: translate(-50%, -50%) rotate(0deg);
}

body[data-page="onboarding"] .onboarding-line-2 {
    transform: translate(-50%, -50%) rotate(60deg);
}

body[data-page="onboarding"] .onboarding-line-3 {
    transform: translate(-50%, -50%) rotate(120deg);
}

body[data-page="onboarding"] .onboarding-line-4 {
    transform: translate(-50%, -50%) rotate(180deg);
}

body[data-page="onboarding"] .onboarding-line-5 {
    transform: translate(-50%, -50%) rotate(240deg);
}

body[data-page="onboarding"] .onboarding-line-6 {
    transform: translate(-50%, -50%) rotate(300deg);
}

/* Minimal, Professional Header */
body[data-page="onboarding"] .onboarding-header {
    background: transparent;
    border-bottom: none;
    padding: 24px 0 20px;
    position: relative;
    z-index: 1;
}

body[data-page="onboarding"] .onboarding-welcome {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

body[data-page="onboarding"] .onboarding-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--premium-text);
    margin-bottom: 4px;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

body[data-page="onboarding"] .onboarding-subtitle {
    font-size: 13px;
    color: var(--premium-text-light);
    line-height: 1.5;
    font-weight: 400;
}

/* Premium Form Container */
body[data-page="onboarding"] .onboarding-content {
    padding: 32px 0 60px;
    position: relative;
    z-index: 1;
}

body[data-page="onboarding"] .onboarding-form {
    background: rgba(23, 23, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Form Sections */
body[data-page="onboarding"] .form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="onboarding"] .form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

body[data-page="onboarding"] .form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--premium-text);
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Premium Form Inputs */
body[data-page="onboarding"] .form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--premium-text);
    margin-bottom: 6px;
    display: block;
}

body[data-page="onboarding"] .form-input,
body[data-page="onboarding"] .form-select,
body[data-page="onboarding"] .form-textarea {
    background: rgba(11, 15, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.2s ease;
}

body[data-page="onboarding"] .form-input:focus,
body[data-page="onboarding"] .form-select:focus,
body[data-page="onboarding"] .form-textarea:focus {
    background: rgba(11, 15, 20, 0.8);
    border-color: var(--accent-color);
    outline: none;
    box-shadow: none;
}

body[data-page="onboarding"] .form-input::placeholder,
body[data-page="onboarding"] .form-textarea::placeholder {
    color: var(--text-secondary);
}

body[data-page="onboarding"] .form-help,
body[data-page="onboarding"] .form-helper {
    font-size: 12px;
    color: var(--premium-text-light);
    margin-top: 4px;
    display: block;
}

/* Two Column Layout */
body[data-page="onboarding"] .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

body[data-page="onboarding"] .form-group {
    margin-bottom: 20px;
}

/* Checkboxes - Premium Style */
body[data-page="onboarding"] .checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

body[data-page="onboarding"] .checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

body[data-page="onboarding"] .checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(11, 15, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

body[data-page="onboarding"] .checkbox-item:hover {
    border-color: rgba(74, 158, 255, 0.4);
    background: rgba(11, 15, 20, 0.6);
}

body[data-page="onboarding"] .checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

body[data-page="onboarding"] .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--premium-text);
    cursor: pointer;
    margin: 0;
}

body[data-page="onboarding"] .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Submit Button - Premium */
body[data-page="onboarding"] .form-submit {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

body[data-page="onboarding"] .btn-submit {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 14px 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(74, 158, 255, 0.2);
}

body[data-page="onboarding"] .btn-submit:hover {
    background: #3a8eef;
    box-shadow: 0 4px 8px rgba(74, 158, 255, 0.25);
    transform: translateY(-1px);
}

body[data-page="onboarding"] .btn-submit:active {
    transform: translateY(0);
}

/* Agreement Checkbox */
body[data-page="onboarding"] .agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(11, 15, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin: 24px 0;
}

body[data-page="onboarding"] .agreement-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

body[data-page="onboarding"] .agreement-checkbox label {
    font-size: 13px;
    color: var(--premium-text);
    line-height: 1.6;
    margin: 0;
}

body[data-page="onboarding"] .agreement-checkbox label a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

body[data-page="onboarding"] .agreement-checkbox label a:hover {
    text-decoration: underline;
}

/* Success Message - Premium */
body[data-page="onboarding"] .success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

body[data-page="onboarding"] .success-card {
    text-align: center;
    padding: 48px;
    background: rgba(23, 23, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

body[data-page="onboarding"] .success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #86efac;
}

body[data-page="onboarding"] .success-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--premium-text);
    margin-bottom: 16px;
}

body[data-page="onboarding"] .success-text {
    font-size: 14px;
    color: var(--premium-text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Navbar override for onboarding */
body[data-page="onboarding"] .navbar {
    background: rgba(11, 15, 20, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="onboarding"] .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

body[data-page="onboarding"] .nav-link:hover {
    color: var(--accent-color);
}

body[data-page="onboarding"] .nav-logo {
    color: var(--premium-text);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body[data-page="onboarding"] .onboarding-header {
        padding: 20px 0 16px;
    }
    
    body[data-page="onboarding"] .onboarding-title {
        font-size: 18px;
    }
    
    body[data-page="onboarding"] .onboarding-subtitle {
        font-size: 12px;
    }
    
    body[data-page="onboarding"] .onboarding-form {
        padding: 24px;
    }
    
    body[data-page="onboarding"] .form-row {
        grid-template-columns: 1fr;
    }
    
    body[data-page="onboarding"] .checkbox-group,
    body[data-page="onboarding"] .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    body[data-page="onboarding"] .btn-submit {
        width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 20000;
    align-items: center;
    justify-content: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    z-index: 1;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-form {
    padding: 32px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.milestones-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.milestone-edit-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.milestone-name-input {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
}

.milestone-status-select {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
}

.project-details {
    padding: 32px;
}

.details-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.details-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.details-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-item-full {
    margin-bottom: 16px;
}

.detail-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-value {
    font-size: 15px;
    color: var(--text-primary);
}

.detail-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 8px;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 6px;
    font-size: 13px;
    color: var(--accent-color);
}

/* Empty/Error States for Client Portal */
.empty-projects,
.error-projects {
    text-align: center;
    padding: 60px 20px;
    background: rgba(23, 23, 23, 0.4);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
}

.empty-projects h3,
.error-projects h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-projects p,
.error-projects p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-notes {
    margin-top: 20px;
    padding: 16px;
    background: rgba(74, 158, 255, 0.05);
    border-left: 3px solid var(--accent-color);
    border-radius: 6px;
}

.notes-label {
    font-size: 12px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.notes-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.text-secondary {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Responsive Styles for New Pages */
@media (max-width: 1024px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-project-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .onboarding-form {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .onboarding-title {
        font-size: 32px;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-project-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .admin-project-info {
        grid-template-columns: 1fr;
    }
    
    .admin-project-actions {
        flex-direction: column;
    }
    
    .btn-sm {
        width: 100%;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SUPPORT CHAT WIDGET
   ============================================ */

/* Chat Button - Fixed in bottom right */
.chat-widget-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a9eff 0%, #3b82f6 100%);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-widget-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(74, 158, 255, 0.6);
}

.chat-widget-button svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

.chat-widget-button.open {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

/* Chat Panel - Slides up from bottom */
.chat-widget-panel {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 550px;
    max-height: calc(100vh - 150px);
    background: rgba(26, 29, 35, 0.98);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.chat-widget-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chat Header */
.chat-widget-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-bottom: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-widget-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a9eff 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-widget-avatar svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.chat-widget-header-text {
    flex: 1;
}

.chat-widget-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.chat-widget-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 0;
}

.chat-widget-status {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Chat Body */
.chat-widget-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-widget-body::-webkit-scrollbar {
    width: 6px;
}

.chat-widget-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.chat-widget-body::-webkit-scrollbar-thumb {
    background: rgba(74, 158, 255, 0.3);
    border-radius: 3px;
}

.chat-widget-body::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 158, 255, 0.5);
}

/* Chat Messages */
.chat-message {
    display: flex;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 32px;
    height: 32px;
    background: rgba(74, 158, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-message.user .chat-message-avatar {
    background: rgba(167, 139, 250, 0.2);
}

.chat-message-content {
    max-width: 75%;
}

.chat-message-bubble {
    padding: 12px 16px;
    background: rgba(74, 158, 255, 0.15);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.chat-message.user .chat-message-bubble {
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.2);
}

.chat-message-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    padding: 0 4px;
}

/* Chat Quick Actions */
.chat-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.chat-quick-action {
    padding: 8px 16px;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 20px;
    color: #4a9eff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.chat-quick-action:hover {
    background: rgba(74, 158, 255, 0.2);
    border-color: rgba(74, 158, 255, 0.5);
    transform: translateY(-2px);
}

/* Chat Footer */
.chat-widget-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(74, 158, 255, 0.2);
    background: rgba(26, 29, 35, 0.95);
    border-radius: 0 0 16px 16px;
}

.chat-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-widget-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.chat-widget-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-widget-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 158, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.chat-send-button {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a9eff 0%, #3b82f6 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(74, 158, 255, 0.4);
}

.chat-send-button svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chat-widget-button {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .chat-widget-button svg {
        width: 24px;
        height: 24px;
    }
    
    .chat-widget-panel {
        bottom: 90px;
        right: 20px;
        width: calc(100vw - 40px);
        height: 500px;
        max-height: calc(100vh - 130px);
    }
}

@media (max-width: 640px) {
    .onboarding-header {
        padding: 60px 0 40px;
    }
    
    .onboarding-title {
        font-size: 28px;
    }
    
    .success-card {
        padding: 40px 24px;
    }
    
    .modal-content {
        margin: 20px;
    }
}

/* Brush Stroke Mountain Effect */
.brush-mountain {
    position: absolute;
    bottom: -80vh;
    left: 0;
    right: 0;
    width: 100%;
    height: 150vh;
    z-index: 0;
    pointer-events: none;
    
    /* Create mountain shape with gradient */
    background: 
        linear-gradient(to bottom, 
            transparent 0%, 
            rgba(28, 54, 61, 0) 10%,
            rgba(28, 54, 61, 0.1) 30%,
            rgba(28, 54, 61, 0.2) 50%,
            rgba(28, 54, 61, 0.3) 70%,
            rgba(28, 54, 61, 0.45) 100%
        );
    
    /* Add texture/brush stroke feel */
    mask-image: linear-gradient(to top, 
        black 0%, 
        black 20%,
        rgba(0,0,0,0.8) 50%,
        transparent 80%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(to top, 
        black 0%, 
        black 20%,
        rgba(0,0,0,0.8) 50%,
        transparent 80%,
        transparent 100%
    );
}

/* Add subtle noise/texture for brush stroke feel */
.brush-mountain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(120deg, transparent 48%, rgba(28, 54, 61, 0.1) 50%, transparent 52%),
        linear-gradient(60deg, transparent 48%, rgba(28, 54, 61, 0.05) 50%, transparent 52%);
    background-size: 40px 40px, 60px 60px;
    opacity: 0.3;
}

/* Brush Highlight Effect for Text */
.brush-highlight-wrapper {
    margin-bottom: 28px;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.brush-highlight {
    position: relative;
    display: inline;
    padding: 8px 24px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.8;
    font-weight: 400;
    background-image: url('images/brush.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Remove highlights from fit-section brush-highlights and change text to black */
.fit-section .brush-highlight {
    background-image: none !important;
    padding: 0;
    color: #000000 !important;
}

.fit-section .brush-highlight::before {
    display: none !important;
}

.fit-section .section-title {
    color: #000000 !important;
}

.brush-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/brush.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    z-index: -1;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

@media (max-width: 1024px) {
    .brush-highlight {
        font-size: 18px;
        padding: 9px 22px;
    }
}

@media (max-width: 768px) {
    .brush-highlight {
        white-space: normal;
        font-size: 18px;
        padding: 10px 22px;
        line-height: 1.8;
        display: inline;
        max-width: 100%;
        background-image: url('images/brush.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }
    
    .brush-highlight::before {
        background-size: 100% 100%;
    }
    
    .brush-highlight-wrapper {
        margin-bottom: 24px;
        max-width: 100%;
        overflow: visible;
    }
    
    /* Prevent horizontal scroll on all sections */
    section {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .availability-section,
    .fit-section,
    .services-section {
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .brush-highlight {
        font-size: 16px;
        padding: 9px 20px;
        line-height: 1.7;
        background-image: url('images/brush.png');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }
}
    
    .brush-highlight::before {
        background-size: 100% 100%;
    }
    
    .brush-highlight-wrapper {
        margin-bottom: 20px;
    }
}

/* ===================================
   SERVICES PAGE PROCESS SECTION STYLES (Independent from Homepage)
   =================================== */

/* Services Page Process Card */
.services-process-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 48px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.services-process-features {
    padding: 20px 0;
}

.services-process-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(74, 158, 255, 0.15);
}

.services-process-card:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(74, 158, 255, 0.15);
}

.services-process-feature-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.services-process-feature-item:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(74, 158, 255, 0.15);
}

.services-process-feature-item:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(74, 158, 255, 0.15);
}

.services-process-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.services-process-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.services-process-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.services-process-description {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Desktop: Center services process card */
@media (min-width: 769px) {
    .services-process-section .services-process-card {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-process-section .services-process-content {
        grid-template-columns: 1fr;
    }
    
    .services-process-section .services-process-feature-item {
        align-items: center;
        text-align: center;
        justify-content: center;
    }
}

/* Mobile adjustments for services process card */
@media (max-width: 768px) {
    .services-process-card {
        padding: 20px;
    }
    
    .services-process-title {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .services-process-card {
        padding: 24px;
    }
    
    .services-process-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .services-process-title {
        font-size: 24px;
    }
}

/* Hero title line 1 - keep on one line on desktop only */
@media (min-width: 769px) {
    .hero-title-line-1 {
        white-space: nowrap;
    }
}
