:root {
    --primary: #00e5ff; /* Cyan accent */
    --primary-dark: #00b8d4;
    --secondary: #7c4dff; /* Purple accent */
    --accent: #ffeb3b; /* Yellow for discount/badges */
    --bg-dark: #0a0c10;
    --bg-card: #161a22;
    --text-main: #f0f2f5;
    --text-muted: #9ba1ad;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Noto Sans KR', 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #0a0c10;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
}

.blob-2 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.15) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.05) 0%, transparent 70%);
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10vw, 20vh) scale(1.2); }
    66% { transform: translate(-5vw, 10vh) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.logo, .footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-phone {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    padding-left: 1rem;
    border-left: 1px solid var(--glass-border);
    -webkit-text-fill-color: var(--text-muted); /* Overriding gradient clip */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.1);
    animation: zoomOut 20s infinite alternate;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 12, 16, 0.4) 0%, rgba(10, 12, 16, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    z-index: 3;
}

.badge {
    display: inline-block;
    background: rgba(255, 235, 59, 0.1);
    color: var(--accent);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--accent);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 235, 59, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 235, 59, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.highlight {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-main {
    padding: 1.2rem 2.5rem;
    background: white;
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    padding: 1.2rem 2.5rem;
    background: var(--glass);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-bg-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

/* Sections Common */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

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

/* Trust Grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trust-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.trust-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.trust-card i {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.trust-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

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

/* Service Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 140px;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-item:hover .icon-box {
    background: var(--primary);
    color: var(--bg-dark);
    transform: rotate(10deg) scale(1.1);
}

.service-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

.optional-services {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(0, 229, 255, 0.1));
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
}

.optional-services h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.opt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.opt-card {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.opt-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Pricing Grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    align-items: stretch;
}

.price-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.price-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    background: linear-gradient(180deg, #161a22 0%, #1c212a 100%);
    z-index: 5;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.price {
    margin-bottom: 2rem;
}

.original {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.discounted {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.discounted span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.custom-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features li i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.item-price {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.btn-card {
    text-align: center;
    text-decoration: none;
    padding: 1rem;
    border-radius: 15px;
    background: var(--glass);
    color: white;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.btn-card.primary {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
}

.price-card:hover {
    border-color: var(--primary);
}

.monthly-promo {
    margin-top: 3rem;
    text-align: center;
    background: rgba(255, 235, 59, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px dashed var(--accent);
}

/* Calculator Section */
.calc-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.calc-group {
    margin-bottom: 2.5rem;
}

.calc-group h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.group-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--bg-dark);
    border-radius: 15px;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.check-item:hover {
    border-color: var(--primary);
}

.check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.check-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: 600;
    font-size: 0.95rem;
}

.price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.old-price {
    font-size: 0.75rem;
    color: #666;
    text-decoration: line-through;
    font-weight: 400;
}

.new-price {
    color: var(--accent);
    font-size: 0.9rem;
}

.select-grid-top {
    margin-bottom: 2rem;
}
.select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.select-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.select-item.full-width {
    grid-column: 1 / -1;
}

.select-item label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.calc-select {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.calc-select:hover, .calc-select:focus {
    border-color: var(--primary);
    outline: none;
}

.calc-result {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.result-box {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    text-align: center;
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.total-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.split-costs {
    text-align: left;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cost-item strong {
    color: var(--text-main);
}

.btn-screenshot {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-screenshot:hover {
    background: rgba(0, 229, 255, 0.1);
}

.btn-screenshot i {
    width: 18px;
    height: 18px;
}

.result-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.project-note {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Music Player & Lyrics */
.music-player {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.music-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.music-btn:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
}

.visualizer span {
    width: 2px;
    background: var(--primary);
    height: 3px;
}

.visualizer.active span {
    animation: bounce 0.8s infinite alternate;
}

.visualizer span:nth-child(2) { animation-delay: 0.2s; }
.visualizer span:nth-child(3) { animation-delay: 0.4s; }
.visualizer span:nth-child(4) { animation-delay: 0.6s; }

@keyframes bounce {
    0% { height: 3px; }
    100% { height: 15px; }
}

.music-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.music-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.lyrics-box {
    background: rgba(0, 229, 255, 0.1);
    border-left: 3px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 0 15px 15px 0;
    max-width: 300px;
    backdrop-filter: blur(5px);
}

.lyrics-box p {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 0;
    transition: opacity 0.3s ease;
    line-height: 1.4;
}

/* Contact Section */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: var(--bg-card);
    padding: 5rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.info-items {
    margin-top: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    font-family: inherit;
}

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

.btn-submit {
    padding: 1.2rem;
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* Responsive */
/* Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

.hero-btns [data-reveal]:nth-child(2) {
    transition-delay: 0.2s;
}

@media (max-width: 1200px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-card.popular {
        transform: scale(1);
    }

    .contact-box {
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 3rem;
    }

    .calc-container {
        grid-template-columns: 1fr;
    }

    .calc-result {
        position: static;
    }
}

@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .contact-box {
        padding: 2rem;
    }
}
