/* Home Index Page - Dynamic Content Styles */
/* Specific styles for Home/Index.cshtml */

/* ============================================
   Hero Section - Centered Floating Design
   ============================================ */

.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 140px 0 120px;
}

/* Decorative floating circles */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    animation: heroFloat 8s ease-in-out infinite;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: heroFloat 10s ease-in-out infinite reverse;
}

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

/* Centered content */
.hero-centered-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    animation: heroFadeInDown 0.8s ease;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: heroPulseDot 2s infinite;
}

@keyframes heroPulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes heroFadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Title */
.hero-main-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: heroFadeInUp 0.8s ease 0.2s both;
}

/* Subtitle */
.hero-main-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: heroFadeInUp 0.8s ease 0.4s both;
}

/* CTA group centered */
.hero-section .hero-cta-group {
    justify-content: center;
    margin-bottom: 32px;
    animation: heroFadeInUp 0.8s ease 0.6s both;
}

/* Trust line */
.hero-trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    animation: heroFadeInUp 0.8s ease 0.8s both;
    margin-bottom: 60px;
}

.hero-trust-stars {
    color: #fbbf24;
}

/* Floating screenshot */
.hero-screenshot {
    max-width: 1000px;
    margin: 0 auto;
    animation: heroFadeInUp 1s ease 1s both;
    position: relative;
    z-index: 2;
}

.hero-screenshot-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Browser bar */
.hero-browser-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    margin-bottom: 8px;
}

.hero-browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Carousel container */
.hero-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel-img {
    min-width: 100%;
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 500px;
    border-radius: 12px;
}

/* Carousel dots */
.hero-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hero-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.hero-carousel-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}

.hero-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Hero responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 110px 0 80px;
    }

    .hero-main-title {
        font-size: 2.2rem;
    }

    .hero-main-subtitle {
        font-size: 1rem;
    }

    .hero-circle-1 {
        width: 300px;
        height: 300px;
    }

    .hero-circle-2 {
        width: 200px;
        height: 200px;
    }

    .hero-carousel-img {
        max-height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-main-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-trust-line {
        flex-direction: column;
        gap: 4px;
    }
}

/* ============================================
   End Hero Section
   ============================================ */

/* Section Headers - Balanced and centered */
.features-section .text-center h2,
.products-section .text-center h2,
.creators-section .text-center h2,
.video-showcase .text-center h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.features-section .text-center .lead,
.products-section .text-center .lead {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    margin-top: 1rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

/* Feature Icon - Orange with light blue background like template */
.feature-icon {
    width: 70px;
    height: 70px;
    background: #e7f3ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.feature-icon i {
    color: #FF5722 !important;
    font-size: 2rem !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #FF5722 !important;
}

/* Product Cards - Template Style */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
}

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

.product-card-header {
    color: white;
    padding: 2rem;
    text-align: center;
}

