/* ==========================================
   GitHub Advanced Security Theme
   Full visual overhaul - preserves all IDs/classes
   Uses existing image assets + adds icons/gradients
   + Hero image decoration (floating like about section)
   ========================================== */

:root {
    --bg: #090d16;                 /* Biru dongker gelap yang lebih hidup/rich */
    --surface: #121826;            /* Permukaan kartu yang kontras dan bersih */
    --surface-2: #1b2336;          /* Lapisan kedua untuk form/box */
    --border: #242f47;             /* Garis tepi yang tegas tapi lembut */
    --border-light: #2e3c5a;       /* Garis tepi sorotan ringan */
    --text: #f8fafc;               /* Teks utama putih cerah (Slate 50) */
    --muted: #94a3b8;              /* Teks sekunder abu-abu terang (Slate 400) */
    --accent: #6366f1;             /* Warna utama: Indigo khas startup modern */
    --accent-light: #4f46e5;       /* Warna hover: Indigo yang lebih pekat */
    --accent-glow: rgba(99, 102, 241, 0.15); /* Efek pendaran/shadow Indigo */
    --max-width: 1280px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --transition: all 0.25s ease;
}

p{
    margin-top: 20px;
    margin-bottom: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* GitHub-style background grid + gradient glow */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.2;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 30% 20%, rgba(47, 129, 247, 0.08) 0%, transparent 60%);
}

