:root {
    --color-primary: #0F172A;
    /* Deep Navy */
    --color-secondary: #334155;
    /* Slate 700 */
    --color-background: #F1F5F9;
    /* Slate 100 */
    --color-white: #ffffff;
    --color-accent: #3b82f6;
    /* Blue 500 */
    --color-text-main: #1e293b;
    /* Slate 800 */
    --color-text-light: #64748b;
    /* Slate 500 */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-secondary);
    transition: color 0.2s;
}

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 60px;
    /* Offset for header */
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-white);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    /* Slate 300 */
    margin-bottom: 40px;
    max-width: 600px;
}

/* Social Proof Section */
.social-proof {
    padding: 60px 0;
    background-color: var(--color-white);
    text-align: center;
}

.social-proof h3 {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-slider {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.7;
    filter: grayscale(100%);
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: #94a3b8;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: #94a3b8;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info h4 {
    color: var(--color-white);
    margin-bottom: 16px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple hide for now */
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Services (Bento Grid) */
.services {
    padding: 100px 0;
    background-color: var(--color-background);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    /* 2x2 grid */
    gap: 24px;
}

.bento-item {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Span classes for Bento variation if needed, currently 2x2 is fine but let's make Marketing span 2 cols maybe? */
/* Actually readme says "4분할 그리드", so 2x2 is perfect. */

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.bento-item p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background-color: var(--color-white);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--color-background);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.project-thumb {
    width: 100%;
    height: 200px;
    background-color: #cbd5e1;
    object-fit: cover;
}

.project-info {
    padding: 24px;
}

.project-info h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.project-stats {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
}

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

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 16px;
    font-size: 2rem;
}

.cta-content p {
    color: #cbd5e1;
    margin-bottom: 32px;
    font-size: 1.1rem;
}