/* BiSense - Premium Business Intelligence Website
   Black & Gold brand identity — #000000 / #fde82a */

:root {
    --primary: #fde82a;
    --primary-light: #fee654;
    --primary-dark: #ffd71c;
    --primary-rgb: 253, 232, 42;
    --primary-glow: rgba(253, 232, 42, 0.25);

    --accent: #ffd71c;
    --accent-light: #ffe04a;
    --accent-glow: rgba(255, 215, 28, 0.18);

    --bg-dark: #000000;
    --bg-darker: #000000;
    --bg-card: #0a0a0a;
    --bg-card-hover: #111111;
    --bg-gradient: linear-gradient(135deg, #000000 0%, #080808 50%, #000000 100%);

    --text-primary: #f0f0f0;
    --text-secondary: #ffffff;
    --text-muted: #6b7280;

    --border-color: rgba(253, 232, 42, 0.1);
    --border-hover: rgba(253, 232, 42, 0.3);

    --section-padding: 120px;
    --container-max: 1280px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px var(--primary-glow);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

/* =========================================
   UTILITIES
   ========================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #000000;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.4);
    background: var(--primary-light);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.15);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
    background: transparent;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-social .social-link {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.header-social .social-link svg {
    width: 16px;
    height: 16px;
}

.header-social .social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* =========================================
   MOBILE MENU
   ========================================= */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-base);
}

@media (max-width: 968px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    .nav {
        justify-content: flex-end;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
        gap: 20px;
    }

    .header-social {
        display: flex;
    }
}

/* =========================================
   PARALLAX SYSTEM
   ========================================= */
.parallax-host {
    position: relative;
    overflow: hidden;
}

.parallax-bg-layer {
    position: absolute;
    inset: -80px;
    z-index: 0;
    will-change: transform;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.75) 100%),
        radial-gradient(ellipse at center top, rgba(var(--primary-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.section-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.82);
    pointer-events: none;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: #000000;
}

.hero .grid-bg {
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

/* ─── Ambient Light Orbs ─── */
.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.18) 0%, rgba(var(--primary-rgb), 0) 70%);
    filter: blur(40px);
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    left: -8%;
    animation: orbDrift1 18s ease-in-out infinite;
}

.orb-2 {
    width: 350px;
    height: 350px;
    top: 15%;
    right: -5%;
    background: radial-gradient(circle, rgba(255, 215, 28, 0.12) 0%, transparent 70%);
    animation: orbDrift2 22s ease-in-out infinite;
}

.orb-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 20%;
    animation: orbDrift3 15s ease-in-out infinite;
}

.orb-4 {
    width: 180px;
    height: 180px;
    bottom: 25%;
    right: 15%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    animation: orbDrift4 20s ease-in-out infinite;
}

.orb-5 {
    width: 600px;
    height: 600px;
    top: 40%;
    left: 35%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.06) 0%, transparent 70%);
    filter: blur(60px);
    animation: orbDrift5 25s ease-in-out infinite;
}

@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, 40px) scale(1.05); }
    50% { transform: translate(30px, 80px) scale(0.95); }
    75% { transform: translate(-30px, 30px) scale(1.02); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-50px, 30px) scale(1.08); }
    50% { transform: translate(-20px, -40px) scale(0.96); }
    75% { transform: translate(30px, -20px) scale(1.04); }
}

@keyframes orbDrift3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -30px); }
    66% { transform: translate(-20px, -50px); }
}

@keyframes orbDrift4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.15); }
}

@keyframes orbDrift5 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-50px, -40px) scale(1.1); opacity: 1; }
}

@media (max-width: 768px) {
    .orb { filter: blur(30px); }
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 200px; height: 200px; }
    .orb-5 { display: none; }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px var(--primary);
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--primary); }
    50% { opacity: 0.5; box-shadow: 0 0 2px var(--primary); }
}

.hero h1 {
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 80px auto 0;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.stat-item { text-align: center; }

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   GRID BACKGROUND
   ========================================= */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--primary);
    opacity: 0.5;
}

.section-header h2 {
    margin-bottom: 16px;
}

/* =========================================
   PARALLAX LAYERS
   ========================================= */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -60px;
    pointer-events: none;
    will-change: transform;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    background: var(--bg-darker);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
    z-index: 3;
}

.services > .container,
.industries > .container,
.cta > .container {
    position: relative;
    z-index: 3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(var(--primary-rgb), 0.05);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    border-radius: 12px;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-light);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about { position: relative; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.about-content { position: relative; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 20px; }

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    width: 14px;
    height: 14px;
    stroke: #000000;
    stroke-width: 3;
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.about-visual { position: relative; }

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(var(--primary-rgb), 0.05));
    z-index: 1;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-card {
    position: absolute;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(16px);
}

.floating-card-1 {
    bottom: -24px;
    left: -24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.floating-card-2 {
    top: 24px;
    right: -24px;
    text-align: center;
}

.floating-stat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* =========================================
   PARTNERS / TRUSTED BY SECTION
   ========================================= */
.partners {
    position: relative;
    overflow: hidden;
}

.partners::before,
.partners::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(var(--primary-rgb), 0.2), transparent);
}

