/* --- Common Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100%;
    line-height: 1.6;
    color: #222;
    background: #fff;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif !important;
}

.bg-light-peach { background-color: #FFF7F0 !important; }
.bg-card-peach { background-color: #FFE9D5 !important; }
.bg-dark-teal { background-color: #001B1F !important; }
.bg-card-teal { background-color: #05262a !important; }
.text-orange { color: #ff8123 !important; }
.border-orange { border-color: #ff8123 !important; }

/* Typewriter & Cursor */
.cursor {
    display: inline-block;
    width: 3px;
    background-color: #ff8123;
    margin-left: 3px;
    animation: blink 0.7s infinite;
}
@keyframes blink {
    50% { opacity: 0; }
}

/* Swiper Configuration */
.swiper-wrapper {
    transition-timing-function: linear !important;
    user-select: none;
}
.swiper-slide img {
    /* max-height: 40px; */
    object-fit: contain;
}

/* --- Simulator Styling --- */
.select-net {
    background-color: rgba(0, 27, 31, 0.05);
    color: #001B1F;
    border: 1px solid rgba(0, 27, 31, 0.12);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.25s ease;
}
.select-net:hover {
    background-color: rgba(0, 27, 31, 0.1);
    border-color: #ff8123;
}
.select-net.active {
    background-color: #ff8123 !important;
    border-color: #ff8123 !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(255, 129, 35, 0.35);
}

/* Terminal Styling */
.terminal-window {
    background-color: #011113;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.terminal-header {
    background-color: #061e22;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}
.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.terminal-body {
    flex-grow: 1;
    height: 250px;
    overflow-y: auto;
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.5;
}
.terminal-line { margin-bottom: 6px; }
.text-success-alt { color: #ff8123; }
.text-error-alt { color: #ff5f56; }
.text-warn-alt { color: #ffbd2e; }

.btn-trigger-glow {
    background-color: #ff8123;
    color: #fff;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 129, 35, 0.2);
}
.btn-trigger-glow:hover:not(:disabled) {
    background-color: #e06c16;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 129, 35, 0.4);
    color: #fff;
}
.btn-trigger-glow:disabled {
    background-color: #555;
    box-shadow: none;
    cursor: not-allowed;
}

/* --- Navigation Styles --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    background-color: #001B1F !important;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    z-index: 1000;
}
.navbar .nav-link, .navbar .navbar-brand {
    color: rgba(255, 255, 255, 0.85);
}
.navbar .nav-link:hover {
    color: #ff8123 !important;
}
.navbar .btn-outline-orange {
    color: #ffffff !important;
    border: 1.5px solid #ff8123;
    transition: all 0.25s ease;
}
.navbar .btn-outline-orange:hover {
    background-color: #ff8123;
    color: #ffffff !important;
}

/* Scrolled State */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 27, 31, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.navbar.scrolled .nav-link, .navbar.scrolled .navbar-brand {
    color: #001B1F !important;
}
.navbar.scrolled .btn-outline-orange {
    color: #001B1F !important;
}
.navbar.scrolled .btn-outline-orange:hover {
    background-color: #ff8123;
    color: #ffffff !important;
}
.navbar.scrolled .navbar-toggler-icon {
    filter: invert(1);
}

/* Dropdown styling */
.custom-dropdown .dropdown-toggle::after {
    display: none !important;
}
.custom-dropdown .nav-link {
    position: relative;
}
.custom-dropdown .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: #ff8123;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.custom-dropdown:hover .nav-link::after {
    transform: scaleX(1);
}

@media (min-width: 992px) {
    .custom-dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all 0.25s ease;
    }
    .custom-dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
    }
}

.dropdown-item-custom {
    transition: all 0.25s ease;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
}
.dropdown-item-custom:hover {
    background-color: rgba(255, 129, 35, 0.08);
}
.dropdown-item-custom:hover h6 {
    color: #ff8123 !important;
}

/* --- Hero & Visuals --- */
.hero-fullscreen {
    background-color: #001B1F;
    min-height: calc(95vh - 10px) !important;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero {
    background-color: #001b1f;
    position: relative;
    padding: 180px 0 20px;
    overflow: hidden;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 122, 0, 0.1);
    color: #ff8123;
    border: 1px solid rgba(255, 122, 0, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.text-highlight {
    color: #ff8123;
    position: relative;
    display: inline-block;
}
.main-hero-img {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: floatMain 6s ease-in-out infinite;
}
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 3;
    animation: floatCards 5s ease-in-out infinite;
}
.floating-card i {
    font-size: 24px;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-radius: 10px;
}
.floating-card div h6 { margin: 0; color: #fff; font-size: 0.9rem; font-weight: 600; }
.floating-card div span { color: #ccc; font-size: 0.8rem; }

.card-1 { top: 10%; left: -20px; }
.card-2 { bottom: 15%; right: -10px; animation-delay: 2.5s; }

@keyframes floatMain { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes floatCards { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(15px); } }

/* --- Value Proposition (Intro Cards) --- */
.intro-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(0, 27, 31, 0.08);
    transition: all 0.25s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(255, 129, 35, 0.2);
}
.step-number {
    width: 60px;
    height: 60px;
    background: #ff8123;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 10px rgba(255, 129, 35, 0.3);
}

/* --- Popups --- */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.popup-box {
    background-color: #F0E1D3;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 40px;
    color: #000000;
    width: 100%;
    max-width: 500px;
    position: relative;
}
.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
}
.popup input {
    background: #f4f4f4;
    border: 1px solid transparent;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 12px 15px;
    width: 100%;
}
.popup input:focus {
    background: #fff;
    border-color: #ff8123;
    outline: none;
}

.success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}
.success-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    position: relative;
}
.success-icon {
    width: 70px;
    height: 70px;
    background: #2ecc71;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 20px;
}

/* Phone input styling */
.iti { width: 100% !important; display: block !important; }
.iti__country-list { background-color: #ffffff !important; color: #000000 !important; }
.iti input[type="tel"] { padding-left: 50px !important; width: 100% !important; }

/* Custom strategy layout matching image */
.strategy_div { margin-left: 20px; }
.strategy_div div { line-height: 30px; }
.strategy { color: #001B1F99; font-weight: 500; font-size: 15px; }
.strategy_div i { color: #ff8123 !important; margin-right: 8px; }

/* Footer styling */
.main-footer { background: #001B1F; color: #ccc; padding: 50px 0 20px; font-size: 0.9rem; }
.privacy-link { text-decoration: none; color: #f28e25; transition: 0.3s ease; }
.privacy-link:hover { border-bottom: 1px solid #f28e25; }

/* --- Active Nav Link (current page) --- */
/* Higher specificity than ".navbar.scrolled .nav-link" so the orange
   color survives both the top-of-page (dark) and scrolled (light) states. */
.navbar .nav-link.nav-current,
.navbar.scrolled .nav-link.nav-current {
    color: #ff8123 !important;
    font-weight: 700;
}
