/* =====================================================================
 * PT. IYOU INOVASI TEKNOLOGI INDONESIA (IYOU TECH)
 * Modern Lime Green Tech Stylesheet (Light Mode Default & Dark Mode)
 * ===================================================================== */

:root {
    --color-lime-primary: #84cc16;
    --color-lime-light: #a3e635;
    --color-lime-dark: #65a30d;
    --color-lime-glow: rgba(132, 204, 22, 0.3);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

/* Custom Lime Gradients & Text */
.text-gradient-lime {
    background: linear-gradient(135deg, #4d7c0f 0%, #65a30d 50%, #15803d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark .text-gradient-lime {
    background: linear-gradient(135deg, #bef264 0%, #a3e635 50%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-white-lime {
    background: linear-gradient(180deg, #0f172a 30%, #4d7c0f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark .text-gradient-white-lime {
    background: linear-gradient(180deg, #ffffff 30%, #a3e635 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-lime-glow {
    box-shadow: 0 0 35px var(--color-lime-glow);
}

.bg-lime-glow-sm {
    box-shadow: 0 0 15px rgba(132, 204, 22, 0.2);
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(132, 204, 22, 0.2);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(132, 204, 22, 0.55);
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -8px rgba(132, 204, 22, 0.18);
}

.dark .glass-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(132, 204, 22, 0.18);
    box-shadow: none;
}

.dark .glass-card:hover {
    border-color: rgba(163, 230, 53, 0.45);
    box-shadow: 0 12px 30px -10px rgba(132, 204, 22, 0.2);
}

.glass-card-static {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 25px -4px rgba(15, 23, 42, 0.06);
}

.dark .glass-card-static {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(132, 204, 22, 0.15);
    box-shadow: none;
}

/* Tech Background Pattern */
.bg-tech-grid {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(132, 204, 22, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(132, 204, 22, 0.08) 1px, transparent 1px);
}

.dark .bg-tech-grid {
    background-image: 
        linear-gradient(to right, rgba(132, 204, 22, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(132, 204, 22, 0.05) 1px, transparent 1px);
}

.bg-radial-gradient {
    background: radial-gradient(circle at 50% 10%, rgba(132, 204, 22, 0.15) 0%, transparent 65%);
}

.dark .bg-radial-gradient {
    background: radial-gradient(circle at 50% 10%, rgba(132, 204, 22, 0.12) 0%, transparent 65%);
}

/* Lime Buttons */
.btn-lime {
    background-color: #84cc16;
    color: #0f172a;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.btn-lime:hover {
    background-color: #a3e635;
    color: #020617;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(132, 204, 22, 0.45);
}

.btn-lime-outline {
    background-color: transparent;
    color: #4d7c0f;
    border: 1.5px solid #84cc16;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-lime-outline:hover {
    background-color: rgba(132, 204, 22, 0.12);
    color: #3f6212;
    border-color: #65a30d;
    transform: translateY(-2px);
}

.dark .btn-lime-outline {
    color: #a3e635;
    border-color: #84cc16;
    font-weight: 600;
}

.dark .btn-lime-outline:hover {
    background-color: rgba(132, 204, 22, 0.15);
    color: #bef264;
    border-color: #a3e635;
}

/* Face recognition scan frame simulation */
.face-scan-frame {
    position: relative;
}

.face-scan-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #84cc16, transparent);
    box-shadow: 0 0 15px #84cc16;
    animation: scan-line 2.8s ease-in-out infinite;
    z-index: 10;
}

@keyframes scan-line {
    0% {
        top: 5%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        top: 95%;
        opacity: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.dark ::-webkit-scrollbar-track {
    background: #090d16;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #334155;
}
::-webkit-scrollbar-thumb:hover {
    background: #84cc16;
}
