:root {
    --primary: #00E456;    /* 밝은 녹색 */
    --secondary: #60A5DB;  /* 파란색 */
    --dark: #1a1a1a;
    --gray: #f8f9fa;
    --text: #333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans KR', sans-serif; line-height: 1.6; color: var(--text); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Gradient Text */
.text-gradient {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Nav */
nav { height: 70px; display: flex; align-items: center; position: fixed; width: 100%; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid #eee; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.dot { color: var(--primary); }
.menu { display: flex; gap: 30px; align-items: center; }
.menu a { font-weight: 500; font-size: 0.95rem; }
.btn-nav { background: var(--dark); color: #fff; padding: 8px 20px; border-radius: 20px; }
.btn-nav:hover { background: var(--primary); color: var(--dark); }

/* Hero Section */
.hero { padding: 180px 0 120px; text-align: center; position: relative; overflow: hidden; }
.hero-tag { display: inline-block; background: #eefbf3; color: var(--secondary); padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; margin-bottom: 20px; letter-spacing: 1px; }
.hero-title { font-size: 3.5rem; line-height: 1.2; margin-bottom: 25px; font-weight: 900; }
.hero-desc { font-size: 1.2rem; color: #666; max-width: 700px; margin: 0 auto 50px; }
.hero-btns { display: flex; gap: 15px; justify-content: center; }

/* Buttons */
.btn-primary { 
    background: linear-gradient(90deg, var(--secondary), var(--primary)); 
    color: #fff; padding: 15px 40px; border-radius: 30px; font-weight: bold; font-size: 1.1rem; border: none; cursor: pointer; 
}
.btn-primary:hover { box-shadow: 0 10px 20px rgba(96, 165, 219, 0.4); transform: translateY(-3px); }
.btn-outline { border: 2px solid #ddd; padding: 15px 40px; border-radius: 30px; font-weight: bold; font-size: 1.1rem; }
.btn-outline:hover { border-color: var(--dark); background: var(--dark); color: #fff; }

/* Why Me (Grid) */
section { padding: 100px 0; }
.section-heading { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.section-sub { text-align: center; color: #666; margin-bottom: 60px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { padding: 40px; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.card:hover { transform: translateY(-10px); border-color: var(--primary); }
.icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.card p { font-size: 0.95rem; color: #666; }

/* Testimonials */
.section-gray { background: var(--gray); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.review-text { font-size: 1rem; color: #444; margin-bottom: 20px; font-style: italic; }
.reviewer strong { display: block; font-size: 1rem; }
.reviewer span { font-size: 0.85rem; color: #888; }

/* Portfolio (Zig-Zag) */
.project-row { display: flex; align-items: center; gap: 80px; margin-bottom: 120px; }
.project-row.reverse { flex-direction: row-reverse; } /* 짝수번째 반전 */
.project-content { flex: 1; }
.project-num { font-size: 4rem; font-weight: 900; color: #eee; line-height: 1; margin-bottom: -20px; position: relative; z-index: -1; }
.project-title { font-size: 2.2rem; margin-bottom: 15px; font-weight: 800; }
.project-stack { color: var(--secondary); font-weight: bold; margin-bottom: 25px; }
.project-details { padding-left: 20px; }
.project-details li { margin-bottom: 10px; position: relative; color: #555; }
.project-details li::before { content: "✔"; color: var(--primary); position: absolute; left: -25px; top: 0; font-weight: bold; }

/* [NEW] Site Visit Button */
.btn-visit {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; margin-top: 20px;
    background-color: var(--dark); color: #fff;
    font-weight: 600; border-radius: 30px; font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-visit:hover { background-color: var(--primary); color: #000; transform: translateX(5px); }
.btn-visit .arrow { font-size: 1.1rem; }

/* Image Styling */
.project-image { flex: 1; position: relative; }
.project-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.15); transition: 0.5s; }
.project-image:hover img { transform: scale(1.02); box-shadow: 0 30px 60px rgba(0,228,86, 0.2); }

/* Contact CTA */
.section-cta { background: #111; color: #fff; }
.cta-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-text { flex: 1; }
.cta-text h2 { font-size: 3rem; margin-bottom: 20px; color: #fff; line-height: 1.2; }
.cta-text p { color: #aaa; font-size: 1.1rem; }
.form-box { flex: 1; background: #222; padding: 40px; border-radius: 20px; border: 1px solid #333; }
.form-box input, .form-box textarea { width: 100%; padding: 15px; margin-bottom: 15px; background: #333; border: 1px solid #444; color: #fff; border-radius: 8px; font-family: inherit; }
.form-box input:focus, .form-box textarea:focus { outline: none; border-color: var(--primary); }
.btn-submit { width: 100%; padding: 15px; background: var(--primary); border: none; border-radius: 8px; font-weight: bold; font-size: 1.1rem; cursor: pointer; color: #000; }
.btn-submit:hover { background: var(--secondary); color: #fff; }

/* Footer */
footer { background: #000; color: #888; padding: 80px 0; border-top: 1px solid #222; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-info h4 { color: #fff; font-size: 1.3rem; margin-bottom: 20px; }
.footer-info p { margin-bottom: 10px; font-size: 0.95rem; }
.footer-contact { text-align: right; }
.footer-contact a { display: block; color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; }
.footer-contact a.email-link { font-size: 1rem; color: var(--secondary); }
.footer-contact a:hover { color: var(--primary); }
.copyright { text-align: center; border-top: 1px solid #222; padding-top: 30px; font-size: 0.85rem; }

/* Mobile */
@media (max-width: 900px) {
    .grid-3, .review-grid { grid-template-columns: 1fr; }
    .project-row, .project-row.reverse, .cta-wrapper, .footer-content { flex-direction: column; gap: 40px; }
    .hero-title { font-size: 2.5rem; }
    .menu { display: none; }
    .footer-contact { text-align: left; }
}