.partners::before { left: 0; }
.partners::after { right: 0; }

.partners-track-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 48px;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.partners-track-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #000000, transparent);
}

.partners-track-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, transparent, #000000);
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scrollPartners 16s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 160px;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.partner-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.partner-logo {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.6;
    transition: var(--transition-base);
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.partner-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.partner-item:hover .partner-name {
    color: var(--primary);
}

/* ─── Partner Integration Grid (Services/Solutions pages) ─── */
.partner-integrations {
    padding: 48px 0;
    position: relative;
}

.partner-integrations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.partner-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.partner-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.partner-card-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    filter: grayscale(50%) brightness(1.2);
    transition: var(--transition-base);
}

.partner-card:hover .partner-card-logo {
    filter: grayscale(0%) brightness(1);
}

.partner-card-body h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.partner-card-body p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.partner-card:hover .partner-card-body h4 {
    color: var(--primary);
}

@media (max-width: 576px) {
    .partner-grid { grid-template-columns: 1fr; }
}

/* =========================================
   INDUSTRIES SECTION
   ========================================= */
.industries { background: var(--bg-darker); }

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 968px) {
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .industries-grid { grid-template-columns: 1fr; }
}

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-base);
}

.industry-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.industry-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.06);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
}

.industry-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.industry-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta {
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 28, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 { margin-bottom: 16px; }

.cta p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

@media (max-width: 768px) {
    .cta-wrapper { padding: 48px 24px; }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

@media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo-img {
    height: 56px;
    margin-bottom: 4px;
}

.footer-brand p {
    margin: 16px 0 24px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
}

.social-link:hover svg {
    stroke: #000000;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section { padding-top: 160px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

@media (max-width: 968px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.contact-info > p { margin-bottom: 40px; }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    flex-shrink: 0;
}

.method-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.method-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.method-content p,
.method-content a {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.method-content a:hover { color: var(--primary); }

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 576px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    background: #000000;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select { cursor: pointer; }

.contact-form .btn {
    width: 100%;
    padding: 16px;
}

/* =========================================
   SERVICES PAGES
   ========================================= */
.page-hero {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(var(--primary-rgb), 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 { margin-bottom: 16px; }

.page-hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-section {
    padding: 48px 0;
    position: relative;
}

.service-section + .service-section {
    border-top: 1px solid rgba(var(--primary-rgb), 0.06);
}

.service-section .section-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.service-detail.zigzag-reverse {
    direction: rtl;
}

.service-detail.zigzag-reverse > * {
    direction: ltr;
}

@media (max-width: 968px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .service-detail.zigzag-reverse {
        direction: ltr;
    }
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-detail-content p { margin-bottom: 16px; }

.service-detail-content ul {
    list-style: none;
    margin-top: 24px;
}

.service-detail-content li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.service-detail-content li svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.service-detail-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   ALERTS
   ========================================= */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1); }
    50% { box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.2); }
}

/* =========================================
   DATA VISUALIZATION DECORATIONS (Hero)
   ========================================= */
.hero-visual-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.data-element {
    position: absolute;
    opacity: 0.08;
    transition: transform 0.1s linear;
}

.data-element svg {
    stroke: var(--primary);
    fill: none;
    stroke-width: 1;
}

/* =========================================
   MOUSE SPOTLIGHT
   ========================================= */
.mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: left, top;
}

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    :root { --section-padding: 80px; }

    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 32px 24px; }
    .mouse-glow { display: none; }
}

/* =========================================
   POWER BI SHOWCASE
   ========================================= */
.powerbi-highlight {
    position: relative;
    background: linear-gradient(180deg, #000000 0%, #050505 100%);
}

.powerbi-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.3), transparent);
}

.powerbi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 968px) {
    .powerbi-grid { grid-template-columns: 1fr; }
}

.powerbi-content .section-label {
    justify-content: flex-start;
}

.powerbi-content .section-label::before { display: none; }

.powerbi-content h2 {
    margin-bottom: 20px;
}

.powerbi-content p {
    margin-bottom: 16px;
}

.powerbi-features {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.powerbi-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.powerbi-features li .feat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.powerbi-features li .feat-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.powerbi-visual {
    position: relative;
    padding: 32px;
}

.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.dashboard-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(var(--primary-rgb), 0.03);
    border-bottom: 1px solid var(--border-color);
}

.dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.dashboard-dot:first-child { background: #ef4444; }
.dashboard-dot:nth-child(2) { background: var(--primary); }
.dashboard-dot:nth-child(3) { background: #22c55e; }

.dashboard-body {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dash-widget {
    background: rgba(var(--primary-rgb), 0.03);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: 10px;
    padding: 20px;
}

.dash-widget-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.dash-widget-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.dash-widget-bar {
    margin-top: 12px;
    height: 4px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.dash-widget-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 1.5s ease;
}

.dash-chart {
    grid-column: 1 / -1;
    height: 120px;
    position: relative;
}

.dash-chart canvas {
    width: 100%;
    height: 100%;
}
