/* ========================================
   LandingKo Theme - Orange Palette
   ======================================== */

:root {
    /* Primary Orange Palette */
    --orange-50: #FFF7ED;
    --orange-100: #FFEDD5;
    --orange-200: #FED7AA;
    --orange-300: #FDBA74;
    --orange-400: #FB923C;
    --orange-500: #F97316;  /* Primary */
    --orange-600: #EA580C;
    --orange-700: #C2410C;
    --orange-800: #9A3412;
    --orange-900: #7C2D12;
    
    /* Neutrals */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-600: #4B5563;
    --gray-900: #111827;
}

/* ========== Utilities ========== */
.text-primary-orange { color: var(--orange-500) !important; }
.bg-primary-orange { background-color: var(--orange-500) !important; }
.border-primary-orange { border-color: var(--orange-500) !important; }

.btn-primary-orange {
    background-color: var(--orange-500);
    border-color: var(--orange-500);
    color: white;
    transition: all 0.2s ease;
}
.btn-primary-orange:hover {
    background-color: var(--orange-600);
    border-color: var(--orange-600);
    color: white;
    transform: translateY(-1px);
}

.btn-outline-orange {
    border: 2px solid var(--orange-500);
    color: var(--orange-500);
}
.btn-outline-orange:hover {
    background-color: var(--orange-500);
    color: white;
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../Assets/images/hero-earth-bg.webp');
    /* Fallback: url('../Assets/images/hero-earth-bg.jpg'); */
    background-size: cover;
    background-position: center;
    opacity: 0.6;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.3) 0%, 
        rgba(15, 23, 42, 0.8) 100%);
}

.hero-section .container {
    z-index: 2;
}

/* ========== Problem Section ========== */
.problem-icon {
    font-size: 2.5rem;
}

/* ========== Product Section ========== */
.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--orange-100);
    color: var(--orange-600);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: bold;
    flex-shrink: 0;
}

.product-mockup-wrapper {
    position: relative;
}

.product-mockup {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* ========== How It Works ========== */
.step-number {
    width: 48px;
    height: 48px;
    background: var(--orange-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
}

/* ========== Roadmap ========== */
.card.border-primary-orange {
    border-width: 2px;
}

/* ========== Trust Icons ========== */
.trust-icon {
    font-size: 2rem;
}

/* ========== Text Color Overrides ========== */
/* Bootstrap _utilities.scssÀÇ .text-muted ¿À¹ö¶óÀÌµå */

/* ±âº» text-muted - ¸ðµç °÷¿¡¼­ Àû¿ë */
.text-muted,
p.text-muted,
span.text-muted,
div.text-muted,
small.text-muted {
    --bs-text-opacity: 1;
    color: #6c757d !important;
}

/* ¹àÀº ¹è°æ (bg-light) ¼½¼Ç¿¡¼­ ´õ ÁøÇÑ È¸»ö */
.bg-light .text-muted,
.bg-light p.text-muted,
.bg-light span.text-muted,
section.bg-light .text-muted,
#problem .text-muted,
#how .text-muted,
#about .text-muted {
    color: #495057 !important;
}

/* ¾îµÎ¿î ¹è°æ¿¡¼­´Â ¹àÀº È¸»ö »ç¿ë */
.bg-dark .text-muted,
.hero-section .text-muted,
.hero-section p.text-muted,
.hero-section .lead,
footer .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Ä«µå ³»ºÎ */
.card .text-muted,
.card p.text-muted,
.card .card-text {
    color: #495057 !important;
}

/* Product ¼½¼Ç (Èò»ö ¹è°æ) */
#product .text-muted,
#product p.text-muted,
#roadmap .text-muted,
#contact .text-muted {
    color: #6c757d !important;
}

/* ========== Forms ========== */
.form-control:focus,
.form-select:focus {
    border-color: var(--orange-400);
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.15);
}

/* ========== Cards ========== */
.card {
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

/* ========== Section Spacing ========== */
section {
    scroll-margin-top: 80px;
}

/* ========== Navbar ========== */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

/* ========== Footer ========== */
footer a {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--orange-400) !important;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    /* Carousel ¸ð¹ÙÀÏ ÃÖÀûÈ­ */
    /* ¸ð¹ÙÀÏ¿¡¼­´Â È­»ìÇ¥ ¹öÆ° ¼û±è (½º¿ÍÀÌÇÁ Á¦½ºÃ³ »ç¿ë) */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    /* ¸ð¹ÙÀÏ¿¡¼­ ÀÎµðÄÉÀÌÅÍ¸¦ ´õ Å©°í ¸íÈ®ÇÏ°Ô */
    .carousel-indicators {
        bottom: -45px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        margin: 0 6px;
    }

    .carousel-indicators .active {
        width: 24px;
        border-radius: 4px;
        transform: scale(1);
    }

    .carousel-inner {
        padding: 1rem 0 4rem 0;
    }

    #product .carousel {
        margin-bottom: 3rem;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* ¸ð¹ÙÀÏ¿¡¼­ Á¦Ç° ÀÌ¹ÌÁö ³ôÀÌ Á¶Á¤ */
    .product-mockup {
        height: 300px !important;
    }

    /* ¸ð¹ÙÀÏ¿¡¼­ carousel ³»ºÎ ¿©¹é Á¶Á¤ */
    .carousel-item .row {
        margin: 0;
    }

    .carousel-item .col-lg-6 {
        padding: 0 15px;
    }
}