.product-card-header.easyclip {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.product-card-header.autocapcut {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.product-card-header.videocutter {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.product-card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card-header .tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

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

.product-card-body .price {
    font-size: 2rem;
    font-weight: 800;
    color: #FF5722;
    margin-bottom: 1.5rem;
    text-align: center;
}

.product-card-body .price .old-price {
    font-size: 1.2rem;
    color: #6c757d;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 0.5rem;
}

.product-card-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-card-body ul li {
    padding: 0.7rem 0;
    color: #1a1a1a;
    border-bottom: 1px solid #f8f9fa;
}

.product-card-body ul li:last-child {
    border-bottom: none;
}

.product-card-body ul li i {
    color: #28a745;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.creator-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

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

.creator-emoji {
    font-size: 3rem;
}

.video-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.video-card .ratio {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.video-card .ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h5 {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: calc(1.4em * 2);
}

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

/* Video Card YouTube Button - Orange bg, white text, full width */
.video-card .btn {
    width: 100%;
    margin-top: 0.5rem;
    background: #FF5722 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.video-card .btn:hover {
    background: #E64A19 !important;
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.4);
}

/* Video Showcase Section - Template Style */
.video-showcase-section {
    background: #f8f9fa;
}

.video-showcase-wrapper {
    background: linear-gradient(135deg, #FF5722 0%, #f093fb 100%);
    border-radius: 20px;
    padding: 4rem;
}

/* Fix Bootstrap row gutter override from site.css */
.video-showcase-wrapper .row.g-4 {
    --bs-gutter-y: 1.5rem;
    align-items: stretch;
}

.video-showcase-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white !important;
}

.video-showcase-wrapper .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95) !important;
}

.text-white-90 {
    color: rgba(255,255,255,0.95) !important;
}

/* Video More Button - White bg, orange text */
.video-more-btn {
    background: white !important;
    color: #FF5722 !important;
    border: none !important;
    font-weight: 700 !important;
}

.video-more-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 30px rgba(255,255,255,0.3) !important;
    background: white !important;
    color: #FF5722 !important;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: #f8f9fa;
    border-radius: 10px;
}

/* CTA Section - New Style with #284E92 background */
.cta-section-new {
    background: #284E92;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-section-new h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white !important;
}

.cta-section-new .lead {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: white !important;
    opacity: 0.95;
}

.text-white-75 {
    color: rgba(255,255,255,0.75) !important;
}

/* CTA Primary Button - Orange style */
.btn-cta-primary {
    background: #FF5722 !important;
    border: 2px solid #FF5722 !important;
    color: white !important;
    padding: 1.2rem 3rem !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    transition: all 0.3s !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-primary:hover {
    background: #E64A19 !important;
    border-color: #E64A19 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,87,34,0.4) !important;
}

/* Hero CTA Buttons - Configurable */
.hero-cta-btn {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.hero-cta-btn:active {
    transform: translateY(-1px);
}

.hero-cta-btn i {
    font-size: 1.1rem;
}

/* Hero CTA Group spacing */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .hero-cta-group {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-cta-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
    }
}

/* Old CTA section - keep for backward compatibility */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.cta-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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

/* Floating Contacts - Template Style (Left-Center) */
.floating-contacts {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.floating-contact-item {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white !important;
    font-size: 3rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: all 0.3s;
    animation: pulse-contact 8s ease-in-out infinite;
    text-decoration: none;
}

/* Contact Type Specific Colors */
.floating-contact-item[data-contact-type="zalo"] {
    background: white !important;
}

.floating-contact-item[data-contact-type="zalo"] i {
    color: #0068FF !important;
}

.floating-contact-item[data-contact-type="zalo"]:hover {
    background: #0068FF !important;
}

.floating-contact-item[data-contact-type="zalo"]:hover i {
    color: white !important;
}

.floating-contact-item[data-contact-type="telegram"] {
    background: white !important;
}

.floating-contact-item[data-contact-type="telegram"] i {
    color: #0088cc !important;
}

.floating-contact-item[data-contact-type="telegram"]:hover {
    background: #0088cc !important;
}

.floating-contact-item[data-contact-type="telegram"]:hover i {
    color: white !important;
}

.floating-contact-item[data-contact-type="fanpage"],
.floating-contact-item[data-contact-type="facebook"] {
    background: white !important;
}

.floating-contact-item[data-contact-type="fanpage"] i,
.floating-contact-item[data-contact-type="facebook"] i {
    color: #1877f2 !important;
}

.floating-contact-item[data-contact-type="fanpage"]:hover,
.floating-contact-item[data-contact-type="facebook"]:hover {
    background: #1877f2 !important;
}

.floating-contact-item[data-contact-type="fanpage"]:hover i,
.floating-contact-item[data-contact-type="facebook"]:hover i {
    color: white !important;
}

.floating-contact-item:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

@keyframes pulse-contact {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,87,34,0.7);
    }
    50% {
        box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 20px 10px rgba(255,87,34,0);
    }
}

@media (max-width: 768px) {
    .floating-contacts {
        left: 10px;
        gap: 15px;
    }

    .floating-contact-item {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    /* CTA section responsive */
    .cta-section-new h2 {
        font-size: 1.75rem;
    }

    .cta-section-new .lead {
        font-size: 1rem;
    }

    .btn-cta-primary {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        width: auto;
        max-width: 100%;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .cta-section-new h2 {
        font-size: 1.5rem;
    }

    .btn-cta-primary {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
}
