.flow_container {
    position: relative;
    width: 100%;
    /* max-width: 1200px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
}

/* TradeIn Card */
.tradein-card {
    position: relative;
    /* background: linear-gradient(135deg, rgba(20, 30, 40, 0.9), rgba(10, 20, 30, 0.95)); */
    /* border: 2px solid #00a8ff; */
    padding: 30px 50px;
    text-align: center;
    z-index: 10;
    /* animation: float 4s ease-in-out infinite, fadeIn 0.6s ease-out; */
    border-radius: 16px;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    background: rgba(0, 168, 255, 0.1);
}

/* .tradein-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(0, 200, 200, 0.4), rgba(200, 100, 150, 0.4));
    z-index: -1;
    filter: blur(15px);
    opacity: 0.6;
} */

.tradein-card h2 {
    font-size: 1.7rem;
    font-weight: 700;
    /* background: linear-gradient(135deg, #00d4d4, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
    color: #fff;
    margin-bottom: 8px;
}

.tradein-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.tradein-features {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #00bcd4;
    font-size: 14px;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: #00a8ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00a8ff;
}

/* ERP Cards flow_container */
.erp-flow_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    z-index: 10;
}

/* ERP Card */
.erp-card {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.9), rgba(10, 15, 25, 0.95));
    border: 1px solid rgba(0, 180, 180, 0.2);
    border-radius: 16px;
    padding: 18px 25px;
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out backwards;
}

.erp-card:nth-child(1) {
    animation-delay: 0.2s;
}

.erp-card:nth-child(2) {
    animation-delay: 0.35s;
}

.erp-card:nth-child(3) {
    animation-delay: 0.5s;
}

.erp-card:nth-child(4) {
    animation-delay: 0.65s;
}

/* .erp-card:hover {
    border-color: rgba(0, 200, 200, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 200, 200, 0.15);
} */

.erp-card h3 {
    color: #e0f0f0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.erp-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* SVG Lines */
.lines-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.flow-line {
    fill: none;
    /* stroke: url(#lineGradient); */
    stroke: #00d4ff;
    stroke-width: 1.2;
    stroke-linecap: round;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.flow-line:nth-of-type(1) {
    animation-delay: 0.3s;
}

.flow-line:nth-of-type(2) {
    animation-delay: 0.4s;
}

.flow-line:nth-of-type(3) {
    animation-delay: 0.5s;
}

.flow-line:nth-of-type(4) {
    animation-delay: 0.6s;
}

.dot-down {
    fill: rgb(255, 107, 157);
    /* filter: url(#dotGlow); */
}

.dot-up {
    fill: #00d4ff;
    /* filter: url(#dotGlow); */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .flow_container {
        gap: 80px;
    }

    .tradein-card {
        padding: 25px 30px;
    }

    .tradein-card h2 {
        font-size: 1.5rem;
    }

    .erp-card {
        min-width: 100px;
        padding: 10px 25px;
    }
}

/* card */
:root {
    --accent: #00c9f2;
}

/* Module Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.module-card {
    background: rgba(8, 131, 149, 0.15);
    border: 1px solid rgba(5, 191, 219, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
    animation-fill-mode: both;
}

.module-card:nth-child(1) {
    animation-delay: 0.7s;
}

.module-card:nth-child(2) {
    animation-delay: 0.8s;
}

.module-card:nth-child(3) {
    animation-delay: 0.9s;
}

.module-card:nth-child(4) {
    animation-delay: 1s;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 191, 219, 0.2), transparent);
    transition: left 0.6s ease;
}

/* .module-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(5, 191, 219, 0.3);
}

.module-card:hover::before {
    left: 100%;
} */

.module-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-accent);
    margin-bottom: 0.5rem;
}

/* Details Section */
.details-section {
    margin-top: 5rem;
}

.detail-card {
    background: #1a1a24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* border-left: 4px solid var(--accent); */
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out;
    /* backdrop-filter: blur(5px); */
    /* transition: all 0.4s ease;
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both; */
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* margin-bottom: 1.5rem; */
}

.detail-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 400;
    line-height: 1;
    opacity: 0.8;
}

.detail-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--light-accent);
    font-family: 'IBM Plex Sans', sans-serif;
}

.detail-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    /* margin-left: 3rem; */
    margin-bottom: 1rem;
    font-style: italic;
}

.detail-content {
    /* margin-left: 3rem; */
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.detail-content p {
    margin-bottom: 0.5rem;
}

.detail-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.detail-list li {
    padding: 0.2rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 20px;
    height: 20px;
    background-image: url("../assets/check-circle.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.product-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(5, 191, 219, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(5, 191, 219, 0.2);
}

.product-title {
    font-weight: 600;
    color: var(--light-accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--accent);
    }

    50% {
        box-shadow: 0 0 40px var(--accent), 0 0 60px var(--light-accent);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .features {
        gap: 1.5rem;
    }

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

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .detail-content,
    .detail-subtitle {
        margin-left: 0;
    }

    .detail-number {
        font-size: 2rem;
    }
}

/* apis */
.tab-btn {
    background: rgba(8, 131, 149, 0.15) !important;
    border: 2px solid rgba(5, 191, 219, 0.3) !important;
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'IBM Plex Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 191, 219, 0.2), transparent);
    transition: left 0.6s ease;
}

.tab-btn:hover {
    border-color: var(--accent) !important;
    color: var(--light-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(5, 191, 219, 0.2) !important;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%) !important;
    border-color: var(--accent) !important;
    color: var(--white) !important;
    box-shadow: 0 10px 30px rgba(5, 191, 219, 0.4) !important;
}

/* Details Section */
.details-section {
    margin-top: 2rem;
}

.detail-card {
    background: rgba(25, 23, 35, 0.5);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.detail-card:hover {
    background: rgba(25, 23, 35, 0.8);
}

.detail-card.developer-section {
    margin-top: 3rem;
}

.detail-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--light-accent);
    font-family: 'IBM Plex Sans', sans-serif;
    margin-bottom: 0.75rem;
}

.detail-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.detail-content {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.detail-content p {
    margin-bottom: 1rem;
}

.detail-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.detail-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 20px;
    height: 20px;
    background-image: url("../assets/check-circle.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.product-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(5, 191, 219, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(5, 191, 219, 0.2);
}

.product-title {
    font-weight: 600;
    color: var(--light-accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--accent);
    }

    50% {
        box-shadow: 0 0 40px var(--accent), 0 0 60px var(--light-accent);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .tab-navigation {
        gap: 1rem;
        padding: 0 1rem;
    }

    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .detail-card {
        padding: 1.5rem;
    }
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: transparent !important;
}

.erp-card[data-erp] {
    cursor: pointer;
    transition: all 0.3s ease;
}

.erp-card[data-erp]:hover {
    transform: translateY(-5px);
}

.erp-card[data-erp].active {
    border-color: #00d4d4;
    box-shadow: 0 5px 20px rgba(0, 212, 212, 0.4);
}

.tab-pane {
    display: none;
}

.tab-pane.show {
    display: block;
}