/* Lukloop Website Styles */

/* Global Styles */
:root {
    --primary-color: #1976d2;
    --secondary-color: #424242;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --info-color: #2196f3;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1030;
}

/* Fixed navbar spacing - 为固定导航栏添加body顶部间距 */
body {
    padding-top: 80px !important;
}

/* Main content spacing for fixed navbar */
main {
    margin-top: 0;
    padding-top: 0;
}

/* Hero sections and page headers spacing */
.hero-section {
    margin-top: 0;
    padding-top: 2rem;
    padding-bottom: 3rem;
}


/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.scroll-to-top {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Feature Highlights */
.feature-highlight {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-stat {
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.stage-card {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stage-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.stage-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.stage-desc {
    opacity: 0.8;
}

.metric-card {
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.comparison-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.comparison-label {
    font-size: 0.8rem;
    font-weight: 500;
}

.comparison-value {
    font-size: 1.2rem;
    line-height: 1.2;
}

/* 新功能卡片样式 */
.feature-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.feature-stats {
    border-top: 1px solid #f8f9fa;
    padding-top: 1rem;
    margin-top: 1rem;
}

.stat-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.stat-item:last-child {
    border-bottom: none;
}

/* 效果展示卡片 */
.effect-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: #ffffff;
}

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

.before-card {
    border-left: 4px solid #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.after-card {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f0fff4 0%, #ffffff 100%);
}

.effect-stats {
    margin-top: 1rem;
}

.stat-row {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    line-height: 1;
}

/* 分享按钮样式 */
.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-share .btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
    min-width: 100px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
}

.social-share .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background-color: #ffffff;
    border-color: #dee2e6;
}

.social-share .btn-outline-primary {
    color: #1976d2;
    border-color: #1976d2;
}

.social-share .btn-outline-primary:hover {
    background-color: #1976d2;
    border-color: #1976d2;
    color: white;
}

.social-share .btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8;
}

.social-share .btn-outline-info:hover {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.social-share .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.social-share .btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.social-share .btn-outline-success {
    color: #28a745;
    border-color: #28a745;
}

.social-share .btn-outline-success:hover {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

/* 响应式分享按钮 */
@media (max-width: 768px) {
    .social-share {
        justify-content: center;
    }
    
    .social-share .btn {
        min-width: 80px;
        font-size: 0.875rem;
    }
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-warning {
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    border: none;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Cards */
.card, .feature-card, .pricing-card, .testimonial-card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover, .feature-card:hover, .pricing-card:hover, .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
}

/* Stats Section */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    margin-bottom: 1rem;
}

/* Features Section */
.feature-card {
    background: white;
    border: 1px solid #e9ecef;
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

/* Pricing Section */
.pricing-card {
    background: white;
    border: 1px solid #e9ecef;
    padding: 2rem;
    text-align: center;
    height: 100%;
    position: relative;
}

.pricing-card.border-primary {
    border: 2px solid var(--primary-color) !important;
    transform: scale(1.05);
}

.pricing-price {
    margin: 1.5rem 0;
}

.pricing-price .display-3 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    height: 100%;
}

/* Contact Section */
.contact-form {
    background: white;
    border: 1px solid #e9ecef;
    padding: 2rem;
    border-radius: 1rem;
}

.contact-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Accordion */
.accordion-button {
    font-weight: 500;
    border: none;
    background: transparent;
}

.accordion-button:not(.collapsed) {
    background-color: #e3f2fd;
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 118, 210, 0.25);
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

/* 博客详情页面的文章底部footer不需要深色背景 */
.blog-post footer {
    background: transparent !important;
    border-top: 1px solid #e9ecef;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* 确保页脚文字在深色背景上清晰可见 */
footer .text-light {
    color: #ffffff !important;
}

footer .text-white {
    color: #ffffff !important;
}

footer a.text-light:hover {
    color: var(--primary-color) !important;
}

/* Hero Dashboard Image */
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Dashboard SVG Styling */
.hero-image svg {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image svg:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Utility Classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .stat-card, .feature-card, .pricing-card {
        margin-bottom: 2rem;
    }
    
    .pricing-card.border-primary {
        transform: none;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Validation */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
}

.is-invalid {
    border-color: var(--danger-color);
}

.is-valid {
    border-color: var(--success-color);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.alert-info {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
}
