/* ============================================
   DLAKIT - Futuristic Sci-Fi Corporate Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0d0d15;
    --bg-card: rgba(15, 15, 25, 0.6);
    --bg-card-hover: rgba(20, 20, 35, 0.75);
    --text-primary: #e0e0e8;
    --text-secondary: #8888a0;
    --text-muted: #555570;
    --accent-primary: #00d4ff;
    --accent-secondary: #7b2fff;
    --accent-tertiary: #ff2d95;
    --gradient-primary: linear-gradient(135deg, #00d4ff, #7b2fff);
    --gradient-accent: linear-gradient(135deg, #7b2fff, #ff2d95);
    --gradient-glow: linear-gradient(135deg, #00d4ff22, #7b2fff22);
    --border-color: rgba(0, 212, 255, 0.12);
    --border-glow: rgba(0, 212, 255, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(0, 212, 255, 0.25);
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    --nav-height: 72px;
    --section-padding: 120px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

/* --- 3D Canvas Background --- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* --- Loading Screen --- */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader-ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: loaderSpin 1.5s linear infinite;
}
.loader-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    border-top-color: var(--accent-primary);
}
.loader-ring:nth-child(2) {
    width: 75%;
    height: 75%;
    border-right-color: var(--accent-secondary);
    animation-duration: 1.2s;
    animation-direction: reverse;
}
.loader-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    border-bottom-color: var(--accent-tertiary);
    animation-duration: 0.9s;
}
.loader-text {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--accent-primary);
    z-index: 1;
}
@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(0px);
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(255,255,255,0.02);
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}
.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(1.2);
}
.nav-logo-text {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-logo-divider {
    width: 1px;
    height: 20px;
    background: var(--border-color);
}
.nav-logo-sub {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}
.nav-link {
    display: block;
    padding: 8px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.06);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
    box-shadow: 0 0 8px var(--accent-primary);
}
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}
.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 1px;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    z-index: 2;
    overflow: hidden;
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 32px;
    background: rgba(0, 212, 255, 0.04);
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}
.title-line {
    display: block;
}
.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-typed-wrapper {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 28px;
}
.typed-prefix {
    color: var(--text-muted);
}
.typed-cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent-primary);
}
@keyframes blink {
    50% { opacity: 0; }
}
.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

/* --- Cyber Buttons --- */
.btn-cyber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-main);
}
.btn-primary-cyber {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0, 212, 255, 0.25);
}
.btn-primary-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
}
.btn-primary-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary-cyber:hover::before {
    opacity: 1;
}
.btn-outline-cyber {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
}
.btn-outline-cyber:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(0, 212, 255, 0.15);
}

/* --- Hero Mini Stats --- */
.hero-stats-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mini-stat {
    text-align: center;
}
.mini-stat-num {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mini-stat-plus {
    font-size: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mini-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 1px;
}
.mini-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent-primary);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 100%; }
}
.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-muted);
}

/* --- Section Common --- */
.section {
    position: relative;
    z-index: 2;
    padding: var(--section-padding) 0;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.section-header {
    text-align: center;
    margin-bottom: 72px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent-primary);
    margin-bottom: 16px;
    padding: 4px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.04);
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}
.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 20px;
}
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- About Section --- */
.about-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.about-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
}
.about-para {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.9;
}
.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* --- Feature Cards (Cyber + Glassmorphism) --- */
.feature-card-cyber {
    position: relative;
    padding: 28px 24px;
    background: rgba(15, 15, 25, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
}
.feature-card-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,212,255,0.03) 0%, transparent 50%, rgba(123,47,255,0.03) 100%);
    pointer-events: none;
}
.feature-card-cyber:hover {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-6px) translateZ(10px);
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.feature-card-cyber h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.feature-card-cyber p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.feature-icon-cyber {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: var(--accent-primary);
}
.feature-icon-cyber svg {
    width: 100%;
    height: 100%;
}
.card-corner {
    position: absolute;
    width: 16px;
    height: 16px;
}
.card-corner-tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid var(--accent-primary);
    border-left: 2px solid var(--accent-primary);
    border-radius: 12px 0 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.card-corner-br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid var(--accent-secondary);
    border-right: 2px solid var(--accent-secondary);
    border-radius: 0 0 12px 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card-cyber:hover .card-corner {
    opacity: 1;
}

