* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
}

body {
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img {
    height: 50px;
    vertical-align: middle;
}

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

nav a {
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s;
}

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

nav .login-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 18px;
    border-radius: 20px;
    transition: background 0.3s, transform 0.2s;
}

nav .login-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    color: white !important;
}

.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 3%;
    padding: 120px 5% 80px 5%;
    width: 100%;
    box-sizing: border-box;
    background-color: #0f172a;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    z-index: 2;
}

.hero-login-container,
.hero-text-content {
    position: relative;
    z-index: 3;
}

.hero-text-content {
    flex: 0 0 60%;
    max-width: 60%;
    text-align: center;
}

.hero-text-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
}

.hero-text-content h1 span {
    color: #bfa0d9;
}

.hero-text-content h5 {
    font-size: 1.15rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

section {
    padding: 100px 10%;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

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

.about {
    background-color: var(--light-bg);
    text-align: center;
}

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

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.service-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-header {
    background: var(--dark-bg);
    color: white;
    padding: 25px 30px;
}

.service-header span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #60a5fa;
    font-weight: 600;
}

.service-header h3 {
    font-size: 1.5rem;
    margin-top: 5px;
}

.service-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-body p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--light-bg);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-login-container {
    flex: 0 0 30%;
    height: 80%;
    max-height: 80%;
    max-width: 30%;
}

.hero-login-card {
    height: 100%;
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 40px;
    color: var(--text-main);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.hero-login-card > div {
    width: 100%;
    padding-bottom: 10%;
    text-align: center;
}
.hero-login-card > div > img {
    width: 20%;
}

.hero-login-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -0.5px;
}

.hero-input-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
}

.hero-input-line {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #EDE4F7;
    padding: 8px 4px;
    transition: border-color 0.3s ease;
}

.hero-input-line:focus-within {
    border-bottom-color: #d1b1eb;
}

.hero-input-icon {
    width: 20px;
    height: 20px;
    opacity: 0.4;
    margin-right: 12px;
}

.hero-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #334155;
}

.hero-input::placeholder {
    color: #cbd5e1;
}

.hero-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #d1b1eb;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(209, 177, 235, 0.4);
    transition: all 0.2s ease;
}

.hero-submit-btn:hover {
    background-color: #bfa0d9;
    transform: translateY(-2px);
}

.hero-error-msg {
    margin-top: 15px;
    text-align: center;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 500;
}

footer {
    background: var(--dark-bg);
    color: #94a3b8;
    text-align: center;
    padding: 50px 20px;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
}

@media(max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
        height: auto;
    }
    .hero-text-content {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .hero-login-container {
        flex: 0 0 100%;
        max-width: 100%;
        height: auto;
    }
    nav ul {
        display: none;
    }
}