/* ÅÂºí¸´ ÃÖÀûÈ­ */
@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-control-prev {
        left: -10px;
    }

    .carousel-control-next {
        right: -10px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .carousel-control-icon-custom svg {
        width: 35px;
        height: 35px;
    }

    #product .carousel {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ========== Image Lazy Load ========== */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* ========== Product Carousel Styles ========== */
.carousel-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 2;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--orange-300);
    border: none;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--orange-500);
    opacity: 1;
    transform: scale(1.2);
}

/* Carousel Inner ¿©¹é Á¶Á¤ - ÅëÇÕ ½ºÅ¸ÀÏ */
.carousel-inner {
    padding: 2rem 0 5rem 0;
    position: relative;
}

/* Section ÀüÃ¼ ¿©¹é È®º¸ */
#product .carousel {
    margin-bottom: 4rem;
    position: relative;
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 40px;
    padding-right: 40px;
}

/* ¹öÆ° ¿µ¿ª È®º¸¸¦ À§ÇÑ Ãß°¡ ½ºÅ¸ÀÏ */
@media (min-width: 1025px) {
    #product .carousel {
        margin-left: -50px;
        margin-right: -50px;
        padding-left: 50px;
        padding-right: 50px;
    }
}

/* Custom Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 40%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev {
    left: -30px;
}

.carousel-control-next {
    right: -30px;
}

/* ¹öÆ°ÀÌ ÄÜÅÙÃ÷¸¦ °¡¸®Áö ¾Êµµ·Ï */
.carousel-control-icon-custom {
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Carousel ÄÁÅ×ÀÌ³Ê ¿À¹öÇÃ·Î¿ì ¹æÁö */
#product .container {
    overflow: visible;
}

#productsCarousel {
    overflow: visible;
    position: relative;
}

/* Carousel-inner¸¸ overflow hiddenÀ¸·Î ½½¶óÀÌµå È¿°ú À¯Áö */
.carousel-inner {
    overflow: hidden;
}

/* Á¦Ç° Ä«µå ±×·ì ½ºÅ¸ÀÏ */
.product-cards {
    transition: opacity 0.3s ease;
}

/* Mobile Page Counter */
.carousel-page-counter {
    position: absolute;
    bottom: -65px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.carousel-page-counter .badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--orange-300);
    color: var(--orange-600);
    font-weight: 600;
    background-color: #fff;
}

/* Clickable page counter button */
.carousel-page-btn {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--orange-300);
    position: relative;
}

.carousel-page-btn:hover {
    background-color: var(--orange-50);
    border-color: var(--orange-500);
    color: var(--orange-700);
    transform: scale(1.05);
}

.carousel-page-btn:active {
    transform: scale(0.95);
}

/* Å¬¸¯ °¡´ÉÇÔÀ» ³ªÅ¸³»´Â È­»ìÇ¥ ¾ÆÀÌÄÜ */
.carousel-page-btn::after {
    content: '¡æ';
    margin-left: 0.5rem;
    font-size: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.carousel-page-btn:hover::after {
    opacity: 1;
    margin-left: 0.7rem;
}

/* ========== Product CTA Button Styles ========== */
/* Get Early Access - Active link with orange styling */
.product-cta[data-product-status="earlyAccess"] {
    background-color: var(--orange-500);
    border-color: var(--orange-500);
    color: white;
    cursor: pointer;
}

.product-cta[data-product-status="earlyAccess"]:hover {
    background-color: var(--orange-600);
    border-color: var(--orange-600);
    color: white;
    transform: translateY(-1px);
}

/* Coming Soon - Disabled with orange outline */
.product-cta[data-product-status="comingSoon"] {
    border: 2px solid var(--orange-500);
    color: var(--orange-500);
    background-color: transparent;
    cursor: not-allowed;
    opacity: 0.7;
}

.product-cta[data-product-status="comingSoon"]:hover {
    border: 2px solid var(--orange-500);
    color: var(--orange-500);
    background-color: transparent;
    transform: none;
}

/* Scheduled - Disabled with gray outline */
.product-cta[data-product-status="scheduled"] {
    border: 2px solid var(--gray-600);
    color: var(--gray-600);
    background-color: transparent;
    cursor: not-allowed;
    opacity: 0.6;
}

.product-cta[data-product-status="scheduled"]:hover {
    border: 2px solid var(--gray-600);
    color: var(--gray-600);
    background-color: transparent;
    transform: none;
}


    display: inline-block;
}

/* ¸ð¹ÙÀÏ¿¡¼­´Â ÄÁÆ®·ÑÀ» ³»ºÎ·Î */
@media (max-width: 768px) {
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .carousel-control-icon-custom svg {
        width: 32px;
        height: 32px;
    }
    
    /* ¸ð¹ÙÀÏ¿¡¼­ ÀÎµðÄÉÀÌÅÍ À§Ä¡ Á¶Á¤ */
    .carousel-indicators {
        bottom: -30px;
    }
    
    .carousel-inner {
        padding: 1rem 0 4rem 0;
    }
}

/* Product Badge Wrapper */
.product-badge-wrapper {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge.bg-outline-secondary {
    background-color: transparent;
    border: 1px solid var(--gray-600);
    color: var(--gray-600);
}

/* Carousel Item Transition */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* ¿ÜºÎ ÀÎµðÄÉÀÌÅÍ ½ºÅ¸ÀÏ (¿¹ºñ¿ë) */
.carousel-indicators-external {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.carousel-indicators-external button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--orange-300);
    border: none;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators-external button.active {
    background-color: var(--orange-500);
    opacity: 1;
    transform: scale(1.2);
}

.carousel-indicators-external button:hover {
    opacity: 0.8;
}