:root {
    --bg-main: #061512;
    --bg-soft: #0a1f1b;
    --bg-card: rgba(12, 30, 27, 0.82);
    --bg-card-solid: #0d231f;
    --primary: #10b981;
    --primary-dark: #059669;
    --cyan: #22d3ee;
    --gold: #fbbf24;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-soft: #cbd5e1;
    --border-soft: rgba(255, 255, 255, 0.11);
    --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.35);
    --shadow-green: 0 20px 60px rgba(16, 185, 129, 0.16);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.10), transparent 34%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08), transparent 32%),
        var(--bg-main);
}

a { text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--primary); color: #03110f; }

.portfolio-navbar {
    padding: 16px 0;
    transition: all 0.25s ease;
    background: rgba(6, 21, 18, 0.76);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-navbar.scrolled {
    padding: 11px 0;
    background: rgba(6, 21, 18, 0.96);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main) !important;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #041411;
    box-shadow: var(--shadow-green);
}

.navbar-nav .nav-link {
    color: var(--text-soft);
    font-size: 0.93rem;
    font-weight: 700;
    padding: 8px 11px !important;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); }

.btn {
    border-radius: 999px;
    font-weight: 800;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.btn-sm { padding: 9px 17px; font-size: 0.9rem; }
.btn-lg { padding: 15px 28px; }

.btn-main {
    border: 0;
    color: #041411 !important;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 18px 48px rgba(16, 185, 129, 0.20);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(16, 185, 129, 0.30);
}

.btn-outline-custom {
    color: var(--text-main) !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-soft);
}

.btn-outline-custom:hover {
    color: var(--primary) !important;
    border-color: rgba(16, 185, 129, 0.48);
    background: rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 82px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.11;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
}

.hero-glow-1 { left: -140px; top: 120px; background: var(--primary); }
.hero-glow-2 { right: -120px; bottom: 60px; background: var(--cyan); }
.hero-row { padding: 45px 0; }

.eyebrow,
.section-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.section-badge { margin-bottom: 16px; }

.hero-title {
    font-size: clamp(2.45rem, 5vw, 5rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.075em;
    margin-bottom: 22px;
}

.hero-title span,
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    max-width: 720px;
    color: var(--text-soft);
    font-size: 1.07rem;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 620px;
}

.hero-stats div {
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border-soft);
}

.hero-stats strong { display: block; color: var(--text-main); font-size: 1rem; margin-bottom: 4px; }
.hero-stats span { color: var(--text-muted); font-size: 0.84rem; }

.profile-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)), var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(16,185,129,0.18), transparent 28%), radial-gradient(circle at 80% 80%, rgba(34,211,238,0.13), transparent 35%);
    pointer-events: none;
}

.profile-top {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-soft);
    background: rgba(0, 0, 0, 0.13);
}

.dot { width: 11px; height: 11px; display: inline-block; border-radius: 999px; margin-right: 6px; }
.dot-red { background: #fb7185; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }
.code-label { font-family: "JetBrains Mono", monospace; color: var(--text-muted); font-size: 0.78rem; }

.profile-body { position: relative; padding: 34px 28px 30px; text-align: center; }
.avatar-box {
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #041411;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: var(--shadow-green);
}

.profile-body h2 { font-size: 1.55rem; font-weight: 900; letter-spacing: -0.04em; margin-bottom: 6px; }
.profile-body > p { color: var(--text-muted); margin-bottom: 22px; }

.code-box {
    text-align: left;
    border-radius: var(--radius-md);
    background: rgba(3, 12, 10, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.075);
    padding: 18px;
    overflow-x: auto;
}
.code-box pre { margin: 0; color: #d1fae5; font-family: "JetBrains Mono", monospace; font-size: 0.78rem; line-height: 1.8; }

.profile-links { margin-top: 22px; display: flex; justify-content: center; gap: 12px; }
.profile-links a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--border-soft);
    transition: all 0.25s ease;
}
.profile-links a:hover { color: #041411; background: var(--primary); transform: translateY(-3px); }

.section-padding { padding: 96px 0; }
.section-soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.00)), rgba(255, 255, 255, 0.018);
    border-top: 1px solid rgba(255,255,255,0.045);
    border-bottom: 1px solid rgba(255,255,255,0.045);
}
.section-center { text-align: center; max-width: 760px; margin: 0 auto; }
.section-title {
    color: var(--text-main);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin-bottom: 18px;
}
.section-text { color: var(--text-soft); font-size: 1rem; line-height: 1.8; }

