/* ========================================
   MIRA Game Art Website - Professional Corporate Style
   Clean, Modern, International Business Design
   ======================================== */

/* CSS Variables - Professional Color Palette */
:root {
    /* Primary Colors */
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #1a1a1a;
    --color-bg-tertiary: #2a2a2a;
    --color-bg-dark: #000000;
    
    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-text-muted: #808080;
    --color-text-light: #505050;
    
    /* Accent Colors */
    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-accent-light: rgba(59, 130, 246, 0.1);
    --color-accent-dark: #1e40af;
    
    /* Accent Secondary (for variety) */
    --color-accent-2: #8b5cf6;
    --color-accent-2-hover: #7c3aed;
    
    /* Border Colors */
    --color-border: #333333;
    --color-border-light: #2a2a2a;
    
    /* Shadow Colors */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -2px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 10px 10px -5px rgba(0, 0, 0, 0.7);
    
    /* Typography */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --nav-height: 72px;
    --section-padding: 100px;
    --container-padding: 24px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 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(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

/* Typography Scale */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    color: var(--color-text-secondary);
    line-height: 1.75;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   Navigation - Clean & Professional
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.nav__logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
}

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

.nav__menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-normal);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-accent);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav__lang-icon {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.nav__lang:hover .nav__lang-icon {
    color: rgba(255, 255, 255, 0.9);
}

.nav__lang-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.02em;
}

.nav__lang-select {
    appearance: none;
    -webkit-appearance: none;
    min-width: 110px;
    padding: 8px 32px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.nav__lang-select:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav__lang-select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    background-color: rgba(255, 255, 255, 0.1);
}

.nav__lang-select::-ms-expand {
    display: none;
}

.nav__lang-select option {
    background: var(--color-bg-dark);
    color: #ffffff;
    padding: 12px 16px;
}

.nav__lang-select option:hover {
    background: rgba(59, 130, 246, 0.25);
}

/* Google Translate Widget Styling */
.google-translate-wrapper {
    display: inline-flex;
    align-items: center;
}

.google-translate-wrapper .goog-te-combo {
    appearance: none;
    -webkit-appearance: none;
    min-width: 110px;
    padding: 8px 32px 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.google-translate-wrapper .goog-te-combo:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.google-translate-wrapper .goog-te-combo:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.google-translate-wrapper .goog-te-combo option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 12px 16px;
}

/* Hide Google Translate banner/attribution */
.goog-te-banner-frame {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    height: auto !important;
}

.goog-te-gadget span {
    display: none !important;
}

/* Google Translate Element */
#google_translate_element {
    display: inline-block;
}

#google_translate_element {
    display: inline-block;
    opacity: 1;
    pointer-events: auto;
}

#google_translate_element .goog-te-gadget {
    font-family: var(--font-body) !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-combo {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    padding: 12px 46px 12px 16px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    min-width: 180px !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-combo:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
}

iframe.goog-te-banner-frame,
iframe.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-balloon-frame,
.goog-te-gadget-icon,
.goog-logo-link,
.goog-te-spinner-pos,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip-window {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Keep Google Translate select accessible but hidden from view */
.goog-te-combo {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.nav__lang-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18);
}

/* Responsive styles */
@media (max-width: 768px) {
    .nav__lang-label {
        display: none;
    }

    .nav__lang-select {
        min-width: 90px;
        padding: 6px 28px 6px 10px;
        font-size: 0.8rem;
    }

    .nav__lang-icon {
        width: 16px;
        height: 16px;
    }
}

/* Mobile Menu */
.nav__mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__mobile-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    border-radius: 8px;
}

.btn--primary {
    background: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-primary);
}

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

.btn--white {
    background: var(--color-bg-secondary);
    color: var(--color-accent);
    border: 1px solid var(--color-border);
}

.btn--white:hover {
    background: var(--color-bg-tertiary);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: var(--section-padding) 0;
}

.section--gray {
    background: var(--color-bg-secondary);
}

.section--dark {
    background: var(--color-bg-dark);
    color: white;
}

