@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700;900&display=swap');

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

body {
    font-family: 'Inconsolata', monospace;
    background: #000;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
}

::selection {
    background: #fff;
    color: #000;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    background: #000;
    border-bottom: 1px solid #222;
}

.logo {
    font-weight: 900;
    font-size: 18px;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.1s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

/* Layout */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 32px 80px;
}

/* Hero */
.hero {
    padding: 140px 32px 100px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-label {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 32px;
}

.hero-sub {
    font-size: 18px;
    color: #888;
    max-width: 500px;
    margin-bottom: 48px;
}

.hero-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-links a {
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
    transition: border-color 0.1s;
}

.hero-links a:hover {
    border-color: #666;
}

/* Section */
.section {
    margin-bottom: 80px;
}

.section-label {
    color: #444;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
    display: block;
}

h2 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

p {
    color: #999;
    max-width: 600px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #222;
    border: 1px solid #222;
}

.grid-item {
    background: #000;
    padding: 32px;
}

.grid-item h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grid-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #222;
    border: 1px solid #222;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: #000;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: opacity 0.2s;
}

.gallery-item:hover img {
    opacity: 0.7;
}

.gallery-item span {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 95vw;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lightbox-description {
    position: relative;
    max-width: 220px;
    padding-top: 60px;
    animation: slideIn 0.4s ease 0.1s both;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.lightbox-description h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #fff;
}

.lightbox-description p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

.lightbox-arrow {
    position: absolute;
    top: 100%;
    left: 0;
    width: 120px;
    height: 60px;
    color: #444;
    margin-top: 16px;
    animation: drawArrow 0.6s ease 0.3s both;
}

@keyframes drawArrow {
    from {
        opacity: 0;
        stroke-dashoffset: 100;
    }
    to {
        opacity: 1;
        stroke-dashoffset: 0;
    }
}

.lightbox-image-wrap {
    position: relative;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-image-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px dashed #333;
    pointer-events: none;
}

.lightbox img {
    max-width: 70vw;
    max-height: 80vh;
    display: block;
}

.lightbox-nav {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
}

.lightbox-nav button {
    background: none;
    border: 1px solid #333;
    color: #888;
    font-family: inherit;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.lightbox-nav button:hover {
    border-color: #fff;
    color: #fff;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #666;
    letter-spacing: 2px;
}

/* Timeline */
.timeline-item {
    padding: 32px 0;
    border-bottom: 1px solid #222;
}

.timeline-item:first-child {
    border-top: 1px solid #222;
}

.timeline-head {
    display: flex;
    gap: 24px;
    align-items: baseline;
    margin-bottom: 16px;
}

.timeline-ver {
    font-size: 24px;
    font-weight: 900;
}

.timeline-date {
    font-size: 12px;
    color: #666;
}

.timeline-tag {
    font-size: 11px;
    color: #000;
    background: #fff;
    padding: 2px 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-list {
    list-style: none;
    color: #666;
    font-size: 14px;
}

.timeline-list li {
    padding: 4px 0;
}

.timeline-list li::before {
    content: "— ";
    color: #333;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid #222;
}

.faq-item:first-child {
    border-top: 1px solid #222;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 24px 0;
    font-family: inherit;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q:hover {
    color: #888;
}

.faq-q span {
    font-size: 20px;
    transition: transform 0.2s;
}

.faq-item.open .faq-q span {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.open .faq-a {
    max-height: 200px;
}

.faq-a p {
    padding-bottom: 24px;
    font-size: 14px;
}

.faq-a code {
    color: #fff;
    background: #111;
    padding: 2px 6px;
}

/* Steps */
.steps {
    border-top: 1px solid #222;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid #222;
}

.step-num {
    font-size: 32px;
    font-weight: 900;
    color: #333;
}

.step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: #666;
}

.step code {
    color: #fff;
    background: #111;
    padding: 2px 6px;
}

/* Pricing */
.price-block {
    border: 1px solid #222;
    padding: 48px;
    max-width: 400px;
}

.price-amount {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -2px;
}

.price-note {
    color: #666;
    font-size: 14px;
    margin-bottom: 32px;
}

.price-list {
    list-style: none;
    margin-bottom: 32px;
}

.price-list li {
    padding: 8px 0;
    border-bottom: 1px solid #111;
    font-size: 14px;
    color: #888;
}

.price-list li::before {
    content: "✓ ";
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.1s;
}

.btn:hover {
    background: #ccc;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
}

.btn-ghost:hover {
    background: #111;
}

/* CTA */
.cta {
    border: 1px solid #222;
    padding: 48px;
    text-align: center;
}

.cta h2 {
    margin-bottom: 16px;
}

.cta p {
    margin: 0 auto 32px;
    text-align: center;
}

.cta-meta {
    margin-top: 24px;
    font-size: 12px;
    color: #444;
}

.cta-meta span {
    margin: 0 16px;
}

/* Support */
.support-block {
    border: 1px solid #222;
    padding: 32px;
    margin-top: 32px;
    max-width: 400px;
}

.support-block h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.support-block p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    border-top: 1px solid #222;
    padding: 32px;
    font-size: 14px;
    color: #666;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

footer a {
    color: #666;
    text-decoration: none;
    margin-left: 24px;
}

footer a:hover {
    color: #fff;
}

.disclaimer {
    font-size: 11px;
    color: #444;
    line-height: 1.5;
    max-width: 600px;
}

/* Page title */
.page-head {
    margin-bottom: 48px;
}

.page-head h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
}

.page-head p {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

/* Mobile */
@media (max-width: 640px) {
    nav {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 57px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #000;
        flex-direction: column;
        padding: 32px 20px;
        gap: 24px;
        border-top: 1px solid #222;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    main {
        padding: 80px 20px 60px;
    }

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

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

    .step {
        grid-template-columns: 32px 1fr;
        gap: 16px;
    }

    .step-num {
        font-size: 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    footer a {
        margin: 0 12px;
    }

    .disclaimer {
        text-align: center;
    }

    .lightbox-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .lightbox-description {
        max-width: 90vw;
        padding-top: 0;
        text-align: center;
        order: 2;
    }

    .lightbox-arrow {
        display: none;
    }

    .lightbox img {
        max-width: 90vw;
        max-height: 50vh;
    }

    .lightbox-nav {
        top: 16px;
        gap: 8px;
        width: 90%;
        justify-content: center;
    }

    .lightbox-nav button {
        padding: 6px 12px;
        font-size: 11px;
    }

    .lightbox-counter {
        bottom: 16px;
    }
}
