@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

:root {
    --primary: #111111;
    --secondary: #ffc107; /* Logo Yellow */
    --accent: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-light: #ffffff;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Header & Navigation */
header {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 85px; /* Further increased size */
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
}

nav a {
    margin-left: 2.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

nav a:hover {
    color: var(--secondary);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95), rgba(0, 0, 0, 0.85)), 
                url('assets/software.png') center/cover no-repeat;
    color: var(--white);
    padding: 0 8%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2), transparent);
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 300;
    max-width: 800px;
    opacity: 0.85;
    margin: 0 auto;
}

.cta-button {
    margin-top: 3rem;
    padding: 1.2rem 3rem;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
    background: #2563eb;
}

/* Services Section */
.services {
    padding: 120px 8%;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 5rem;
    color: var(--primary);
    position: relative;
}

.services h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--secondary);
    margin: 20px auto;
    border-radius: 2px;
}

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

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 240px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-img img {
    transform: scale(1.08);
}

.card-content {
    padding: 2.5rem;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 120px 8%;
    background: var(--white);
}

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

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.about-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

/* Footer Section */
footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 100px 8% 50px;
    text-align: center;
}

.footer-info {
    max-width: 800px;
    margin: 0 auto 50px;
}

.footer-info p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.footer-info strong {
    color: var(--white);
    font-size: 1.4rem;
    display: block;
    margin-bottom: 20px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 50px;
    font-size: 0.9rem;
}

/* 주소 복사 및 공유 섹션 스타일 */
.copy-share-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 50px;
}

.copy-url-section, .share-section {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.copy-label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

.copy-box {
    display: flex;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.copy-box:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

#site-url {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    outline: none;
}

#copy-btn {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

#copy-btn:hover {
    background: #e5ad06;
}

.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1.8rem;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.share-btn img {
    width: 18px;
    filter: brightness(0);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.share-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-icon img {
    width: 20px;
    filter: brightness(0) invert(1);
}

.share-icon:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.05);
}

.share-icon:hover img {
    filter: brightness(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .about-stats {
        justify-content: center;
    }
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        margin: 0 10px;
        font-size: 0.85rem;
    }
    .hero h2 {
        font-size: 2.8rem;
    }
    .services, .about {
        padding: 80px 5%;
    }
    .about-text h2 {
        font-size: 2rem;
    }
}
