/* ============================================
   AC VISUAL - BRAND & DESIGN
   Modern Bold Design System
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;

    --accent-primary: #8b5cf6;
    --accent-secondary: #f97316;
    --accent-tertiary: #06b6d4;

    --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #f97316 100%);
    --gradient-hover: linear-gradient(135deg, #a78bfa 0%, #fb923c 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1400px;
    --gap-sm: 12px;
    --gap-md: 24px;
    --gap-lg: 48px;
    --gap-xl: 80px;

    /* Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-main);
    border-radius: 4px;
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 65ch;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gap-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    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(--gradient-main);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 10, 10, 0.7) 0%,
            rgba(10, 10, 10, 0.5) 50%,
            rgba(10, 10, 10, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: var(--gap-xl) var(--gap-md);
    max-width: 1000px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--gap-md);
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    margin-bottom: var(--gap-sm);
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.3s;
}

.hero-title .gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: var(--gap-lg);
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin: 0 auto var(--gap-lg);
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.7s;
}

.hero-buttons {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.9s;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gradient-main);
    border-radius: 2px;
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* Lottie Container in Hero */
.hero-lottie {
    position: absolute;
    width: 400px;
    height: 400px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-lottie-left {
    left: -100px;
    top: 20%;
}

.hero-lottie-right {
    right: -100px;
    bottom: 20%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--gap-xl);
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--gap-md);
}

.section-title {
    margin-bottom: var(--gap-md);
}

.section-description {
    margin: 0 auto;
    max-width: 600px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--gap-md);
}

.service-card {
    position: relative;
    padding: var(--gap-lg);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-glass);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--gap-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--border-radius-md);
    font-size: 2rem;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    margin-bottom: var(--gap-sm);
    font-size: 1.5rem;
}

.service-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.service-features {
    margin-top: var(--gap-md);
    padding-top: var(--gap-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-feature svg {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

/* ============================================
   3D MODELS SHOWCASE SECTION
   ============================================ */
.models-showcase {
    background: var(--bg-primary);
    overflow: hidden;
}

.models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: center;
}

.models-content {
    padding-right: var(--gap-lg);
}

.models-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--gap-lg);
}

.models-features {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.models-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-md);
    padding: var(--gap-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.models-feature:hover {
    background: var(--bg-glass);
    border-color: rgba(139, 92, 246, 0.2);
}

.models-feature .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-subtle);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.models-feature .feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.models-feature .feature-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* Model Viewer Container */
.models-viewer {
    position: relative;
}

.model-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: transparent;
    border-radius: var(--border-radius-lg);
    overflow: visible;
}

.model-container model-viewer {
    width: 100%;
    height: 100%;
    --poster-color: transparent;
}

/* Loading Placeholder */
.model-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.model-loader {
    text-align: center;
    padding: var(--gap-lg);
}

.model-loader svg {
    animation: float 3s ease-in-out infinite;
    margin-bottom: var(--gap-md);
}

.model-loader p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--gap-sm);
}

.model-loader .loader-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    background: var(--bg-card);
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    display: inline-block;
}

