/* TECHCARE TKJ - ULTRA MODERN CSS v3.0 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2563eb; --secondary: #3b82f6; --accent: #60a5fa;
    --dark: #0f172a; --gray: #64748b; --light: #f8fafc; --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
    --shadow-md: 0 4px 20px rgba(37, 99, 235, 0.12);
    --shadow-xl: 0 20px 60px rgba(37, 99, 235, 0.20);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #dbeafe 100%);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* LOADING SCREEN */
.loading-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; }

.circuit-loader { position: relative; width: 150px; height: 150px; margin: 0 auto 2rem; }
.circuit-line {
    position: absolute; background: var(--gradient-primary);
    border-radius: 4px; animation: circuitPulse 2s infinite;
}
.circuit-line:nth-child(1) { width: 60px; height: 4px; top: 50%; left: 0; }
.circuit-line:nth-child(2) { width: 4px; height: 60px; top: 0; left: 50%; animation-delay: 0.3s; }
.circuit-line:nth-child(3) { width: 60px; height: 4px; bottom: 0; right: 0; animation-delay: 0.6s; }

.circuit-dot {
    position: absolute; width: 12px; height: 12px;
    background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 20px var(--accent); animation: dotPulse 1.5s infinite;
}
.circuit-dot:nth-child(4) { top: 20%; left: 20%; }
.circuit-dot:nth-child(5) { top: 70%; right: 20%; animation-delay: 0.5s; }
.circuit-dot:nth-child(6) { bottom: 20%; left: 50%; animation-delay: 1s; }

@keyframes circuitPulse { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes dotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); box-shadow: 0 0 40px var(--accent); } }

.loading-brand {
    display: block; font-size: 2rem; font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem; letter-spacing: 2px;
}
.loading-subtitle { display: block; font-size: 0.9rem; color: var(--gray); margin-bottom: 1.5rem; }
.loading-progress { width: 200px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin: 0 auto; }
.loading-bar { height: 100%; background: var(--gradient-primary); width: 0; animation: loadingProgress 2s ease-in-out forwards; }
@keyframes loadingProgress { 0% { width: 0; } 100% { width: 100%; } }

/* LIQUID BACKGROUND */
.liquid-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.6; }
.liquid-bg svg { width: 100%; height: 100%; }
.blob { animation: blobMove 20s infinite ease-in-out; }
.blob1 { animation-delay: 0s; } .blob2 { animation-delay: -5s; }
.blob3 { animation-delay: -10s; } .blob4 { animation-delay: -15s; }

@keyframes blobMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -50px) scale(1.1); }
    50% { transform: translate(-50px, 100px) scale(0.9); }
    75% { transform: translate(50px, 50px) scale(1.05); }
}

/* 3D ISOMETRIC */
.isometric-scene { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.iso-element {
    position: absolute; left: var(--x); top: var(--y);
    width: 80px; height: 80px; transform-style: preserve-3d;
    animation: isoFloat 6s infinite ease-in-out;
}
@keyframes isoFloat { 0%, 100% { transform: translateY(0) rotateX(45deg) rotateZ(45deg); } 50% { transform: translateY(-30px) rotateX(45deg) rotateZ(45deg); } }

.iso-face {
    position: absolute; width: 80px; height: 80px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); opacity: 0.7;
}
.iso-top { transform: rotateX(90deg) translateZ(40px); background: rgba(37, 99, 235, 0.2); }
.iso-left { transform: rotateY(-90deg) translateZ(40px); background: rgba(59, 130, 246, 0.15); }
.iso-right { transform: rotateY(90deg) translateZ(40px); background: rgba(96, 165, 250, 0.15); }

/* FLOATING ELEMENTS */
.floating-elements { position: fixed; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; z-index: 1; }
.float-item {
    position: absolute; left: var(--float-x); top: var(--float-y);
    font-size: 2.5rem; opacity: 0.08; filter: blur(1px);
    animation: gentleFloat 15s infinite ease-in-out;
}
@keyframes gentleFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, -40px); } }

/* PARTICLES */
.particle-container { position: fixed; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; z-index: 0; }
.particle { position: absolute; background: var(--primary); border-radius: 50%; opacity: 0.1; animation: particleRise 20s infinite ease-in-out; }
@keyframes particleRise {
    0% { transform: translateY(100vh) translateX(0); opacity: 0.1; }
    50% { opacity: 0.05; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* GRADIENT BG */
.gradient-bg {
    position: fixed; width: 200%; height: 200%; top: -50%; left: -50%; z-index: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(96, 165, 250, 0.05) 0%, transparent 50%);
    animation: gradientShift 30s ease infinite; pointer-events: none;
}
@keyframes gradientShift { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(-10%, 10%) rotate(10deg); } }

