/* ========================================
   영등포 아스콘 - 메인 스타일시트
   신뢰감 & 전문성 강조형 산업 디자인
======================================== */

/* CSS Variables */
:root {
    --primary-blue: #1A237E;
    --dark-gray: #424242;
    --yellow-accent: #FBC02D;
    --white: #FFFFFF;
    --concrete-gray: #B0BEC5;
    --light-gray: #ECEFF1;
    --text-dark: #263238;
    --text-medium: #546E7A;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    background: var(--white);
    box-shadow: 0 4px 30px var(--shadow-dark);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-gray));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

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

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #303F9F);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 35, 126, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(26, 35, 126, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

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

.btn-yellow {
    background: var(--yellow-accent);
    color: var(--text-dark);
    font-weight: 700;
}

.btn-yellow:hover {
    background: #F9A825;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #303F9F 50%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--yellow-accent);
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
}

.hero-stats {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px var(--shadow-dark);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-top: 5px;
}

/* ========== SECTION STYLES ========== */
.section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), #303F9F);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== SERVICE SECTION ========== */
.service-section {
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--yellow-accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-dark);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #303F9F);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: var(--white);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-dark);
}

.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--yellow-accent);
    padding: 25px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(251, 192, 45, 0.3);
}

.about-experience-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
}

.about-experience-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue), #303F9F);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.about-feature span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========== PORTFOLIO SECTION ========== */
.portfolio-section {
    background: var(--dark-gray);
    color: var(--white);
}

.portfolio-section .section-title {
    color: var(--white);
}

.portfolio-section .section-subtitle {
    color: var(--concrete-gray);
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 35, 126, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

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

.portfolio-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: linear-gradient(135deg, #0D1B4C 0%, #1A237E 100%);
    color: var(--white);
}

.contact-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #FBC02D;
}

.contact-text p {
    opacity: 1;
    font-size: 1rem;
    color: #fff;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========== FOOTER ========== */
.site-footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

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

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    color: var(--concrete-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--concrete-gray);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--yellow-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--concrete-gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--concrete-gray);
    font-size: 0.9rem;
}

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

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
    }

    .header-cta .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-inner {
        padding: 12px 15px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

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

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        justify-content: center;
    }

    .section {
        padding: 50px 0;
    }

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

    .section-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .portfolio-item {
        aspect-ratio: 1/1;
        height: auto;
        border-radius: 12px;
    }

    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(26, 35, 126, 0.9) 0%, rgba(26, 35, 126, 0.3) 50%, transparent 100%);
        padding: 15px;
    }

    .portfolio-overlay h3 {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .portfolio-overlay p {
        font-size: 0.75rem;
    }

    .contact-content {
        gap: 30px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }

    .contact-icon {
        margin-bottom: 10px;
        background: rgba(251, 192, 45, 0.2);
    }

    .contact-text h4 {
        color: #FBC02D;
    }

    .contact-text p {
        color: #fff;
    }

    .contact-form h3 {
        font-size: 1.3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* 버튼 모바일 최적화 */
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .btn-yellow {
        width: 100%;
        text-align: center;
    }
}

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

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .about-experience {
        padding: 15px 25px;
    }

    .about-experience-number {
        font-size: 2rem;
    }

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

    .portfolio-item {
        aspect-ratio: 16/9;
        height: auto;
    }

    .portfolio-overlay {
        padding: 20px;
    }

    .portfolio-overlay h3 {
        font-size: 1rem;
    }

    .portfolio-overlay p {
        font-size: 0.8rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        background: rgba(255, 255, 255, 0.15);
        padding: 15px;
        border-radius: 10px;
    }

    .contact-icon {
        margin-bottom: 0;
        font-size: 1.5rem;
        min-width: 50px;
        height: 50px;
        background: rgba(251, 192, 45, 0.2);
    }

    .contact-text h4 {
        font-size: 0.9rem;
        color: #FBC02D;
    }

    .contact-text p {
        font-size: 0.85rem;
        color: #fff;
    }

    .contact-form {
        padding: 20px 15px;
        background: rgba(255, 255, 255, 0.95);
    }

    .contact-form h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
        background: #fff;
    }

    .form-group label {
        font-size: 0.9rem;
        color: #1A237E;
    }

    .contact-section .section-title,
    .contact-section .section-subtitle {
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    /* 푸터 모바일 */
    .site-footer {
        padding: 50px 0 25px;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }
}

/* 아주 작은 화면 */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

/* ========== AUTH PAGE STYLES ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #303F9F 50%, var(--dark-gray) 100%);
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 20px;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.auth-header p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: 10px;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--light-gray);
}

.auth-links a {
    color: var(--primary-blue);
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-gray);
}

.auth-divider span {
    padding: 0 15px;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ========== MYPAGE STYLES ========== */
.mypage-section {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--light-gray);
}

.mypage-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.mypage-header {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px var(--shadow);
    text-align: center;
}

.mypage-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), #303F9F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--white);
}

.mypage-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.mypage-header p {
    color: var(--text-medium);
}

.mypage-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.mypage-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.info-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 150px;
    font-weight: 600;
    color: var(--text-dark);
}

.info-value {
    flex: 1;
    color: var(--text-medium);
}

.info-value.readonly {
    color: var(--concrete-gray);
    font-style: italic;
}

.withdrawal-link {
    display: block;
    text-align: right;
    margin-top: 30px;
    font-size: 0.8rem;
    color: var(--concrete-gray);
    opacity: 0.6;
}

.withdrawal-link:hover {
    opacity: 1;
    color: #e53935;
}

/* ========== LEGAL PAGE STYLES ========== */
.legal-page {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--white);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.legal-header p {
    color: var(--text-medium);
}

.legal-content {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 50px;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 30px 0 15px;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    list-style: disc;
}

/* ========== SITEMAP PAGE STYLES ========== */
.sitemap-section {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--light-gray);
}

.sitemap-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sitemap-column {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px var(--shadow);
}

.sitemap-column h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-blue);
}

.sitemap-column ul li {
    margin-bottom: 12px;
}

.sitemap-column ul li a {
    color: var(--text-medium);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-column ul li a::before {
    content: '→';
    color: var(--primary-blue);
}

.sitemap-column ul li a:hover {
    color: var(--primary-blue);
    padding-left: 10px;
}

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

/* ========== ANIMATION ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .btn {
        display: none !important;
    }

    body {
        background: white;
    }

    .section {
        padding: 30px 0;
    }
}