/* Model Hints */
.model-hints {
    position: absolute;
    bottom: var(--gap-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--gap-md);
    padding: 10px 20px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.model-hints .hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.model-hints .hint svg {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 992px) {
    .models-grid {
        grid-template-columns: 1fr;
    }

    .models-content {
        padding-right: 0;
        text-align: center;
    }

    .models-features {
        max-width: 500px;
        margin: 0 auto;
    }

    .model-container {
        height: 500px;
    }
}

@media (max-width: 576px) {
    .model-container {
        height: 400px;
    }

    .model-hints {
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-main);
    border-color: transparent;
    color: var(--text-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(10, 10, 10, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--gap-md);
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.portfolio-link {
    position: absolute;
    top: var(--gap-md);
    right: var(--gap-md);
    width: 48px;
    height: 48px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================
   SOCIAL CTA SECTION
   ============================================ */
.social-cta {
    padding: var(--gap-xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.social-cta-content {
    text-align: center;
}

.social-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--gap-lg);
}

.social-cta-icons {
    display: flex;
    justify-content: center;
    gap: var(--gap-lg);
}

.social-cta-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-cta-link svg {
    width: 28px;
    height: 28px;
}

.social-cta-link:hover {
    background: var(--gradient-main);
    border-color: transparent;
    color: var(--text-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: center;
}

.about-content {
    padding-right: var(--gap-lg);
}

.about-title {
    margin-bottom: var(--gap-md);
}

.about-text {
    margin-bottom: var(--gap-md);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    margin-top: var(--gap-lg);
}

.stat-item {
    text-align: center;
    padding: var(--gap-md);
    background: var(--bg-card);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

/* Team Bubbles */
.team-bubbles {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-bubble {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bubble-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-main);
    opacity: 0.3;
    filter: blur(20px);
    transform: scale(1.2);
    z-index: -1;
}

.bubble-image {
    position: relative;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
        var(--gradient-main) border-box;
    transition: var(--transition-smooth);
}

.bubble-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.team-bubble:hover .bubble-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.team-bubble:hover .bubble-glow {
    opacity: 0.5;
    transform: scale(1.3);
}

/* Bubble 1 - Largest, top right */
.bubble-1 {
    top: 0;
    right: 0;
    animation: float 6s ease-in-out infinite;
}

.bubble-1 .bubble-image {
    width: 240px;
    height: 240px;
    border-radius: 47% 53% 52% 48% / 46% 47% 53% 54%;
}

/* Bubble 2 - Medium, bottom left */
.bubble-2 {
    bottom: 40px;
    left: 0;
    animation: float 7s ease-in-out infinite;
    animation-delay: -2s;
}

.bubble-2 .bubble-image {
    width: 210px;
    height: 210px;
    border-radius: 52% 48% 45% 55% / 55% 52% 48% 45%;
}

/* Bubble 3 - Smaller, center-right */
.bubble-3 {
    top: 50%;
    right: 30%;
    transform: translateY(-50%);
    animation: float 8s ease-in-out infinite;
    animation-delay: -4s;
}

.bubble-3 .bubble-image {
    width: 180px;
    height: 180px;
    border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
}

/* Caption styling */
.bubble-caption {
    position: absolute;
    bottom: -10px;
    right: -10px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.bubble-role {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Float animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.bubble-3 {
    animation-name: float3;
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(calc(-50% - 15px)) translateX(5px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .team-bubbles {
        height: 350px;
        margin-top: var(--gap-xl);
    }

    .bubble-1 {
        top: 0;
        right: 10%;
    }

    .bubble-1 .bubble-image {
        width: 140px;
        height: 140px;
    }

    .bubble-2 {
        bottom: 20px;
        left: 5%;
    }

    .bubble-2 .bubble-image {
        width: 120px;
        height: 120px;
    }

    .bubble-3 {
        top: auto;
        bottom: 100px;
        right: 5%;
    }

    .bubble-3 .bubble-image {
        width: 100px;
        height: 100px;
    }

    .bubble-caption {
        padding: 6px 12px;
    }

    .bubble-role {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .team-bubbles {
        height: 300px;
    }

    .bubble-1 .bubble-image {
        width: 110px;
        height: 110px;
    }

    .bubble-2 .bubble-image {
        width: 95px;
        height: 95px;
    }

    .bubble-3 .bubble-image {
        width: 80px;
        height: 80px;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--gradient-main);
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--gap-md);
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--gap-lg);
}

.cta .btn {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.cta .btn:hover {
    background: var(--bg-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--gap-xl);
}

.contact-info {
    padding-right: var(--gap-lg);
}

.contact-title {
    margin-bottom: var(--gap-md);
}

.contact-text {
    margin-bottom: var(--gap-lg);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-subtle);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

.contact-item-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 1rem;
    color: var(--text-primary);
}

.contact-socials {
    display: flex;
    gap: var(--gap-sm);
    margin-top: var(--gap-lg);
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-main);
    border-color: transparent;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: var(--gap-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: var(--gap-md);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
}

.form-submit {
    width: 100%;
    margin-top: var(--gap-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    padding: var(--gap-xl) 0 var(--gap-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--gap-xl);
    margin-bottom: var(--gap-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: var(--gap-md);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.footer-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--gap-md);
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-link {
    display: block;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
    padding-left: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--gap-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: var(--gap-md);
}

.footer-bottom-link {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-bottom-link:hover {
    color: var(--accent-primary);
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Gradient text animation */
.gradient-animated {
    background: linear-gradient(90deg,
            var(--accent-primary),
            var(--accent-secondary),
            var(--accent-tertiary),
            var(--accent-primary));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glow effect */
.glow {
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(139, 92, 246, 0.2),
        0 0 60px rgba(139, 92, 246, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: var(--gap-lg);
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero-lottie {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item.large {
        grid-column: span 1;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--gap-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   LIGHTBOX STYLES
   ============================================ */
.glightbox-container {
    background: rgba(10, 10, 10, 0.95);
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
    background: var(--gradient-main);
}

.glightbox-clean .gdesc-inner {
    background: var(--bg-secondary);
}

.glightbox-clean .gslide-title {
    font-family: var(--font-display);
    color: var(--text-primary);
}

.glightbox-clean .gslide-desc {
    color: var(--text-secondary);
}