/* NAVIGATION */
.navbar {
    background: var(--glass-bg); backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border); position: fixed; width: 100%;
    top: 0; z-index: 1000; transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(255, 255, 255, 0.12); box-shadow: var(--shadow-md); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 1.2rem 40px; display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 1rem; animation: slideInLeft 0.8s ease; }
.logo { height: 55px; border-radius: 12px; transition: transform 0.3s ease; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1); }
.logo:hover { transform: scale(1.05); }
.brand-name {
    font-size: 1.5rem; font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-menu { display: flex; list-style: none; gap: 2.5rem; animation: slideInRight 0.8s ease; }
.nav-link {
    text-decoration: none; color: var(--dark); font-weight: 600;
    position: relative; padding: 0.5rem 0; transition: color 0.3s ease;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px; background: var(--gradient-primary);
    transition: width 0.3s ease; border-radius: 3px;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--primary); border-radius: 3px; transition: all 0.3s ease; }

/* HERO SECTION */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; z-index: 2; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.hero-text { animation: fadeInUp 1s ease; }

.hero-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.2rem; background: var(--glass-bg);
    backdrop-filter: blur(10px); border: 1px solid var(--glass-border);
    border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    color: var(--primary); margin-bottom: 2rem; animation: pulse 2s infinite;
}
.label-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: dotBlink 1.5s infinite; }
@keyframes dotBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title { font-size: 4.5rem; font-weight: 900; margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -2px; }

/* HOLOGRAPHIC TEXT */
.holographic-text {
    background: linear-gradient(45deg, #2563eb 0%, #3b82f6 25%, #60a5fa 50%, #93c5fd 75%, #2563eb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: holographicShimmer 3s ease infinite;
}
@keyframes holographicShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-subtitle { font-size: 1.4rem; color: var(--gray); margin-bottom: 1rem; font-weight: 600; }
.hero-description { font-size: 1.05rem; color: var(--gray); margin-bottom: 2.5rem; line-height: 1.8; max-width: 90%; }

/* HERO STATS */
.hero-stats {
    display: flex; align-items: center; gap: 2rem; margin-bottom: 2.5rem;
    padding: 1.5rem 2rem; background: var(--glass-bg); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
    font-size: 2.5rem; font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--gray); margin-top: 0.3rem; font-weight: 600; }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* BUTTONS */
.hero-buttons { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.btn {
    padding: 1rem 2.5rem; border-radius: 16px; text-decoration: none;
    font-weight: 700; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex; align-items: center; gap: 0.8rem; cursor: pointer;
    font-size: 1rem; position: relative; overflow: hidden;
}
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

.btn-glass {
    background: var(--glass-bg); backdrop-filter: blur(10px);
    color: var(--primary); border: 2px solid var(--glass-border);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.15); border-color: var(--primary);
    transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.btn-icon { font-size: 1.2rem; transition: transform 0.3s ease; }
.btn:hover .btn-icon { transform: translateX(5px); }

/* HERO SHOWCASE */
.hero-image { display: flex; justify-content: center; animation: fadeInRight 1s ease; perspective: 1000px; }
.tech-showcase { position: relative; width: 500px; height: 500px; }
.showcase-card {
    position: absolute; width: 140px; height: 140px;
    background: var(--glass-bg); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.8rem; box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer; animation: showcaseFloat 4s infinite ease-in-out;
}
.showcase-card:hover { transform: translateY(-15px) scale(1.05); box-shadow: var(--shadow-xl); background: rgba(255,255,255,0.15); }

.card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.card-2 { top: 10%; right: 15%; animation-delay: -1s; }
.card-3 { bottom: 25%; left: 5%; animation-delay: -2s; }
.card-4 { bottom: 15%; right: 10%; animation-delay: -3s; }

@keyframes showcaseFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.card-icon { font-size: 3rem; }
.card-label { font-size: 0.9rem; font-weight: 700; color: var(--primary); }

/* SERVICES SECTION */
.services-section { padding: 8rem 0; position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-tag {
    display: inline-block; padding: 0.6rem 1.5rem;
    background: var(--glass-bg); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 50px;
    color: var(--primary); font-size: 0.85rem; font-weight: 700;
    margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px;
}
.section-title {
    font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}
.section-subtitle { font-size: 1.2rem; color: var(--gray); max-width: 600px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 2.5rem; }

/* GLASSMORPHISM CARDS */
.service-card {
    background: var(--glass-bg); backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border); border-radius: 32px;
    padding: 3rem; position: relative; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease both;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.3s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-xl); border-color: rgba(37, 99, 235, 0.3); }