.mini-card,
.skill-card,
.service-card,
.project-card,
.process-card,
.pricing-card,
.testimonial-card,
.addon-card {
    height: 100%;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025)), var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    transition: all 0.25s ease;
}

.mini-card:hover,
.skill-card:hover,
.service-card:hover,
.project-card:hover,
.process-card:hover,
.pricing-card:hover,
.testimonial-card:hover,
.addon-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.34);
    box-shadow: var(--shadow-green);
}

.mini-card { padding: 22px 18px; display: flex; align-items: center; gap: 14px; }
.mini-card i,
.service-card > i,
.project-icon,
.testimonial-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #041411;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
}
.mini-card i { width: 44px; height: 44px; border-radius: 14px; font-size: 1.2rem; }
.mini-card span { font-weight: 900; color: var(--text-main); }

.skill-card,
.service-card,
.project-card,
.process-card,
.pricing-card,
.testimonial-card { padding: 28px; }
.skill-card h5,
.service-card h5,
.project-card h5,
.process-card h5,
.pricing-card h5 { color: var(--text-main); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 12px; }
.skill-card h5 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.skill-card h5 i { color: var(--primary); }

.skill-tags,
.project-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.project-tags { margin-top: 22px; }
.skill-tags span,
.project-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
    font-weight: 800;
}

.service-card > i,
.project-icon,
.testimonial-card > i { width: 54px; height: 54px; border-radius: 17px; font-size: 1.45rem; margin-bottom: 24px; }
.service-card p,
.project-card p,
.process-card p,
.pricing-card p,
.testimonial-card p { color: var(--text-muted); line-height: 1.75; margin-bottom: 0; }

.process-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.20);
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 22px;
}

.pricing-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pricing-card.featured { border-color: rgba(16, 185, 129, 0.45); box-shadow: var(--shadow-green); }
.popular-badge {
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    color: #041411;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    font-weight: 900;
    font-size: 0.76rem;
    margin-bottom: 18px;
}
.price { color: var(--text-main); font-size: 2rem; font-weight: 900; letter-spacing: -0.06em; margin: 22px 0; }
.price-small { color: var(--text-muted); font-size: 0.92rem; font-weight: 800; letter-spacing: normal; margin-left: 4px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.pricing-card ul li { position: relative; color: var(--text-soft); padding-left: 28px; margin-bottom: 12px; line-height: 1.55; }
.pricing-card ul li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--primary); }
.pricing-note {
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-soft);
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.16);
    line-height: 1.7;
}
.pricing-note i { color: var(--primary); margin-right: 8px; }

.addon-card { overflow: hidden; height: auto; }
.addon-table { color: var(--text-soft); margin: 0; min-width: 620px; }
.addon-table thead th {
    color: var(--text-main);
    background: rgba(16, 185, 129, 0.10);
    border-bottom: 1px solid rgba(16, 185, 129, 0.18);
    padding: 18px 22px;
    font-size: 0.92rem;
}
.addon-table tbody td { color: var(--text-soft); border-color: rgba(255, 255, 255, 0.065); padding: 17px 22px; }
.addon-table tbody tr:hover td { background: rgba(16, 185, 129, 0.055); color: var(--text-main); }

.testimonial-card strong { display: block; color: var(--text-main); font-weight: 900; margin-bottom: 4px; }
.testimonial-card span { color: var(--text-muted); font-size: 0.9rem; }

.custom-accordion { max-width: 850px; margin-left: auto; margin-right: auto; }
.custom-accordion .accordion-item { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 14px; }
.custom-accordion .accordion-button { color: var(--text-main); background: rgba(255, 255, 255, 0.035); font-weight: 900; box-shadow: none; padding: 20px 22px; }
.custom-accordion .accordion-button:not(.collapsed) { color: var(--primary); background: rgba(16, 185, 129, 0.08); }
.custom-accordion .accordion-button::after { filter: invert(1); }
.custom-accordion .accordion-body { color: var(--text-soft); line-height: 1.75; padding: 20px 22px; background: rgba(0, 0, 0, 0.08); }