/* --- Services Section --- */
.services-section {
    background: var(--bg-primary);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* --- Service Cards (Cyber + Spatial Depth) --- */
.service-card-cyber {
    position: relative;
    padding: 40px 32px;
    background: rgba(15, 15, 25, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 16px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}
.service-card-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(255,255,255,0.02) 0%, transparent 40%);
    pointer-events: none;
}
.service-card-cyber:hover {
    border-color: rgba(0, 212, 255, 0.25);
    box-shadow:
        0 0 40px rgba(0, 212, 255, 0.12),
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.service-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0,212,255,0.04) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.service-card-cyber:hover .service-card-glow {
    opacity: 1;
}
.service-number {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.06);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}
.service-icon-cyber {
    width: 52px;
    height: 52px;
    color: var(--accent-primary);
    margin-bottom: 24px;
}
.service-icon-cyber svg {
    width: 100%;
    height: 100%;
}
.service-card-cyber h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.service-card-cyber > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}
.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}
.list-marker {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    flex-shrink: 0;
}
.service-card-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
.service-card-cyber:hover .service-card-border {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0,212,255,0.08), transparent, rgba(123,47,255,0.08));
}

/* --- Contact Section --- */
.contact-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.contact-card-cyber {
    padding: 32px 24px;
    background: rgba(15, 15, 25, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    will-change: transform;
}
.contact-card-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(255,255,255,0.015) 0%, transparent 40%);
    pointer-events: none;
}
.contact-card-cyber:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow:
        0 0 25px rgba(0, 212, 255, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-icon-cyber {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    color: var(--accent-primary);
}
.contact-icon-cyber svg {
    width: 100%;
    height: 100%;
}
.contact-card-cyber h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.contact-card-cyber p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.contact-highlight {
    color: var(--accent-primary) !important;
    font-weight: 600;
    font-family: var(--font-mono);
}
.contact-sub {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    margin-top: 4px;
}

/* --- Contact CTA --- */
.contact-cta-cyber {
    position: relative;
    text-align: center;
    padding: 60px 40px;
    background: rgba(15, 15, 25, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}
.contact-cta-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0,212,255,0.02) 0%, transparent 30%, rgba(123,47,255,0.02) 100%);
    pointer-events: none;
}
.cta-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.contact-cta-cyber h3 {
    font-size: 28px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.contact-cta-cyber > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-cyber {
    background: rgba(13, 13, 21, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.04);
}
.modal-overlay.active .modal-cyber {
    transform: scale(1) translateY(0);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}
.modal-close:hover {
    color: var(--accent-primary);
}
.modal-cyber h3 {
    font-size: 22px;
    margin-bottom: 28px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.modal-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.modal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.3s;
}
.modal-item:hover {
    border-color: var(--border-glow);
}
.modal-item svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--accent-primary);
}
.modal-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2px;
    font-weight: 500;
}
.modal-item p {
    font-size: 15px;
    color: var(--text-primary);
}

/* --- Footer --- */
.footer-cyber {
    position: relative;
    z-index: 2;
    padding: 80px 0 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}
.footer-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}
.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
}
.footer-logo-text {
    font-size: 22px;
    font-weight: 700;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.footer-col h4 {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 1px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col li {
    font-size: 14px;
    color: var(--text-secondary);
}
.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: var(--accent-primary);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-beian {
    display: flex;
    gap: 20px;
    align-items: center;
}
.footer-beian a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-beian a:hover {
    color: var(--text-secondary);
}
.footer-beian img {
    width: 16px;
    height: 16px;
}

/* --- Back to Top --- */
.back-to-top-cyber {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--accent-primary);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.back-to-top-cyber.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top-cyber:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}
.back-to-top-cyber svg {
    width: 20px;
    height: 20px;
}

/* --- GSAP Animation States --- */
[data-animate] {
    opacity: 0;
}
[data-animate="fade"] {
    transform: translateY(30px);
}
[data-animate="slide-right"] {
    transform: translateX(-40px);
}
[data-animate="slide-left"] {
    transform: translateX(40px);
}
[data-animate="scale"] {
    transform: scale(0.9);
}
[data-animate="title"] {
    transform: translateY(60px);
    clip-path: inset(0 0 100% 0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
        --nav-height: 64px;
    }
    .nav-container {
        padding: 0 20px;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border-color);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-hamburger {
        display: flex;
    }
    .nav-logo-sub,
    .nav-logo-divider {
        display: none;
    }
    .hero {
        padding: 0 20px;
    }
    .hero-title {
        font-size: clamp(28px, 8vw, 48px);
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-stats-mini {
        flex-direction: column;
        gap: 20px;
    }
    .mini-stat-divider {
        width: 40px;
        height: 1px;
    }
    .section-container {
        padding: 0 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .about-features-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-beian {
        flex-direction: column;
        gap: 8px;
    }
    .contact-cta-cyber {
        padding: 40px 20px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-typed-wrapper {
        font-size: 13px;
    }
    .service-card-cyber {
        padding: 28px 20px;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}