.container {
    width: min(var(--max-width), 92%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
}

h1, h2, h3 {
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.3px;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    max-width: 950px;
    background: linear-gradient(135deg, #fff 70%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

p {
    color: var(--muted);
    font-size: 1rem;
}

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

/* Buttons – GitHub style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 129, 247, 0.4);
}

.btn-secondary {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #fff, var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo a {
    background: inherit;
    background-clip: inherit;
    -webkit-background-clip: inherit;
    color: inherit;
}

.logo-highlight {
    color: var(--accent);
    background: none;
    -webkit-background-clip: unset;
}

.logo-sub {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 2px;
    letter-spacing: 0px;
}

.menu {
    display: flex;
    gap: 28px;
}

.menu a {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.menu a:hover {
    color: var(--text);
}

/* Hero section with floating image (like about) */
.hero {
    /* padding-top: 120px; */
    padding-bottom: 70px;
    position: relative;
    overflow: hidden;
}

/* Ambient glow behind text */
.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(47,129,247,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Floating illustration image in hero (like about section) */
/* .hero::after {
    content: "";
    position: absolute;
    bottom: 30%;
    right: 5%;
    width: 380px;
    height: 380px;
    background: url('images/shield-small.png') no-repeat center center;
    background-size: contain;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
    filter: grayscale(0.3) brightness(0.9);
} */

.hero.no-bg::after {
    display: none;
}

/* 
.hero::after {
    content: "";
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 260px;
    height: 260px;
    background: url('images/about-1.png') no-repeat center center;
    background-size: contain;
    opacity: 0.85;  
    pointer-events: none;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
} */

@media (max-width: 1024px) {
    .hero::after {
        width: 200px;
        height: 200px;
        opacity: 0.15;
    }
}

@media (max-width: 768px) {
    .hero::after {
        display: none;
    }
}

.badge {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    background: rgba(47, 129, 247, 0.1);
    margin-bottom: 28px;
    letter-spacing: 0.2px;
    backdrop-filter: blur(4px);
}

.hero-description {
    max-width: 720px;
    margin: 28px 0 36px;
    color: var(--muted);
    line-height: 1.6;
}

.hero-description.lead {
    font-size: 1.1rem;
    color: var(--text);
    margin-top: 28px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-strip {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
    position: relative;
}

.social-proof-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 24px;
}

.social-proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 42px;
}

.brand-logo img {
    height: 28px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.brand-logo:hover img {
    opacity: 0.9;
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* About section – with card glow and floating image effect */
.about-card {
    /* background: var(--surface); */
    background: linear-gradient(120deg, #11151c 10%, #141177 40%, #EC4899 100%);
    /* border: 1px solid var(--border);
    border-radius: var(--radius-md); */
    padding: 40px;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(2px);
}

.about-card::after {
    content: "";
    position: absolute;
    inset: 0;
    /* border-radius: var(--radius-md); */
    padding: 1px;
    background: linear-gradient(145deg, var(--accent), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    opacity: 0.3;
}

.about-wrapper {
    max-width: 900px;
    margin-top: 24px;
}

.about-wrapper p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-wrapper p:first-child {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    text-align: center;
}

.floating-illu {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    opacity: 0.9;
    /* background: linear-gradient(145deg, var(--surface-2), var(--surface));
    box-shadow: 0 8px 24px rgba(0,0,0,0.4); */
    /* animation: float 5s ease-in-out infinite; */
    /* border: 1px solid var(--border); */
    transition: transform 0.3s ease;
}

.floating-illu:hover {
    transform: scale(1.1);
    /* border-color: var(--accent); */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.visual-caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 18px;
    letter-spacing: 0.3px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-visual {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Timeline – GitHub style */
.timeline {
    margin-top: 48px;
    position: relative;
    padding-left: 0px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
    position: relative;
    padding-left: 42px;
    margin-bottom: 32px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(47, 129, 247, 0.25);
}

.timeline-item strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
    font-weight: 600;
}

.year {
    display: inline-block;
    font-weight: 600;
    color: var(--accent);
    width: 160px;
}

.desc {
    color: var(--text);
}

/* Problem section highlight card */
.problem-section .highlight-card {
    background: var(--surface);
    border-left: 4px solid var(--accent);
    padding: 28px 32px;
    /* border-radius: var(--radius-md); */
    margin-top: 28px;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.highlight-card p {
    font-size: 1rem;
    margin-bottom: 16px;
}

.highlight-strong {
    font-weight: 600;
    color: var(--text);
}

/* Section headers */
.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgba(47, 129, 247, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.subhead, .sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards grid – GitHub style */
.grid {
    display: grid;
    gap: 28px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    /* border-radius: var(--radius-md); */
    padding: 28px;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(2px);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 12px 28px -8px rgba(0,0,0,0.5);
}

.service-card{
    display: flex;
    flex-direction: column;
}

.service-card .card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    width: 200px;
    /* height: 200px; */
    /* display: inline-block; */
    /* background: var(--bg); */
    /* padding: 4px; */
    /* border-radius: 12px; */
    /* border: 1px solid var(--border); */
    /* transition: var(--transition); */
}

.service-card .card-image {
    width: 80px;
    margin: auto;
    /* display: inline-block; */
    /* background: var(--bg); */
    /* padding: 4px; */
    /* border-radius: 12px; */
    /* border: 1px solid var(--border); */
    /* transition: var(--transition); */
}

.service-card:hover .card-icon {
    border-color: var(--accent);
    transform: scale(1.05);
}

.card ul {
    margin-top: 18px;
    padding-left: 20px;
    color: var(--muted);
}

.card li {
    margin-bottom: 8px;
}

.reason-icon {
    font-size: 1.8rem;
    margin-bottom: 18px;
}

/* Work section – improved with brand logos */
.work-card {
    background: linear-gradient(135deg, #121826 40%, #2e1065 80%, #022c22 100%);
}

.work-card .work-header {
    align-items: center;
    gap: 2px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.work-card .brand-logo {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.work-card .brand-logo img {
    height: 26px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.work-card:hover .brand-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.work-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.work-cat {
    font-size: 0.7rem;
    font-weight: 500;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 20px;
    color: var(--muted);
}

.work-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.85rem;
}

.work-link:hover {
    text-decoration: underline;
}

.grid.two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .grid.two-col {
        grid-template-columns: 1fr;
    }
}

/* Process steps */
.modern-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.step-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    border-color: var(--accent);
    background: var(--surface-2);
    transform: translateY(-2px);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 18px;
}

/* Pricing & forms */
.pricing-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 36px;
    border: 1px solid var(--border);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--muted);
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    align-items: center;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent);
}

.estimator-box {
    margin-top: 40px;
    background: var(--surface-2);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.estimate-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 16px 0;
}

.estimate-note {
    font-size: 0.8rem;
    margin-top: 16px;
}

/* Contact */
.contact-card-modern {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 44px;
    border: 1px solid var(--border);
    margin-top: 20px;
}

.full-width {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.btn-large {
    width: 100%;
    justify-content: center;
    margin-top: 28px;
    padding: 12px;
}

/* Publication logos */
.publication-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 48px 0 32px;
}

.publication-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.publication-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.publication-logo {
    height: 34px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.publication-card:hover .publication-logo {
    filter: none;
    opacity: 1;
}

.publication-card span {
    font-weight: 500;
    color: var(--text);
}

.publication-note {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 16px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 40px;
    text-align: center;
}

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

.footer-brand {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #fff, var(--accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    section {
        padding: 60px 0;
    }
    .about-card, .pricing-card, .contact-card-modern {
        padding: 24px;
    }
    .social-proof-logos {
        gap: 24px;
    }
    .brand-logo img {
        height: 24px;
    }
    .modern-process {
        gap: 16px;
    }
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), #8b949e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.initials {
    font-size: 3.5rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.services-footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.services-footer p {
    max-width: 600px;
    margin: 0 auto 20px;
    color: var(--muted);
    line-height: 1.6;
}

/* Fix for missing .tag class in work header (used in index.html) */
.tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgba(47, 129, 247, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Ensure iframe in contact fits well */
iframe {
    border-radius: var(--radius-md);
    background: var(--surface);
}

/* Price tags in services */
.service-price {
    /* margin-top: 20px; */
    margin-top: auto;
    padding-top: 24px;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
    border-top: 1px solid var(--border);
    /* padding-top: 16px; */
}

/* FAQ list */
.faq-list {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

/* Engagement cards */
.engagements .card strong {
    display: block;
    margin-top: 20px;
    font-size: 1.2rem;
    color: var(--accent);
}

.engagement-process{
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.process-flow{
    max-width: 900px;
    margin: 0 auto;
}

.process-item{
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.process-item h3{
    margin-bottom: 8px;
}

.process-number{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.process-arrow{
    text-align: center;
    font-size: 2rem;
    color: var(--accent);
    padding: 16px 0;
}

.process-item a{
    color: var(--accent);
    font-weight: 600;
}

.process-item a:hover{
    text-decoration: underline;
}