/* 
   LIVT HOSTING THEME (Blue & Black)
*/

:root {
    /* Colors - Dark Theme Core */
    --bg-dark: #090a0f;
    --bg-card: #141721;
    --bg-card-hover: #1e2230;
    
    /* Colors - Brand Primary (Vibrant Blue) */
    --primary: #0066ff;
    --primary-hover: #3385ff;
    --primary-glow: rgba(0, 102, 255, 0.4);
    
    /* Colors - Text */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* UI Elements */
    --border-color: #2e3549;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00c3ff 100%);
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 133, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(9, 10, 15, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--primary);
    font-size: 28px;
}

.logo span {
    font-weight: 300;
    color: var(--text-muted);
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.header-actions {
    display: none;
    gap: 12px;
}

.mobile-menu-btn {
    display: block;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 28px;
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 20px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(9, 10, 15, 0) 70%);
    z-index: -1;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.search-box-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.domain-search-form {
    display: flex;
    gap: 8px;
}

.domain-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: var(--text-main);
    font-size: 18px;
    outline: none;
}

.domain-input::placeholder {
    color: #475569;
}

.btn-search {
    padding: 0 40px;
    font-size: 16px;
    border-radius: 10px;
}

.popular-domains {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.popular-domains a {
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-domains a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.popular-domains .price {
    color: var(--primary);
    font-weight: 600;
}

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

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 102, 255, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 500;
}

.service-link i {
    transition: var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* Pricing */
.dark-section {
    background: #0d0f16;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(20, 23, 33, 1) 0%, rgba(0, 102, 255, 0.05) 100%);
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pricing-header .price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features {
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-main);
    font-size: 15px;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 20px;
}

/* CTA */
.cta-container {
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M50 0L100 50L50 100L0 50Z" fill="%230066ff" fill-opacity="0.03"/></svg>') repeat, var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 100%, rgba(0, 102, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: #050608;
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.brand-col .logo {
    margin-bottom: 16px;
}

.company-desc {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .hero-title {
        font-size: 56px;
    }
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
    
    .header-actions {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .pricing-card.popular {
        transform: scale(1.05);
    }
    
    .domain-search-form {
        flex-direction: row;
    }
    
    .btn-search {
        width: auto;
    }
}

@media (max-width: 1023px) {
    .domain-search-form {
        flex-direction: column;
    }
    
    .btn-search {
        width: 100%;
        padding: 16px;
    }
}
