/* ===================================================
   SkripsiWeb.id — Custom Stylesheet
   =================================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --warning: #f59e0b;
    --success: #10b981;
    --dark: #0f172a;
    --gray: #64748b;
    --light-bg: #f8fafc;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background: #fff;
}

/* ---- Navbar ---- */
#mainNavbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
#mainNavbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.9rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

/* ---- Hero Section ---- */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e1b4b 100%);
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.text-white-75 { color: rgba(255,255,255,0.75); }
.text-gradient {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fw-black { font-weight: 900; }
.stat-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ---- Browser Mockup ---- */
.browser-mockup {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 460px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.browser-bar {
    background: #e2e8f0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
}
.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.browser-url {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    color: #64748b;
    flex: 1;
}
.card-mini { transition: transform 0.2s; }
.card-mini:hover { transform: translateY(-2px); }
.bg-primary-light { background: #eff6ff; }
.bg-success-light { background: #f0fdf4; }
.chart-placeholder {
    height: 80px;
    background: linear-gradient(90deg, #e0e7ff, #dbeafe, #e0f2fe, #dcfce7);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ---- Floating Badges ---- */
.hero-illustration { position: relative; }
.float-badge {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    animation: float 3s ease-in-out infinite;
}
.badge-1 { top: -10px; left: -30px; animation-delay: 0s; }
.badge-2 { bottom: 60px; left: -40px; animation-delay: 1s; }
.badge-3 { bottom: 20px; right: -20px; animation-delay: 2s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    margin-top: 66px;
}

/* ---- Feature Cards ---- */
.feature-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.icon-box {
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Soft Backgrounds ---- */
.bg-primary-soft { background: #eff6ff; }
.bg-warning-soft { background: #fffbeb; }
.bg-success-soft { background: #f0fdf4; }
.bg-info-soft { background: #f0f9ff; }
.bg-danger-soft { background: #fff5f5; }
.text-primary { color: var(--primary) !important; }

/* ---- Layanan Cards ---- */
.layanan-card {
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}
.layanan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.layanan-card-full {
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0 !important;
}
.layanan-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: var(--primary) !important;
}
.icon-wrap-lg {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Process Steps ---- */
.process-step { position: relative; z-index: 1; }
.step-number {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(37,99,235,0.35);
}
.process-line {
    position: absolute;
    top: 26px;
    left: calc(12.5% + 26px);
    right: calc(12.5% + 26px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
    z-index: 0;
}

/* ---- Portfolio Cards ---- */
.portfolio-card { background: #fff; transition: all 0.3s ease; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; }
.portfolio-img { height: 200px; object-fit: cover; }
.portfolio-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.portfolio-card-full { transition: all 0.3s ease; }
.portfolio-card-full:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; }
.portfolio-img-wrap { position: relative; overflow: hidden; }
.portfolio-img-full { height: 220px; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-img-wrap:hover .portfolio-img-full { transform: scale(1.05); }
.portfolio-placeholder-full {
    height: 220px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.portfolio-img-wrap:hover .portfolio-overlay,
.portfolio-placeholder-full:hover .portfolio-overlay {
    opacity: 1;
}

/* ---- Testimoni ---- */
.testi-card { transition: all 0.3s ease; }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important; }
.avatar-circle {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 20L20 0l20 20-20 20z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }

/* ---- Footer ---- */
.footer-dark {
    background: #0f172a;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s;
    font-size: 0.9rem;
}
.footer-links a:hover { color: #f59e0b; }

/* ---- WhatsApp Float ---- */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 24px rgba(37,211,102,0.5);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.wa-float:hover {
    background: #128c7e;
    color: #fff;
    transform: scale(1.1);
    animation: none;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 8px 32px rgba(37,211,102,0.8); }
}

/* ---- About Page ---- */
.about-visual {
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border: 2px dashed #bfdbfe;
}
.nilai-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}
.nilai-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.tech-badge { transition: all 0.2s; }
.tech-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); }

/* ---- Contact Page ---- */
.contact-info-card { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.contact-icon { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; }
.form-card { border: 1px solid #e2e8f0; }
.form-control, .form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ---- Included Box ---- */
.included-box { border-color: #bfdbfe !important; background: #eff6ff !important; }
.custom-cta {
    background: linear-gradient(135deg, #fffbeb, #fff7ed);
    border: 2px dashed #fcd34d;
}

/* ---- Buttons ---- */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    border-radius: 10px;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.35);
}
.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 10px;
    color: #fff !important;
}
.btn-warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(245,158,11,0.4);
}
.btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}
.btn-outline-light {
    border: 1.5px solid rgba(255,255,255,0.6);
    color: #fff;
    border-radius: 10px;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* ---- Accordion ---- */
.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #eff6ff;
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section { padding: 90px 0 40px; }
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.8rem; }
    .display-6 { font-size: 1.5rem; }
    .badge-1, .badge-2, .badge-3 { display: none; }
    .wa-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 20px; right: 16px; }
}