.section--dark p {
    color: rgba(255, 255, 255, 0.7);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: var(--color-accent-light);
    border-radius: 20px;
}

.section__title {
    margin-bottom: 16px;
}

.section__desc {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.82) 100%), url('../background.png') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18) 0%, rgba(10, 10, 10, 0.85) 100%);
    opacity: 0.75;
}

.hero__container {
    display: grid;
    justify-items: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.hero__title {
    margin-bottom: 24px;
    line-height: 1.1;
}

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

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    text-align: center;
}

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

.hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.hero__stat {
    text-align: left;
}

.hero__stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.hero__image {
    position: relative;
    z-index: 1;
}

.hero__image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image-wrapper img {
    width: 100%;
    height: auto;
}

.hero__image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__image-badge-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.hero__image-badge-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.hero__image-badge-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ========================================
   Features Grid
   ======================================== */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: 16px;
    color: var(--color-accent);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-card__icon {
    background: var(--color-accent);
    color: white;
}

.feature-card__title {
    margin-bottom: 12px;
}

.feature-card__desc {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.feature-card--with-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.feature-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 16px;
    z-index: 1;
}

.feature-card__content {
    position: relative;
    z-index: 2;
}

.feature-card--with-bg .feature-card__icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.feature-card--with-bg:hover .feature-card__icon {
    background: var(--color-accent);
    color: white;
}

.feature-card--with-bg .feature-card__title,
.feature-card--with-bg .feature-card__desc {
    color: #ffffff;
}

.feature-card--with-bg .feature-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Services Grid
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    position: relative;
    padding: 48px 36px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.service-card__number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-bg-tertiary);
    margin-bottom: 16px;
    transition: var(--transition-normal);
}

.service-card:hover .service-card__number {
    color: var(--color-accent-light);
}

.service-card__title {
    margin-bottom: 16px;
}

.service-card__desc {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.service-card--with-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.service-card__content {
    position: relative;
    z-index: 2;
}

.service-card--with-bg .service-card__number {
    color: rgba(255, 255, 255, 0.3);
}

.service-card--with-bg:hover .service-card__number {
    color: var(--color-accent);
}

.service-card--with-bg .service-card__title,
.service-card--with-bg .service-card__desc {
    color: #ffffff;
}

.service-card--with-bg .service-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

.service-card--link {
    color: inherit;
    text-decoration: none;
}

.service-card--link:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 5px;
}

/* ========================================
   Service Detail
   ======================================== */
.service-detail {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 64px) 0 100px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 28%, rgba(59, 130, 246, 0.13), transparent 34%),
        #0a0a0a;
    color: #fff;
}

