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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #0f172a;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.hero {
    padding: 140px 0 120px;
    background: #000000;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-main {
    font-size: 72px;
    letter-spacing: -2.5px;
    display: block;
}

.hero-title-sub {
    font-size: 48px;
    letter-spacing: -1px;
    display: block;
    margin-bottom: 28px;
}

.hero-subtitle {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.95;
    letter-spacing: -0.5px;
}

.hero-description {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-item {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-item:nth-child(1) .portfolio-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-item:nth-child(2) .portfolio-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-item:nth-child(3) .portfolio-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.portfolio-item:nth-child(4) .portfolio-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

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

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.portfolio-content {
    padding: 32px 40px;
}

.portfolio-type {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.portfolio-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.portfolio-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.service-card {
    padding: 48px 40px;
    background: var(--bg-white);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 28px;
    line-height: 1;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

.services-cta {
    text-align: center;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.services-cta p {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 400;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 32px 0;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        padding: 100px 0 80px;
    }

    .hero-title-main {
        font-size: 56px;
    }

    .hero-title-sub {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title-main {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-title-sub {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 16px;
    }

    section {
        padding: 80px 0;
    }

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

    .section-header h2 {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title-main {
        font-size: 32px;
    }

    .hero-title-sub {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .portfolio-content {
        padding: 24px;
    }

    .service-card {
        padding: 32px 24px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
