:root {
    --ink: #14192B;
    --ink-soft: #1D2338;
    --paper: #F7F6F3;
    --paper-dim: #EFEDE7;
    --steel: #3E5C8A;
    --steel-light: #6E8DBB;
    --gold: #C9A15E;
    --graphite: #232833;
    --slate: #5B6472;
    --line: rgba(20, 25, 43, 0.12);
    --line-dark: rgba(247, 246, 243, 0.16);
    --radius: 2px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--graphite);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    letter-spacing: -0.02em;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

::selection {
    background: var(--gold);
    color: var(--ink);
}

/* ---------- Corner bracket signature ---------- */
.bracket {
    position: relative;
}

.bracket .crn {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--gold);
    opacity: 0.9;
}

.bracket .crn.tl {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.bracket .crn.tr {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.bracket .crn.bl {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
}

.bracket .crn.br {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.bracket.on-dark .crn {
    border-color: var(--gold);
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 246, 243, 0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    max-width: 1120px;
    margin: 0 auto;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--graphite);
}

.logo span {
    color: var(--steel);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 36px;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    align-items: center;
}

.nav-links a {
    transition: color 0.2s ease;
    padding: 4px 0;
}

.nav-links a:hover {
    color: var(--graphite);
}

.nav-links a.active {
    color: var(--steel);
    font-weight: 600;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--steel);
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background: var(--steel);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--graphite);
    margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
    background: var(--ink);
    color: var(--paper);
    padding: 96px 0 88px;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(247, 246, 243, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 246, 243, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    font-size: 12.5px;
    color: var(--gold);
    display: inline-block;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.14;
    font-weight: 700;
    color: var(--paper);
}

.hero p.lead {
    margin-top: 22px;
    font-size: 16.5px;
    line-height: 1.7;
    color: #B7BECF;
    max-width: 480px;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
}

.btn-primary:hover {
    background: #dab475;
}

.btn-outline {
    border-color: var(--line-dark);
    color: var(--paper);
}

.btn-outline:hover {
    border-color: var(--paper);
}

.btn-dark {
    background: var(--ink);
    color: var(--paper);
}

.btn-dark:hover {
    background: var(--steel);
}

.mock {
    background: var(--ink-soft);
    border: 1px solid var(--line-dark);
    padding: 22px;
    position: relative;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line-dark);
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3A4257;
}

.mock-url {
    margin-left: 10px;
    font-size: 11px;
    color: #7C8598;
}

.mock-body {
    padding: 6px 4px 2px;
}

.mock-block {
    height: 14px;
    background: #2B3149;
    border-radius: 2px;
    margin-bottom: 10px;
}

.mock-block.short {
    width: 55%;
}

.mock-block.tall {
    height: 64px;
    background: #232A40;
    margin-top: 16px;
}

.mock-tag {
    position: absolute;
    font-size: 10.5px;
    color: var(--gold);
    background: var(--ink);
    padding: 3px 8px;
    border: 1px solid var(--gold);
    white-space: nowrap;
}

.mock-tag.t1 {
    top: 64px;
    right: 18px;
}

.mock-tag.t2 {
    bottom: 30px;
    left: 34px;
}

/* ---------- Section shell ---------- */
section {
    padding: 88px 0;
}

.section-head {
    max-width: 560px;
    margin-bottom: 52px;
}

.section-head .eyebrow {
    color: var(--steel);
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: 32px;
    color: var(--graphite);
    line-height: 1.2;
}

.section-head p {
    margin-top: 16px;
    color: var(--slate);
    font-size: 15.5px;
    line-height: 1.65;
}