.service-bg-pattern {
    position: absolute; top: -50%; right: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    animation: patternRotate 20s linear infinite; pointer-events: none;
}
@keyframes patternRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* SVG ICONS */
.service-icon-wrapper { width: 80px; height: 80px; margin-bottom: 2rem; position: relative; z-index: 1; }
.service-icon { width: 100%; height: 100%; stroke: var(--primary); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.icon-circle, .icon-rect, .icon-polygon {
    stroke-dasharray: 300; stroke-dashoffset: 300;
    animation: iconDraw 2s ease forwards; fill: rgba(37, 99, 235, 0.05);
}
.icon-check, .icon-wave, .icon-path, .icon-cross, .icon-person {
    stroke-dasharray: 150; stroke-dashoffset: 150;
    animation: iconDraw 2s 0.5s ease forwards; stroke-width: 3;
}
.icon-circle-inner {
    stroke-dasharray: 200; stroke-dashoffset: 200;
    animation: iconDraw 2s 1s ease forwards; fill: rgba(37, 99, 235, 0.1);
}

@keyframes iconDraw { to { stroke-dashoffset: 0; } }

.service-title { font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 1rem; position: relative; z-index: 1; }
.service-description { color: var(--gray); line-height: 1.8; margin-bottom: 2rem; position: relative; z-index: 1; }
.service-footer { display: flex; gap: 0.8rem; flex-wrap: wrap; position: relative; z-index: 1; }
.service-tag {
    padding: 0.5rem 1rem; background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2); border-radius: 12px;
    font-size: 0.8rem; font-weight: 600; color: var(--primary);
    transition: all 0.3s ease;
}
.service-card:hover .service-tag { background: rgba(37, 99, 235, 0.15); border-color: rgba(37, 99, 235, 0.4); }

/* ANIMATION DELAYS */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }

/* KEYFRAMES */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

html { scroll-behavior: smooth; }
::selection { background: var(--primary); color: var(--white); }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .container { padding: 0 30px; }
    .hero-title { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; left: -100%; top: 85px; flex-direction: column;
        background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
        width: 100%; text-align: center; transition: 0.3s;
        box-shadow: var(--shadow-md); padding: 2rem 0; gap: 1.5rem;
    }
    .nav-menu.active { left: 0; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-description { max-width: 100%; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .stat-divider { width: 100%; height: 1px; }
    .hero-buttons { justify-content: center; }
    .tech-showcase { width: 100%; height: 400px; }
    .section-title { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .btn { padding: 0.9rem 2rem; font-size: 0.9rem; }
    .showcase-card { width: 110px; height: 110px; }
}

/* ===== TIPS SECTION (IMPROVED) ===== */
.tips-section {
    padding: 8rem 0;
    background: var(--light);
    position: relative;
    z-index: 2;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.tip-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease both;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tip-card:hover::before {
    opacity: 1;
}

.tip-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.tip-bg-pattern {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    animation: patternRotate 20s linear infinite;
    pointer-events: none;
}

.tip-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    line-height: 1;
}

.tip-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.tip-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--gray);
    line-height: 1.7;
    position: relative;
    font-size: 0.95rem;
}

.tip-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.tip-list li:last-child {
    margin-bottom: 0;
}

/* ===== CONTACT SECTION (IMPROVED) ===== */
.contact-section {
    padding: 8rem 0;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease both;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.3);
}

.contact-bg-pattern {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    animation: patternRotate 20s linear infinite;
    pointer-events: none;
}

