:root {
    --primary: #1a1a1a;
    --secondary: #666;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --text: #1a1a1a;
    --text-light: #64748b;
    --border: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    border-radius: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--accent);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 32px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 32px;
}

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

.hero-title .accent {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-full {
    width: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
    padding: 140px 0;
}

.section-header {
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--primary);
    font-weight: 800;
}

/* Work Section */
.work {
    background: var(--bg-alt);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.work-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.work-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-item:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
}

.work-item:nth-child(2) {
    grid-column: span 5;
}

.work-item:nth-child(3) {
    grid-column: span 5;
}

.work-item:nth-child(4) {
    grid-column: span 6;
}

.work-item:nth-child(5) {
    grid-column: span 6;
}

.work-img {
    height: 100%;
    min-height: 300px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-item.large .work-img {
    min-height: 624px;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s;
}

.work-img:hover .work-overlay {
    opacity: 1;
}

.work-category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.work-overlay h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 8px;
}

.work-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 48px 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transform: translateY(-8px);
}

.service-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--border);
    margin-bottom: 24px;
    transition: color 0.3s;
}

.service-card:hover .service-number {
    color: var(--accent);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    padding: 6px 12px;
    background: var(--bg-alt);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-light);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 32px;
}

.about-text {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-stats {
    display: flex;
    gap: 60px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.about-visual {
    position: relative;
    height: 500px;
}

.visual-block {
    position: absolute;
    border-radius: 24px;
}

.block-1 {
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: 0;
    left: 0;
}

.block-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    top: 100px;
    right: 0;
}

.block-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    bottom: 0;
    left: 80px;
}

/* Clients */
.clients {
    background: var(--bg-alt);
}

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

.client-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--border);
    transition: color 0.3s;
}

.client-logo:hover {
    color: var(--primary);
}

/* Contact */
.contact {
    background: var(--primary);
}

.contact .section-tag {
    color: rgba(255,255,255,0.6);
}

.contact .section-title {
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-top: 24px;
    margin-bottom: 48px;
}

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

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.contact-item span:last-child {
    color: white;
    font-size: 18px;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.12);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--primary);
    color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: 8px;
}

/* Footer */
.footer {
    background: #0f0f0f;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 40px;
}

.footer .logo-mark {
    background: rgba(255,255,255,0.1);
}

.footer .logo-text {
    color: white;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 32px;
        transition: right 0.3s;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero-content {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .work-item.large .work-img {
        min-height: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        gap: 32px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links,
    .footer-social {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}