/* Story Creator Custom Styles */

/* Font Family */
body {
    font-family: 'Noto Sans KR', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #343a40;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans KR', 'Roboto', sans-serif;
    font-weight: 700;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    font-weight: 700;
}

.navbar .btn-light {
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: #ffffff !important;
    color: #667eea !important;
    border: 2px solid #ffffff;
}

.navbar .btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.5);
    background-color: #f8f9fa !important;
}

.navbar .btn-light.active {
    background-color: #667eea !important;
    color: #ffffff !important;
    border-color: #ffffff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p.lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-section .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

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

/* Screenshot Placeholder */
.screenshot-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 3px dashed #6c757d;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: #6c757d;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 2rem;
}

.screenshot-placeholder i {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Section Spacing */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #343a40;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card .card-body {
    padding: 2rem;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}

.feature-card .card-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

/* Pipeline Header & Footer - Emphasized Sections */
.pipeline-header,
.pipeline-footer {
    margin: 2rem 0;
}

.process-step-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.process-step-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.process-number-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    color: white;
}

.process-step-highlight h3 {
    font-size: 2rem;
    font-weight: 900;
    color: white;
}

.process-step-highlight .lead {
    font-size: 1.2rem;
    opacity: 0.95;
    color: white;
}

/* Pipeline Main - Grouped Process Steps */
.pipeline-main {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.process-timeline-group {
    position: relative;
    padding: 1.5rem 0;
}

.process-timeline-group::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    opacity: 0.3;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateX(10px);
    background: #ffffff;
    border-left-color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.process-content h5 {
    margin-bottom: 0.5rem;
    color: #343a40;
    font-weight: 700;
}

.process-content p {
    margin-bottom: 0;
    color: #6c757d;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-section .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Page - Sidebar */
.features-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.features-sidebar .nav-link {
    color: #6c757d;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.features-sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: #007bff;
    border-left-color: #007bff;
}

.features-sidebar .nav-link.active {
    background-color: #007bff;
    color: white;
    font-weight: 700;
    border-left-color: #0056b3;
}

/* Feature Detail Section */
.feature-detail {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 2rem;
    scroll-margin-top: 80px;
}

.feature-detail h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}

.feature-detail .lead {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.feature-detail h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #343a40;
}

.feature-detail ul {
    list-style: none;
    padding-left: 0;
}

.feature-detail ul li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 2rem;
}

.feature-detail ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border: 3px solid #007bff;
    position: relative;
}

.pricing-card.featured::before {
    content: '인기';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #007bff;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.8rem;
}

.pricing-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    margin: 1rem 0;
}

.pricing-price small {
    font-size: 1.2rem;
    font-weight: 400;
}

.pricing-body {
    padding: 2rem;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
}

.pricing-body ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-body ul li i {
    margin-right: 0.5rem;
    color: #28a745;
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.form-label {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
}

/* Footer */
footer a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

footer .social-links a {
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

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

    .features-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p.lead {
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 50px 0;
    }

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

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .process-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Carousel Fixed Height */
.carousel-fixed-height {
    height: 400px;
    overflow: hidden;
}

.carousel-fixed-height .carousel-inner,
.carousel-fixed-height .carousel-item {
    height: 100%;
}

.carousel-fixed-height .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Carousel Controls - Enhanced Visibility */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(102, 126, 234, 0.9);
    border-radius: 50%;
    padding: 10px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(102, 126, 234, 1);
    transform: scale(1.1);
}

/* Carousel Indicators - Enhanced Visibility */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(102, 126, 234, 0.5);
    border: 2px solid rgba(102, 126, 234, 0.8);
    opacity: 0.8;
}

.carousel-indicators [data-bs-target].active {
    background-color: rgba(102, 126, 234, 1);
    border-color: rgba(102, 126, 234, 1);
    opacity: 1;
    transform: scale(1.2);
}

/* Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-lg-hover {
    transition: all 0.3s ease;
}

.shadow-lg-hover:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