.contact-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease infinite;
    position: relative;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contact-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.contact-info {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.contact-detail {
    color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

/* ===== FOOTER (IMPROVED) ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 83px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.footer-text {
    color: var(--light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.footer-copy {
    color: var(--gray);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .tip-card,
    .contact-card {
        padding: 2.5rem 2rem;
    }

    .tip-number {
        font-size: 3rem;
        top: 1.5rem;
        right: 1.5rem;
    }
}

/* ===== HERO LOGO (FIXED POSITION) ===== */
.hero-logo-wrapper {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.hero-logo {
    height: 234px;
    width: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--glass-border);
}

.hero-logo:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

/* ===== VOICE WELCOME INDICATOR ===== */
.voice-indicator {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.voice-indicator.active {
    opacity: 1;
    transform: translateY(0);
}

.voice-wave {
    width: 4px;
    height: 20px;
    background: var(--white);
    border-radius: 2px;
    animation: voiceWave 0.6s ease infinite;
}

.voice-wave:nth-child(2) {
    animation-delay: 0.1s;
}

.voice-wave:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes voiceWave {
    0%, 100% {
        height: 10px;
    }
    50% {
        height: 25px;
    }
}

.voice-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Mobile optimization for voice indicator */
@media (max-width: 768px) {
    .voice-indicator {
        bottom: 20px;
        left: 20px;
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero-logo-wrapper {
        text-align: center;
    }

    .hero-logo {
        height: 166px;
    }
}

/* ===== HERO CONTENT - GESER KE KANAN (TIDAK TERLALU KIRI) ===== */
.hero-content-shifted {
    padding-left: 60px;
}

.hero-text-shifted {
    max-width: 100%;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .hero-content-shifted {
        padding-left: 0;
    }

    .tech-showcase-grid {
        margin-top: 0;
    }
}

/* Animation delay untuk service card ke-8 (Jasa Print) */
.service-card:nth-child(8) { animation-delay: 0.8s; }

/* Animation delay untuk 12 service cards */
.service-card:nth-child(9) { animation-delay: 0.9s; }
.service-card:nth-child(10) { animation-delay: 1.0s; }
.service-card:nth-child(11) { animation-delay: 1.1s; }
.service-card:nth-child(12) { animation-delay: 1.2s; }


/* ========================================
   TECHCARE TKJ - UPGRADED INTRO & CARDS
   CSS v5.0 ADDITIONS
   ======================================== */

/* ===== UPGRADED LOADING SCREEN - SUPER WAH! ===== */

/* 3D Rotating Rings */
.loader-3d-rings {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 3rem;
    perspective: 1000px;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 4px solid;
    transform-origin: center;
    animation: ring3DRotate 4s linear infinite;
}

.ring-outer {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    border-color: #2563eb transparent #2563eb transparent;
    animation-duration: 3s;
}

.ring-middle {
    width: 130px;
    height: 130px;
    margin: -65px 0 0 -65px;
    border-color: #3b82f6 transparent #3b82f6 transparent;
    animation-duration: 4s;
    animation-direction: reverse;
}

.ring-inner {
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    border-color: #60a5fa transparent #60a5fa transparent;
    animation-duration: 5s;
}

@keyframes ring3DRotate {
    0% {
        transform: rotateX(60deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(60deg) rotateZ(360deg);
    }
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.6),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: centerPulse 2s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.6),
                    inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        box-shadow: 0 0 60px rgba(37, 99, 235, 0.9),
                    inset 0 0 30px rgba(255, 255, 255, 0.4);
    }
}

.center-icon {
    font-size: 2.2rem;
    animation: iconSpin 6s ease-in-out infinite;
}

@keyframes iconSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

/* Animated Brand Letters */
.loading-brand-wrapper {
    margin-bottom: 1rem;
}

.loading-brand {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 6px;
    display: inline-flex;
    gap: 2px;
}

.letter {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa, #93c5fd);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letterWave 2.5s ease-in-out infinite,
               gradientFlow 4s ease infinite;
    animation-delay: calc(var(--i) * 0.1s);
    transform-origin: center;
}

.letter-space {
    display: inline-block;
    width: 15px;
}

@keyframes letterWave {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.15);
    }
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.loading-subtitle {
    display: block;
    font-size: 1rem;
    color: #93c5fd;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    animation: subtitleGlow 2s ease-in-out infinite;
}

@keyframes subtitleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(147, 197, 253, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(147, 197, 253, 0.8),
                     0 0 30px rgba(59, 130, 246, 0.5);
    }
}

/* Enhanced Progress Bar */
.loading-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 1rem;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa, #93c5fd);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressGlow 2s ease infinite;
    position: relative;
}

@keyframes progressGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 25px rgba(96, 165, 250, 0.8);
    }
}

.progress-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%);
    animation: progressShine 2s ease infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.loading-percentage {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

/* Floating Particles in Loading */
.loading-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.loader-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #60a5fa, transparent);
    border-radius: 50%;
    animation: loaderParticleFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.6;
}

@keyframes loaderParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translate(20px, -30px) scale(1.5);
        opacity: 0.8;
    }
}

