/* ========================================
   UVibe.cn - Digital Innovation Studio
   Main Stylesheet
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-elevated: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
}

html {
    scroll-behavior: smooth;
}

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

/* Subtle gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Navigation
   ======================================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 48px;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
}

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

.nav-cta {
    padding: 12px 28px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 48px;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 900px;
}

.hero-overline {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 40px;
}

.hero p {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 540px;
    margin-bottom: 48px;
}

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

.btn {
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    opacity: 0.8;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

/* ========================================
   Work Section
   ======================================== */
.work {
    padding: 120px 48px;
    border-bottom: 1px solid var(--border);
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
}

.work-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.work-title p {
    font-size: 13px;
    color: var(--text-muted);
}

.work-list {
    display: flex;
    flex-direction: column;
}

.work-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.4s;
}

.work-item:first-child {
    border-top: 1px solid var(--border);
}

.work-item:hover {
    padding-left: 20px;
}

.work-item:hover .work-name {
    color: var(--text-primary);
}

.work-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.work-name {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.work-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 480px;
}

.work-meta {
    display: flex;
    gap: 40px;
    font-size: 13px;
    color: var(--text-muted);
    align-items: center;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 120px 48px;
    border-bottom: 1px solid var(--border);
}

.services-header {
    margin-bottom: 100px;
}

.services-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 60px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-number {
    font-family: 'Inter', monospace;
    font-size: 13px;
    color: var(--text-muted);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
}

.service-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   About Section
   ======================================== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.about-left {
    padding: 100px 48px;
    border-right: 1px solid var(--border);
}

.about-right {
    padding: 100px 48px;
    background: var(--bg-secondary);
}

.about-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 32px;
}

.about p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Design Principles */
.principles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.principle-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.principle-item:last-child {
    border-bottom: none;
}

.principle-item:hover .principle-title {
    color: var(--text-primary);
}

.principle-number {
    font-family: 'Inter', monospace;
    font-size: 48px;
    font-weight: 300;
    color: var(--text-muted);
    opacity: 0.3;
    line-height: 1;
}

.principle-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.3;
    transition: color 0.3s;
}

.principle-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 8px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 140px 48px;
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

.contact p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.contact-email {
    font-family: 'Inter', monospace;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 4px;
    transition: border-color 0.3s;
}

.contact-email:hover {
    border-color: var(--text-primary);
}

/* ========================================
   Footer
   ======================================== */
footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0;
}

.footer-brand {
    padding: 60px 48px;
    border-right: 1px solid var(--border);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col {
    padding: 60px 48px;
    border-right: 1px solid var(--border);
}

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

.footer-col h4 {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .about {
        grid-template-columns: 1fr;
    }

    .about-left {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    nav {
        flex-direction: column;
        gap: 24px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .work-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .work-meta {
        flex-wrap: wrap;
        gap: 20px;
    }

    .principles {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .principle-item {
        border-bottom: 1px solid var(--border);
    }
}
