:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #666666;
    --border-color: #e0e0e0;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Parallax Backgrounds */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.04;
    transition: transform 0.1s linear;
    pointer-events: none;
}

.layer-2 {
    opacity: 0.02;
    z-index: -2;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    color: var(--accent-color);
    border-left: 2px solid var(--text-color);
    padding-left: 15px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: exclusion;
    color: #fff;
}

.logo {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.menu-link {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.menu-link:hover {
    border-color: currentColor;
}

/* Sections Common */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
    position: relative;
    opacity: 1;
    /* Reset for sections */
}

/* Content Fade In */
.content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.hero {
    align-items: center;
    text-align: center;
}

.hero .title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
    margin-bottom: 20px;
}

.hero .title .line {
    display: block;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 300;
    margin-top: 20px;
}

.scroll-down {
    margin-top: 60px;
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Works Grid */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 60px;
    margin-top: 40px;
}

.work-card {
    group: work-card;
    /* Tailwind-like grouping concept */
    cursor: pointer;
}

.work-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(100%);
}

.work-card:hover .work-image {
    transform: scale(1.02);
    filter: grayscale(0%);
    border-color: var(--text-color);
}

.work-details h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.work-details .tech {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.work-details .desc {
    font-family: var(--font-jp);
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Pricing Table */
.pricing-table {
    display: flex;
    justify-content: space-between;
    gap: 0;
    /* Connected styling */
    border: 1px solid var(--border-color);
    margin-top: 40px;
    flex-wrap: wrap;
}

.plan-col {
    flex: 1;
    min-width: 300px;
    padding: 60px 40px;
    border-right: 1px solid var(--border-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.plan-col:last-child {
    border-right: none;
}

.plan-col:hover {
    background-color: #f9f9f9;
}

.plan-col.featured {
    background-color: #fcfcfc;
}

.plan-col.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
}

.plan-header {
    margin-bottom: 30px;
    text-align: center;
}

.badge {
    display: inline-block;
    background: var(--text-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.plan-header h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 300;
    font-family: var(--font-serif);
}

.unit {
    font-size: 1rem;
    color: var(--accent-color);
}

.plan-features {
    list-style: none;
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-align: center;
}

.plan-features li {
    margin-bottom: 12px;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background: var(--text-color);
    color: #fff;
    border-color: var(--text-color);
}

/* Contact */
.contact-box {
    text-align: center;
}

.heading {
    font-size: 4rem;
    margin-bottom: 20px;
    text-align: center;
}

.btn-minimal {
    display: inline-block;
    padding: 20px 60px;
    background: var(--text-color);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.2em;
    margin-top: 30px;
    transition: transform 0.3s ease;
}

.btn-minimal:hover {
    transform: translateY(-5px);
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--accent-color);
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-table {
        border: none;
        display: block;
    }

    .plan-col {
        border: 1px solid var(--border-color);
        border-bottom: none;
        margin-bottom: 0;
    }

    .plan-col:last-child {
        border-bottom: 1px solid var(--border-color);
    }

    .hero .title {
        font-size: 3.5rem;
    }
}