/* Responsive Loading */
@media (max-width: 768px) {
    .loader-3d-rings {
        width: 150px;
        height: 150px;
    }

    .ring-outer {
        width: 140px;
        height: 140px;
        margin: -70px 0 0 -70px;
    }

    .ring-middle {
        width: 100px;
        height: 100px;
        margin: -50px 0 0 -50px;
    }

    .ring-inner {
        width: 60px;
        height: 60px;
        margin: -30px 0 0 -30px;
    }

    .loading-brand {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .loading-progress {
        width: 250px;
    }
}

/* ===== 12 SHOWCASE CARDS GRID - DIGESER KE ATAS & SEDIKIT KE KANAN ===== */
.tech-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 450px;
    margin: -280px auto 0;  /* DIGESER KE ATAS LAGI (dari -250px jadi -280px) */
    margin-left: auto;
    margin-right: 0;        /* DIGESER KE KANAN */
    padding-right: 30px;    /* SEDIKIT PADDING KANAN */
}

.tech-showcase-grid .showcase-card {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    min-height: 120px;
    padding: 1.2rem 0.8rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.tech-showcase-grid .showcase-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
}

.tech-showcase-grid .card-icon {
    font-size: 2.2rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
}

.tech-showcase-grid .showcase-card:hover .card-icon {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 6px 12px rgba(37, 99, 235, 0.5));
}

.tech-showcase-grid .card-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.tech-showcase-grid .showcase-card:hover .card-label {
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Click effect for new cards */
.tech-showcase-grid .showcase-card.clicking {
    animation: cardClickEffect 0.6s ease;
}

@keyframes cardClickEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4),
                    inset 0 0 20px rgba(37, 99, 235, 0.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Stagger animation for cards */
.tech-showcase-grid .showcase-card:nth-child(1) {
    animation: cardFadeIn 0.5s ease 0.1s both;
}
.tech-showcase-grid .showcase-card:nth-child(2) {
    animation: cardFadeIn 0.5s ease 0.15s both;
}
.tech-showcase-grid .showcase-card:nth-child(3) {
    animation: cardFadeIn 0.5s ease 0.2s both;
}
.tech-showcase-grid .showcase-card:nth-child(4) {
    animation: cardFadeIn 0.5s ease 0.25s both;
}
.tech-showcase-grid .showcase-card:nth-child(5) {
    animation: cardFadeIn 0.5s ease 0.3s both;
}
.tech-showcase-grid .showcase-card:nth-child(6) {
    animation: cardFadeIn 0.5s ease 0.35s both;
}
.tech-showcase-grid .showcase-card:nth-child(7) {
    animation: cardFadeIn 0.5s ease 0.4s both;
}
.tech-showcase-grid .showcase-card:nth-child(8) {
    animation: cardFadeIn 0.5s ease 0.45s both;
}
.tech-showcase-grid .showcase-card:nth-child(9) {
    animation: cardFadeIn 0.5s ease 0.5s both;
}
.tech-showcase-grid .showcase-card:nth-child(10) {
    animation: cardFadeIn 0.5s ease 0.55s both;
}
.tech-showcase-grid .showcase-card:nth-child(11) {
    animation: cardFadeIn 0.5s ease 0.6s both;
}
.tech-showcase-grid .showcase-card:nth-child(12) {
    animation: cardFadeIn 0.5s ease 0.65s both;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .tech-showcase-grid {
        max-width: 400px;
        gap: 1rem;
        margin-top: -150px;  /* Sesuaikan untuk tablet */
        padding-right: 20px;
    }

    .tech-showcase-grid .showcase-card {
        min-height: 110px;
        padding: 1rem 0.6rem;
    }

    .tech-showcase-grid .card-icon {
        font-size: 2rem;
    }

    .tech-showcase-grid .card-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .tech-showcase-grid {
        max-width: 100%;
        gap: 0.8rem;
        margin-top: 0;       /* Reset untuk mobile */
        margin-left: auto;
        margin-right: auto;
        padding-right: 0;
    }

    .tech-showcase-grid .showcase-card {
        min-height: 100px;
        padding: 0.8rem 0.5rem;
        border-radius: 16px;
    }

    .tech-showcase-grid .card-icon {
        font-size: 1.8rem;
    }

    .tech-showcase-grid .card-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .tech-showcase-grid {
        gap: 0.6rem;
    }

    .tech-showcase-grid .showcase-card {
        min-height: 85px;
        padding: 0.6rem 0.4rem;
    }

    .tech-showcase-grid .card-icon {
        font-size: 1.5rem;
    }

    .tech-showcase-grid .card-label {
        font-size: 0.65rem;
    }
}