/* ===== CINEMATIC AGENCY - Design System ===== */
:root {
    /* Colors - Cinematic Palette */
    --bg-dark: #050505;
    --bg-surface: #0a0a0a;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;

    --primary: #d4af37;
    --primary-light: #e6c866;
    --primary-dark: #b8962f;
    --secondary: #c0c0c0;
    --accent: #e63946;

    --text-primary: #f5f5f5;
    --text-secondary: #888888;
    --text-muted: #555555;

    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    --glow: rgba(212, 175, 55, 0.3);
    --glow-strong: rgba(212, 175, 55, 0.5);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f7e98e 50%, #d4af37 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    --gradient-card: linear-gradient(145deg, #151515 0%, #0a0a0a 100%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1400px;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Film Grain Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ===== Utilities ===== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider {
    width: 60px;
    height: 1px;
    background: var(--primary);
    margin: 30px auto;
}

/* ===== Loader ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

.loader::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: loaderGlow 2s ease-in-out infinite;
}

@keyframes loaderGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.loader-logo-animated {
    margin-bottom: 30px;
}

.logo-number {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.digit {
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 400;
    color: var(--text-primary);
    opacity: 0;
    display: inline-block;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.digit-7 {
    animation: digitReveal 0.6s ease-out 0.3s forwards, digitFloat 3s ease-in-out 1.2s infinite;
}

.digit-8 {
    animation: digitReveal 0.6s ease-out 0.6s forwards, digitFloat 3s ease-in-out 1.4s infinite;
}

@keyframes digitReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes digitFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.logo-text-animated {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 0.4em;
    opacity: 0;
    animation: textReveal 0.8s ease-out 0.9s forwards;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        letter-spacing: 0.8em;
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        letter-spacing: 0.4em;
        filter: blur(0);
    }
}

.loader-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    opacity: 0;
    animation: ringFadeIn 0.5s ease-out 1s forwards;
}

@keyframes ringFadeIn {
    to {
        opacity: 1;
    }
}

.loader-ring::before,
.loader-ring::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
}

.loader-ring::before {
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    animation: ringRotate 1.5s linear infinite;
}

.loader-ring::after {
    border-bottom-color: rgba(212, 175, 55, 0.3);
    border-left-color: rgba(212, 175, 55, 0.3);
    animation: ringRotate 1.5s linear infinite reverse;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

.ring-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ringPulse 1s ease-in-out infinite;
    box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(212, 175, 55, 0.5);
}

@keyframes ringPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.7;
    }
}

.loader-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: taglineReveal 0.6s ease-out 1.3s forwards;
}

@keyframes taglineReveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Custom Cursor ===== */
.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

@media (min-width: 1024px) {

    .cursor,
    .cursor-follower {
        display: block;
    }

    body {
        cursor: none;
    }

    a,
    button {
        cursor: none;
    }
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary);
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    opacity: 0.5;
    transition: transform 0.3s ease-out, width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

/* ===== Letterbox Bars ===== */
.letterbox-bar {
    position: fixed;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--bg-dark);
    z-index: 100;
    pointer-events: none;
}

.letterbox-bar.top {
    top: 0;
}

.letterbox-bar.bottom {
    bottom: 0;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.8rem;
    position: relative;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    color: var(--text-primary);
    position: relative;
    transition: var(--transition);
}

.logo:hover .logo-text {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.logo-ai {
    color: var(--primary);
    margin-left: 6px;
    font-size: 0.9em;
    letter-spacing: 0.1em;
    position: relative;
    transition: var(--transition);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
        filter: brightness(1);
    }

    50% {
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 0 0 30px rgba(212, 175, 55, 0.3);
        filter: brightness(1.1);
    }
}

