/* =========================================
   VARIABLES & THEME
   ========================================= */
   :root {
    --bg-base: #060913;
    --bg-surface: rgba(20, 25, 40, 0.6);
    --bg-glass: rgba(18, 22, 38, 0.4);
    --accent-blue: #00D2FF;
    --accent-dark-blue: #3A7BD5;
    --accent-warning: #FF5E5E;
    --accent-gold: #D4AF37;
    
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-dark: #E2E8F0;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 210, 255, 0.2);
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Abstract Backgrounds */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
}
.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-dark-blue), transparent 60%);
    top: -100px;
    left: -100px;
}
.shape-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,210,255,0.15), transparent 60%);
    bottom: -200px;
    right: -200px;
}
.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,175,55,0.05), transparent 60%);
    top: 40%;
    left: 40%;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.section-title {
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #9CA3AF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

p {
    color: var(--text-dark);
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.section {
    padding: 6rem 0;
    position: relative;
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-dark-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.05);
}

.btn-outline.white:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
}
.btn-text:hover {
    color: white;
}
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Utilities */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glass);
}
.dark-glass {
    background: rgba(10, 14, 23, 0.6);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.highlight { color: var(--accent-blue); }

/* =========================================
   HEADER & NAV
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
}
.nav-menu a:hover {
    color: white;
}
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(rgba(6, 9, 19, 0.8), rgba(6, 9, 19, 0.95)), url('image/kkimage.jpg') center/cover no-repeat;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    background: rgba(0, 210, 255, 0.05);
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* =========================================
   COMPLIANCE RISKS
   ========================================= */
.risk-card {
    padding: 2rem;
    transition: var(--transition-smooth);
    border-top: 2px solid transparent;
}
.risk-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-warning);
    background: rgba(255, 94, 94, 0.03);
}
.risk-icon {
    font-size: 2rem;
    color: var(--accent-warning);
    margin-bottom: 1.5rem;
}
.risk-card h3 {
    margin-bottom: 0.5rem;
}
.risk-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   SYSTEM SECTION
   ========================================= */
.system-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}
.system-item:hover {
    border-color: var(--border-highlight);
    background: rgba(0, 210, 255, 0.03);
}
.number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--border-glass);
    opacity: 0.5;
    transition: var(--transition-fast);
}
.system-item:hover .number {
    color: rgba(0, 210, 255, 0.1);
    -webkit-text-stroke: 1px var(--accent-blue);
    opacity: 1;
}

/* =========================================
   SERVICES
   ========================================= */
.services .section-title {
    margin-bottom: 4rem;
}
.service-card {
    padding: 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glow);
}
.service-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-dark-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-card h3 {
    font-size: 1.1rem;
    margin: 0;
}

/* =========================================
   WHY US & CASE STUDIES (Redesigned)
   ========================================= */
.why-us-redesign {
    background: radial-gradient(circle at 10% 90%, rgba(0, 210, 255, 0.05) 0%, transparent 50%);
}
.feature-card {
    padding: 2.5rem 1.5rem;
    transition: var(--transition-smooth);
    border-top: 2px solid transparent;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.03);
    box-shadow: var(--shadow-glow);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}
.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.case-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glass);
}
.card-header {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(58, 123, 213, 0.1));
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-glass);
}
.case-icon-lg {
    font-size: 3rem;
    color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.card-body {
    padding: 2rem;
    text-align: center;
}
.card-body h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   PROCESS TIMELINE
   ========================================= */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}
.step-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-base);
    border: 2px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}
.timeline-step:hover .step-circle {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: var(--shadow-glow);
}
.timeline-line {
    flex-grow: 1;
    height: 2px;
    background: var(--border-glass);
    margin: 0 1rem;
    position: relative;
    top: -15px;
    z-index: 1;
}

/* =========================================
   FEATURES
   ========================================= */
.feature-box {
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    text-align: center;
}
.box-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}
.feature-box h3 { margin-bottom: 1rem; }
.feature-box p { font-size: 0.95rem; }

/* =========================================
   CTA & FOOTER
   ========================================= */
.cta-section {
    padding-bottom: 6rem;
}
.cta-card {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(58, 123, 213, 0.05));
    border: 1px solid var(--border-highlight);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,210,255,0.2) 0%, transparent 60%);
    z-index: 0;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { margin-bottom: 1rem; }
.cta-card p {
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer {
    border-top: 1px solid var(--border-glass);
    padding: 3rem 0;
    text-align: center;
}
.footer-brand { margin-bottom: 1.5rem; }
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.footer-links {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* =========================================
   ANIMATIONS (Scroll Reveals)
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 900px) {
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding-left: 20px;
    }
    .timeline-step {
        flex-direction: row;
    }
    .timeline-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* simple mobile menu state */
    }
    .mobile-menu-btn {
        display: block;
    }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-actions {
        flex-direction: column;
    }
    .btn-large {
        width: 100%;
    }
    .section { 
        padding: 4rem 0; 
    }
    .grid-2, .grid-3, .grid-4 { 
        grid-template-columns: 1fr; 
    }
}