.service-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 58px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.service-detail__back:hover { color: #fff; }
.service-detail__back svg { transition: transform var(--transition-fast); }
.service-detail__back:hover svg { transform: translateX(-4px); }

.service-detail__layout {
    display: block;
}

.service-detail__content {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
    grid-template-areas:
        "eyebrow eyebrow"
        "title description";
    column-gap: clamp(48px, 9vw, 140px);
    align-items: end;
    margin-bottom: clamp(64px, 8vw, 110px);
}

.service-detail__eyebrow {
    grid-area: eyebrow;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    color: #8ab8ff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.service-detail__eyebrow::before {
    content: '';
    width: 38px;
    height: 1px;
    background: currentColor;
}

.service-detail__title {
    grid-area: title;
    max-width: 620px;
    margin: 0;
    font-size: clamp(3rem, 6vw, 6.8rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.service-detail__desc {
    grid-area: description;
    max-width: 620px;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.8;
}

.service-gallery {
    position: relative;
    min-width: 0;
    outline: none;
}

.service-gallery__stage {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 2.112 / 1;
    perspective: 1300px;
}

.service-gallery__slide {
    position: absolute;
    inset: 0 7% 0 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    background: #171717;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
    transition: transform 650ms cubic-bezier(.2,.8,.2,1), opacity 500ms ease, filter 500ms ease;
}

.service-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
}

.service-gallery__slide[data-position="active"] {
    z-index: 3;
    transform: translate3d(0, 0, 0) rotateY(0);
    opacity: 1;
}

.service-gallery__slide[data-position="next"] {
    z-index: 2;
    transform: translate3d(8%, -5%, -90px) rotateY(-2deg);
    opacity: 0.62;
    filter: brightness(0.58);
}

.service-gallery__slide[data-position="prev"] {
    z-index: 1;
    transform: translate3d(16%, -10%, -180px) rotateY(-4deg);
    opacity: 0.32;
    filter: brightness(0.38);
}

.service-gallery__slide[data-position="hidden"] {
    z-index: 0;
    transform: translate3d(16%, -10%, -220px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.service-gallery__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.service-gallery__button {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.service-gallery__button:hover {
    background: #fff;
    color: #0a0a0a;
    transform: scale(1.05);
}

.service-gallery__button:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 3px;
}

.service-gallery__count {
    margin-left: 14px;
    color: rgba(255,255,255,.35);
    font-size: .78rem;
    letter-spacing: .15em;
}

.service-gallery__count strong { color: #fff; font-weight: 600; }

.service-gallery.is-single .service-gallery__button,
.service-gallery.is-single .service-gallery__count {
    display: none;
}

@media (max-width: 900px) {
    .service-detail { padding-top: calc(var(--nav-height) + 40px); }
    .service-detail__back { margin-bottom: 38px; }
    .service-detail__content {
        display: block;
        margin-bottom: 58px;
    }
    .service-detail__title { max-width: 720px; }
    .service-detail__desc { margin-top: 26px; }
    .service-gallery__stage { height: auto; }
}

@media (max-width: 520px) {
    .service-detail { padding-bottom: 70px; }
    .service-detail__title { font-size: clamp(2.8rem, 14vw, 4rem); }
    .service-gallery__stage { height: auto; }
    .service-gallery__slide { right: 8%; }
    .service-gallery__button { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .service-gallery__slide { transition: opacity 150ms linear; }
}

/* ========================================
   Portfolio Grid
   ======================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.portfolio-grid--full {
    grid-template-columns: repeat(4, 1fr);
}

.section--showcase {
    background: linear-gradient(180deg, rgba(5, 8, 20, 0.96), rgba(10, 12, 28, 0.96));
}

.section--showcase .section__header {
    color: #f8fafc;
}

.section--showcase .section__tag,
.section--showcase .section__title,
.section--showcase .section__desc {
    color: #dbeafe;
}

.showcase-panel {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 500px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.28), rgba(10, 10, 10, 0.88)), url('../background.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 48px;
    margin-top: 24px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22);
}

.showcase-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.34);
}

.showcase-panel__content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    text-align: center;
    color: #ffffff;
}

.showcase-panel__content .section__tag {
    color: var(--color-accent);
}

.showcase-panel__content .section__title {
    margin-bottom: 20px;
}

.showcase-panel__content .section__desc {
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto 32px;
    max-width: 610px;
}

.showcase-panel__content .btn {
    margin-top: 10px;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    background: var(--color-bg-tertiary);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.portfolio-item__category {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-item__icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-item__icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-item--wide {
    grid-column: span 2;
}

.portfolio-item.hidden {
    display: none;
}

/* Portfolio Filter */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 30px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

/* ========================================
   About Section
   ======================================== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-intro__image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-intro__image img {
    width: 100%;
    height: auto;
}

.about-intro__badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-intro__badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.about-intro__badge-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.about-intro__content h2 {
    margin-bottom: 24px;
}

.about-intro__text {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Company Gallery */
.company-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.company-gallery__item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.company-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.company-gallery__item:hover img {
    transform: scale(1.05);
}

.company-gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, transparent 100%);
    color: white;
}

.company-gallery__caption strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.company-gallery__caption span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-intro__list {
    margin-top: 32px;
}

.about-intro__list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
}

.about-intro__list-icon {
    width: 24px;
    height: 24px;
    background: var(--color-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.stat-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.stat-item__number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.stat-item__label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    padding: 48px 36px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-normal);
}

.value-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.value-card__icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: 50%;
    color: var(--color-accent);
    transition: var(--transition-normal);
}

.value-card:hover .value-card__icon {
    background: var(--color-accent);
    color: white;
}

.value-card__title {
    margin-bottom: 16px;
}

.value-card__desc {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.value-card--with-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.value-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 20px;
    z-index: 1;
}

.value-card__content {
    position: relative;
    z-index: 2;
}

.value-card--with-bg .value-card__icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.value-card--with-bg:hover .value-card__icon {
    background: var(--color-accent);
    color: white;
}

.value-card--with-bg .value-card__title,
.value-card--with-bg .value-card__desc {
    color: #ffffff;
}

.value-card--with-bg .value-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    padding: 48px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-info__title {
    margin-bottom: 32px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: 12px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-info__text {
    flex: 1;
}

.contact-info__label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info__value {
    color: var(--color-text-primary);
    font-weight: 500;
}

.contact-info__social {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    border-radius: 10px;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    color: white;
}

/* Contact Form */
.contact-form {
    padding: 48px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form__title {
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg-secondary);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.lightbox__close:hover {
    background: var(--color-accent);
    color: white;
}

/* Partners Section */
.partners-container {
    margin-top: 48px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 24px;
    background: var(--color-bg-secondary);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.global-map {
    margin-top: 24px;
}

.global-map__wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.global-map__wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.global-marker {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    box-shadow: var(--shadow-md);
}

.global-marker::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
}

.global-marker--suzhou {
    top: 45%;
    left: 68%;
}

.global-marker--nanchang {
    top: 54%;
    left: 71%;
}

.global-marker--shinjuku {
    top: 44%;
    left: 84%;
}

.footer__icon-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer__icon-link svg {
    min-width: 18px;
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.partner-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.game-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-item:hover {
    transform: translateY(-4px);
}

.game-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-bg-dark);
    color: white;
    padding: 80px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

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

.footer__desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer__title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-accent);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer__social .social-link:hover {
    background: var(--color-accent);
}

/* 社交链接 - 联系区域底部 */
.footer__social-inline {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

/* 社交链接项 - 确保图标和文字在同一行 */
.footer__social-inline .social-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-secondary);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition-fast);
}

/* 确保 SVG 图标正确显示 */
.footer__social-inline .social-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: #ffffff;
    stroke: #ffffff;
}

