/* ============================================
   Global Styles & Variables
   ============================================ */
:root {
    --primary-navy: #2B4C7E;
    --primary-blue: #3B82F6;
    --primary-purple: #8B5CF6;
    --accent-green: #4ADE80;
    --accent-yellow: #FACC15;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary-navy);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(43, 76, 126, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--bg-light);
    border-color: var(--text-dark);
}

.btn-dark {
    background-color: #1F2937;
    color: white;
}

.btn-dark:hover {
    background-color: #111827;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 1.25rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

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

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.logo-box {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-navy);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 1;
    color: var(--primary-navy);
}

.logo-sub {
    font-size: 0.625rem;
    color: #9CA3AF;
    line-height: 1;
    letter-spacing: 0.05em;
}

.nav-btn {
    background-color: var(--primary-navy);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 12rem;
        padding-bottom: 8rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(43, 76, 126, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(43, 76, 126, 0.05);
    color: var(--primary-navy);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(43, 76, 126, 0.1);
    margin-bottom: 1.5rem;
}

.badge-dot {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
}

.badge-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--primary-blue);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

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

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 28rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 1024px) {
    .hero-image {
        height: 500px;
    }
}

.consultant-img {
    width: 100%;
    max-width: 28rem;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .consultant-img {
        height: 500px;
    }
}

.floating-card {
    position: absolute;
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: bounce 2s infinite;
}

.card-1 {
    bottom: -1.5rem;
    left: -1.5rem;
    animation-delay: 0s;
}

.card-2 {
    top: 2.5rem;
    right: -1.5rem;
    animation-delay: 0.7s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-green {
    background-color: rgba(74, 222, 128, 0.1);
    color: var(--accent-green);
}

.card-icon-img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    flex-shrink: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.card-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    animation: bounce 2s infinite;
}

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

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

@media (min-width: 1024px) {
    .pricing {
        padding: 8rem 0;
    }
}

.pricing-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.pricing-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .pricing-header h2 {
        font-size: 2.25rem;
    }
}

.pricing-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.8;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto 3rem;
}

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.price-card {
    background-color: white;
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.price-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
    border-color: var(--primary-navy);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-1rem);
}

@media (min-width: 768px) {
    .price-card.featured {
        transform: translateY(-1rem);
    }
}

.price-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #DC2626;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 0 0 0.5rem 0;
    z-index: 10;
}

.price-icon {
    width: 4rem;
    height: 4rem;
    background-color: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.price-icon.google {
    color: #DC2626;
}

.price-icon.tiktok {
    color: black;
}

.price-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price-subtitle {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.price-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-old {
    color: #9CA3AF;
    text-decoration: line-through;
    font-size: 1.125rem;
}

.price-new {
    color: #DC2626;
    font-size: 1.875rem;
    font-weight: bold;
}

.bundle-offer {
    background: linear-gradient(to right, #DC2626, #EF4444);
    color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .bundle-offer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.bundle-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.bundle-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.bundle-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: bold;
    white-space: nowrap;
}

.bundle-old {
    text-decoration: line-through;
    opacity: 0.8;
}

.bundle-new {
    font-size: 2rem;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    padding: 5rem 0;
    background-color: white;
}

@media (min-width: 1024px) {
    .why-us {
        padding: 8rem 0;
    }
}

.why-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-container {
        grid-template-columns: 1fr 1fr;
    }
}

.why-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-image::before {
    content: '';
    position: absolute;
    top: -2.5rem;
    left: -2.5rem;
    width: 10rem;
    height: 10rem;
    background-color: rgba(250, 204, 21, 0.2);
    border-radius: 50%;
    filter: blur(3rem);
}

.why-image::after {
    content: '';
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    width: 10rem;
    height: 10rem;
    background-color: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    filter: blur(3rem);
}

.why-image img {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 28rem;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.1));
}

.why-content h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .why-content h2 {
        font-size: 2.25rem;
    }
}

.text-navy {
    color: var(--primary-navy);
}

.why-divider {
    width: 5rem;
    height: 0.375rem;
    background-color: var(--primary-navy);
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.why-item:hover {
    background-color: var(--bg-light);
    border-color: var(--border-color);
}

.why-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(43, 76, 126, 0.1);
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
    font-weight: bold;
}

.why-item p {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   Channels Section
   ============================================ */
.channels {
    padding: 5rem 0;
    background-color: #111827;
    color: white;
}

@media (min-width: 1024px) {
    .channels {
        padding: 8rem 0;
    }
}

.channels-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.channels-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.channels-header h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .channels-header h2 {
        font-size: 2.25rem;
    }
}

.channels-header p {
    color: #9CA3AF;
    line-height: 1.8;
}

.channels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .channels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.channel-card {
    background-color: #1F2937;
    border: 1px solid #374151;
    border-radius: 1rem;
    padding: 2rem;
    height: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.channel-card:hover {
    border-color: #4B5563;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.channel-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.channel-card p {
    color: #D1D5DB;
    font-size: 0.875rem;
}

.channel-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.channel-card:hover .channel-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 5rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .contact {
        padding: 8rem 0;
    }
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(43, 76, 126, 0.05);
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: 0;
}

.contact-wrapper {
    position: relative;
    z-index: 10;
    background-color: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 2fr 3fr;
    }
}

.contact-left {
    background-color: var(--primary-navy);
    color: white;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.2;
}

.contact-left h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.contact-left p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.benefit-icon {
    font-size: 1.25rem;
}

.contact-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 10;
}

.contact-right {
    padding: 2.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(43, 76, 126, 0.1);
}

.form-phone {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.form-phone input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-align: center;
    font-family: inherit;
}

.form-privacy {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: #111827;
    color: #9CA3AF;
    padding: 3rem 0;
    border-top: 1px solid #374151;
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-left h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-left p {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-right {
        align-items: flex-end;
    }
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.link-bold {
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: #6B7280;
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

/* ============================================
   Floating Chat Button
   ============================================ */
.floating-chat {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 40;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--accent-yellow);
    border: none;
    cursor: pointer;
    font-size: 1.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: bounce-slow 2s infinite;
}

.floating-chat:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

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

    .floating-card {
        display: none;
    }

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

    .contact-left {
        padding: 2rem;
    }

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