/* ---------- Page Header ---------- */
.page-header {
    background: var(--ink);
    color: var(--paper);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(rgba(247, 246, 243, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 246, 243, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    border-bottom: 1px solid var(--line-dark);
}

.page-header h1 {
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--paper);
    margin-top: 10px;
}

.page-header p.lead {
    margin-top: 16px;
    font-size: 16.5px;
    line-height: 1.6;
    color: #B7BECF;
    max-width: 600px;
}

/* ---------- Value / features ---------- */
.features {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.feature {
    background: var(--paper);
    padding: 30px 26px;
}

.feature .num {
    font-size: 12px;
    color: var(--steel);
    margin-bottom: 14px;
    display: block;
}

.feature h3 {
    font-size: 16.5px;
    margin-bottom: 10px;
    color: var(--graphite);
}

.feature p {
    font-size: 13.8px;
    color: var(--slate);
    line-height: 1.6;
}

/* ---------- Pricing ---------- */
.pricing {
    background: var(--paper-dim);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.plan {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 34px 30px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan.featured {
    border-color: var(--gold);
    box-shadow: 0 18px 40px -22px rgba(20, 25, 43, 0.35);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 30px;
    background: var(--gold);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    letter-spacing: 0.03em;
}

.plan-name {
    font-size: 12px;
    color: var(--steel);
    margin-bottom: 10px;
}

.plan-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--graphite);
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 13.5px;
    color: var(--slate);
    margin-bottom: 22px;
    line-height: 1.55;
}

.plan-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--graphite);
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.plan-price span {
    font-size: 13px;
    font-weight: 500;
    color: var(--slate);
}

.plan-feats {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}

.plan-feats li {
    font-size: 13.8px;
    color: var(--slate);
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    display: flex;
    gap: 10px;
}

.plan-feats li:last-child {
    border-bottom: none;
}

.plan-feats li::before {
    content: "—";
    color: var(--steel);
    flex-shrink: 0;
}

.plan .btn {
    width: 100%;
    text-align: center;
}

/* ---------- Process ---------- */
.process {
    background: var(--paper);
}

.proc-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.proc-item .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--line);
    display: block;
    margin-bottom: 14px;
}

.proc-item h3 {
    font-size: 17px;
    color: var(--graphite);
    margin-bottom: 10px;
}

.proc-item p {
    font-size: 13.8px;
    color: var(--slate);
    line-height: 1.65;
}

/* ---------- CTA ---------- */
.cta {
    background: var(--ink);
    color: var(--paper);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta h2 {
    font-size: 28px;
    color: var(--paper);
    max-width: 480px;
    line-height: 1.25;
}

.cta p {
    margin-top: 12px;
    color: #B7BECF;
    font-size: 14.5px;
}

/* ---------- Footer ---------- */
footer {
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    padding: 36px 0;
}

.foot-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.foot-inner .logo {
    color: var(--paper);
}

.foot-inner .logo span {
    color: var(--steel-light);
}

.foot-meta {
    font-size: 12.5px;
    color: #7C8598;
}

/* ---------- Portofolio ---------- */
.portfolio {
    background: var(--paper-dim);
    border-top: 1px solid var(--line);
}

.portfolio-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 8px 18px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--slate);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.portfolio-visual {
    position: relative;
    background: var(--ink-soft);
    overflow: hidden;
    margin-bottom: 20px;
}

.portfolio-mock {
    padding: 12px;
    border: 1px solid var(--line-dark);
}

.portfolio-preview-bg {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.portfolio-preview-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-preview-bg img {
    transform: scale(1.05);
}

.preview-content {
    z-index: 2;
}

.preview-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.preview-desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

.portfolio-info {
    padding: 4px 6px;
}

.portfolio-tag {
    font-size: 11px;
    color: var(--steel);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 8px;
}

.portfolio-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--graphite);
}

.portfolio-info p {
    font-size: 13.5px;
    color: var(--slate);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Contact Form Specific Styles ---------- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    margin-top: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
}

.contact-info-item .icon {
    font-size: 22px;
    color: var(--gold);
    width: 28px;
    text-align: center;
    line-height: 1.4;
}

.contact-info-item h4 {
    margin: 0 0 6px 0;
    font-size: 16.5px;
    color: var(--graphite);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.contact-info-item p {
    margin: 0;
    font-size: 14.5px;
    color: var(--slate);
    line-height: 1.55;
}

.contact-info-item a:hover {
    color: var(--steel);
    text-decoration: underline;
}

.contact-form {
    background: var(--paper-dim);
    border: 1px solid var(--line);
    padding: 40px;
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 14.5px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--graphite);
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--steel);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(62, 92, 138, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ---------- Responsive ---------- */
@media (max-width:860px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 34px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .proc-list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 28px;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