.contact-section { padding-top: 76px; }
.contact-card {
    padding: 42px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at left top, rgba(16,185,129,0.20), transparent 35%), radial-gradient(circle at right bottom, rgba(34,211,238,0.13), transparent 35%), linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)), var(--bg-card-solid);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-green);
}
.contact-card h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 900; letter-spacing: -0.06em; margin-bottom: 16px; }
.contact-card p { color: var(--text-soft); line-height: 1.8; margin-bottom: 20px; }
.contact-content { display: flex; flex-direction: column; }
.contact-list { display: grid; gap: 12px; margin-top: 22px; }
.contact-list a,
.contact-list div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-soft);
    padding: 14px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
    transition: all 0.25s ease;
}
.contact-list a:hover { color: var(--text-main); border-color: rgba(16, 185, 129, 0.32); background: rgba(16, 185, 129, 0.07); }
.contact-list i {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #041411;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    flex: 0 0 auto;
}
.contact-list span { overflow-wrap: anywhere; }
.contact-mini-note {
    margin-top: auto;
    padding: 16px 17px;
    border-radius: 18px;
    color: var(--text-soft);
    background: rgba(16, 185, 129, 0.07);
    border: 1px solid rgba(16, 185, 129, 0.16);
    line-height: 1.7;
}
.contact-mini-note i { color: var(--primary); margin-right: 6px; }
.consultation-form {
    padding: 26px;
    border-radius: 24px;
    background: rgba(3, 12, 10, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.075);
}
.consultation-form label { display: block; color: var(--text-main); font-weight: 900; font-size: 0.9rem; margin-bottom: 8px; }
.consultation-form .form-control,
.consultation-form .form-select {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 13px 15px;
    box-shadow: none;
}
.consultation-form .form-control::placeholder { color: rgba(203, 213, 225, 0.55); }
.consultation-form .form-control:focus,
.consultation-form .form-select:focus {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.075);
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 0 0.22rem rgba(16, 185, 129, 0.10);
}
.consultation-form .form-select option { color: #0f172a; background: #ffffff; }
.form-note { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.form-note i { color: var(--primary); margin-right: 5px; }

.footer { padding: 35px 0 26px; color: var(--text-soft); border-top: 1px solid rgba(255, 255, 255, 0.065); }
.footer strong { color: var(--text-main); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: var(--text-muted); font-weight: 800; font-size: 0.9rem; transition: all 0.2s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { margin-top: 18px; color: var(--text-muted); font-size: 0.86rem; }

.floating-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #041411;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    font-size: 1.55rem;
    z-index: 999;
    box-shadow: 0 16px 45px rgba(16, 185, 129, 0.30);
    transition: all 0.25s ease;
}
.floating-wa:hover { color: #041411; transform: translateY(-4px) scale(1.04); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
    .portfolio-navbar { background: rgba(6, 21, 18, 0.96); }
    .navbar-collapse { margin-top: 16px; padding: 16px; border-radius: 20px; background: rgba(12, 30, 27, 0.96); border: 1px solid var(--border-soft); }
    .hero-section { padding-top: 96px; }
    .min-vh-100 { min-height: auto !important; }
    .hero-row { padding: 66px 0 55px; }
    .profile-card { max-width: 560px; margin: 0 auto; }
    .section-padding { padding: 78px 0; }
    .contact-card { padding: 34px; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2.45rem; letter-spacing: -0.065em; }
    .hero-desc { font-size: 1rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .profile-body { padding: 28px 20px; }
    .code-box { padding: 14px; }
    .code-box pre { font-size: 0.69rem; }
    .section-title { font-size: 2.05rem; }
    .section-padding { padding: 66px 0; }
    .mini-card { padding: 18px 14px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .skill-card,
    .service-card,
    .project-card,
    .process-card,
    .pricing-card,
    .testimonial-card { padding: 24px; }
    .contact-card { padding: 26px 20px; border-radius: 24px; }
    .consultation-form { padding: 20px; border-radius: 20px; }
    .contact-mini-note { margin-top: 22px; }
    .footer { text-align: center; padding-bottom: 90px; }
    .footer-links { justify-content: center; }
    .floating-wa { right: 18px; bottom: 18px; }
}

@media (max-width: 420px) {
    .hero-title { font-size: 2.18rem; }
    .section-title { font-size: 1.88rem; }
    .avatar-box { width: 82px; height: 82px; border-radius: 24px; font-size: 1.7rem; }
    .addon-table { min-width: 560px; }
}