.logo:hover .logo-ai {
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px var(--primary), 0 0 40px rgba(212, 175, 55, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    text-decoration: none;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Language & Theme */
.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 12px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.lang-btn:hover,
.lang-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--primary);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

@media (max-width: 1024px) {
    .header {
        top: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.5s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-controls {
        display: flex;
        position: fixed;
        top: 15px;
        right: 70px;
        z-index: 1001;
        gap: 10px;
    }

    .nav-controls .nav-cta {
        display: none;
    }

    .lang-switcher {
        gap: 4px;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 0.7rem;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-bg video,
.hero-video-bg .video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(5, 5, 5, 0.7) 0%,
            rgba(5, 5, 5, 0.4) 50%,
            rgba(5, 5, 5, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: fadeInUp 1s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    margin-bottom: 30px;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 50px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
    animation: fadeInUp 1s ease-out 1.2s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--primary);
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 1px solid var(--text-muted);
    border-radius: 13px;
    margin: 0 auto 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 100px;
    }

    .hero-stats {
        gap: 40px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Services Section ===== */
.services {
    background: var(--bg-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: rgba(212, 175, 55, 0.3);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '—';
    color: var(--primary);
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 16px;
}

.service-link span {
    transition: transform 0.3s ease;
}

/* ===== Portfolio Section ===== */
.portfolio {
    background: var(--bg-dark);
    overflow: hidden;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 768px) {
    .portfolio-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-image img,
.portfolio-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-item:hover .portfolio-image img,
.portfolio-item:hover .portfolio-thumb-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(5, 5, 5, 0.95) 0%,
            rgba(5, 5, 5, 0.3) 50%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

.portfolio-overlay p {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: transform 0.5s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.portfolio-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-link:hover {
    color: var(--primary);
}

/* ===== Clients Section ===== */
.clients {
    background: var(--bg-surface);
    padding: 100px 0;
}

.clients-marquee {
    overflow: hidden;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    gap: 80px;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition);
}

.client-logo:hover {
    color: var(--primary);
}

.clients-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 80px;
}

@media (max-width: 768px) {
    .clients-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.client-stat {
    text-align: center;
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.client-stat:hover {
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Awards Section ===== */
.awards {
    background: var(--bg-dark);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

.award-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.award-card:hover {
    border-color: var(--primary);
    background: var(--bg-card);
}

.award-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.award-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.award-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.award-year {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Partners Section ===== */
.partners {
    background: var(--bg-surface);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

.partner-card {
    padding: 40px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.partner-card:hover {
    border-color: var(--primary);
}

.partner-logo {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.partner-card:hover .partner-logo {
    color: var(--text-primary);
}

.partner-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
}

/* ===== About Section ===== */
.about {
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.about-content .section-tag {
    margin-left: 0;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.feature span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    aspect-ratio: 4/5;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 1.2rem;
}

.floating-card.card-1 {
    top: 15%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 45%;
    right: -30px;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.about-decoration {
    position: absolute;
    border: 1px solid var(--primary);
    opacity: 0.3;
}

.about-decoration.dec-1 {
    width: 200px;
    height: 200px;
    top: -40px;
    right: -40px;
}

.about-decoration.dec-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
}

/* ===== Process Section ===== */
.process {
    background: var(--bg-surface);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    height: 1px;
    background: var(--border);
}

@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }
}

.process-step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
    background: var(--bg-surface);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Team Section ===== */
.team {
    background: var(--bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    text-align: center;
}

.team-image {
    position: relative;
    aspect-ratio: 3/4;
    margin-bottom: 24px;
    overflow: hidden;
    border: 2px solid var(--primary);
    border-radius: 16px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-placeholder span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.team-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-card);
    border-radius: 50%;
}

.team-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.team-social svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

.team-info h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.team-info p {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--bg-surface);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 60px;
    text-align: center;
}

.testimonial-content {
    margin-bottom: 40px;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-content p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}

.author-info {
    text-align: left;
}

.author-info h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dots .dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* ===== Pricing Section ===== */
.pricing {
    background: var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.pricing-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    padding: 50px 40px;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: var(--primary);
}

.pricing-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 24px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
}

.pricing-price .period {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--primary);
}

.pricing-features .x {
    color: var(--text-muted);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

/* ===== FAQ Section ===== */
.faq {
    background: var(--bg-surface);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    margin-bottom: 16px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 24px;
    line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.contact-info .section-tag {
    margin-left: 0;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.contact-text {
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.contact-details span {
    color: var(--text-secondary);
}

.contact-details a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Contact Form */
.contact-form {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    padding: 50px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-surface);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 24px;
    line-height: 1.8;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Light Theme ===== */
body.light-theme {
    --bg-dark: #fafafa;
    --bg-surface: #ffffff;
    --bg-card: #f5f5f5;
    --bg-card-hover: #eeeeee;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.15);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f5f5f5 100%);
}

body.light-theme::before {
    opacity: 0.015;
}

body.light-theme .sun-icon {
    display: none;
}

body.light-theme .moon-icon {
    display: block;
}

/* ===== Particles Effect ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    transition: var(--transition);
}

.back-to-top:hover svg {
    stroke: var(--bg-dark);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== Page Transition ===== */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 10001;
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.page-transition.active {
    transform: translateY(0);
}

.page-transition.exit {
    transform: translateY(100%);
}

/* ===== 3D Card Tilt Effect ===== */
.service-card,
.pricing-card,
.team-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card.tilt-effect,
.pricing-card.tilt-effect,
.team-card.tilt-effect {
    transition: transform 0.1s ease-out;
}

/* ===== Parallax Hero ===== */
.hero {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-video-bg {
    will-change: transform;
    transition: transform 0.1s linear;
}

.hero-content {
    will-change: transform;
}

/* ===== Enhanced Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.from-left {
    transform: translateX(-60px);
}

.reveal.from-left.active {
    transform: translateX(0);
}

.reveal.from-right {
    transform: translateX(60px);
}

.reveal.from-right.active {
    transform: translateX(0);
}

.reveal.scale-up {
    transform: scale(0.9);
}

.reveal.scale-up.active {
    transform: scale(1);
}

/* Staggered reveal for grid items */
.service-card.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card.reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.service-card.reveal:nth-child(5) {
    transition-delay: 0.5s;
}

.service-card.reveal:nth-child(6) {
    transition-delay: 0.6s;
}

.pricing-card.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-card.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.pricing-card.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.process-step.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.process-step.reveal:nth-child(4) {
    transition-delay: 0.4s;
}

.team-card.reveal:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card.reveal:nth-child(3) {
    transition-delay: 0.3s;
}

.team-card.reveal:nth-child(4) {
    transition-delay: 0.4s;
}

/* ===== Typewriter Cursor ===== */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary);
    margin-left: 5px;
    animation: cursorBlink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}