/* Instagram 图标特殊处理 - stroke 样式 */
.footer__social-inline .social-link svg[fill="none"] {
    fill: none;
    stroke: #ffffff;
}

.footer__social-inline .social-link:hover {
    background: var(--color-accent);
    color: white;
}

.footer__social-inline .social-link:hover svg {
    fill: #ffffff;
    stroke: #ffffff;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header--with-bg {
    min-height: 500px;
    display: flex;
    align-items: center;
    background: var(--color-bg-dark);
}

.page-header__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-header--with-bg .container {
    position: relative;
    z-index: 1;
}

.page-header--with-bg .page-header__title,
.page-header--with-bg .page-header__desc {
    color: white;
}

.page-header--with-bg .page-header__desc {
    color: rgba(255, 255, 255, 0.7);
}

.section__tag--light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-header__title {
    margin-bottom: 16px;
}

.page-header__desc {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__cta {
        justify-content: center;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .hero__image {
        display: none;
    }
    
    .portfolio-grid,
    .portfolio-grid--full {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav__container {
        padding: 0 var(--container-padding);
    }
    
    .nav__menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: white;
        padding: 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: var(--transition-fast);
    }
    
    .nav__menu.active {
        transform: translateX(0);
    }
    
    .nav__mobile-btn {
        display: flex;
    }
    
    .features,
    .services-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-gallery {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid,
    .portfolio-grid--full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item--wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .features,
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero__stat {
        text-align: center;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer__brand {
        max-width: 100%;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info,
    .contact-form {
        padding: 32px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 16px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero__cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .portfolio-grid,
    .portfolio-grid--full {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
