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

:root {
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --border: #e5e5e5;
    --hover: #f5f5f5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    margin: 1.5rem auto 0;
    animation: lineExpand 2s ease forwards;
}

@keyframes lineExpand {
    to { width: 200px; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 3rem;
}

.services {
    padding: 8rem 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service-panel {
    background: var(--bg-white);
    text-decoration: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.panel-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-panel:hover .panel-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.service-panel:hover .panel-overlay {
    opacity: 1;
}

.panel-content {
    padding: 2.5rem 2rem;
}

.panel-number {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
}

.panel-title {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.panel-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    opacity: 0;
    transition: all 0.6s ease;
}

.section-title.visible::before {
    opacity: 1;
    left: -40px;
}

.about {
    padding: 10rem 0;
    background: var(--bg-light);
}

.about-text {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--text-secondary);
    font-weight: 300;
}

.about-text p {
    margin-bottom: 2rem;
}

.service-detail {
    padding: 10rem 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.service-detail:nth-child(even) {
    background: var(--bg-light);
}

.detail-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.05;
    filter: grayscale(100%);
}

.container-narrow {
    position: relative;
    z-index: 1;
}

.detail-content {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--text-secondary);
    font-weight: 300;
}

.detail-intro {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.detail-content > p {
    margin-bottom: 3rem;
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.feature-item {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item:hover {
    transform: translateX(10px);
    border-top-color: var(--text-primary);
}

.feature-item h4 {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.contact {
    padding: 10rem 0;
    background: var(--bg-white);
}

.contact-intro {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: var(--bg-white);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.3s;
}

.contact-item:hover {
    background: var(--hover);
}

.contact-label {
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-primary);
}

.contact-value {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.footer {
    padding: 3rem 0;
    text-align: center;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .detail-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.25rem;
    }
    .nav-container {
        padding: 1.5rem 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
    
    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-panel {
        padding: 3rem 2rem;
        min-height: 250px;
    }
    
    .panel-title {
        font-size: 1.5rem;
    }
    
    .about,
    .service-detail,
    .contact {
        padding: 6rem 0;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}
